-
Notifications
You must be signed in to change notification settings - Fork 0
/
dialw.h
42 lines (36 loc) · 895 Bytes
/
dialw.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
#ifndef DIALW_H
#define DIALW_H
#include "boxwidget.h"
namespace Ui {
class dialw;
}
class dialW : public boxWidget
{
Q_OBJECT
public:
explicit dialW(QDomElement* dom = nullptr, boxWidget *parent = nullptr);
~dialW();
QString getId();
protected:
private slots:
void updateTabSizes(int index);
// void labelMoveClicked(Qt::MouseButton b);
// void labelDelClicked(Qt::MouseButton b);
void on_cmdLabel_editingFinished();
void valueBoxEditingFinished();
void slideValueChanged(int v);
void slideStepChanged(int v);
void trackingToggle(bool t);
void wrappingToggle(bool t);
void setMinimumSlide(int v);
void setMaximumSlide(int v);
private:
Ui::dialw *ui;
int maxValRange = 10000;
int minValRange = -10000;
int singleStep;
int value;
void updateInfo();
void buildXml(QDomDocument& doc);
};
#endif // DIALW_H