#include <commands.h>
Public Member Functions | |
| CreateLayoutCommand (int layoutType, WidgetList &list, Form *form) | |
| virtual void | execute () |
| virtual void | unexecute () |
| virtual TQString | name () const |
| virtual void | debug () |
Protected Attributes | |
| Form * | m_form |
| TQString | m_containername |
| TQString | m_name |
| TQMap< TQCString, TQRect > | m_pos |
| int | m_type |
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.
Constructor & Destructor Documentation
◆ CreateLayoutCommand() [1/2]
| CreateLayoutCommand::CreateLayoutCommand | ( | int | layoutType, |
| WidgetList & | list, | ||
| Form * | form ) |
CreateLayoutCommand ///////////////.
Definition at line 847 of file commands.cpp.
◆ CreateLayoutCommand() [2/2]
|
inline |
Definition at line 213 of file commands.h.
Member Function Documentation
◆ debug()
|
virtual |
Implements KFormDesigner::Command.
Definition at line 1001 of file commands.cpp.
◆ execute()
|
virtual |
- Todo
- allow setting this for data view mode as well
Definition at line 876 of file commands.cpp.
◆ name()
|
virtual |
Definition at line 977 of file commands.cpp.
◆ unexecute()
|
virtual |
Definition at line 945 of file commands.cpp.
Member Data Documentation
◆ m_containername
|
protected |
Definition at line 222 of file commands.h.
◆ m_form
|
protected |
Definition at line 221 of file commands.h.
◆ m_name
|
protected |
Definition at line 223 of file commands.h.
◆ m_pos
|
protected |
Definition at line 224 of file commands.h.
◆ m_type
|
protected |
Definition at line 225 of file commands.h.
The documentation for this class was generated from the following files:
