36 Q_PROPERTY(
bool locked READ locked WRITE setLocked )
50 void setLocked(
bool locked );
57 bool locked()
const {
return mLocked; }
69 void setWidthSpinBox( QDoubleSpinBox *widget );
81 void setHeightSpinBox( QDoubleSpinBox *widget );
97 void changeEvent( QEvent *e )
override;
98 void showEvent( QShowEvent *e )
override;
99 void resizeEvent( QResizeEvent *event )
override;
104 bool mLocked =
false;
106 QPointer<QDoubleSpinBox> mWidthSpinBox;
107 double mPrevWidth = 0;
108 QPointer<QDoubleSpinBox> mHeightSpinBox;
109 double mPrevHeight = 0;
110 bool mUpdatingRatio =
false;
114 void buttonClicked();
116 void widthSpinBoxChanged(
double value );
117 void heightSpinBoxChanged(
double value );