Windows porting

This commit is contained in:
szy 2005-08-19 13:16:23 +00:00
parent 409b095d25
commit 1ee80bad40
18 changed files with 151 additions and 24 deletions

View File

@ -31,8 +31,18 @@
#include "DlgRef_1Sel1Spin_QTD.h"
#include "DlgRef_SpinBox.h"
//#if defined WNT
//#include <SALOME_WNT.hxx>
//#else
//#define SALOME_WNT_EXPORT
//#endif
#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
#define DLGREF_WNT_EXPORT __declspec( dllexport )
#else
#define DLGREF_WNT_EXPORT
#endif
class DlgRef_1Sel1Spin : public DlgRef_1Sel1Spin_QTD
class DLGREF_WNT_EXPORT DlgRef_1Sel1Spin : public DlgRef_1Sel1Spin_QTD
{
Q_OBJECT

View File

@ -19,8 +19,12 @@ class QLabel;
class QLineEdit;
class QPushButton;
class QSpinBox;
class DlgRef_1Sel1Spin_QTD : public QWidget
#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
#define DLGREF_WNT_EXPORT __declspec( dllexport )
#else
#define DLGREF_WNT_EXPORT
#endif
class DLGREF_WNT_EXPORT DlgRef_1Sel1Spin_QTD : public QWidget
{
Q_OBJECT

View File

@ -31,8 +31,19 @@
#include "DlgRef_1Sel3Spin_QTD.h"
#include "DlgRef_SpinBox.h"
//#if defined WNT
//#include <SALOME_WNT.hxx>
//#else
//#define SALOME_WNT_EXPORT
//#endif
class DlgRef_1Sel3Spin : public DlgRef_1Sel3Spin_QTD
#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
#define DLGREF_WNT_EXPORT __declspec( dllexport )
#else
#define DLGREF_WNT_EXPORT
#endif
class DLGREF_WNT_EXPORT DlgRef_1Sel3Spin : public DlgRef_1Sel3Spin_QTD
{
Q_OBJECT

View File

@ -19,8 +19,12 @@ class QLabel;
class QLineEdit;
class QPushButton;
class QSpinBox;
class DlgRef_1Sel3Spin_QTD : public QWidget
#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
#define DLGREF_WNT_EXPORT __declspec( dllexport )
#else
#define DLGREF_WNT_EXPORT
#endif
class DLGREF_WNT_EXPORT DlgRef_1Sel3Spin_QTD : public QWidget
{
Q_OBJECT

View File

@ -19,7 +19,13 @@ class QLabel;
class QLineEdit;
class QPushButton;
class DlgRef_1Sel_QTD : public QWidget
#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
#define DLGREF_WNT_EXPORT __declspec( dllexport )
#else
#define DLGREF_WNT_EXPORT
#endif
class DLGREF_WNT_EXPORT DlgRef_1Sel_QTD : public QWidget
{
Q_OBJECT

View File

@ -31,8 +31,18 @@
#include "DlgRef_2Sel1Spin_QTD.h"
#include "DlgRef_SpinBox.h"
//#if defined WNT
//#include <SALOME_WNT.hxx>
//#else
//#define SALOME_WNT_EXPORT
//#endif
#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
#define DLGREF_WNT_EXPORT __declspec( dllexport )
#else
#define DLGREF_WNT_EXPORT
#endif
class DlgRef_2Sel1Spin : public DlgRef_2Sel1Spin_QTD
class DLGREF_WNT_EXPORT DlgRef_2Sel1Spin : public DlgRef_2Sel1Spin_QTD
{
Q_OBJECT

View File

@ -20,7 +20,13 @@ class QLineEdit;
class QPushButton;
class QSpinBox;
class DlgRef_2Sel1Spin_QTD : public QWidget
#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
#define DLGREF_WNT_EXPORT __declspec( dllexport )
#else
#define DLGREF_WNT_EXPORT
#endif
class DLGREF_WNT_EXPORT DlgRef_2Sel1Spin_QTD : public QWidget
{
Q_OBJECT

View File

@ -31,8 +31,17 @@
#include "DlgRef_2Sel2Spin_QTD.h"
#include "DlgRef_SpinBox.h"
class DlgRef_2Sel2Spin : public DlgRef_2Sel2Spin_QTD
//#if defined WNT
//#include <SALOME_WNT.hxx>
//#else
//#define SALOME_WNT_EXPORT
//#endif
#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
#define DLGREF_WNT_EXPORT __declspec( dllexport )
#else
#define DLGREF_WNT_EXPORT
#endif
class DLGREF_WNT_EXPORT DlgRef_2Sel2Spin : public DlgRef_2Sel2Spin_QTD
{
Q_OBJECT

View File

@ -20,7 +20,13 @@ class QLineEdit;
class QPushButton;
class QSpinBox;
class DlgRef_2Sel2Spin_QTD : public QWidget
#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
#define DLGREF_WNT_EXPORT __declspec( dllexport )
#else
#define DLGREF_WNT_EXPORT
#endif
class DLGREF_WNT_EXPORT DlgRef_2Sel2Spin_QTD : public QWidget
{
Q_OBJECT

View File

@ -19,7 +19,13 @@ class QLabel;
class QLineEdit;
class QPushButton;
class DlgRef_2Sel_QTD : public QWidget
#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
#define DLGREF_WNT_EXPORT __declspec( dllexport )
#else
#define DLGREF_WNT_EXPORT
#endif
class DLGREF_WNT_EXPORT DlgRef_2Sel_QTD : public QWidget
{
Q_OBJECT

View File

@ -17,7 +17,13 @@ class QGridLayout;
class QButtonGroup;
class QRadioButton;
class DlgRef_3Check_QTD : public QWidget
#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
#define DLGREF_WNT_EXPORT __declspec( dllexport )
#else
#define DLGREF_WNT_EXPORT
#endif
class DLGREF_WNT_EXPORT DlgRef_3Check_QTD : public QWidget
{
Q_OBJECT

View File

@ -33,12 +33,21 @@
#include "DlgRef_SpinBox.h"
#include <qlayout.h>
#include <qlabel.h>
//#if defined WNT
//#include <SALOME_WNT.hxx>
//#else
//#define SALOME_WNT_EXPORT
//#endif
#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
#define DLGREF_WNT_EXPORT __declspec( dllexport )
#else
#define DLGREF_WNT_EXPORT
#endif
//=================================================================================
// class : DlgRef_3Sel1Spin
// purpose : extension of a DlgRef_3Sel_QTD class, 1 additional spin box is added
//=================================================================================
class DlgRef_3Sel1Spin : public DlgRef_3Sel_QTD
class DLGREF_WNT_EXPORT DlgRef_3Sel1Spin : public DlgRef_3Sel_QTD
{
Q_OBJECT

View File

@ -19,7 +19,13 @@ class QLabel;
class QLineEdit;
class QPushButton;
class DlgRef_3Sel_QTD : public QWidget
#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
#define DLGREF_WNT_EXPORT __declspec( dllexport )
#else
#define DLGREF_WNT_EXPORT
#endif
class DLGREF_WNT_EXPORT DlgRef_3Sel_QTD : public QWidget
{
Q_OBJECT

View File

@ -31,8 +31,17 @@
#include "DlgRef_3Spin_QTD.h"
#include "DlgRef_SpinBox.h"
class DlgRef_3Spin : public DlgRef_3Spin_QTD
//#if defined WNT
//#include <SALOME_WNT.hxx>
//#else
//#define SALOME_WNT_EXPORT
//#endif
#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
#define DLGREF_WNT_EXPORT __declspec( dllexport )
#else
#define DLGREF_WNT_EXPORT
#endif
class DLGREF_WNT_EXPORT DlgRef_3Spin : public DlgRef_3Spin_QTD
{
Q_OBJECT

View File

@ -32,7 +32,12 @@
#include "DlgRef_3Spin1Check_QTD.h"
#include "DlgRef_SpinBox.h"
class DlgRef_3Spin1Check : public DlgRef_3Spin1Check_QTD
#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
#define DLGREF_WNT_EXPORT __declspec( dllexport )
#else
#define DLGREF_WNT_EXPORT
#endif
class DLGREF_WNT_EXPORT DlgRef_3Spin1Check : public DlgRef_3Spin1Check_QTD
{
Q_OBJECT

View File

@ -19,7 +19,13 @@ class QLabel;
class QRadioButton;
class QSpinBox;
class DlgRef_3Spin1Check_QTD : public QWidget
#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
#define DLGREF_WNT_EXPORT __declspec( dllexport )
#else
#define DLGREF_WNT_EXPORT
#endif
class DLGREF_WNT_EXPORT DlgRef_3Spin1Check_QTD : public QWidget
{
Q_OBJECT

View File

@ -18,7 +18,12 @@ class QGroupBox;
class QLabel;
class QSpinBox;
class DlgRef_3Spin_QTD : public QWidget
#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
#define DLGREF_WNT_EXPORT __declspec( dllexport )
#else
#define DLGREF_WNT_EXPORT
#endif
class DLGREF_WNT_EXPORT DlgRef_3Spin_QTD : public QWidget
{
Q_OBJECT

View File

@ -30,12 +30,21 @@
#define GEOMSPINBOX_H
#include "QtxDblSpinBox.h"
//#if defined WNT
//#include <SALOME_WNT.hxx>
//#else
//#define SALOME_WNT_EXPORT
//#endif
#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
#define DLGREF_WNT_EXPORT __declspec( dllexport )
#else
#define DLGREF_WNT_EXPORT
#endif
//=================================================================================
// class : DlgRef_SpinBox
// purpose : Derivated from QSpinBox class and modified to accept floats
//=================================================================================
class DlgRef_SpinBox : public QtxDblSpinBox
class DLGREF_WNT_EXPORT DlgRef_SpinBox : public QtxDblSpinBox
{
Q_OBJECT