QGIS API Documentation
3.20.0-Odense (decaadbb31)
|
A widget for controlling the common properties of layout items (e.g. More...
#include <qgslayoutitemwidget.h>
Public Member Functions | |
QgsLayoutItemPropertiesWidget (QWidget *parent, QgsLayoutItem *item) | |
Constructs a QgsLayoutItemPropertiesWidget with a parent and for the given layout item. More... | |
QgsLayoutItem::ReferencePoint | positionMode () const |
Returns the position mode. More... | |
void | setItem (QgsLayoutItem *item) |
Sets the layout item. More... | |
void | setMasterLayout (QgsMasterLayoutInterface *masterLayout) |
Sets the master layout associated with the item. More... | |
void | showBackgroundGroup (bool showGroup) |
Determines if the background of the group box shall be shown. More... | |
void | showFrameGroup (bool showGroup) |
Determines if the frame of the group box shall be shown. More... | |
void | updateVariables () |
Updates the variables widget, refreshing the values of variables shown. More... | |
Protected Slots | |
void | initializeDataDefinedButtons () |
Initializes data defined buttons to current atlas coverage layer. More... | |
void | populateDataDefinedButtons () |
Sets data defined button state to match item. More... | |
A widget for controlling the common properties of layout items (e.g.
position and size, background, stroke, frame). This widget can be embedded into other layout item widgets.
Definition at line 217 of file qgslayoutitemwidget.h.
QgsLayoutItemPropertiesWidget::QgsLayoutItemPropertiesWidget | ( | QWidget * | parent, |
QgsLayoutItem * | item | ||
) |
Constructs a QgsLayoutItemPropertiesWidget with a parent and for the given layout item.
Definition at line 277 of file qgslayoutitemwidget.cpp.
|
protectedslot |
Initializes data defined buttons to current atlas coverage layer.
Definition at line 744 of file qgslayoutitemwidget.cpp.
|
protectedslot |
Sets data defined button state to match item.
Definition at line 758 of file qgslayoutitemwidget.cpp.
QgsLayoutItem::ReferencePoint QgsLayoutItemPropertiesWidget::positionMode | ( | ) | const |
Returns the position mode.
Definition at line 489 of file qgslayoutitemwidget.cpp.
void QgsLayoutItemPropertiesWidget::setItem | ( | QgsLayoutItem * | item | ) |
Sets the layout item.
Definition at line 381 of file qgslayoutitemwidget.cpp.
void QgsLayoutItemPropertiesWidget::setMasterLayout | ( | QgsMasterLayoutInterface * | masterLayout | ) |
Sets the master layout associated with the item.
Definition at line 400 of file qgslayoutitemwidget.cpp.
void QgsLayoutItemPropertiesWidget::showBackgroundGroup | ( | bool | showGroup | ) |
Determines if the background of the group box shall be shown.
Definition at line 371 of file qgslayoutitemwidget.cpp.
void QgsLayoutItemPropertiesWidget::showFrameGroup | ( | bool | showGroup | ) |
Determines if the frame of the group box shall be shown.
Definition at line 376 of file qgslayoutitemwidget.cpp.
void QgsLayoutItemPropertiesWidget::updateVariables | ( | ) |
Updates the variables widget, refreshing the values of variables shown.
Definition at line 256 of file qgslayoutitemwidget.cpp.