18 #ifndef QGSLAYOUTLABELWIDGET_H
19 #define QGSLAYOUTLABELWIDGET_H
25 #include "ui_qgslayoutlabelwidgetbase.h"
59 static void buildInsertDynamicTextMenu(
QgsLayout *layout, QMenu *menu,
const std::function<
void(
const QString &expression ) > &callback );
66 void mHtmlCheckBox_stateChanged(
int i );
67 void mTextEdit_textChanged();
68 void mInsertExpressionButton_clicked();
69 void mMarginXDoubleSpinBox_valueChanged(
double d );
70 void mMarginYDoubleSpinBox_valueChanged(
double d );
71 void mFontColorButton_colorChanged(
const QColor &newLabelColor );
72 void mCenterRadioButton_clicked();
73 void mLeftRadioButton_clicked();
74 void mRightRadioButton_clicked();
75 void mTopRadioButton_clicked();
76 void mBottomRadioButton_clicked();
77 void mMiddleRadioButton_clicked();
78 void setGuiElementValues();
80 void justifyClicked();
83 QPointer< QgsLayoutItemLabel > mLabel =
nullptr;
87 QMenu *mDynamicTextMenu =
nullptr;
89 void blockAllSignals(
bool block );
A layout item subclass for text labels.
Base class for graphical items within a QgsLayout.
Base class for layouts, which can contain items such as maps, labels, scalebars, etc.
Interface for master layout type objects, such as print layouts and reports.