18#ifndef QGSELEVATIONCONTROLLERWIDGET_H
19#define QGSELEVATIONCONTROLLERWIDGET_H
25#include <QWidgetAction>
34class GUI_EXPORT QgsElevationControllerLabels :
public QWidget
SIP_SKIP
41 void paintEvent( QPaintEvent *event )
override;
45 void setInverted(
bool inverted );
46 void setSignificantElevations(
const QList<double> &elevations );
51 bool mInverted =
false;
52 QList<double> mSignificantElevations;
55class GUI_EXPORT QgsElevationControllerSettingsAction :
public QWidgetAction
60 QgsElevationControllerSettingsAction( QWidget *parent =
nullptr );
81 if ( qobject_cast<QgsElevationControllerWidget *>( sipCpp ) !=
nullptr )
82 sipType = sipType_QgsElevationControllerWidget;
96 void resizeEvent( QResizeEvent *event )
override;
132 double fixedRangeSize()
const;
160 void setFixedRangeSize(
double size );
167 void setInverted(
bool inverted );
172 void setSignificantElevations(
const QList<double> &elevations );
200 void updateWidgetMask();
202 QToolButton *mConfigureButton =
nullptr;
203 QgsElevationControllerSettingsAction *mSettingsAction =
nullptr;
204 QMenu *mMenu =
nullptr;
205 QAction *mInvertDirectionAction =
nullptr;
207 QgsElevationControllerLabels *mSliderLabels =
nullptr;
210 double mFixedRangeSize = -1;
211 int mBlockSliderChanges = 0;
212 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)