// 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
//
//
//
#ifndef SMESHGUI_PREFERENCES_SELECTIONDLG_H
#define SMESHGUI_PREFERENCES_SELECTIONDLG_H
+#include "SMESH_SMESHGUI.hxx"
+
// QT Includes
#include <qdialog.h>
class QPushButton;
class QSpinBox;
class QColor;
+class SMESHGUI;
-class SMESHGUI_LineEdit : public QLineEdit
+class SMESHGUI_EXPORT SMESHGUI_LineEdit : public QLineEdit
{
Q_OBJECT
void focusOutEvent(QFocusEvent* e);
};
-class SMESHGUI_DoubleValidator : public QDoubleValidator
+class SMESHGUI_EXPORT SMESHGUI_DoubleValidator : public QDoubleValidator
{
Q_OBJECT
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);
void onSelectColor();
private:
+ SMESHGUI* mySMESHGUI;
QPushButton* myColor[3];
QSpinBox* myWidth[2];
QLineEdit* myPrecision[2];