-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdrawwidgetbrowse.h
57 lines (46 loc) · 1.53 KB
/
drawwidgetbrowse.h
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
#ifndef DRAWWIDGETBROWSE_H
#define DRAWWIDGETBROWSE_H
#include <QMainWindow>
#include <QDoubleSpinBox>
#include "fpoint.h"
#include "drawwidget.h"
namespace Ui {
class DrawWidgetBrowse;
}
class DrawWidgetBrowse : public QMainWindow
{
Q_OBJECT
public:
explicit DrawWidgetBrowse(QWidget *parent = 0);
~DrawWidgetBrowse();
DrawWidget* drawWidget(void);
void setXmin(float value);
void setYmin(float value);
void setXmax(float value);
void setYmax(float value);
void checkAutoX(void);
void checkAutoY(void);
private slots:
void on_autoXCheck_stateChanged(int arg1);
void on_autoYCheck_stateChanged(int arg1);
void on_ymin_valueChanged(double arg1);
void on_ymax_valueChanged(double arg1);
void on_xmin_valueChanged(double arg1);
void on_xmax_valueChanged(double arg1);
void on_cursor1x_valueChanged(double arg1);
void on_cursor2x_valueChanged(double arg1);
void on_action_Data_triggered();
void on_actionHiglight_Points_toggled(bool arg1);
void on_actionLabel_X_axe_toggled(bool arg1);
void on_actionShow_labels_Y_axe_toggled(bool arg1);
void on_actionShow_grid_orizzontal_toggled(bool arg1);
void on_actionShow_grid_vertical_toggled(bool arg1);
void spin_ymin(int step);
void spin_xmin(int step);
void cursorValueChanged(int cursor, hfloat x, hfloat y);
void updateRange(Range r); // Update Range and repaint
private:
Ui::DrawWidgetBrowse *ui;
static void setValueQuiet(QDoubleSpinBox* w,double value);
};
#endif // DRAWWIDGETBROWSE_H