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

Detailed Description
This command is used when an item in 'Align Widgets position' is selected. You just need to give the list of widget names (the selected ones), and the type of alignment (see the enum for possible values).
Definition at line 109 of file commands.h.
Public Types | |
| enum | { AlignToGrid = 100, AlignToLeft, AlignToRight, AlignToTop, AlignToBottom } |
Public Member Functions | |
| AlignWidgetsCommand (int type, WidgetList &list, Form *form) | |
| virtual void | execute () |
| virtual void | unexecute () |
| virtual QString | name () const |
| virtual void | debug () |
Protected Attributes | |
| Form * | m_form |
| int | m_type |
| QMap< QCString, QPoint > | m_pos |
Member Enumeration Documentation
|
|
Definition at line 112 of file commands.h. |
Constructor & Destructor Documentation
|
||||||||||||||||
|
Definition at line 224 of file commands.cpp. References m_pos. |
Member Function Documentation
|
|
Implements KFormDesigner::Command. Definition at line 368 of file commands.cpp. References m_form, m_pos, name(), and KFormDesigner::Form::widget(). |
|
|
|
Definition at line 348 of file commands.cpp. References AlignToBottom, AlignToGrid, AlignToLeft, AlignToRight, AlignToTop, and m_type. Referenced by debug(). |
|
|
Definition at line 332 of file commands.cpp. References m_form, m_pos, KFormDesigner::Form::objectTree(), KFormDesigner::Form::selectFormWidget(), KFormDesigner::Form::setSelectedWidget(), and KFormDesigner::ObjectTreeItem::widget(). |
Member Data Documentation
|
|
Definition at line 122 of file commands.h. Referenced by debug(), execute(), and unexecute(). |
|
|
Definition at line 124 of file commands.h. Referenced by AlignWidgetsCommand(), debug(), execute(), and unexecute(). |
|
|
Definition at line 123 of file commands.h. |
The documentation for this class was generated from the following files:
