kexi

KFormDesigner Namespace Reference


Detailed Description

Author:
Joseph Wenninger


Classes

class  Command
 Base class for KFormDesigner's commands. More...
class  PropertyCommand
class  GeometryPropertyCommand
class  AlignWidgetsCommand
class  AdjustSizeCommand
class  LayoutPropertyCommand
class  InsertWidgetCommand
class  CreateLayoutCommand
class  BreakLayoutCommand
class  PasteWidgetCommand
class  DeleteWidgetCommand
class  CutWidgetCommand
class  CommandGroup
class  ConnectionDialog
class  EventEater
 This class is used to filter the events from any widget (and all its subwidgets) and direct it to the Container. More...
class  Container
 This class makes a container out of any QWidget. More...
class  DesignTimeDynamicChildWidgetHandler
 Interface for adding dynamically created (at design time) widget to event eater. More...
class  EditListViewDialog
 A dialog to edit the contents of a listvuew (KListView or QListView). More...
class  FormWidget
 Base (virtual) class for all form widgets. More...
class  Form
 A simple class representing a form. More...
class  FormIO
 This class act as a namespace for all .ui files related functions, ie saving/loading .ui files. More...
class  FormManager
 This is Form Designer's main class, which is used by external APIs to access FormDesigner. More...
class  LibActionWidget
 KToggleAction subclass which remembers the matching class name. More...
class  ObjectTreeItem
 An item representing a widget Holds the properties of a widget (classname, name, parent, children ..). More...
class  ObjectTree
 Represents all the objects available within a form. This class holds ObjectTreeItem for each widget in a Form. More...
class  ObjectTreeViewItem
 An item in ObjectTreeView associated with an ObjectTreeItem. More...
class  ObjectTreeView
 A graphical view of Form's ObjectTree. This is a KListView which represents an item for each widget in the form. The actually selected widget is written bold and selected. Clicking on a list item selects the corresponding widget in the Form. More...
class  ResizeHandle
 a single widget which represents a dot for resizing a widget More...
class  ResizeHandleSet
 a set of resize handles (for resizing widgets) More...
class  RichTextDialog
 A simple dialog to edit rich text. More...
class  TabStopDialog
 A dialog to edit Form tab stops. More...
class  TabWidget
 A tab widget providing information about height of the tab bar. More...
class  HorWidgetList
 A helper for sorting widgets horizontally. More...
class  VerWidgetList
 A helper for sorting widgets vertically. More...
class  WidgetInfo
 This class holds properties of widget classes provided by a factory. More...
class  WidgetFactory
 The base class for all widget Factories. More...
class  WidgetLibrary
 This class searches for factories and provides KActions for widget creation. More...
class  WidgetWithSubpropertiesInterface
 An interface for declaring form widgets to have subproperties. More...

Typedefs

typedef QPtrList< Connection > ConnectionList
typedef QPtrList< KAction > ActionList
typedef QPtrList< ObjectTreeItemObjectTreeList
typedef QPtrListIterator
< ObjectTreeItem
ObjectTreeListIterator
typedef QDict< ObjectTreeItemObjectTreeDict
typedef QDictIterator
< ObjectTreeItem
ObjectTreeDictIterator
typedef QMap< QString, QVariant > QVariantMap
typedef QMapConstIterator
< QString, QVariant > 
QVariantMapConstIterator
typedef QPtrList< QWidget > WidgetList
typedef QPtrListIterator< QWidget > WidgetListIterator
typedef QValueList
< QGuardedPtr< QWidget > > 
QGuardedWidgetList

Functions

KFORMEDITOR_EXPORT uint version ()
void removeChildrenFromList (WidgetList &list)
void installRecursiveEventFilter (QObject *object, QObject *container)
void removeRecursiveEventFilter (QObject *object, QObject *container)
void setRecursiveCursor (QWidget *w, Form *form)
QSize getSizeFromChildren (QWidget *w, const char *inheritClass)
template<class type>
type * findParent (QObject *o, const char *className, QObject *&prevPrev)

Typedef Documentation

A QString-based disctionary of ObjectTreeItem pointers.

Definition at line 48 of file objecttree.h.

An iterator for ObjectTreeDict.

Definition at line 51 of file objecttree.h.

An list of ObjectTreeItem pointers.

Definition at line 39 of file objecttree.h.

An iterator for ObjectTreeList.

Definition at line 45 of file objecttree.h.

typedef QMap<QString, QVariant> KFormDesigner::QVariantMap

A QString -> QVarinat map.

Definition at line 54 of file objecttree.h.

typedef QMapConstIterator<QString, QVariant> KFormDesigner::QVariantMapConstIterator

A const iterator for QVariantMap.

Definition at line 57 of file objecttree.h.

typedef QPtrList<QWidget> KFormDesigner::WidgetList

A list of widget pointers.

Definition at line 64 of file formeditor/utils.h.

typedef QPtrListIterator<QWidget> KFormDesigner::WidgetListIterator

An iterator for WidgetList.

Definition at line 67 of file formeditor/utils.h.


Function Documentation

template<class type>
type* KFormDesigner::findParent ( QObject *  o,
const char *  className,
QObject *&  prevPrev 
) [inline]

Returns:
parent object of o that inherits className or NULL if no such parent If the parent is found, prevPrev is set to a child of child of the parent, what for TabWidget means the page widget.

Definition at line 40 of file formeditor/utils.h.

KFORMEDITOR_EXPORT QSize KFormDesigner::getSizeFromChildren ( QWidget *  widget,
const char *  inheritClass = "QWidget" 
)

Returns:
the size of w children. This can be used eg to get widget's sizeHint.

Definition at line 105 of file formeditor/utils.cpp.

KFORMEDITOR_EXPORT void KFormDesigner::installRecursiveEventFilter ( QObject *  object,
QObject *  container 
)

This helper function install an event filter on object and all of its children, directed to container. This is necessary to filter events for composed widgets.

Definition at line 54 of file formeditor/utils.cpp.

KFORMEDITOR_EXPORT void KFormDesigner::removeChildrenFromList ( WidgetList list  ) 

This function is used to remove all the child widgets from a list, and keep only the "toplevel" ones.

Definition at line 36 of file formeditor/utils.cpp.

KFORMEDITOR_EXPORT void KFormDesigner::removeRecursiveEventFilter ( QObject *  object,
QObject *  container 
)

This helper function removes an event filter installed before on object and all of its children. This is necessary to filter events for composed widgets.

Definition at line 73 of file formeditor/utils.cpp.

KFORMEDITOR_EXPORT uint KFormDesigner::version (  ) 

Returns the encoded number of Kexi's version, see the KEXI_VERSION macro.

Returns:
KFormDesigner API version number for this library. This information is stored

Definition at line 84 of file formIO.cpp.

KDE Home | KDE Accessibility Home | Description of Access Keys