#include <PanelList.h>
Definition at line 16 of file PanelList.h.
◆ PanelList()
PanelList::PanelList |
( |
Wt::WContainerWidget * |
parent | ) |
|
Definition at line 13 of file PanelList.C.
14 : WContainerWidget(parent)
◆ addPanel()
void PanelList::addPanel |
( |
Wt::WPanel * |
panel | ) |
|
Definition at line 28 of file PanelList.C.
30 panel->setCollapsible(
true);
35 WContainerWidget::addWidget(panel);
void onExpand(bool notUndo)
◆ addWidget()
WPanel * PanelList::addWidget |
( |
const Wt::WString & |
text, |
|
|
Wt::WWidget * |
w |
|
) |
| |
Definition at line 17 of file PanelList.C.
19 WPanel *p =
new WPanel();
21 p->setCentralWidget(w);
void addPanel(Wt::WPanel *panel)
◆ onExpand()
void PanelList::onExpand |
( |
bool |
notUndo | ) |
|
|
private |
Definition at line 38 of file PanelList.C.
40 WPanel *panel =
dynamic_cast<WPanel *
>(sender());
45 for (
unsigned i = 0; i < children().size(); ++i) {
46 WPanel *p =
dynamic_cast<WPanel *
>(children()[i]);
48 if (!p->isCollapsed())
55 WPanel *p =
dynamic_cast<WPanel *
>(children()[
wasExpanded_]);
◆ removePanel()
void PanelList::removePanel |
( |
Wt::WPanel * |
panel | ) |
|
◆ wasExpanded_
int PanelList::wasExpanded_ |
|
private |
The documentation for this class was generated from the following files:
- /build/witty-xots1a/witty-3.3.6+dfsg/examples/charts/PanelList.h
- /build/witty-xots1a/witty-3.3.6+dfsg/examples/charts/PanelList.C