18 #ifndef QGSLAYOUTPICTUREWIDGET_H
19 #define QGSLAYOUTPICTUREWIDGET_H
25 #include "ui_qgslayoutpicturewidgetbase.h"
47 void mPictureRotationSpinBox_valueChanged(
double d );
48 void mRotationFromComposerMapCheckBox_stateChanged(
int state );
50 void mResizeModeComboBox_currentIndexChanged(
int index );
51 void mAnchorPointComboBox_currentIndexChanged(
int index );
59 void populateDataDefinedButtons();
63 void setGuiElementValues();
66 void setPicRotationSpinValue(
double r );
68 void mFillColorButton_colorChanged(
const QColor &color );
69 void mStrokeColorButton_colorChanged(
const QColor &color );
70 void mStrokeWidthSpinBox_valueChanged(
double d );
71 void mPictureRotationOffsetSpinBox_valueChanged(
double d );
72 void mNorthTypeComboBox_currentIndexChanged(
int index );
74 void updatePictureTypeWidgets();
77 void populateIcons(
const QModelIndex &idx );
78 void setSvgName(
const QModelIndex &idx );
79 void svgSourceChanged(
const QString &source );
80 void rasterSourceChanged(
const QString &source );
82 QPointer< QgsLayoutItemPicture > mPicture;
85 int mBlockSvgModelChanges = 0;
87 void updateSvgParamGui(
bool resetValues =
true );
90 #endif // QGSLAYOUTPICTUREWIDGET_H