DemoTreeList Class Reference
[Treelist example]

A demonstration of the treelist. More...

#include <DemoTreeList.h>

Inheritance diagram for DemoTreeList:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 DemoTreeList (Wt::WContainerWidget *parent)
 Create a DemoTreeList.

Private Slots

void addMap ()
 Add a map.
void removeMap ()
 Remove a map.

Private Member Functions

TreeNodemakeTreeMap (const std::wstring name, TreeNode *parent)
 Create a "map" node, and insert in the given parent.
TreeNodemakeTreeFile (const std::wstring name, TreeNode *parent)
 Create a "file" node, and insert in the given parent.

Private Attributes

TreeNodetree_
TreeNodetestMap_
int testCount_
Wt::WPushButtonaddMapButton_
Wt::WPushButtonremoveMapButton_


Detailed Description

A demonstration of the treelist.

This is the main class for the treelist example.

Definition at line 27 of file DemoTreeList.h.


Constructor & Destructor Documentation

DemoTreeList::DemoTreeList ( Wt::WContainerWidget parent  ) 

Create a DemoTreeList.

Definition at line 20 of file DemoTreeList.C.


Member Function Documentation

void DemoTreeList::addMap (  )  [private, slot]

Add a map.

Definition at line 102 of file DemoTreeList.C.

void DemoTreeList::removeMap (  )  [private, slot]

Remove a map.

Definition at line 113 of file DemoTreeList.C.

TreeNode * DemoTreeList::makeTreeMap ( const std::wstring  name,
TreeNode parent 
) [private]

Create a "map" node, and insert in the given parent.

Definition at line 129 of file DemoTreeList.C.

TreeNode * DemoTreeList::makeTreeFile ( const std::wstring  name,
TreeNode parent 
) [private]

Create a "file" node, and insert in the given parent.

Definition at line 143 of file DemoTreeList.C.


Member Data Documentation

TreeNode* DemoTreeList::tree_ [private]

Definition at line 44 of file DemoTreeList.h.

TreeNode* DemoTreeList::testMap_ [private]

Definition at line 45 of file DemoTreeList.h.

int DemoTreeList::testCount_ [private]

Definition at line 46 of file DemoTreeList.h.

Wt::WPushButton* DemoTreeList::addMapButton_ [private]

Definition at line 48 of file DemoTreeList.h.

Wt::WPushButton* DemoTreeList::removeMapButton_ [private]

Definition at line 49 of file DemoTreeList.h.


The documentation for this class was generated from the following files:
Generated on Fri Jul 25 17:06:01 2008 for Wt by doxygen 1.5.3