Mercurial > hg > svgui
comparison widgets/ItemEditDialog.h @ 807:e4773943c9c1 warnfix_no_size_t
More unsigned/long and warning fixes
author | Chris Cannam |
---|---|
date | Tue, 17 Jun 2014 15:55:27 +0100 |
parents | ad1fe715b480 |
children | e0f08e108064 |
comparison
equal
deleted
inserted
replaced
806:4c8ca536b54f | 807:e4773943c9c1 |
---|---|
35 ShowDuration = 1 << 1, | 35 ShowDuration = 1 << 1, |
36 ShowValue = 1 << 2, | 36 ShowValue = 1 << 2, |
37 ShowText = 1 << 3 | 37 ShowText = 1 << 3 |
38 }; | 38 }; |
39 | 39 |
40 ItemEditDialog(size_t sampleRate, int options, QString valueUnits = "", | 40 ItemEditDialog(int sampleRate, int options, QString valueUnits = "", |
41 QWidget *parent = 0); | 41 QWidget *parent = 0); |
42 | 42 |
43 void setFrameTime(long frame); | 43 void setFrameTime(int frame); |
44 long getFrameTime() const; | 44 int getFrameTime() const; |
45 | 45 |
46 void setRealTime(RealTime rt); | 46 void setRealTime(RealTime rt); |
47 RealTime getRealTime() const; | 47 RealTime getRealTime() const; |
48 | 48 |
49 void setFrameDuration(long frame); | 49 void setFrameDuration(int frame); |
50 long getFrameDuration() const; | 50 int getFrameDuration() const; |
51 | 51 |
52 void setRealDuration(RealTime rt); | 52 void setRealDuration(RealTime rt); |
53 RealTime getRealDuration() const; | 53 RealTime getRealDuration() const; |
54 | 54 |
55 void setValue(float value); | 55 void setValue(float value); |
68 void valueChanged(double); | 68 void valueChanged(double); |
69 void textChanged(QString); | 69 void textChanged(QString); |
70 void reset(); | 70 void reset(); |
71 | 71 |
72 protected: | 72 protected: |
73 size_t m_sampleRate; | 73 int m_sampleRate; |
74 long m_defaultFrame; | 74 int m_defaultFrame; |
75 long m_defaultDuration; | 75 int m_defaultDuration; |
76 float m_defaultValue; | 76 float m_defaultValue; |
77 QString m_defaultText; | 77 QString m_defaultText; |
78 QSpinBox *m_frameTimeSpinBox; | 78 QSpinBox *m_frameTimeSpinBox; |
79 QSpinBox *m_realTimeSecsSpinBox; | 79 QSpinBox *m_realTimeSecsSpinBox; |
80 QSpinBox *m_realTimeUSecsSpinBox; | 80 QSpinBox *m_realTimeUSecsSpinBox; |