kexi

KFormDesigner::AlignWidgetsCommand Class Reference

#include <commands.h>

Inheritance diagram for KFormDesigner::AlignWidgetsCommand:

KFormDesigner::Command

List of all members.


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.


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

Protected Attributes

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

Member Enumeration Documentation

anonymous enum

Enumerator:
AlignToGrid 
AlignToLeft 
AlignToRight 
AlignToTop 
AlignToBottom 

Definition at line 112 of file commands.h.


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