17 #ifndef QGSLAYOUTSCALEBARWIDGET_H 18 #define QGSLAYOUTSCALEBARWIDGET_H 24 #include "ui_qgslayoutscalebarwidgetbase.h" 27 #include <QButtonGroup> 54 void mHeightSpinBox_valueChanged(
double d );
55 void mLineWidthSpinBox_valueChanged(
double d );
56 void mSegmentSizeSpinBox_valueChanged(
double d );
57 void mSegmentsLeftSpinBox_valueChanged(
int i );
58 void mNumberOfSegmentsSpinBox_valueChanged(
int i );
59 void mUnitLabelLineEdit_textChanged(
const QString &text );
60 void mMapUnitsPerBarUnitSpinBox_valueChanged(
double d );
61 void mFillColorButton_colorChanged(
const QColor &newColor );
62 void mFillColor2Button_colorChanged(
const QColor &newColor );
63 void mStrokeColorButton_colorChanged(
const QColor &newColor );
64 void mStyleComboBox_currentIndexChanged(
const QString &text );
65 void mLabelBarSpaceSpinBox_valueChanged(
double d );
66 void mBoxSizeSpinBox_valueChanged(
double d );
67 void mLabelVerticalPlacementComboBox_currentIndexChanged(
int index );
68 void mLabelHorizontalPlacementComboBox_currentIndexChanged(
int index );
69 void alignmentChanged();
70 void mUnitsComboBox_currentIndexChanged(
int index );
71 void mLineJoinStyleCombo_currentIndexChanged(
int index );
72 void mLineCapStyleCombo_currentIndexChanged(
int index );
73 void mMinWidthSpinBox_valueChanged(
double d );
74 void mMaxWidthSpinBox_valueChanged(
double d );
77 void setGuiElements();
78 void segmentSizeRadioChanged( QAbstractButton *radio );
80 void textFormatChanged();
81 void changeNumberFormat();
84 QPointer< QgsLayoutItemScaleBar > mScalebar;
87 QButtonGroup mSegmentSizeRadioGroup;
90 void blockMemberSignals(
bool enable );
93 void toggleStyleSpecificControls(
const QString &style );
95 void connectUpdateSignal();
96 void disconnectUpdateSignal();
99 #endif //QGSLAYOUTSCALEBARWIDGET_H Base class for graphical items within a QgsLayout.
virtual QgsExpressionContext createExpressionContext() const =0
This method needs to be reimplemented in all classes which implement this interface and return an exp...
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
Abstract interface for generating an expression context.
A layout item subclass for scale bars.
Interface for master layout type objects, such as print layouts and reports.