mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-13 17:18:36 +05:00
Windows porting
This commit is contained in:
parent
409b095d25
commit
1ee80bad40
@ -31,8 +31,18 @@
|
|||||||
|
|
||||||
#include "DlgRef_1Sel1Spin_QTD.h"
|
#include "DlgRef_1Sel1Spin_QTD.h"
|
||||||
#include "DlgRef_SpinBox.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
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -19,8 +19,12 @@ class QLabel;
|
|||||||
class QLineEdit;
|
class QLineEdit;
|
||||||
class QPushButton;
|
class QPushButton;
|
||||||
class QSpinBox;
|
class QSpinBox;
|
||||||
|
#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
|
||||||
class DlgRef_1Sel1Spin_QTD : public QWidget
|
#define DLGREF_WNT_EXPORT __declspec( dllexport )
|
||||||
|
#else
|
||||||
|
#define DLGREF_WNT_EXPORT
|
||||||
|
#endif
|
||||||
|
class DLGREF_WNT_EXPORT DlgRef_1Sel1Spin_QTD : public QWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -31,8 +31,19 @@
|
|||||||
|
|
||||||
#include "DlgRef_1Sel3Spin_QTD.h"
|
#include "DlgRef_1Sel3Spin_QTD.h"
|
||||||
#include "DlgRef_SpinBox.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
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -19,8 +19,12 @@ class QLabel;
|
|||||||
class QLineEdit;
|
class QLineEdit;
|
||||||
class QPushButton;
|
class QPushButton;
|
||||||
class QSpinBox;
|
class QSpinBox;
|
||||||
|
#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
|
||||||
class DlgRef_1Sel3Spin_QTD : public QWidget
|
#define DLGREF_WNT_EXPORT __declspec( dllexport )
|
||||||
|
#else
|
||||||
|
#define DLGREF_WNT_EXPORT
|
||||||
|
#endif
|
||||||
|
class DLGREF_WNT_EXPORT DlgRef_1Sel3Spin_QTD : public QWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -19,7 +19,13 @@ class QLabel;
|
|||||||
class QLineEdit;
|
class QLineEdit;
|
||||||
class QPushButton;
|
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
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -31,8 +31,18 @@
|
|||||||
|
|
||||||
#include "DlgRef_2Sel1Spin_QTD.h"
|
#include "DlgRef_2Sel1Spin_QTD.h"
|
||||||
#include "DlgRef_SpinBox.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
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -20,7 +20,13 @@ class QLineEdit;
|
|||||||
class QPushButton;
|
class QPushButton;
|
||||||
class QSpinBox;
|
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
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -31,8 +31,17 @@
|
|||||||
|
|
||||||
#include "DlgRef_2Sel2Spin_QTD.h"
|
#include "DlgRef_2Sel2Spin_QTD.h"
|
||||||
#include "DlgRef_SpinBox.h"
|
#include "DlgRef_SpinBox.h"
|
||||||
|
//#if defined WNT
|
||||||
class DlgRef_2Sel2Spin : public DlgRef_2Sel2Spin_QTD
|
//#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
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -20,7 +20,13 @@ class QLineEdit;
|
|||||||
class QPushButton;
|
class QPushButton;
|
||||||
class QSpinBox;
|
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
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -19,7 +19,13 @@ class QLabel;
|
|||||||
class QLineEdit;
|
class QLineEdit;
|
||||||
class QPushButton;
|
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
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -17,7 +17,13 @@ class QGridLayout;
|
|||||||
class QButtonGroup;
|
class QButtonGroup;
|
||||||
class QRadioButton;
|
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
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -33,12 +33,21 @@
|
|||||||
#include "DlgRef_SpinBox.h"
|
#include "DlgRef_SpinBox.h"
|
||||||
#include <qlayout.h>
|
#include <qlayout.h>
|
||||||
#include <qlabel.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
|
// class : DlgRef_3Sel1Spin
|
||||||
// purpose : extension of a DlgRef_3Sel_QTD class, 1 additional spin box is added
|
// 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
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -19,7 +19,13 @@ class QLabel;
|
|||||||
class QLineEdit;
|
class QLineEdit;
|
||||||
class QPushButton;
|
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
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -31,8 +31,17 @@
|
|||||||
|
|
||||||
#include "DlgRef_3Spin_QTD.h"
|
#include "DlgRef_3Spin_QTD.h"
|
||||||
#include "DlgRef_SpinBox.h"
|
#include "DlgRef_SpinBox.h"
|
||||||
|
//#if defined WNT
|
||||||
class DlgRef_3Spin : public DlgRef_3Spin_QTD
|
//#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
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -32,7 +32,12 @@
|
|||||||
#include "DlgRef_3Spin1Check_QTD.h"
|
#include "DlgRef_3Spin1Check_QTD.h"
|
||||||
#include "DlgRef_SpinBox.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
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -19,7 +19,13 @@ class QLabel;
|
|||||||
class QRadioButton;
|
class QRadioButton;
|
||||||
class QSpinBox;
|
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
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -18,7 +18,12 @@ class QGroupBox;
|
|||||||
class QLabel;
|
class QLabel;
|
||||||
class QSpinBox;
|
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
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -30,12 +30,21 @@
|
|||||||
#define GEOMSPINBOX_H
|
#define GEOMSPINBOX_H
|
||||||
|
|
||||||
#include "QtxDblSpinBox.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
|
// class : DlgRef_SpinBox
|
||||||
// purpose : Derivated from QSpinBox class and modified to accept floats
|
// 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
|
Q_OBJECT
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user