46 class ScaleControlWidget;
109 Ui::ScaleControlWidget*
getUI();
117 double value()
const;
188 void initLabel(
const char* charTextLabel);
214 void spinBoxChanged(
double dScale);
222 void sliderChanged(
int dScale);
234 void setSliderRange(
int min,
245 inline int mapSpinBoxToSlider(
double dIn);
256 inline double mapSliderToSpinBox(
int iIn);
264 void updateNLMapConstants();
273 inline float weightedSensitivity(
float fSensitivity);
279 void promptMinValueChange();
285 void promptMaxValueChange();
287 Ui::ScaleControlWidget* m_pUi;
288 bool m_bManagingSpinBoxChange;
289 bool m_bManagingSliderChange;
290 float m_fSensitivity;
291 float m_fSensitivityWeighted;
292 float m_fMaxSensitivityPoint;
293 float m_fMapYconstant;
294 float m_fMapKconstant;
295 bool m_bSliderInverted;
297 QMenu* m_pSettingsMenu;
Export macros and build-info hooks for the DISPLIB shared library.
#define DISPSHARED_EXPORT
2-D display widgets and visualisation helpers (charts, topography, colour maps).
Ui::ScaleControlWidget * getUI()
void invertSlider(bool inverted)
void setSensitivity(double s)
void setRange(double min, double max)
void setMaxSensitivityPoint(double s)
ScaleControl(const char *label)
void valueChanged(double dScale)
void setValue(double dScale)