Salome HOME
Porting to VTK-5.0.0
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_Preferences_SelectionDlg.h
index a4edd3865689095bec7a7a7f9d14833e9dde8f2d..96715d78278805e6ba3f6545e47c01c124bd6049 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.salome-platorm.org or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
@@ -29,6 +29,8 @@
 #ifndef SMESHGUI_PREFERENCES_SELECTIONDLG_H
 #define SMESHGUI_PREFERENCES_SELECTIONDLG_H
 
+#include "SMESH_SMESHGUI.hxx"
+
 
 // QT Includes
 #include <qdialog.h>
@@ -38,8 +40,9 @@
 class QPushButton;
 class QSpinBox;
 class QColor;
+class SMESHGUI;
 
-class SMESHGUI_LineEdit : public QLineEdit
+class SMESHGUI_EXPORT SMESHGUI_LineEdit : public QLineEdit
 {
   Q_OBJECT
 
@@ -53,7 +56,7 @@ class SMESHGUI_LineEdit : public QLineEdit
     void focusOutEvent(QFocusEvent* e);
 };
 
-class SMESHGUI_DoubleValidator : public QDoubleValidator
+class SMESHGUI_EXPORT SMESHGUI_DoubleValidator : public QDoubleValidator
 {
   Q_OBJECT
 
@@ -67,12 +70,12 @@ class SMESHGUI_DoubleValidator : public QDoubleValidator
     void fixup(QString& text) const;
 };
 
-class SMESHGUI_Preferences_SelectionDlg : public QDialog
+class SMESHGUI_EXPORT SMESHGUI_Preferences_SelectionDlg : public QDialog
 { 
     Q_OBJECT
 
 public:
-    SMESHGUI_Preferences_SelectionDlg( QWidget* parent = 0, const char* name = 0 );
+    SMESHGUI_Preferences_SelectionDlg( SMESHGUI*, const char* name = 0 );
     ~SMESHGUI_Preferences_SelectionDlg();
 
     void   SetColor(int type, QColor color);
@@ -89,6 +92,7 @@ private slots:
     void onSelectColor();
 
 private:
+    SMESHGUI*             mySMESHGUI;
     QPushButton*          myColor[3];
     QSpinBox*             myWidth[2];
     QLineEdit*            myPrecision[2];