mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-04-08 10:15:53 -05:00
Add specialValueText() to variable spinbox
This commit is contained in:
parent
c6b693b4ac
commit
c821bb20d0
|
|
@ -100,6 +100,12 @@ void GenericVaraiableSpinbox::setSuffix(const QString &suffix)
|
|||
_fixedValueDouble->setSuffix(suffix);
|
||||
}
|
||||
|
||||
void GenericVaraiableSpinbox::specialValueText(const QString &text)
|
||||
{
|
||||
_fixedValueInt->setSpecialValueText(text);
|
||||
_fixedValueDouble->setSpecialValueText(text);
|
||||
}
|
||||
|
||||
void GenericVaraiableSpinbox::SetFixedValue(int value)
|
||||
{
|
||||
_numberInt._value = value;
|
||||
|
|
|
|||
|
|
@ -17,10 +17,12 @@ public:
|
|||
|
||||
void setMinimum(double value);
|
||||
void setMaximum(double value);
|
||||
//void setValue(double value);
|
||||
|
||||
void setPrefix(const QString &prefix);
|
||||
void setSuffix(const QString &suffix);
|
||||
|
||||
void specialValueText(const QString &text);
|
||||
|
||||
public slots:
|
||||
void SetFixedValue(int);
|
||||
void SetFixedValue(double);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user