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 |
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 |
Typedefs | |
typedef QPtrList< Connection > | ConnectionList |
typedef QPtrList< KAction > | ActionList |
typedef QPtrList< ObjectTreeItem > | ObjectTreeList |
typedef QPtrListIterator< ObjectTreeItem > | ObjectTreeListIterator |
typedef QDict< ObjectTreeItem > | ObjectTreeDict |
typedef QDictIterator< ObjectTreeItem > | ObjectTreeDictIterator |
typedef QMap< QString, QVariant > | QVariantMap |
typedef QMapConstIterator< QString, QVariant > | QVariantMapConstIterator |
typedef QPtrList< QWidget > | WidgetList |
typedef QPtrListIterator< QWidget > | WidgetListIterator |
typedef QPtrList< KAction > | ActionList |
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) |
Typedef Documentation
typedef QPtrList<ObjectTreeItem> KFormDesigner::ObjectTreeList |
typedef QPtrListIterator<ObjectTreeItem> KFormDesigner::ObjectTreeListIterator |
typedef QDict<ObjectTreeItem> KFormDesigner::ObjectTreeDict |
typedef QDictIterator<ObjectTreeItem> KFormDesigner::ObjectTreeDictIterator |
typedef QMap<QString, QVariant> KFormDesigner::QVariantMap |
typedef QMapConstIterator<QString, QVariant> KFormDesigner::QVariantMapConstIterator |
typedef QPtrList<QWidget> KFormDesigner::WidgetList |
typedef QPtrListIterator<QWidget> KFormDesigner::WidgetListIterator |
Function Documentation
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.
KFORMEDITOR_EXPORT void KFormDesigner::removeChildrenFromList | ( | WidgetList & | list | ) |
Helper function to clear a list (by removing all children).
This function is used to remove all the child widgets from a list, and keep only the "toplevel" ones.
Definition at line 32 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 51 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 70 of file formeditor/utils.cpp.
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 102 of file formeditor/utils.cpp.