Wt examples
4.10.4
Loading...
Searching...
No Matches
charts
PanelList.h
Go to the documentation of this file.
1
// This may look like C code, but it's really -*- C++ -*-
2
/*
3
* Copyright (C) 2008 Emweb bv, Herent, Belgium.
4
*
5
* See the LICENSE file for terms of use.
6
*/
7
#ifndef PANEL_LIST_H_
8
#define PANEL_LIST_H_
9
10
#include <Wt/WContainerWidget.h>
11
12
namespace
Wt
{
13
class
WPanel;
14
}
15
16
class
PanelList
:
public
Wt::WContainerWidget
17
{
18
public
:
19
PanelList
();
20
21
Wt::WPanel *
addWidget
(
const
Wt::WString& text, std::unique_ptr<Wt::WWidget> w);
22
void
addPanel
(std::unique_ptr<Wt::WPanel> panel);
23
void
removePanel
(Wt::WPanel *panel);
24
25
using
WContainerWidget::addWidget;
26
27
private
:
28
void
onExpand
(
bool
notUndo, Wt::WPanel *panel);
29
//void onExpand(bool notUndo);
30
31
int
wasExpanded_
;
32
};
33
34
#endif
// PANEL_LIST_H_
PanelList
Definition
PanelList.h:17
PanelList::PanelList
PanelList()
Definition
PanelList.C:13
PanelList::removePanel
void removePanel(Wt::WPanel *panel)
PanelList::wasExpanded_
int wasExpanded_
Definition
PanelList.h:31
PanelList::onExpand
void onExpand(bool notUndo, Wt::WPanel *panel)
Definition
PanelList.C:41
PanelList::addWidget
Wt::WPanel * addWidget(const Wt::WString &text, std::unique_ptr< Wt::WWidget > w)
Definition
PanelList.C:17
PanelList::addPanel
void addPanel(std::unique_ptr< Wt::WPanel > panel)
Definition
PanelList.C:30
Wt
Definition
AddresseeEdit.h:16
Generated on Fri Nov 8 2024 for
the C++ Web Toolkit (Wt)
by
1.12.0