Wt examples
3.3.6
|
A demonstration of the treelist. More...
#include <DemoTreeList.h>
Public Member Functions | |
DemoTreeList (Wt::WContainerWidget *parent) | |
Create a DemoTreeList. More... | |
Private Member Functions | |
void | addMap () |
Add a map. More... | |
void | removeMap () |
Remove a map. More... | |
TreeNode * | makeTreeMap (const std::string name, TreeNode *parent) |
Create a "map" node, and insert in the given parent. More... | |
TreeNode * | makeTreeFile (const std::string name, TreeNode *parent) |
Create a "file" node, and insert in the given parent. More... | |
Private Attributes | |
TreeNode * | tree_ |
TreeNode * | testMap_ |
int | testCount_ |
Wt::WPushButton * | addMapButton_ |
Wt::WPushButton * | removeMapButton_ |
A demonstration of the treelist.
This is the main class for the treelist example.
Definition at line 27 of file DemoTreeList.h.
DemoTreeList::DemoTreeList | ( | Wt::WContainerWidget * | parent | ) |
Create a DemoTreeList.
Definition at line 20 of file DemoTreeList.C.
|
private |
Add a map.
Definition at line 102 of file DemoTreeList.C.
Create a "file" node, and insert in the given parent.
Definition at line 143 of file DemoTreeList.C.
|
private |
Remove a map.
Definition at line 113 of file DemoTreeList.C.
|
private |
Definition at line 39 of file DemoTreeList.h.
|
private |
Definition at line 40 of file DemoTreeList.h.
|
private |
Definition at line 37 of file DemoTreeList.h.
|
private |
Definition at line 36 of file DemoTreeList.h.
|
private |
Definition at line 35 of file DemoTreeList.h.