kexi
KFormDesigner Namespace Reference
Detailed Description
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 | 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 | WidgetPropertySet |
class | WidgetWithSubpropertiesInterface |
An interface for declaring form widgets to have subproperties. More... | |
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) |
template<class type> | |
type * | findParent (QObject *o, const char *className, QObject *&prevPrev) |
Typedef Documentation
typedef QDict<ObjectTreeItem> KFormDesigner::ObjectTreeDict |
typedef QDictIterator<ObjectTreeItem> KFormDesigner::ObjectTreeDictIterator |
typedef QPtrList<ObjectTreeItem> KFormDesigner::ObjectTreeList |
typedef QPtrListIterator<ObjectTreeItem> KFormDesigner::ObjectTreeListIterator |
typedef QMap<QString, QVariant> KFormDesigner::QVariantMap |
typedef QMapConstIterator<QString, QVariant> KFormDesigner::QVariantMapConstIterator |
typedef QPtrList<QWidget> KFormDesigner::WidgetList |
typedef QPtrListIterator<QWidget> KFormDesigner::WidgetListIterator |
Function Documentation
type* KFormDesigner::findParent | ( | QObject * | o, | |
const char * | className, | |||
QObject *& | prevPrev | |||
) |
- 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.
In contrary to that macro this function returns the number of the actually installed Kexi version, not the number of the Kexi version that was installed when the program was compiled.
- Returns:
- the version number, encoded in a single uint
Definition at line 84 of file formIO.cpp.