18#ifndef QGSLAYOUTLABELWIDGET_H
19#define QGSLAYOUTLABELWIDGET_H
25#include "ui_qgslayoutlabelwidgetbase.h"
60 static void buildInsertDynamicTextMenu(
QgsLayout *layout, QMenu *menu,
const std::function<
void(
const QString &expression ) > &callback );
67 void mHtmlCheckBox_stateChanged(
int i );
68 void mTextEdit_textChanged();
69 void mInsertExpressionButton_clicked();
70 void mMarginXDoubleSpinBox_valueChanged(
double d );
71 void mMarginYDoubleSpinBox_valueChanged(
double d );
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 );
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 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.