-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontrollers.h
More file actions
30 lines (26 loc) · 890 Bytes
/
controllers.h
File metadata and controls
30 lines (26 loc) · 890 Bytes
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
#ifndef CONTROLLERS_H
#define CONTROLLERS_H
#include <QSlider>
#include <QCheckBox>
#include "custom_line_edit.h"
#include "QAction"
#include <QPushButton>
struct PositionControllers{
public:
PositionControllers(QSlider * latitude_slider) : latitude_slider(latitude_slider) {}
QSlider * latitude_slider;
};
struct TimeControllers{
public:
TimeControllers(QSlider * time_of_day_slider, QSlider * month_slider) : time_of_day_slider(time_of_day_slider), month_slider(month_slider) {}
QSlider * time_of_day_slider;
QSlider * month_slider;
};
struct ViewControllers{
public:
ViewControllers(QSlider * translation_sensitivity, QSlider * rotation_sensitivity) :
translation_sensitivity(translation_sensitivity), rotation_sensitivity(rotation_sensitivity) {}
QSlider * translation_sensitivity;
QSlider * rotation_sensitivity;
};
#endif // CONTROLLERS_H