KDStateMachineEditor  1.0.0
A framework for creating Qt State Machine metacode using a graphical user interface
Static Public Member Functions | List of all members
KDSME::LayoutUtils Class Reference

Static Public Member Functions

static QSizeF sizeForLabel (const QString &label)
 
static bool moveInner (State *state, const QPointF &offset)
 Move all direct children of state state by offset offset.
 
static bool fixupLayout (State *)
 
static bool moveToParent (Element *item, Element *parentItem)
 

Member Function Documentation

bool LayoutUtils::moveToParent ( Element item,
Element parentItem 
)
static

Moves item item to the new parent parentItem

Keeps the item at the same position as before, by translating its KDSME::Item::pos to the new parent's coordinate system


The documentation for this class was generated from the following files:

Klarälvdalens Datakonsult AB (KDAB)
Qt-related services and products
http://www.kdab.com/
https://github.com/KDAB/KDStateMachineEditor