59 class ScaleControlWidget;
121 Ui::ScaleControlWidget*
getUI();
129 double value()
const;
200 void initLabel(
const char* charTextLabel);
226 void spinBoxChanged(
double dScale);
234 void sliderChanged(
int dScale);
246 void setSliderRange(
int min,
257 inline int mapSpinBoxToSlider(
double dIn);
268 inline double mapSliderToSpinBox(
int iIn);
276 void updateNLMapConstants();
285 inline float weightedSensitivity(
float fSensitivity);
291 void promptMinValueChange();
297 void promptMaxValueChange();
299 Ui::ScaleControlWidget* m_pUi;
300 bool m_bManagingSpinBoxChange;
301 bool m_bManagingSliderChange;
302 float m_fSensitivity;
303 float m_fSensitivityWeighted;
304 float m_fMaxSensitivityPoint;
305 float m_fMapYconstant;
306 float m_fMapKconstant;
307 bool m_bSliderInverted;
309 QMenu* m_pSettingsMenu;
disp library export/import macros.
#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)