-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstudysliderwidget.h
More file actions
47 lines (34 loc) · 889 Bytes
/
studysliderwidget.h
File metadata and controls
47 lines (34 loc) · 889 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#ifndef STUDYSLIDERWIDGET_H
#define STURYSLIDERWIDGET_H
#include <QWidget>
#include <QSlider>
#include <QLabel>
#include <QStringList>
#include <QGridLayout>
#include <QMap>
#include <QDateTime>
#include "study.h"
class StudySliderWidget : public QWidget
{
Q_OBJECT
public:
explicit StudySliderWidget(QWidget *parent = 0);
~StudySliderWidget(void);
int GetSliderPosition();
signals:
void SignalSliderPositionChanged(int idx);
public slots:
void UpdateValues(int max = 0, int selected = 0, QString label = "");
protected:
void InitializeWidget();
QGridLayout* GetLayout();
QSlider* GetSliderStudySelector();
QLabel* GetLabelInfo();
QLabel* GetLabelSelectedStudy();
private:
QGridLayout* m_Layout;
QLabel* m_LabelInfo;
QLabel* m_LabelSelectedStudy;
QSlider* m_SliderStudySelector;
};
#endif // STUDYSLIDERWIDGET_H