Created new painter bug.
This commit is contained in:
10
bcvalue.h
10
bcvalue.h
@@ -108,6 +108,14 @@ public:
|
||||
//QMEMBER _PROPERTY(OptDouble MEMBER _optMin)
|
||||
//QMEMBER _PROPERTY(OptDouble MEMBER _optMax)
|
||||
|
||||
struct ValueRange
|
||||
{
|
||||
int value{0};
|
||||
int min{0};
|
||||
int max{0};
|
||||
double ratio{1};
|
||||
};
|
||||
|
||||
BCValue( BCDevice::ID deviceID, BC::ID registerID );
|
||||
|
||||
QString formatValue() const;
|
||||
@@ -133,7 +141,7 @@ public:
|
||||
QString label() const;
|
||||
QString unitLabel() const;
|
||||
|
||||
bool valuesForSlider( int& value, int& min, int& max ) const;
|
||||
bool valuesForSlider( ValueRange& valueRange ) const;
|
||||
|
||||
QString toString() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user