Kexi API Documentation (2.0 alpha)

KFormDesigner::BreakLayoutCommand Class Reference

#include <commands.h>

Inheritance diagram for KFormDesigner::BreakLayoutCommand:

KFormDesigner::CreateLayoutCommand KFormDesigner::Command KCommand List of all members.

Detailed Description

This command is used when the 'Break Layout' menu item is selected. It does exactly the opposite of CreateLayoutCommand.

Definition at line 230 of file commands.h.

Public Member Functions

 BreakLayoutCommand (Container *container)
 BreakLayoutCommand ///////////////.
virtual void execute ()
virtual void unexecute ()
virtual QString name () const
virtual void debug ()


Constructor & Destructor Documentation

BreakLayoutCommand::BreakLayoutCommand Container container  ) 
 

BreakLayoutCommand ///////////////.

Definition at line 1014 of file commands.cpp.

References KFormDesigner::Container::form(), KFormDesigner::Container::layoutType(), KFormDesigner::CreateLayoutCommand::m_containername, KFormDesigner::CreateLayoutCommand::m_form, KFormDesigner::CreateLayoutCommand::m_name, KFormDesigner::CreateLayoutCommand::m_pos, KFormDesigner::CreateLayoutCommand::m_type, KFormDesigner::Container::objectTree(), KFormDesigner::Container::toplevel(), KFormDesigner::ObjectTreeItem::widget(), and KFormDesigner::Container::widget().


Member Function Documentation

void BreakLayoutCommand::debug  )  [virtual]
 

Reimplemented from KFormDesigner::CreateLayoutCommand.

Definition at line 1048 of file commands.cpp.

References KFormDesigner::CreateLayoutCommand::m_containername, KFormDesigner::CreateLayoutCommand::m_form, KFormDesigner::CreateLayoutCommand::m_pos, name(), and KFormDesigner::Form::widget().

void BreakLayoutCommand::execute  )  [virtual]
 

Todo:
allow setting this for data view mode as well

Reimplemented from KFormDesigner::CreateLayoutCommand.

Definition at line 1030 of file commands.cpp.

References KFormDesigner::CreateLayoutCommand::unexecute().

QString BreakLayoutCommand::name  )  const [virtual]
 

Reimplemented from KFormDesigner::CreateLayoutCommand.

Definition at line 1042 of file commands.cpp.

References KFormDesigner::CreateLayoutCommand::m_name.

Referenced by debug().

void BreakLayoutCommand::unexecute  )  [virtual]
 

Reimplemented from KFormDesigner::CreateLayoutCommand.

Definition at line 1036 of file commands.cpp.

References KFormDesigner::CreateLayoutCommand::execute().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for Kexi 2.0 alpha.
Documentation copyright © 2002-2007 the Kexi Team.
Generated on Tue Apr 1 20:50:57 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003