summaryrefslogtreecommitdiffstats
path: root/lib/tqwtplot3d/examples/enrichments/src/enrichmentmainwindow.h
blob: 68b97b08449c91d29b514b98996492dd1f71af7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#include "qwt3d_surfaceplot.h"
#include "qwt3d_function.h"
#include "qwt3d_plot.h"
#include "enrichments.h"


#if QT_VERSION < 0x040000
#include "enrichmentmainwindowbase.h"
#else
#include "ui_enrichmentmainwindowbase4.h"
#endif

//MOC_SKIP_BEGIN
#if QT_VERSION < 0x040000
  class DummyBase : public EnrichmentMainWindowBase
  {
  public:
    DummyBase(QWidget* parent = 0) 
      : EnrichmentMainWindowBase(parent) 
    {
    } 
  };
#else
  class DummyBase : public QMainWindow, protected Ui::MainWindow
  {
  public:
    DummyBase(QWidget* parent = 0) 
      : QMainWindow(parent) 
    {
    } 
  };
#endif
//MOC_SKIP_END


class EnrichmentMainWindow : public DummyBase
{
	Q_OBJECT

public:
	EnrichmentMainWindow( QWidget* parent = 0 );
	~EnrichmentMainWindow();
  void setColor();
  Bar *bar;
  Qwt3D::SurfacePlot* plot;

public slots:
  void setLevel(int);
  void setWidth(int);
  void barSlot();
 
private:
  double level_, width_;
  
};