blob: 03aac328df49972faf149ecff473ef2717fbbb57 (
plain)
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
|
// Tue Haste Andersen <haste@diku.dk>, (C) 2003
#ifndef WNUMBERPOS_H
#define WNUMBERPOS_H
#include <QMouseEvent>
#include "wnumber.h"
#include "preferences/dialog/dlgprefdeck.h"
class ControlProxy;
class WNumberPos : public WNumber {
Q_OBJECT
public:
explicit WNumberPos(const char *group, QWidget *parent=nullptr);
protected:
void mousePressEvent(QMouseEvent* pEvent) override;
private slots:
void setValue(double dValue) override;
void slotSetTimeElapsed(double);
void slotTimeRemainingUpdated(double);
void slotSetDisplayMode(double);
void slotSetTimeFormat(double);
private:
TrackTime::DisplayMode m_displayMode;
TrackTime::DisplayFormat m_displayFormat;
double m_dOldTimeElapsed;
ControlProxy* m_pTimeElapsed;
ControlProxy* m_pTimeRemaining;
ControlProxy* m_pShowTrackTimeRemaining;
ControlProxy* m_pTimeFormat;
};
#endif
|