CategoryExample.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // This may look like C code, but it's really -*- C++ -*-
  2. /*
  3. * Copyright (C) 2013 Emweb bvba, Leuven, Belgium.
  4. *
  5. * See the LICENSE file for terms of use.
  6. */
  7. #ifndef CATEGORYEXAMPLE_H
  8. #define CATEGORYEXAMPLE_H
  9. #include <Wt/WContainerWidget>
  10. #include <Wt/WStandardItem>
  11. #include <Wt/WStandardItemModel>
  12. #include <Wt/WText>
  13. #include <Wt/WCheckBox>
  14. #include <Wt/WTabWidget>
  15. #include <Wt/Chart/WCartesian3DChart>
  16. #include <Wt/Chart/WGridData>
  17. #include "Tabs.h"
  18. using namespace Wt;
  19. using namespace Wt::Chart;
  20. class CategoryExample: public WContainerWidget
  21. {
  22. public:
  23. CategoryExample(WContainerWidget *parent = 0);
  24. ~CategoryExample();
  25. private:
  26. void setUpData();
  27. WText *title_;
  28. WCartesian3DChart *chart_;
  29. WAbstractItemModel *isotopeModel_;
  30. WAbstractItemModel *planeModel_;
  31. WAbstractItemModel *randomModel_;
  32. WAbstractItemModel *yPlaneModel0_;
  33. WAbstractItemModel *yPlaneModel_;
  34. WAbstractItemModel *xPlaneModel_;
  35. WAbstractItemModel *xPlaneModelColor_;
  36. std::vector<WAbstractDataSeries3D*> series_;
  37. };
  38. #endif