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

Detailed Description
This command is used when creating a layout from some widgets using "Lay out in..." menu item. It remembers the old pos of every widget, and takes care of updating ObjectTree too. You need to supply a WidgetList of the selected widgets.
Definition at line 209 of file commands.h.
Public Member Functions | |
| CreateLayoutCommand (int layoutType, WidgetList &list, Form *form) | |
| CreateLayoutCommand ///////////////. | |
| CreateLayoutCommand () | |
| virtual void | execute () |
| virtual void | unexecute () |
| virtual QString | name () const |
| virtual void | debug () |
Protected Attributes | |
| Form * | m_form |
| QString | m_containername |
| QString | m_name |
| QMap< QCString, QRect > | m_pos |
| int | m_type |
Constructor & Destructor Documentation
|
||||||||||||||||
|
|
Definition at line 213 of file commands.h. |
Member Function Documentation
|
|
Implements KFormDesigner::Command. Reimplemented in KFormDesigner::BreakLayoutCommand. Definition at line 1005 of file commands.cpp. References m_containername, m_form, m_name, m_pos, name(), and KFormDesigner::Form::widget(). |
|
|
|
Reimplemented in KFormDesigner::BreakLayoutCommand. Definition at line 981 of file commands.cpp. References KFormDesigner::Container::Grid, KFormDesigner::Container::HBox, KFormDesigner::Container::HFlow, KFormDesigner::Container::HSplitter, m_type, KFormDesigner::Container::VBox, KFormDesigner::Container::VFlow, and KFormDesigner::Container::VSplitter. Referenced by debug(). |
|
|
Reimplemented in KFormDesigner::BreakLayoutCommand. Definition at line 949 of file commands.cpp. References KFormDesigner::ObjectTreeItem::container(), KFormDesigner::ObjectTreeItem::eventEater(), m_containername, m_form, m_name, m_pos, KFormDesigner::ObjectTreeItem::name(), KFormDesigner::Form::objectTree(), KFormDesigner::FormManager::self(), KFormDesigner::Form::widget(), and KFormDesigner::ObjectTreeItem::widget(). Referenced by KFormDesigner::BreakLayoutCommand::execute(). |
Member Data Documentation
|
|
Definition at line 222 of file commands.h. Referenced by KFormDesigner::BreakLayoutCommand::BreakLayoutCommand(), CreateLayoutCommand(), KFormDesigner::BreakLayoutCommand::debug(), debug(), execute(), and unexecute(). |
|
|
Definition at line 221 of file commands.h. Referenced by KFormDesigner::BreakLayoutCommand::BreakLayoutCommand(), KFormDesigner::BreakLayoutCommand::debug(), debug(), execute(), and unexecute(). |
|
|
Definition at line 223 of file commands.h. Referenced by KFormDesigner::BreakLayoutCommand::BreakLayoutCommand(), debug(), execute(), KFormDesigner::BreakLayoutCommand::name(), and unexecute(). |
|
|
Definition at line 224 of file commands.h. Referenced by KFormDesigner::BreakLayoutCommand::BreakLayoutCommand(), CreateLayoutCommand(), KFormDesigner::BreakLayoutCommand::debug(), debug(), execute(), and unexecute(). |
|
|
Definition at line 225 of file commands.h. Referenced by KFormDesigner::BreakLayoutCommand::BreakLayoutCommand(), execute(), and name(). |
The documentation for this class was generated from the following files:
