kexi

KFormDesigner::CreateLayoutCommand Class Reference

#include <commands.h>

Inheritance diagram for KFormDesigner::CreateLayoutCommand:

KFormDesigner::Command KFormDesigner::BreakLayoutCommand List of all members.

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 ()
virtual void execute ()
virtual void unexecute ()
virtual QString name () const
virtual void debug ()

Protected Attributes

Formm_form
QString m_containername
QString m_name
QMap< QCString, QRect > m_pos
int m_type

Constructor & Destructor Documentation

CreateLayoutCommand::CreateLayoutCommand ( int  layoutType,
WidgetList list,
Form form 
)

CreateLayoutCommand ///////////////.

Definition at line 849 of file commands.cpp.


Member Function Documentation

void CreateLayoutCommand::execute (  )  [virtual]

Reimplemented in KFormDesigner::BreakLayoutCommand.

Definition at line 878 of file commands.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys