2#include "GUIPropertyItemBase.h"
18 class CGUISliderOwnerDrawnBase;
29 friend class CGUIPropertyGridPropertySliderBase;
84 virtual void Enable(
bool bEnable)
override;
97 virtual void SetRange(int32_t i32Min, int32_t i32Max);
110 virtual void SetRange(uint32_t u32Min, uint32_t u32Max);
123 virtual void SetRange(int64_t i64Min, int64_t i64Max);
136 virtual void SetRange(uint64_t u64Min, uint64_t u64Max);
149 virtual void SetRange(
double f64Min,
double f64Max);
164 virtual void SetRange(
double f64Min,
double f64Max,
double f64Unit);
182 virtual void SetRange(
double f64Min,
double f64Max,
double f64Unit, uint8_t u8DecimalPlaces);
195 virtual void GetRange(int32_t& i32Min, int32_t& i32Max)
const;
208 virtual void GetRange(uint32_t& u32Min, uint32_t& u32Max)
const;
221 virtual void GetRange(int64_t& i64Min, int64_t& i64Max)
const;
234 virtual void GetRange(uint64_t& u64Min, uint64_t& u64Max)
const;
291 virtual void GetRange(
double& f64Min,
double& f64Max)
const;
607 SVariant m_varRangeMin;
608 SVariant m_varRangeMax;
610 SVariant m_varExponentialBase;
614 uint8_t m_u8DecimalPlaces;
615 bool m_bInSetValueProc;
Template type string class.
Definition FLString.h:34
FLImaging module execution result object.
Definition ResultsDef.h:1631
CGUIPropertyItemBase()
Default constructor.
virtual void GetRange(double &f64Min, double &f64Max) const
Retrieves the range of the slider.
virtual void SetUnit(uint64_t u64Unit)
Sets the step value for the slider.
virtual void GetRange(uint32_t &u32Min, uint32_t &u32Max) const
Retrieves the range of the slider.
virtual void SetRange(int32_t i32Min, int32_t i32Max)
Sets the range for the slider.
virtual void GetUnit(int64_t &i64Min) const
Retrieves the step value for the slider.
virtual const CResult SetCallbackTriggerMode(ECallbackTriggerMode eMode=ECallbackTriggerMode_OnDrag)
Sets the callback function trigger condition. To call the callback function every time the slider val...
virtual void GetRange(uint64_t &u64Min, uint64_t &u64Max) const
Retrieves the range of the slider.
virtual void SetExponentialBase(int32_t i32Base)
Sets the exponential base for the slider. This base is used when the slider is in exponential scale m...
virtual void GetExponentialBase(int32_t &i32Base) const
Retrieves the exponential base of the slider as a signed 32-bit integer.
virtual void SetRange(double f64Min, double f64Max, double f64Unit)
Sets the range of the slider and the incremental value per step.
virtual uint8_t GetDecimalPlaces() const
Retrieves the decimal places for the slider display.
virtual void SetUnit(int64_t i64Unit)
Sets the step value for the slider.
virtual void GetUnit(uint64_t &u64Min) const
Retrieves the step value for the slider.
virtual void GetExponentialBase(double &f64Base) const
Retrieves the exponential base of the slider as a double precision floating-point value.
virtual void GetExponentialBase(uint32_t &u32Base) const
Retrieves the exponential base of the slider as an unsigned 32-bit integer.
virtual void SetTemplateType(ESliderTemplateType eTemplateType)
Sets the template type for the slider.
virtual void GetUnit(uint32_t &u32Min) const
Retrieves the step value for the slider.
virtual ESliderScaleMode GetScaleMode() const
Retrieves the current scale mode of the slider.
virtual void GetExponentialBase(int64_t &i64Base) const
Retrieves the exponential base of the slider as a signed 64-bit integer.
virtual CMFCPropertyGridProperty * CreateGridProperty()
It creates and returns the MFC grid property for this item. If an instance has already been created,...
virtual void SetUnit(int32_t i32Unit)
Sets the step value for the slider.
virtual ESpinIcon GetSpinIcon() const
Gets the current spin icon type of the slider.
virtual CGUISliderOwnerDrawnBase * GetSlider() const
Retrieves the slider component.
virtual void SetRange(uint64_t u64Min, uint64_t u64Max)
Sets the range for the slider.
virtual ECallbackTriggerMode GetCallbackTriggerMode() const
Returns the callback function trigger condition. If the callback function is triggered whenever the s...
virtual bool SetValue(Base::CFLString< wchar_t > strValue, bool bInvokeCallback=true) override
Sets the value for this.
virtual void GetExponentialBase(uint64_t &u64Base) const
Retrieves the exponential base of the slider as an unsigned 64-bit integer.
virtual ~CGUIPropertyItemSliderBase()
Destructor for CGUIPropertyItemSliderBase class.
virtual ESliderTemplateType GetTemplateType() const
Gets the current template type of the slider.
virtual void SetSpinIcon(ESpinIcon eSpinIcon=ESpinIcon_UpDownArrow_Triangle)
Sets the icon for the spin control button.
virtual void SetDecimalPlaces(uint8_t u8DecimalPlaces)
Sets the decimal places for the slider display.
virtual void GetRange(int64_t &i64Min, int64_t &i64Max) const
Retrieves the range of the slider.
virtual void SetExponentialBase(uint64_t u64Base)
Sets the exponential base for the slider. This overload accepts an unsigned 64-bit value.
virtual void Enable(bool bEnable) override
Enables or disables the slider.
virtual void SetRange(int64_t i64Min, int64_t i64Max)
Sets the range for the slider.
virtual void GetUnit(double &i32Unit) const
Retrieves the step value for the slider.
virtual void GetRange(int32_t &i32Min, int32_t &i32Max) const
Retrieves the range of the slider.
CGUIPropertyItemSliderBase(ESliderTemplateType eTemplateType)
Constructor for CGUIPropertyItemSliderBase class.
virtual void SetRange(double f64Min, double f64Max)
Sets the range for the slider.
virtual void SetScaleMode(ESliderScaleMode eMode=ESliderScaleMode_Linear)
Sets the scale mode for the slider. Use ESliderScaleMode_Linear for linear scale or ESliderScaleMode_...
virtual void SetExponentialBase(double f64Base)
Sets the exponential base for the slider using a double precision floating-point value.
virtual void SetUnit(uint32_t u32Unit)
Sets the step value for the slider.
virtual void SetRange(double f64Min, double f64Max, double f64Unit, uint8_t u8DecimalPlaces)
Sets the range of the slider, the incremental value per step, and the number of decimal places to dis...
virtual void SetExponentialBase(uint32_t u32Base)
Sets the exponential base for the slider. This overload accepts an unsigned 32-bit value.
virtual void SetUnit(double f64Unit)
Sets the step value for the slider.
virtual void SetRange(uint32_t u32Min, uint32_t u32Max)
Sets the range for the slider.
virtual void SetExponentialBase(int64_t i64Base)
Sets the exponential base for the slider. This overload accepts a signed 64-bit value.
virtual void GetUnit(int32_t &i32Unit) const
Retrieves the step value for the slider.
Definition D2DObject.h:12
ECallbackTriggerMode
Definition DefinitionsGUI.h:11160
@ ECallbackTriggerMode_OnDrag
Calls the callback function every time the value changes while dragging.
Definition DefinitionsGUI.h:11168
ESpinIcon
Icons for the spin control button.
Definition DefinitionsGUI.h:10430
@ ESpinIcon_UpDownArrow_Triangle
Up and down arrow icons(Triangle Arrows): ▲▼
Definition DefinitionsGUI.h:10437
ESliderTemplateType
Template type of slider.
Definition DefinitionsGUI.h:10348
ESliderScaleMode
Defines the scaling behavior of slider controls. Determines whether the slider value increases linear...
Definition DefinitionsGUI.h:11760
@ ESliderScaleMode_Linear
Linear scaling mode. The slider value changes at a constant rate with respect to movement.
Definition DefinitionsGUI.h:11769