void VVTK_PickingDlg::onClickClose()
{
myAction->setOn( false );
-
reject();
}
-void VVTK_PickingDlg::closeEvent( QCloseEvent* )
+void VVTK_PickingDlg::done( int r )
{
myAction->setOn( false );
+ QDialog::done( r );
}
VISU_PickingSettings* GetPickingSettings();
-protected:
- virtual void closeEvent( QCloseEvent* );
+protected slots:
+ virtual void done( int );
-private slots:
void onClickApply();
void onClickClose();
void VVTK_SegmentationCursorDlg::onClickClose()
{
myAction->setOn( false );
-
reject();
}
-void VVTK_SegmentationCursorDlg::closeEvent( QCloseEvent* )
+void VVTK_SegmentationCursorDlg::done( int r )
{
myAction->setOn( false );
+ QDialog::done( r );
}
vtkImageData* MakeImageData( const QString& theMainTexture,
const QString& theAlphaTexture );
-protected:
- virtual void closeEvent( QCloseEvent* );
-
private:
static void ProcessEvents(vtkObject* theObject,
unsigned long theEvent,
void* theClientData,
void* theCallData);
-private slots:
+protected slots:
+ virtual void done( int );
+
void onClickApply();
void onClickClose();