Kexi API Documentation (2.0 alpha)

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
 A class for redirecting events. More...
class  Container
 A class to make a container from any widget. 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  Connection
class  ConnectionBuffer
class  FormWidget
 Base (virtual) class for all form widgets. More...
class  FormPrivate
class  Form
 A simple class representing a form. More...
class  FormIO
 A class to save/load forms from .ui files. More...
class  FormManager
 This is Form Designer's main class, which is used by external APIs to access FormDesigner. More...
class  KFDPixmapEdit
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  HorWidgetList
 Helper classes for sorting widgets horizontally. More...
class  VerWidgetList
 Helper classes 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  WidgetPropertySet
class  WidgetWithSubpropertiesInterface
 An interface for declaring form widgets to have subproperties. More...

Typedefs

typedef QPtrList< ConnectionConnectionList
typedef QPtrList< KActionActionList
typedef QPtrList< ObjectTreeItemObjectTreeList
 An list of ObjectTreeItem pointers.
typedef QPtrListIterator<
ObjectTreeItem
ObjectTreeListIterator
 An iterator for ObjectTreeList.
typedef QDict< ObjectTreeItemObjectTreeDict
 A QString-based disctionary of ObjectTreeItem pointers.
typedef QDictIterator< ObjectTreeItemObjectTreeDictIterator
 An iterator for ObjectTreeDict.
typedef QMap< QString, QVariant > QVariantMap
 A QString -> QVarinat map.
typedef QMapConstIterator<
QString, QVariant > 
QVariantMapConstIterator
 A const iterator for QVariantMap.
typedef QPtrList< QWidgetWidgetList
 A list of widget pointers.
typedef QPtrListIterator<
QWidget
WidgetListIterator
 An iterator for WidgetList.
typedef QValueList< QGuardedPtr<
QWidget > > 
QGuardedWidgetList

Functions

KFORMEDITOR_EXPORT uint version ()
KFORMEDITOR_EXPORT void removeChildrenFromList (WidgetList &list)
KFORMEDITOR_EXPORT void installRecursiveEventFilter (QObject *object, QObject *container)
 Helper used to temporary disable keyboard and mouse events.
KFORMEDITOR_EXPORT void removeRecursiveEventFilter (QObject *object, QObject *container)
KFORMEDITOR_EXPORT void setRecursiveCursor (QWidget *w, Form *form)
KFORMEDITOR_EXPORT QSize getSizeFromChildren (QWidget *widget, const char *inheritClass="QWidget")


Typedef Documentation

typedef QPtrList< KAction > KFormDesigner::ActionList
 

Definition at line 57 of file formmanager.h.

typedef QPtrList<Connection> KFormDesigner::ConnectionList
 

Definition at line 55 of file events.h.

typedef QDict<ObjectTreeItem> KFormDesigner::ObjectTreeDict
 

A QString-based disctionary of ObjectTreeItem pointers.

Definition at line 48 of file objecttree.h.

typedef QDictIterator<ObjectTreeItem> KFormDesigner::ObjectTreeDictIterator
 

An iterator for ObjectTreeDict.

Definition at line 51 of file objecttree.h.

typedef QPtrList<ObjectTreeItem> KFormDesigner::ObjectTreeList
 

An list of ObjectTreeItem pointers.

Definition at line 39 of file objecttree.h.

typedef QPtrListIterator<ObjectTreeItem> KFormDesigner::ObjectTreeListIterator
 

An iterator for ObjectTreeList.

Definition at line 45 of file objecttree.h.

typedef QValueList< QGuardedPtr<QWidget> > KFormDesigner::QGuardedWidgetList
 

Definition at line 51 of file widgetpropertyset.cpp.

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 28 of file formeditor/utils.h.

typedef QPtrListIterator<QWidget> KFormDesigner::WidgetListIterator
 

An iterator for WidgetList.

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


Function Documentation

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.

Referenced by KFDTabWidget::sizeHint().

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

Helper used to temporary disable keyboard and mouse events.

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 125 of file kexicsvimportdialog.cpp.

References installRecursiveEventFilter().

Referenced by KFormDesigner::DesignTimeDynamicChildWidgetHandler::childWidgetAdded(), KFormDesigner::EventEater::EventEater(), installRecursiveEventFilter(), KexiCSVImportDialog::KexiCSVImportDialog(), KFormDesigner::installRecursiveEventFilter(), and KexiDBSubForm::setFormName().

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.

Referenced by KFormDesigner::Form::commonParentContainer(), KFormDesigner::FormManager::copyWidget(), and KFormDesigner::DeleteWidgetCommand::DeleteWidgetCommand().

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.

Referenced by KFormDesigner::removeRecursiveEventFilter(), and KFormDesigner::EventEater::~EventEater().

KFORMEDITOR_EXPORT void KFormDesigner::setRecursiveCursor QWidget w,
Form *  form
 

Referenced by KFormDesigner::WidgetFactory::resetEditor().

KFORMEDITOR_EXPORT uint KFormDesigner::version  ) 
 

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

Definition at line 26 of file kexi_global.cpp.

Referenced by KFormDesigner::FormPrivate::FormPrivate(), KFormDesigner::FormIO::loadFormFromDom(), and KFormDesigner::WidgetLibrary::lookupFactories().

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:56 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003