36 Q_PROPERTY(
bool locked READ locked WRITE setLocked )
51 void setLocked(
bool locked );
58 bool locked()
const {
return mLocked; }
70 void setWidthSpinBox( QDoubleSpinBox *widget );
82 void setHeightSpinBox( QDoubleSpinBox *widget );
99 void changeEvent( QEvent *e )
override;
100 void showEvent( QShowEvent *e )
override;
101 void resizeEvent( QResizeEvent *event )
override;
107 bool mLocked =
false;
109 QPointer< QDoubleSpinBox > mWidthSpinBox;
110 double mPrevWidth = 0;
111 QPointer< QDoubleSpinBox > mHeightSpinBox;
112 double mPrevHeight = 0;
113 bool mUpdatingRatio =
false;
117 void buttonClicked();
119 void widthSpinBoxChanged(
double value );
120 void heightSpinBoxChanged(
double value );