kexi

KFormDesigner Namespace Reference

Classes

class  AdjustSizeCommand
 
class  AlignWidgetsCommand
 
class  BreakLayoutCommand
 
class  Command
 
class  CommandGroup
 
class  ConnectionDialog
 
class  Container
 
class  CreateLayoutCommand
 
class  CutWidgetCommand
 
class  DeleteWidgetCommand
 
class  DesignTimeDynamicChildWidgetHandler
 
class  EditListViewDialog
 
class  EventEater
 
class  Form
 
class  FormManager
 
class  FormWidget
 
class  GeometryPropertyCommand
 
class  HorWidgetList
 
class  InsertWidgetCommand
 
class  LayoutPropertyCommand
 
class  LibActionWidget
 
class  ObjectTree
 
class  ObjectTreeItem
 
class  ObjectTreeView
 
class  ObjectTreeViewItem
 
class  PasteWidgetCommand
 
class  PropertyCommand
 
class  ResizeHandle
 
class  ResizeHandleSet
 
class  RichTextDialog
 
class  TabStopDialog
 
class  TabWidget
 
class  VerWidgetList
 
class  WidgetFactory
 
class  WidgetInfo
 
class  WidgetLibrary
 
class  WidgetWithSubpropertiesInterface
 

Typedefs

typedef TQPtrList< Connection > ConnectionList
 
typedef TQPtrList< TDEAction > ActionList
 
typedef TQPtrList< ObjectTreeItem > ObjectTreeList
 
typedef TQPtrListIterator< ObjectTreeItem > ObjectTreeListIterator
 
typedef TQDict< ObjectTreeItem > ObjectTreeDict
 
typedef TQDictIterator< ObjectTreeItem > ObjectTreeDictIterator
 
typedef TQPtrList< TQWidget > WidgetList
 
typedef TQPtrListIterator< TQWidget > WidgetListIterator
 
typedef TQValueList< TQGuardedPtr< TQWidget > > TQGuardedWidgetList
 

Functions

template<class type >
type * findParent (TQObject *o, const char *className, TQObject *&prevPrev)
 
KFORMEDITOR_EXPORT void removeChildrenFromList (WidgetList &list)
 
KFORMEDITOR_EXPORT void installRecursiveEventFilter (TQObject *object, TQObject *container)
 
KFORMEDITOR_EXPORT void removeRecursiveEventFilter (TQObject *object, TQObject *container)
 
KFORMEDITOR_EXPORT void setRecursiveCursor (TQWidget *w, Form *form)
 
KFORMEDITOR_EXPORT TQSize getSizeFromChildren (TQWidget *widget, const char *inheritClass="TQWidget")
 

Detailed Description

Author
Joseph Wenninger

Typedef Documentation

◆ ActionList

typedef TQPtrList< TDEAction > KFormDesigner::ActionList

Definition at line 58 of file formmanager.h.

◆ ConnectionList

typedef TQPtrList<Connection> KFormDesigner::ConnectionList

Definition at line 55 of file events.h.

◆ ObjectTreeDict

A TQString-based disctionary of ObjectTreeItem pointers.

Definition at line 48 of file objecttree.h.

◆ ObjectTreeDictIterator

An iterator for ObjectTreeDict.

Definition at line 51 of file objecttree.h.

◆ ObjectTreeList

An list of ObjectTreeItem pointers.

Definition at line 42 of file objecttree.h.

◆ ObjectTreeListIterator

An iterator for ObjectTreeList.

Definition at line 45 of file objecttree.h.

◆ TQGuardedWidgetList

typedef TQValueList< TQGuardedPtr<TQWidget> > KFormDesigner::TQGuardedWidgetList

Definition at line 51 of file widgetpropertyset.cpp.

◆ WidgetList

typedef TQPtrList<TQWidget> KFormDesigner::WidgetList

A list of widget pointers.

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

◆ WidgetListIterator

An iterator for WidgetList.

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

Function Documentation

◆ findParent()

template<class type >
type * KFormDesigner::findParent ( TQObject *  o,
const char *  className,
TQObject *&  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.

◆ getSizeFromChildren()

TQSize KFormDesigner::getSizeFromChildren ( TQWidget *  widget,
const char *  inheritClass = "TQWidget" 
)
Returns
the size of w children. This can be used eg to get widget's sizeHint.

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

◆ installRecursiveEventFilter()

void KFormDesigner::installRecursiveEventFilter ( TQObject *  object,
TQObject *  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.

◆ removeChildrenFromList()

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.

◆ removeRecursiveEventFilter()

void KFormDesigner::removeRecursiveEventFilter ( TQObject *  object,
TQObject *  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 74 of file formeditor/utils.cpp.

◆ setRecursiveCursor()

void KFormDesigner::setRecursiveCursor ( TQWidget *  w,
Form *  form 
)

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