Wt examples  3.3.0
ChartConfig.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 CHART_CONFIG_H_
8 #define CHART_CONFIG_H_
9 
10 #include <Wt/WContainerWidget>
11 #include <Wt/Chart/WDataSeries>
12 
13 namespace Wt {
14  class WCheckBox;
15  class WComboBox;
16  class WFormWidget;
17  class WLineEdit;
18  class WTable;
19 
20  namespace Chart {
21  class WCartesianChart;
22  }
23 }
24 
29 
38 {
39 public:
43 
45 
46 private:
49 
51  struct SeriesControl {
59  };
60 
62  std::vector<SeriesControl> seriesControls_;
63 
65  struct AxisControl {
73  };
74 
76  std::vector<AxisControl> axisControls_;
77 
85 
87  void update();
88 
89  static bool validate(Wt::WFormWidget *w);
90 };
91 
94 #endif // CHARTS_EXAMPLE_H_

Generated on Fri May 31 2013 for the C++ Web Toolkit (Wt) by doxygen 1.8.3.1