kexi

KFormDesigner::GeometryPropertyCommand Class Reference

#include <commands.h>

Inheritance diagram for KFormDesigner::GeometryPropertyCommand:
KFormDesigner::Command

Public Member Functions

 GeometryPropertyCommand (WidgetPropertySet *set, const TQStringList &names, const TQPoint &oldPos)
virtual void execute ()
virtual void unexecute ()
virtual TQString name () const
void setPos (const TQPoint &pos)
virtual void debug ()

Protected Attributes

WidgetPropertySet * m_propSet
TQStringList m_names
TQPoint m_oldPos
TQPoint m_pos

Detailed Description

This command is used when moving multiples widgets at the same time, while holding Ctrl or Shift. You need to supply a list of widget names, and the position of the cursor before moving. Use setPos() to tell the new cursor pos every time it changes.

Definition at line 88 of file commands.h.

Constructor & Destructor Documentation

◆ GeometryPropertyCommand()

GeometryPropertyCommand::GeometryPropertyCommand ( WidgetPropertySet * set,
const TQStringList & names,
const TQPoint & oldPos )

Definition at line 156 of file commands.cpp.

Member Function Documentation

◆ debug()

void GeometryPropertyCommand::debug ( )
virtual

Implements KFormDesigner::Command.

Definition at line 216 of file commands.cpp.

◆ execute()

void GeometryPropertyCommand::execute ( )
virtual

Definition at line 163 of file commands.cpp.

◆ name()

TQString GeometryPropertyCommand::name ( ) const
virtual

Definition at line 210 of file commands.cpp.

◆ setPos()

void GeometryPropertyCommand::setPos ( const TQPoint & pos)

Definition at line 203 of file commands.cpp.

◆ unexecute()

void GeometryPropertyCommand::unexecute ( )
virtual

Definition at line 183 of file commands.cpp.

Member Data Documentation

◆ m_names

TQStringList KFormDesigner::GeometryPropertyCommand::m_names
protected

Definition at line 101 of file commands.h.

◆ m_oldPos

TQPoint KFormDesigner::GeometryPropertyCommand::m_oldPos
protected

Definition at line 102 of file commands.h.

◆ m_pos

TQPoint KFormDesigner::GeometryPropertyCommand::m_pos
protected

Definition at line 103 of file commands.h.

◆ m_propSet

WidgetPropertySet* KFormDesigner::GeometryPropertyCommand::m_propSet
protected

Definition at line 100 of file commands.h.


The documentation for this class was generated from the following files: