kexi

KFormDesigner::AdjustSizeCommand Class Reference

#include <commands.h>

Inheritance diagram for KFormDesigner::AdjustSizeCommand:

KFormDesigner::Command

List of all members.


Detailed Description

This command is used when an item in 'Adjust Widgets Size' is selected. You just need to give the list of widget names (the selected ones), and the type of size modification (see the enum for possible values).

Definition at line 130 of file commands.h.


Public Types

enum  {
  SizeToGrid = 200, SizeToFit, SizeToSmallWidth, SizeToBigWidth,
  SizeToSmallHeight, SizeToBigHeight
}

Public Member Functions

 AdjustSizeCommand (int type, WidgetList &list, Form *form)
virtual void execute ()
virtual void unexecute ()
virtual QString name () const
virtual void debug ()

Protected Member Functions

QSize getSizeFromChildren (ObjectTreeItem *item)

Protected Attributes

Form * m_form
int m_type
QMap< QCString, QPoint > m_pos
QMap< QCString, QSize > m_sizes

Member Enumeration Documentation

anonymous enum

Enumerator:
SizeToGrid 
SizeToFit 
SizeToSmallWidth 
SizeToBigWidth 
SizeToSmallHeight 
SizeToBigHeight 

Definition at line 133 of file commands.h.


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