summaryrefslogtreecommitdiff
path: root/tests/fute/charts/charts_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fute/charts/charts_test.h')
-rw-r--r--tests/fute/charts/charts_test.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/fute/charts/charts_test.h b/tests/fute/charts/charts_test.h
new file mode 100644
index 0000000..3975444
--- /dev/null
+++ b/tests/fute/charts/charts_test.h
@@ -0,0 +1,31 @@
+#ifndef CHARTS_TEST_H
+#define CHARTS_TEST_H
+
+#include <QtCore>
+#include <QtWidgets>
+
+#include "../../../src/charts/DataPoint.h"
+
+class Chart;
+
+class ChartsTest: public QWidget
+{
+ Q_OBJECT
+public:
+ ChartsTest();
+
+private:
+ void createUi();
+ void addDataPoint(int index);
+
+private slots:
+ void changeDataSet();
+
+private:
+ QString yValuesStr;
+ Chart* chart;
+ QList<DataPoint> dataSet;
+ QLabel* valuesLabel;
+};
+
+#endif