15#ifndef QGSLAYOUTITEMWIDGET_H
16#define QGSLAYOUTITEMWIDGET_H
18#include "ui_qgslayoutitemwidgetbase.h"
103 void updateDataDefinedProperty();
106 void updateDataDefinedButtons();
109 QPointer<QgsLayoutObject> mLayoutObject;
259 void mFrameColorButton_colorChanged(
const QColor &newFrameColor );
264 void mBackgroundColorButton_colorChanged(
const QColor &newBackgroundColor );
267 void mStrokeWidthSpinBox_valueChanged(
double d );
269 void mFrameGroupBox_toggled(
bool state );
270 void mFrameJoinStyleCombo_currentIndexChanged(
int index );
271 void mBackgroundGroupBox_toggled(
bool state );
272 void mItemIdLineEdit_editingFinished();
273 void exportGroupNameEditingFinished();
276 void mPageSpinBox_valueChanged(
int );
277 void mXPosSpin_valueChanged(
double );
278 void mYPosSpin_valueChanged(
double );
280 void mWidthSpin_valueChanged(
double );
281 void mHeightSpin_valueChanged(
double );
284 void mUpperLeftCheckBox_stateChanged(
bool state );
285 void mUpperMiddleCheckBox_stateChanged(
bool state );
286 void mUpperRightCheckBox_stateChanged(
bool state );
287 void mMiddleLeftCheckBox_stateChanged(
bool state );
288 void mMiddleCheckBox_stateChanged(
bool state );
289 void mMiddleRightCheckBox_stateChanged(
bool state );
290 void mLowerLeftCheckBox_stateChanged(
bool state );
291 void mLowerMiddleCheckBox_stateChanged(
bool state );
292 void mLowerRightCheckBox_stateChanged(
bool state );
294 void mBlendModeCombo_currentIndexChanged(
int index );
295 void opacityChanged(
double value );
297 void mItemRotationSpinBox_valueChanged(
double val );
298 void mExcludeFromPrintsCheckBox_toggled(
bool checked );
300 void setValuesForGuiElements();
302 void setValuesForGuiPositionElements();
304 void setValuesForGuiNonPositionElements();
306 void variablesChanged();
309 QPointer<QgsLayoutItem> mItem;
312 bool mFreezeXPosSpin =
false;
313 bool mFreezeYPosSpin =
false;
314 bool mFreezeWidthSpin =
false;
315 bool mFreezeHeightSpin =
false;
316 bool mFreezePageSpin =
false;
317 bool mBlockVariableUpdates =
false;
319 void changeItemPosition();
321 void changeItemSize();
LayoutUnit
Layout measurement units.
Used to render QgsLayout as an atlas, by iterating over the features from an associated vector layer.
An object for property widgets for layout items.
QgsLayoutAtlas * layoutAtlas() const
Returns the atlas for the layout, if available.
void setObject(QgsLayoutObject *object) SIP_SKIP
Links a new layout object to this QgsLayoutConfigObject.
void initializeDataDefinedButton(QgsPropertyOverrideButton *button, QgsLayoutObject::DataDefinedProperty key)
Registers a data defined button, setting up its initial value, connections and description.
QgsVectorLayer * coverageLayer() const
Returns the current layout context coverage layer (if set).
void updateDataDefinedButton(QgsPropertyOverrideButton *button)
Updates a data defined button to reflect the item's current properties.
QgsLayoutConfigObject(QWidget *parent SIP_TRANSFERTHIS, QgsLayoutObject *layoutObject)
Constructor for QgsLayoutConfigObject, linked with the specified layoutObject.
A common interface for layout designer dialogs and widgets.
Base class for graphical items within a QgsLayout.
ReferencePoint
Fixed position reference point.
A base class for objects which belong to a layout.
DataDefinedProperty
Data defined properties for different item types.
Interface for master layout type objects, such as print layouts and reports.
Represents a vector layer which manages a vector based dataset.