KDStateMachineEditor API Documentation 2.1
|
#include <layoututils.h>
Static Public Member Functions | |
static bool | fixupLayout (State *) |
static bool | moveInner (State *state, const QPointF &offset) |
Move all direct children of state state by offset offset . | |
static bool | moveToParent (Element *item, Element *parentItem) |
static QSizeF | sizeForLabel (const QString &label) |
Definition at line 34 of file layoututils.h.
|
static |
Definition at line 53 of file layoututils.cpp.
|
static |
Move all direct children of state state
by offset offset
.
Definition at line 40 of file layoututils.cpp.
References KDSME::State::childStates().
Referenced by KDSME::RegionLayouter::layoutRegion().
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
Definition at line 64 of file layoututils.cpp.
References KDSME::Element::absolutePos(), KDSME::Element::parentElement(), KDSME::Element::pos, KDSME::Element::setParent(), and KDSME::Element::setPos().
|
static |
Definition at line 29 of file layoututils.cpp.
Referenced by KDSME::Element::preferredSize().