Kexi API Documentation (2.0 alpha)

KFormDesigner::ObjectTreeViewItem Class Reference

#include <objecttreeview.h>

Inheritance diagram for KFormDesigner::ObjectTreeViewItem:

KListViewItem List of all members.

Detailed Description

An item in ObjectTreeView associated with an ObjectTreeItem.

Definition at line 31 of file objecttreeview.h.

Public Member Functions

 ObjectTreeViewItem (ObjectTreeViewItem *parent, ObjectTreeItem *item)
 ObjectTreeViewItem (KListView *list, ObjectTreeItem *item=0)
virtual ~ObjectTreeViewItem ()
QString name () const
ObjectTreeItemobjectTree () const
virtual void setOpen (bool o)

Protected Member Functions

virtual void paintCell (QPainter *p, const QColorGroup &cg, int column, int width, int align)
 Reimplemented to draw custom contents (copied from Property Editor).
virtual void paintBranches (QPainter *p, const QColorGroup &cg, int w, int y, int h)
 Reimplemented to draw custom contents (copied from Property Editor).
virtual void setup ()
 Reimplemented to draw custom contents (copied from Property Editor).

Friends

class ObjectTreeView


Constructor & Destructor Documentation

ObjectTreeViewItem::ObjectTreeViewItem ObjectTreeViewItem parent,
ObjectTreeItem item
 

Definition at line 37 of file objecttreeview.cpp.

ObjectTreeViewItem::ObjectTreeViewItem KListView list,
ObjectTreeItem item = 0
 

Definition at line 43 of file objecttreeview.cpp.

ObjectTreeViewItem::~ObjectTreeViewItem  )  [virtual]
 

Definition at line 49 of file objecttreeview.cpp.


Member Function Documentation

QString ObjectTreeViewItem::name  )  const
 

Returns:
the item name, ie the ObjectTreeItem name

Definition at line 54 of file objecttreeview.cpp.

References KFormDesigner::ObjectTreeItem::name().

Referenced by KFormDesigner::ObjectTreeView::findItem().

ObjectTreeItem* KFormDesigner::ObjectTreeViewItem::objectTree  )  const [inline]
 

Returns:
the ObjectTreeItem associated to this item.

Definition at line 42 of file objecttreeview.h.

Referenced by KFormDesigner::TabStopDialog::exec(), and KFormDesigner::ObjectTreeView::slotSelectionChanged().

void ObjectTreeViewItem::paintBranches QPainter *  p,
const QColorGroup &  cg,
int  w,
int  y,
int  h
[protected, virtual]
 

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

Definition at line 112 of file objecttreeview.cpp.

References m_item, and KFormDesigner::ObjectTreeItem::widget().

void ObjectTreeViewItem::paintCell QPainter *  p,
const QColorGroup &  cg,
int  column,
int  width,
int  align
[protected, virtual]
 

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

Definition at line 63 of file objecttreeview.cpp.

References KFormDesigner::ObjectTreeItem::name(), and KFormDesigner::ObjectTreeItem::widget().

void ObjectTreeViewItem::setOpen bool  o  )  [virtual]
 

Definition at line 157 of file objecttreeview.cpp.

Referenced by KFormDesigner::ObjectTreeView::loadTree(), and KFormDesigner::ObjectTreeView::setForm().

void ObjectTreeViewItem::setup  )  [protected, virtual]
 

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

Definition at line 149 of file objecttreeview.cpp.


Friends And Related Function Documentation

friend class ObjectTreeView [friend]
 

Definition at line 59 of file objecttreeview.h.


The documentation for this class was generated from the following files:
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:51:00 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003