Salome HOME
PAL17233: Projection 2D doesn't work (bis)
[modules/geom.git] / src / GEOMBase / GEOMBase_aParameterDlg.cxx
index 8f7b8779718af84733c88ece47d38cfe15566a52..ef6097e18d48ba247b2aec5d963e4d898ac5c04d 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
 //  Module : GEOM
 //  $Header$
 
-using namespace std;
 #include "GEOMBase_aParameterDlg.h"
-#include "QAD_SpinBoxDbl.h"
-#include "QAD_Tools.h"
+#include "QtxDblSpinBox.h"
 
 #include <stdio.h>
 
@@ -40,6 +38,11 @@ using namespace std;
 #include <qvariant.h>
 #include <qvalidator.h>
 
+#ifndef WNT
+using namespace std;
+#endif
+
+
 //====================================================================================== 
 // function : GEOMBase_aParameterDlg()
 // purpose  : Constructs a GEOMBase_aParametertDlg which is a child of 'parent', with the 
@@ -85,7 +88,7 @@ GEOMBase_aParameterDlg::GEOMBase_aParameterDlg(const char *aValue1, const char *
   TextLabel1->setText(tr(aTitle1));  
   mainGrpLayout->addWidget(TextLabel1, 0, 0);
 
-  mySpinBox = new QAD_SpinBoxDbl(mainGrp, "mySpinBox");
+  mySpinBox = new QtxDblSpinBox(mainGrp, "mySpinBox");
   mySpinBox->setPrecision(12);
   mySpinBox->setRange(bottom, top);
   ((QDoubleValidator*)(mySpinBox->validator()))->setRange(bottom, top, decimals);
@@ -122,7 +125,7 @@ GEOMBase_aParameterDlg::GEOMBase_aParameterDlg(const char *aValue1, const char *
   connect(myButtonCancel, SIGNAL(clicked()), this, SLOT(reject()));
   
   /* Move widget on the botton right corner of main widget */
-  QAD_Tools::centerWidget(this, parent);
+  //mzn: QAD_Tools::centerWidget(this, parent);
 }