Wt examples  3.3.1
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 bvba, Kessel-Lo, 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>
11 
12 namespace Wt {
13  class WPanel;
14 }
15 
17 {
18 public:
20 
21  Wt::WPanel *addWidget(const Wt::WString& text, Wt::WWidget *w);
22  void addPanel(Wt::WPanel *panel);
23  void removePanel(Wt::WPanel *panel);
24 
25 private:
26  void onExpand(bool notUndo);
27 
29 };
30 
31 #endif // PANEL_LIST_H_
void addPanel(Wt::WPanel *panel)
Definition: PanelList.C:28
Wt::WPanel * addWidget(const Wt::WString &text, Wt::WWidget *w)
Definition: PanelList.C:17
void onExpand(bool notUndo)
Definition: PanelList.C:38
PanelList(Wt::WContainerWidget *parent)
Definition: PanelList.C:13
void removePanel(Wt::WPanel *panel)
int wasExpanded_
Definition: PanelList.h:28

Generated on Wed Jun 11 2014 for the C++ Web Toolkit (Wt) by doxygen 1.8.7