46 void SetRange(
int nMin,
int nMax,
bool bRedraw =
false);
84 QSlider *m_widget =
nullptr;
The KSliderCtrl class is used to replace DDX_Control slider data exchange.
Definition ksliderctrl.h:38
void SetPos(int nPos)
Sets the current position of the slider.
void SetTicFreq(int nFreq)
Sets the frequency with which tick marks are displayed in a slider.
int GetLineSize() const
Retrieves the size of the line for a slider control.
int GetRangeMax() const
Retrieves the maximum position for the slider in a slider control.
void setWidget(QSlider *slider)
int GetPos() const
Retrieves the current position of the slider.
void SetRange(int nMin, int nMax, bool bRedraw=false)
Sets the minimum and maximum positions for a slider.
int GetPageSize() const
Retrieves the size of the page for a slider control.
void ClearTics(bool bRedraw=false)
Removes the current tick marks from a slider control.
int SetPageSize(int nSize)
Sets the size of the page for a slider control.
int SetLineSize(int nSize)
Sets the size of the line for a slider control.
void SetRangeMin(int nMin, bool bRedraw=false)
Sets the minimum range for the slider in a slider control.
int GetRangeMin() const
Retrieves the minimum position for the slider in a slider control.
void SetRangeMax(int nMax, bool bRedraw=false)
Sets the maximum range for the slider in a slider control.
#define KDWINUTILS_EXPORT
Definition kdwinutils_export.h:31
#define KDWINUTILS_BEGIN_NAMESPACE
Definition kdwinutils_global.h:27
#define KDWINUTILS_END_NAMESPACE
Definition kdwinutils_global.h:28