#include <PanelList.h>
Definition at line 16 of file PanelList.h.
◆ PanelList()
Definition at line 13 of file PanelList.C.
14 : WContainerWidget()
15{ }
◆ addPanel()
void PanelList::addPanel |
( |
std::unique_ptr< Wt::WPanel > | panel | ) |
|
Definition at line 30 of file PanelList.C.
31{
32 panel->setCollapsible(
true);
34
36
37 WContainerWidget::addWidget(std::move(
panel));
38}
Wt::Auth::Dbo::UserDatabase< AuthInfo > UserDatabase
void onExpand(bool notUndo, Wt::WPanel *panel)
◆ addWidget()
WPanel * PanelList::addWidget |
( |
const Wt::WString & | text, |
|
|
std::unique_ptr< Wt::WWidget > | w ) |
Definition at line 17 of file PanelList.C.
18{
19 std::unique_ptr<WPanel>
p
20 = std::make_unique<WPanel>();
23 p->setCentralWidget(std::move(
w));
24
26
28}
void addPanel(std::unique_ptr< Wt::WPanel > panel)
◆ onExpand()
void PanelList::onExpand |
( |
bool | notUndo, |
|
|
Wt::WPanel * | panel ) |
|
private |
Definition at line 41 of file PanelList.C.
42{
45
49 if (!
p->isCollapsed())
52 }
53 }
54 } else {
58 }
59 }
60}
◆ removePanel()
void PanelList::removePanel |
( |
Wt::WPanel * | panel | ) |
|
◆ wasExpanded_
int PanelList::wasExpanded_ |
|
private |
The documentation for this class was generated from the following files: