src/ChartFermenter.h

changeset 371
d03a426e0b6b
parent 333
499c95108bbd
equal deleted inserted replaced
370:a730825bc5e4 371:d03a426e0b6b
1 #ifndef _CHARTFERMENTER_H 1 #ifndef _CHARTFERMENTER_H
2 #define _CHARTFERMENTER_H 2 #define _CHARTFERMENTER_H
3
4 #include "MainWindow.h"
3 5
4 #include <QDialog> 6 #include <QDialog>
5 #include <QDialogButtonBox> 7 #include <QDialogButtonBox>
6 8
9 class Callout;
7 10
8 namespace Ui { 11 namespace Ui {
9 class ChartFermenter; 12 class ChartFermenter;
10 } 13 }
11 14
12 class ChartFermenter : public QDialog 15 class ChartFermenter : public QDialog
13 { 16 {
14 Q_OBJECT 17 Q_OBJECT
15 18
19 private slots:
20 void savePNG();
21
22 public slots:
23 void tooltip(QPointF point, bool state);
24
16 public: 25 public:
17 explicit ChartFermenter(QString code, QString name, QWidget *parent = 0); 26 explicit ChartFermenter(QString code, QString name, QWidget *parent = 0);
18 ~ChartFermenter(); 27 ~ChartFermenter();
19 28
29 private:
30 QChartView *chartView;
31 QChart *chart;
32 Callout *t_tooltip = 0;
20 }; 33 };
21 34
22 #endif 35 #endif

mercurial