Wt examples
3.3.0
|
00001 // This may look like C code, but it's really -*- C++ -*- 00002 /* 00003 * Copyright (C) 2008 Emweb bvba, Kessel-Lo, Belgium. 00004 * 00005 * See the LICENSE file for terms of use. 00006 */ 00007 #ifndef CHARTS_EXAMPLE_H_ 00008 #define CHARTS_EXAMPLE_H_ 00009 00010 #include <Wt/WContainerWidget> 00011 00012 #include <iostream> 00013 00014 namespace Wt { 00015 class WAbstractItemModel; 00016 00017 namespace Ext { 00018 class TableView; 00019 } 00020 } 00021 00026 00029 class TimeSeriesExample: public Wt::WContainerWidget 00030 { 00031 public: 00034 TimeSeriesExample(Wt::WContainerWidget *parent); 00035 }; 00036 00039 class CategoryExample: public Wt::WContainerWidget 00040 { 00041 public: 00044 CategoryExample(Wt::WContainerWidget *parent); 00045 }; 00046 00049 class ScatterPlotExample: public Wt::WContainerWidget 00050 { 00051 public: 00054 ScatterPlotExample(Wt::WContainerWidget *parent); 00055 }; 00056 00059 class PieExample: public Wt::WContainerWidget 00060 { 00061 public: 00064 PieExample(Wt::WContainerWidget *parent); 00065 }; 00066 00069 class ChartsExample : public Wt::WContainerWidget 00070 { 00071 public: 00074 ChartsExample(Wt::WContainerWidget *root); 00075 }; 00076 00079 #endif // CHARTS_EXAMPLE_H_