KFormDesigner::GeometryPropertyCommand Class Reference
#include <commands.h>
Inheritance diagram for KFormDesigner::GeometryPropertyCommand:

Detailed Description
This command is used when moving multiples widgets at the same time, while holding Ctrl or Shift. You need to supply a list of widget names, and the position of the cursor before moving. Use setPos() to tell the new cursor pos every time it changes.
Definition at line 88 of file commands.h.
Public Member Functions | |
| GeometryPropertyCommand (WidgetPropertySet *set, const QStringList &names, const QPoint &oldPos) | |
| virtual void | execute () |
| virtual void | unexecute () |
| virtual QString | name () const |
| void | setPos (const QPoint &pos) |
| virtual void | debug () |
Protected Attributes | |
| WidgetPropertySet * | m_propSet |
| QStringList | m_names |
| QPoint | m_oldPos |
| QPoint | m_pos |
Constructor & Destructor Documentation
|
||||||||||||||||
|
Definition at line 156 of file commands.cpp. |
Member Function Documentation
|
|
Implements KFormDesigner::Command. Definition at line 216 of file commands.cpp. |
|
|
Definition at line 163 of file commands.cpp. References m_names, m_oldPos, m_pos, m_propSet, KFormDesigner::FormManager::self(), KFormDesigner::WidgetPropertySet::setUndoing(), and KFormDesigner::ObjectTreeItem::widget(). |
|
|
Definition at line 210 of file commands.cpp. |
|
|
Definition at line 203 of file commands.cpp. References m_pos, and KFormDesigner::FormManager::self(). |
|
|
Definition at line 183 of file commands.cpp. References m_names, m_oldPos, m_pos, m_propSet, KFormDesigner::FormManager::self(), KFormDesigner::WidgetPropertySet::setUndoing(), and KFormDesigner::ObjectTreeItem::widget(). |
Member Data Documentation
|
|
Definition at line 101 of file commands.h. Referenced by debug(), execute(), and unexecute(). |
|
|
Definition at line 102 of file commands.h. Referenced by debug(), execute(), and unexecute(). |
|
|
Definition at line 103 of file commands.h. Referenced by debug(), execute(), setPos(), and unexecute(). |
|
|
Definition at line 100 of file commands.h. Referenced by execute(), and unexecute(). |
The documentation for this class was generated from the following files:
