mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Added option to hide spin box for sliders.
This commit is contained in:
committed by
Magne Sjaastad
parent
a2ca399dfa
commit
c6e10c9c5d
@@ -55,13 +55,15 @@ class PdmUiSliderEditorAttribute : public PdmUiEditorAttribute
|
||||
public:
|
||||
PdmUiSliderEditorAttribute()
|
||||
{
|
||||
m_minimum = 0;
|
||||
m_maximum = 10;
|
||||
m_minimum = 0;
|
||||
m_maximum = 10;
|
||||
m_showSpinBox = true;
|
||||
}
|
||||
|
||||
public:
|
||||
int m_minimum;
|
||||
int m_maximum;
|
||||
int m_minimum;
|
||||
int m_maximum;
|
||||
bool m_showSpinBox;
|
||||
};
|
||||
|
||||
class PdmUiSliderEditor : public PdmUiFieldEditorHandle
|
||||
|
Reference in New Issue
Block a user