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

Definition at line 44 of file DemoTreeList.h.

Definition at line 45 of file DemoTreeList.h.

int DemoTreeList::testCount_ [private]

Definition at line 46 of file DemoTreeList.h.

Definition at line 48 of file DemoTreeList.h.

Definition at line 49 of file DemoTreeList.h.


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

Generated on Fri Sep 12 16:53:53 2008 for Wt by doxygen 1.5.6