myAction->setOn( false );
}
-void SVTK_CubeAxesDlg::closeEvent( QCloseEvent* )
+void SVTK_CubeAxesDlg::done( int r )
{
myAction->setOn( false );
+ QDialog::done( r );
}
void Update();
-protected:
- virtual void closeEvent( QCloseEvent* );
-
private slots:
void onOk();
bool onApply();
void onClose();
+ virtual void done( int );
+
private:
QWidget* createButtonFrame( QWidget* );
QWidget* createMainFrame ( QWidget* );
void
SVTK_NonIsometricDlg
-::closeEvent( QCloseEvent* )
+::done( int r )
{
m_Action->setOn( false );
+ QDialog::done( r );
}
void Update();
protected:
- virtual void closeEvent( QCloseEvent* );
-
SVTK_MainWindow *m_MainWindow;
QtxAction* m_Action;
void onClickReset();
void onClickOk();
void onClickClose();
+
+ virtual void done( int );
};
#endif // SVTK_NONISOMETRICDLG_H