}
}
VisuGUI::application()->objectBrowser()->updateTree();*/
+ myScalarPane->deletePreview();
deletePlanes();
QDialog::accept();
// }
myPrs->RemoveFromStudy();
VisuGUI::application()->objectBrowser()->updateTree();
}*/
+ myScalarPane->deletePreview();
deletePlanes();
QDialog::reject();
}
// return;
//}
if (myScalarPane->check())
- QDialog::accept();
+ {
+ myScalarPane->deletePreview();
+ QDialog::accept();
+ }
}
void VisuGUI_CutPlanesDlg::reject() {
+ myScalarPane->deletePreview();
QDialog::reject();
}
}
void VisuGUI_DeformedShapeDlg::accept() {
- if (myScalarPane->check()) QDialog::accept();
+ if (myScalarPane->check())
+ {
+ myScalarPane->deletePreview();
+ QDialog::accept();
+ }
+}
+
+void VisuGUI_DeformedShapeDlg::reject()
+{
+ myScalarPane->deletePreview();
+ QDialog::reject();
}
protected slots:
void accept();
+ void reject();
private:
QtxDblSpinBox* ScalFact;
void VisuGUI_IsoSurfacesDlg::accept()
{
if (myIsoPane->check() && myScalarPane->check())
- QDialog::accept();
+ {
+ myScalarPane->deletePreview();
+ QDialog::accept();
+ }
+}
+
+void VisuGUI_IsoSurfacesDlg::reject()
+{
+ myScalarPane->deletePreview();
+ QDialog::reject();
}
protected slots:
void accept();
+ void reject();
private:
VisuGUI_IsoSurfPane* myIsoPane;
void VisuGUI_Plot3DDlg::accept()
{
if (myIsoPane->check() && myScalarPane->check())
- QDialog::accept();
+ {
+ myScalarPane->deletePreview();
+ QDialog::accept();
+ }
}
//=======================================================================
void VisuGUI_Plot3DDlg::reject()
{
myIsoPane->check(); // hide preview
-
+ myScalarPane->deletePreview();
+
QDialog::reject();
}
void VisuGUI_StreamLinesDlg::accept() {
if (myScalarPane->check())
- QDialog::accept();
+ {
+ myScalarPane->deletePreview();
+ QDialog::accept();
+ }
+}
+
+void VisuGUI_StreamLinesDlg::reject()
+{
+ myScalarPane->deletePreview();
+ QDialog::reject();
}
protected slots:
void accept();
+ void reject();
private slots:
void onSelectionActive(bool theActive);
void VisuGUI_VectorsDlg::accept() {
- if (myScalarPane->check()) QDialog::accept();
+ if (myScalarPane->check())
+ {
+ myScalarPane->deletePreview();
+ QDialog::accept();
+ }
}
+void VisuGUI_VectorsDlg::reject()
+{
+ myScalarPane->deletePreview();
+ QDialog::reject();
+}
protected slots:
void accept();
+ void reject();
private:
QGroupBox* TopGroup;