37 Q_PROPERTY(
bool locked READ locked WRITE setLocked )
52 void setLocked(
bool locked );
59 bool locked()
const {
return mLocked; }
71 void setWidthSpinBox( QDoubleSpinBox *widget );
83 void setHeightSpinBox( QDoubleSpinBox *widget );
100 void changeEvent( QEvent *e )
override;
101 void showEvent( QShowEvent *e )
override;
102 void resizeEvent( QResizeEvent *event )
override;
108 bool mLocked =
false;
110 QPointer< QDoubleSpinBox > mWidthSpinBox;
111 double mPrevWidth = 0;
112 QPointer< QDoubleSpinBox > mHeightSpinBox;
113 double mPrevHeight = 0;
114 bool mUpdatingRatio =
false;
118 void buttonClicked();
120 void widthSpinBoxChanged(
double value );
121 void heightSpinBoxChanged(
double value );