KFormDesigner::AlignWidgetsCommand Class Reference
#include <commands.h>
Inheritance diagram for KFormDesigner::AlignWidgetsCommand:
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 TQString | name () const |
| virtual void | debug () |
Protected Attributes | |
| Form * | m_form |
| int | m_type |
| TQMap< TQCString, TQPoint > | m_pos |
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.
Member Enumeration Documentation
◆ anonymous enum
Definition at line 112 of file commands.h.
Constructor & Destructor Documentation
◆ AlignWidgetsCommand()
| AlignWidgetsCommand::AlignWidgetsCommand | ( | int | type, |
| WidgetList & | list, | ||
| Form * | form | ||
| ) |
Definition at line 224 of file commands.cpp.
Member Function Documentation
◆ debug()
|
virtual |
Implements KFormDesigner::Command.
Definition at line 368 of file commands.cpp.
◆ execute()
|
virtual |
Definition at line 232 of file commands.cpp.
◆ name()
|
virtual |
Definition at line 348 of file commands.cpp.
◆ unexecute()
|
virtual |
Definition at line 332 of file commands.cpp.
Member Data Documentation
◆ m_form
|
protected |
Definition at line 122 of file commands.h.
◆ m_pos
|
protected |
Definition at line 124 of file commands.h.
◆ m_type
|
protected |
Definition at line 123 of file commands.h.
The documentation for this class was generated from the following files:
