15 #ifndef QGSLAYOUTITEMWIDGET_H 16 #define QGSLAYOUTITEMWIDGET_H 22 #include "ui_qgslayoutitemwidgetbase.h" 100 void updateDataDefinedProperty();
103 void updateDataDefinedButtons();
107 QPointer< QgsLayoutObject > mLayoutObject;
152 virtual void setReportTypeString(
const QString &
string );
215 void showBackgroundGroup(
bool showGroup );
218 void showFrameGroup(
bool showGroup );
225 void initializeDataDefinedButtons();
227 void populateDataDefinedButtons();
234 void mFrameColorButton_colorChanged(
const QColor &newFrameColor );
239 void mBackgroundColorButton_colorChanged(
const QColor &newBackgroundColor );
242 void mStrokeWidthSpinBox_valueChanged(
double d );
244 void mFrameGroupBox_toggled(
bool state );
245 void mFrameJoinStyleCombo_currentIndexChanged(
int index );
246 void mBackgroundGroupBox_toggled(
bool state );
247 void mItemIdLineEdit_editingFinished();
250 void mPageSpinBox_valueChanged(
int );
251 void mXPosSpin_valueChanged(
double );
252 void mYPosSpin_valueChanged(
double );
254 void mWidthSpin_valueChanged(
double );
255 void mHeightSpin_valueChanged(
double );
258 void mUpperLeftCheckBox_stateChanged(
bool state );
259 void mUpperMiddleCheckBox_stateChanged(
bool state );
260 void mUpperRightCheckBox_stateChanged(
bool state );
261 void mMiddleLeftCheckBox_stateChanged(
bool state );
262 void mMiddleCheckBox_stateChanged(
bool state );
263 void mMiddleRightCheckBox_stateChanged(
bool state );
264 void mLowerLeftCheckBox_stateChanged(
bool state );
265 void mLowerMiddleCheckBox_stateChanged(
bool state );
266 void mLowerRightCheckBox_stateChanged(
bool state );
268 void mBlendModeCombo_currentIndexChanged(
int index );
269 void opacityChanged(
double value );
271 void mItemRotationSpinBox_valueChanged(
double val );
272 void mExcludeFromPrintsCheckBox_toggled(
bool checked );
274 void setValuesForGuiElements();
276 void setValuesForGuiPositionElements();
278 void setValuesForGuiNonPositionElements();
280 void variablesChanged();
281 void updateVariables();
285 QPointer< QgsLayoutItem > mItem;
288 bool mFreezeXPosSpin =
false;
289 bool mFreezeYPosSpin =
false;
290 bool mFreezeWidthSpin =
false;
291 bool mFreezeHeightSpin =
false;
292 bool mFreezePageSpin =
false;
293 bool mBlockVariableUpdates =
false;
295 void changeItemPosition();
297 void changeItemSize();
302 #endif // QGSLAYOUTITEMWIDGET_H Base class for graphical items within a QgsLayout.
ReferencePoint
Fixed position reference point.
Class used to render QgsLayout as an atlas, by iterating over the features from an associated vector ...
An object for property widgets for layout items.
A base class for objects which belong to a layout.
LayoutUnit
Layout measurement units.
Represents a vector layer which manages a vector based data sets.
DataDefinedProperty
Data defined properties for different item types.