GEOMToolsGUI_DeflectionDlg * DeflectionDlg = new GEOMToolsGUI_DeflectionDlg
(SUIT_Session::session()->activeApplication()->desktop());
- DeflectionDlg->setDC(aDC);
+ DeflectionDlg->setTheDC(aDC);
double aNewDC = 0.0;
bool ok = false;
while (!ok) {
if (DeflectionDlg->exec()) {
SUIT_OverrideCursor();
- aNewDC = DeflectionDlg->getDC();
+ aNewDC = DeflectionDlg->getTheDC();
ok = (1e-07 <= aNewDC && aNewDC <= 1.0); // spinbox can return zero
if (ok) {
for (; ic->MoreCurrent(); ic->NextCurrent()) {
GEOMToolsGUI_DeflectionDlg* DeflectionDlg = new GEOMToolsGUI_DeflectionDlg
(SUIT_Session::session()->activeApplication()->desktop());
- DeflectionDlg->setDC(aDC);
+ DeflectionDlg->setTheDC(aDC);
if (DeflectionDlg->exec()) {
SUIT_OverrideCursor();
- aDC = DeflectionDlg->getDC();
+ aDC = DeflectionDlg->getTheDC();
while (anAct != NULL) {
if (GEOM_Actor* anActor = GEOM_Actor::SafeDownCast(anAct)) {
// There are no casting to needed actor.
// no need to delete child widgets, Qt does it all for us
}
-double GEOMToolsGUI_DeflectionDlg::getDC() const
+double GEOMToolsGUI_DeflectionDlg::getTheDC() const
{
return SpinBox->text().toDouble();
}
-void GEOMToolsGUI_DeflectionDlg::setDC (const double v)
+void GEOMToolsGUI_DeflectionDlg::setTheDC (const double v)
{
SpinBox->setValue(v);
}
GEOMToolsGUI_DeflectionDlg( QWidget* );
~GEOMToolsGUI_DeflectionDlg();
- double getDC() const;
- void setDC( const double );
+ double getTheDC() const;
+ void setTheDC( const double );
private slots:
void ClickOnHelp();