kexi

KFormDesigner::ObjectTreeViewItem Class Reference

#include <objecttreeview.h>

Public Member Functions

 ObjectTreeViewItem (ObjectTreeViewItem *parent, ObjectTreeItem *item)
 ObjectTreeViewItem (TDEListView *list, ObjectTreeItem *item=0)
TQString name () const
ObjectTreeItem * objectTree () const
virtual void setOpen (bool o)

Protected Member Functions

virtual void paintCell (TQPainter *p, const TQColorGroup &cg, int column, int width, int align)
virtual void paintBranches (TQPainter *p, const TQColorGroup &cg, int w, int y, int h)
virtual void setup ()

Friends

class ObjectTreeView

Detailed Description

An item in ObjectTreeView associated with an ObjectTreeItem.

Definition at line 31 of file objecttreeview.h.

Constructor & Destructor Documentation

◆ ObjectTreeViewItem() [1/2]

ObjectTreeViewItem::ObjectTreeViewItem ( ObjectTreeViewItem * parent,
ObjectTreeItem * item )

Definition at line 37 of file objecttreeview.cpp.

◆ ObjectTreeViewItem() [2/2]

ObjectTreeViewItem::ObjectTreeViewItem ( TDEListView * list,
ObjectTreeItem * item = 0 )

Definition at line 43 of file objecttreeview.cpp.

◆ ~ObjectTreeViewItem()

ObjectTreeViewItem::~ObjectTreeViewItem ( )
virtual

Definition at line 49 of file objecttreeview.cpp.

Member Function Documentation

◆ name()

TQString ObjectTreeViewItem::name ( ) const
Returns
the item name, ie the ObjectTreeItem name

Definition at line 54 of file objecttreeview.cpp.

◆ objectTree()

ObjectTreeItem * KFormDesigner::ObjectTreeViewItem::objectTree ( ) const
inline
Returns
the ObjectTreeItem associated to this item.

Definition at line 42 of file objecttreeview.h.

◆ paintBranches()

void ObjectTreeViewItem::paintBranches ( TQPainter * p,
const TQColorGroup & cg,
int w,
int y,
int h )
protectedvirtual

Reimplemented to draw custom contents (copied from Property Editor).

Definition at line 112 of file objecttreeview.cpp.

◆ paintCell()

void ObjectTreeViewItem::paintCell ( TQPainter * p,
const TQColorGroup & cg,
int column,
int width,
int align )
protectedvirtual

Reimplemented to draw custom contents (copied from Property Editor).

Definition at line 63 of file objecttreeview.cpp.

◆ setOpen()

void ObjectTreeViewItem::setOpen ( bool o)
virtual

Definition at line 157 of file objecttreeview.cpp.

◆ setup()

void ObjectTreeViewItem::setup ( )
protectedvirtual

Reimplemented to draw custom contents (copied from Property Editor).

Definition at line 149 of file objecttreeview.cpp.

◆ ObjectTreeView

friend class ObjectTreeView
friend

Definition at line 59 of file objecttreeview.h.


The documentation for this class was generated from the following files: