18#ifndef QGSELEVATIONCONTROLLERWIDGET_H
19#define QGSELEVATIONCONTROLLERWIDGET_H
25#include <QWidgetAction>
34class GUI_EXPORT QgsElevationControllerLabels :
public QWidget
SIP_SKIP
42 void paintEvent( QPaintEvent *event )
override;
46 void setInverted(
bool inverted );
47 void setSignificantElevations(
const QList< double > &elevations );
53 bool mInverted =
false;
54 QList< double > mSignificantElevations;
58class GUI_EXPORT QgsElevationControllerSettingsAction:
public QWidgetAction
64 QgsElevationControllerSettingsAction( QWidget *parent =
nullptr );
87 if ( qobject_cast<QgsElevationControllerWidget *>( sipCpp ) !=
nullptr )
88 sipType = sipType_QgsElevationControllerWidget;
103 void resizeEvent( QResizeEvent *event )
override;
139 double fixedRangeSize()
const;
167 void setFixedRangeSize(
double size );
174 void setInverted(
bool inverted );
179 void setSignificantElevations(
const QList< double > &elevations );
208 void updateWidgetMask();
210 QToolButton *mConfigureButton =
nullptr;
211 QgsElevationControllerSettingsAction *mSettingsAction =
nullptr;
212 QMenu *mMenu =
nullptr;
213 QAction *mInvertDirectionAction =
nullptr;
215 QgsElevationControllerLabels *mSliderLabels =
nullptr;
218 double mFixedRangeSize = -1;
219 int mBlockSliderChanges = 0;
220 double mSliderPrecision = 100;
QgsRange which stores a range of double values.
The QgsSpinBox is a spin box with a clear button that will set the value to the defined clear value.
A slider control with two interactive endpoints, for interactive selection of a range of values.
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)