15#ifndef QGSLAYOUTITEMWIDGET_H
16#define QGSLAYOUTITEMWIDGET_H
18#include "ui_qgslayoutitemwidgetbase.h"
104 void updateDataDefinedProperty();
107 void updateDataDefinedButtons();
110 QPointer<QgsLayoutObject> mLayoutObject;
263 void mFrameColorButton_colorChanged(
const QColor &newFrameColor );
268 void mBackgroundColorButton_colorChanged(
const QColor &newBackgroundColor );
271 void mStrokeWidthSpinBox_valueChanged(
double d );
273 void mFrameGroupBox_toggled(
bool state );
274 void mFrameJoinStyleCombo_currentIndexChanged(
int index );
275 void mBackgroundGroupBox_toggled(
bool state );
276 void mItemIdLineEdit_editingFinished();
277 void exportGroupNameEditingFinished();
280 void mPageSpinBox_valueChanged(
int );
281 void mXPosSpin_valueChanged(
double );
282 void mYPosSpin_valueChanged(
double );
284 void mWidthSpin_valueChanged(
double );
285 void mHeightSpin_valueChanged(
double );
288 void mUpperLeftCheckBox_stateChanged(
bool state );
289 void mUpperMiddleCheckBox_stateChanged(
bool state );
290 void mUpperRightCheckBox_stateChanged(
bool state );
291 void mMiddleLeftCheckBox_stateChanged(
bool state );
292 void mMiddleCheckBox_stateChanged(
bool state );
293 void mMiddleRightCheckBox_stateChanged(
bool state );
294 void mLowerLeftCheckBox_stateChanged(
bool state );
295 void mLowerMiddleCheckBox_stateChanged(
bool state );
296 void mLowerRightCheckBox_stateChanged(
bool state );
298 void mBlendModeCombo_currentIndexChanged(
int index );
299 void opacityChanged(
double value );
301 void mItemRotationSpinBox_valueChanged(
double val );
302 void mExcludeFromPrintsCheckBox_toggled(
bool checked );
304 void setValuesForGuiElements();
306 void setValuesForGuiPositionElements();
308 void setValuesForGuiNonPositionElements();
310 void variablesChanged();
313 QPointer<QgsLayoutItem> mItem;
316 bool mFreezeXPosSpin =
false;
317 bool mFreezeYPosSpin =
false;
318 bool mFreezeWidthSpin =
false;
319 bool mFreezeHeightSpin =
false;
320 bool mFreezePageSpin =
false;
321 bool mBlockVariableUpdates =
false;
323 void changeItemPosition();
325 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.