17 #ifndef QGSLAYOUTSCALEBARWIDGET_H
18 #define QGSLAYOUTSCALEBARWIDGET_H
24 #include "ui_qgslayoutscalebarwidgetbase.h"
27 #include <QButtonGroup>
53 void lineSymbolChanged();
54 void divisionSymbolChanged();
55 void subdivisionSymbolChanged();
56 void fillSymbol1Changed();
57 void fillSymbol2Changed();
58 void mHeightSpinBox_valueChanged(
double d );
59 void mSegmentSizeSpinBox_valueChanged(
double d );
60 void mSegmentsLeftSpinBox_valueChanged(
int i );
61 void mNumberOfSegmentsSpinBox_valueChanged(
int i );
62 void mNumberOfSubdivisionsSpinBox_valueChanged(
int i );
63 void mSubdivisionsHeightSpinBox_valueChanged(
double d );
64 void mUnitLabelLineEdit_textChanged(
const QString &text );
65 void mMapUnitsPerBarUnitSpinBox_valueChanged(
double d );
66 void mStyleComboBox_currentIndexChanged(
const QString &text );
67 void mLabelBarSpaceSpinBox_valueChanged(
double d );
68 void mBoxSizeSpinBox_valueChanged(
double d );
69 void mLabelVerticalPlacementComboBox_currentIndexChanged(
int index );
70 void mLabelHorizontalPlacementComboBox_currentIndexChanged(
int index );
71 void alignmentChanged();
72 void mUnitsComboBox_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();
Abstract interface for generating an expression context.
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...
A layout item subclass for scale bars.
Base class for graphical items within a QgsLayout.
Interface for master layout type objects, such as print layouts and reports.