summaryrefslogtreecommitdiffstats
path: root/lib/tqwtplot3d/examples/enrichments/src/enrichmentmainwindow.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-07-11 14:15:27 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-07-11 14:15:27 -0500
commitb85a292ce06475d560bfa1195b63a8bfe211f22d (patch)
tree463d71be55ff807513139f1de106aef6bdd7b4db /lib/tqwtplot3d/examples/enrichments/src/enrichmentmainwindow.h
parentce039289815e2802fdeca8d384126c807ca9cb58 (diff)
downloadulab-b85a292ce06475d560bfa1195b63a8bfe211f22d.tar.gz
ulab-b85a292ce06475d560bfa1195b63a8bfe211f22d.zip
Add 0.2.7 release of qwtplot3d for future TQt3 conversion and use
Diffstat (limited to 'lib/tqwtplot3d/examples/enrichments/src/enrichmentmainwindow.h')
-rw-r--r--lib/tqwtplot3d/examples/enrichments/src/enrichmentmainwindow.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/lib/tqwtplot3d/examples/enrichments/src/enrichmentmainwindow.h b/lib/tqwtplot3d/examples/enrichments/src/enrichmentmainwindow.h
new file mode 100644
index 0000000..68b97b0
--- /dev/null
+++ b/lib/tqwtplot3d/examples/enrichments/src/enrichmentmainwindow.h
@@ -0,0 +1,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_;
+
+};
+
+