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 );
231 void showBackgroundGroup(
bool showGroup );
234 void showFrameGroup(
bool showGroup );
251 void updateVariables();
255 void initializeDataDefinedButtons();
257 void populateDataDefinedButtons();
264 void mFrameColorButton_colorChanged(
const QColor &newFrameColor );
269 void mBackgroundColorButton_colorChanged(
const QColor &newBackgroundColor );
272 void mStrokeWidthSpinBox_valueChanged(
double d );
274 void mFrameGroupBox_toggled(
bool state );
275 void mFrameJoinStyleCombo_currentIndexChanged(
int index );
276 void mBackgroundGroupBox_toggled(
bool state );
277 void mItemIdLineEdit_editingFinished();
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();
314 QPointer< QgsLayoutItem > mItem;
317 bool mFreezeXPosSpin =
false;
318 bool mFreezeYPosSpin =
false;
319 bool mFreezeWidthSpin =
false;
320 bool mFreezeHeightSpin =
false;
321 bool mFreezePageSpin =
false;
322 bool mBlockVariableUpdates =
false;
324 void changeItemPosition();
326 void changeItemSize();
331 #endif // QGSLAYOUTITEMWIDGET_H