QgsLayoutItemPropertiesWidget class
A widget for controlling the common properties of layout items (e.g.
Contents
position and size, background, stroke, frame). This widget can be embedded into other layout item widgets.
Constructors, destructors, conversion operators
- QgsLayoutItemPropertiesWidget(QWidget* parent, QgsLayoutItem* item)
- Constructs a QgsLayoutItemPropertiesWidget with a parent and for the given layout item.
Public functions
-
auto positionMode() const -> QgsLayoutItem::
ReferencePoint - Returns the position mode.
- void setItem(QgsLayoutItem* item)
- Sets the layout item.
- void showBackgroundGroup(bool showGroup)
- Determines if the background of the group box shall be shown.
- void showFrameGroup(bool showGroup)
- Determines if the frame of the group box shall be shown.
Protected slots
- void initializeDataDefinedButtons()
- Initializes data defined buttons to current atlas coverage layer.
- void populateDataDefinedButtons()
- Sets data defined button state to match item.