52 #ifndef __PCL_SpinBox_h
53 #define __PCL_SpinBox_h
57 #ifndef __PCL_BUILDING_PIXINSIGHT_APPLICATION
130 void GetRange(
int& minValue,
int& maxValue )
const;
139 int m, dum; GetRange( m, dum );
return m;
149 int dum, m; GetRange( dum, m );
return m;
172 SetRange( m, MaxValue() );
185 SetRange( MinValue(), m );
242 EnableWrapping( !disable );
348 SetMinimumValueText(
String() );
368 return !IsRightAligned();
390 SetRightAlignment( !left );
465 EventHandlers() =
default;
466 EventHandlers(
const EventHandlers& ) =
default;
467 EventHandlers& operator =(
const EventHandlers& ) =
default;
472 friend class SpinBoxEventDispatcher;
Client-side interface to a PixInsight Control object.
Client-side interface to a PixInsight SpinBox control.
void DisableWrapping(bool disable=true)
bool IsRightAligned() const
void SetRange(int minValue, int maxValue)
SpinBox(Control &parent=Control::Null())
void EnableWrapping(bool=true)
void SetNormalizedValue(double f)
void SetRightAlignment(bool=true)
bool IsLeftAligned() const
void SetPrefix(const String &prefix)
String MinimumValueText() const
void SetEditable(bool=true)
void ClearMinimumValueText()
double NormalizedValue() const
void SetLeftAlignment(bool left=true)
void SetMinimumValueText(const String &)
bool IsWrappingEnabled() const
void SetSuffix(const String &)
void GetRange(int &minValue, int &maxValue) const
void(Control::*)(SpinBox &sender, int minValue, int maxValue) range_event_handler
void OnRangeUpdated(range_event_handler handler, Control &receiver)
void OnValueUpdated(value_event_handler handler, Control &receiver)
void(Control::*)(SpinBox &sender, int value) value_event_handler