HierarchyView Class Reference

[KGUI Index] [KGUI Hierarchy] [Headers]


Displays the widget hierarchy to the user More...

#include <hierarchyview.h>

Inherits: QListView (qt)

Public Members

Public Slots

Protected Members

Signals


Detailed Description

Displays the widget hierarchy to the user. The tree will also include organisational nodes that are not widget instances.


HierarchyView(QWidget *parent, const char *name= 0) [public]

***************************************************************************\n ***************************************************************************\n

void setDocument(KGUIDoc *) [public]

Set the document whose hierarchy will be shown (this sets the root instance automatically.

void setRoot(Instance *root) [public]

Set the root of the displayed tree.

Instance* findInstance(QListViewItem *) [public]

Map a list item to the underlying instance.

void deleteInstance(Instance *) [public]

Delete the specified instance.

void refresh() [public slot]

Refresh the view.

void refresh(Instance *) [public slot]

Refresh the subset of the view below the specified Instance.

KGUIDoc *document_[protected]

The document being viewed.

Instance *root[protected]

The root of the visible tree

void buildTree(Instance *root, QListViewItem *item) [protected]

Rebuild the tree view after the root has changed


Documentation generated by rich@pegasus on Sat Apr 17 17:09:53 BST 1999
Kdoc