49class ScaleControlWidget;
114 Ui::ScaleControlWidget*
getUI();
122 double value()
const;
192 void initLabel(
const char* charTextLabel);
218 void spinBoxChanged(
double dScale);
226 void sliderChanged(
int dScale);
238 void setSliderRange(
int min,
249 inline int mapSpinBoxToSlider(
double dIn);
260 inline double mapSliderToSpinBox(
int iIn);
268 void updateNLMapConstants();
277 inline float weightedSensitivity(
float fSensitivity);
283 void promptMinValueChange();
289 void promptMaxValueChange();
291 std::unique_ptr<Ui::ScaleControlWidget> m_pUi;
292 bool m_bManagingSpinBoxChange;
293 bool m_bManagingSliderChange;
294 float m_fSensitivity;
295 float m_fSensitivityWeighted;
296 float m_fMaxSensitivityPoint;
297 float m_fMapYconstant;
298 float m_fMapKconstant;
299 bool m_bSliderInverted;
301 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)