15 #ifndef QGSLAYOUTITEMWIDGET_H
16 #define QGSLAYOUTITEMWIDGET_H
22 #include "ui_qgslayoutitemwidgetbase.h"
102 void updateDataDefinedProperty();
105 void updateDataDefinedButtons();
109 QPointer< QgsLayoutObject > mLayoutObject;
154 virtual void setReportTypeString(
const QString &
string );
232 void showBackgroundGroup(
bool showGroup );
235 void showFrameGroup(
bool showGroup );
252 void updateVariables();
256 void initializeDataDefinedButtons();
258 void populateDataDefinedButtons();
265 void mFrameColorButton_colorChanged(
const QColor &newFrameColor );
270 void mBackgroundColorButton_colorChanged(
const QColor &newBackgroundColor );
273 void mStrokeWidthSpinBox_valueChanged(
double d );
275 void mFrameGroupBox_toggled(
bool state );
276 void mFrameJoinStyleCombo_currentIndexChanged(
int index );
277 void mBackgroundGroupBox_toggled(
bool state );
278 void mItemIdLineEdit_editingFinished();
281 void mPageSpinBox_valueChanged(
int );
282 void mXPosSpin_valueChanged(
double );
283 void mYPosSpin_valueChanged(
double );
285 void mWidthSpin_valueChanged(
double );
286 void mHeightSpin_valueChanged(
double );
289 void mUpperLeftCheckBox_stateChanged(
bool state );
290 void mUpperMiddleCheckBox_stateChanged(
bool state );
291 void mUpperRightCheckBox_stateChanged(
bool state );
292 void mMiddleLeftCheckBox_stateChanged(
bool state );
293 void mMiddleCheckBox_stateChanged(
bool state );
294 void mMiddleRightCheckBox_stateChanged(
bool state );
295 void mLowerLeftCheckBox_stateChanged(
bool state );
296 void mLowerMiddleCheckBox_stateChanged(
bool state );
297 void mLowerRightCheckBox_stateChanged(
bool state );
299 void mBlendModeCombo_currentIndexChanged(
int index );
300 void opacityChanged(
double value );
302 void mItemRotationSpinBox_valueChanged(
double val );
303 void mExcludeFromPrintsCheckBox_toggled(
bool checked );
305 void setValuesForGuiElements();
307 void setValuesForGuiPositionElements();
309 void setValuesForGuiNonPositionElements();
311 void variablesChanged();
315 QPointer< QgsLayoutItem > mItem;
318 bool mFreezeXPosSpin =
false;
319 bool mFreezeYPosSpin =
false;
320 bool mFreezeWidthSpin =
false;
321 bool mFreezeHeightSpin =
false;
322 bool mFreezePageSpin =
false;
323 bool mBlockVariableUpdates =
false;
325 void changeItemPosition();
327 void changeItemSize();
332 #endif // QGSLAYOUTITEMWIDGET_H