From: mkr Date: Mon, 2 Jul 2007 06:22:42 +0000 (+0000) Subject: Porting to Qt4. X-Git-Tag: snapshot_171207~38 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3ffc5a5de69560feed0634aeaae8ca43693b6451;p=modules%2Fgeom.git Porting to Qt4. --- diff --git a/src/DlgRef/DlgRef.pro b/src/DlgRef/DlgRef.pro new file mode 100644 index 000000000..8f0a5d198 --- /dev/null +++ b/src/DlgRef/DlgRef.pro @@ -0,0 +1,111 @@ +TEMPLATE = lib +TARGET = DlgRef +DESTDIR = ../../lib +MOC_DIR = ../../moc +OBJECTS_DIR = ../../obj/$$TARGET + +QT_INCLUDES = $$(QTDIR)/include $$(QTDIR)/include/QtCore $$(QTDIR)/include/QtGui $$(QTDIR)/include/QtOpenGL $$(QTDIR)/include/QtXml + +KERNEL_CXXFLAGS = $$(KERNEL_ROOT_DIR)/include/salome + +GUI_CXXFLAGS = $$(GUI_ROOT_DIR)/include/salome + +GUI_LDFLAGS = -L$$(GUI_ROOT_DIR)/lib/salome + +STDLIB = -lstdc++ + +QT_MT_LIBS = -L$$(QTDIR)/lib -lQtCore -lQtXml -lQtGui -lQtOpenGL + +INCLUDEPATH += $${QT_INCLUDES} $${KERNEL_CXXFLAGS} $${GUI_CXXFLAGS} + +LIBS += $${GUI_LDFLAGS} -lqtx $${STDLIB} $${QT_MT_LIBS} + +CONFIG -= debug release debug_and_release +CONFIG += qt thread debug dll shared + +win32:DEFINES += WIN32 +DEFINES += DLGREF_EXPORTS + +HEADERS = DlgRef_Skeleton_QTD.h +HEADERS += DlgRef_1Sel_QTD.h +HEADERS += DlgRef_2Sel_QTD.h +HEADERS += DlgRef_3Sel_QTD.h +HEADERS += DlgRef_1Sel1Check_QTD.h +HEADERS += DlgRef_1Sel3Check_QTD.h +HEADERS += DlgRef_1Sel1Check1List_QTD.h +HEADERS += DlgRef_1Sel1Spin_QTD.h +HEADERS += DlgRef_1Sel2Spin_QTD.h +HEADERS += DlgRef_1Sel3Spin_QTD.h +HEADERS += DlgRef_1Sel4Spin_QTD.h +HEADERS += DlgRef_1Sel5Spin_QTD.h +HEADERS += DlgRef_2Sel1Spin_QTD.h +HEADERS += DlgRef_2Sel2Spin_QTD.h +HEADERS += DlgRef_2Sel3Spin_QTD.h +HEADERS += DlgRef_1Sel1Spin1Check_QTD.h +HEADERS += DlgRef_2Sel1Spin2Check_QTD.h +HEADERS += DlgRef_2Sel2Spin1Check_QTD.h +HEADERS += DlgRef_2Sel4Spin1Check_QTD.h +HEADERS += DlgRef_3Sel4Spin2Check_QTD.h +HEADERS += DlgRef_4Sel1List_QTD.h +HEADERS += DlgRef_2Sel1List_QTD.h +HEADERS += DlgRef_1List1Spin1Btn_QTD.h +HEADERS += DlgRef_4Sel1List1Check_QTD.h +HEADERS += DlgRef_1Spin_QTD.h +HEADERS += DlgRef_2Spin_QTD.h +HEADERS += DlgRef_3Spin_QTD.h +HEADERS += DlgRef_3Spin1Check_QTD.h +HEADERS += DlgRef_3Sel3Spin1Check_QTD.h +HEADERS += DlgRef_4Sel1Spin2Check_QTD.h +HEADERS += DlgRef_SpinBox.h +HEADERS += DlgRef_1Sel1Spin.h +HEADERS += DlgRef_1Sel2Spin.h +HEADERS += DlgRef_1Sel3Spin.h +HEADERS += DlgRef_1Sel4Spin.h +HEADERS += DlgRef_1Sel5Spin.h +HEADERS += DlgRef_2Sel1Spin.h +HEADERS += DlgRef_2Sel2Spin.h +HEADERS += DlgRef_2Sel3Spin.h +HEADERS += DlgRef_1Sel1Spin1Check.h +HEADERS += DlgRef_2Sel1Spin2Check.h +HEADERS += DlgRef_2Sel2Spin1Check.h +HEADERS += DlgRef_2Sel4Spin1Check.h +HEADERS += DlgRef_3Sel4Spin2Check.h +HEADERS += DlgRef_3Sel3Spin1Check.h +HEADERS += DlgRef_1Spin.h +HEADERS += DlgRef_2Spin.h +HEADERS += DlgRef_3Spin.h +HEADERS += DlgRef_3Spin1Check.h +HEADERS += DlgRef_3Sel1Spin.h +HEADERS += DlgRef_1Sel_Ext.h +HEADERS += DlgRef_3Check_QTD.h +HEADERS += DlgRef_6Sel_QTD.h +HEADERS += DlgRef_4Sel1Spin2Check.h +HEADERS += DlgRef_3Sel1Check_QTD.h +HEADERS += GEOM_DlgRef.hxx + +SOURCES = DlgRef_SpinBox.cxx +SOURCES += DlgRef_1Sel1Spin.cxx +SOURCES += DlgRef_1Sel2Spin.cxx +SOURCES += DlgRef_1Sel3Spin.cxx +SOURCES += DlgRef_1Sel4Spin.cxx +SOURCES += DlgRef_1Sel5Spin.cxx +SOURCES += DlgRef_2Sel1Spin.cxx +SOURCES += DlgRef_2Sel2Spin.cxx +SOURCES += DlgRef_2Sel3Spin.cxx +SOURCES += DlgRef_1Sel1Spin1Check.cxx +SOURCES += DlgRef_2Sel1Spin2Check.cxx +SOURCES += DlgRef_2Sel2Spin1Check.cxx +SOURCES += DlgRef_2Sel4Spin1Check.cxx +SOURCES += DlgRef_3Sel4Spin2Check.cxx +SOURCES += DlgRef_3Sel3Spin1Check.cxx +SOURCES += DlgRef_1Spin.cxx +SOURCES += DlgRef_2Spin.cxx +SOURCES += DlgRef_3Spin.cxx +SOURCES += DlgRef_3Spin1Check.cxx +SOURCES += DlgRef_3Sel1Spin.cxx +SOURCES += DlgRef_4Sel1Spin2Check.cxx + +includes.files = $$HEADERS +includes.path = ../../include + +INSTALLS += includes diff --git a/src/DlgRef/DlgRef_1List1Spin1Btn_QTD.cxx b/src/DlgRef/DlgRef_1List1Spin1Btn_QTD.cxx deleted file mode 100644 index 0159516ca..000000000 --- a/src/DlgRef/DlgRef_1List1Spin1Btn_QTD.cxx +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_1List1Spin1Btn_QTD.ui' -** -** Created: Wed Mar 17 11:29:24 2004 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_1List1Spin1Btn_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_1List1Spin1Btn_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_1List1Spin1Btn_QTD::DlgRef_1List1Spin1Btn_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_1List1Spin1Btn_QTD" ); - resize( 204, 148 ); - setCaption( trUtf8( "DlgRef_3Sel4Spin2Check_QTD" ) ); - DlgRef_1List1Spin1Btn_QTDLayout = new QGridLayout( this, 1, 1, 11, 6, "DlgRef_1List1Spin1Btn_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - QSpacerItem* spacer = new QSpacerItem( 0, 23, QSizePolicy::Minimum, QSizePolicy::Expanding ); - GroupBox1Layout->addItem( spacer, 3, 1 ); - - ListView1 = new QListView( GroupBox1, "ListView1" ); - - GroupBox1Layout->addMultiCellWidget( ListView1, 0, 3, 0, 0 ); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - GroupBox1Layout->addWidget( TextLabel1, 0, 1 ); - - SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" ); - - GroupBox1Layout->addWidget( SpinBox1, 1, 1 ); - - PushButton1 = new QPushButton( GroupBox1, "PushButton1" ); - PushButton1->setText( trUtf8( "" ) ); - - GroupBox1Layout->addWidget( PushButton1, 2, 1 ); - - DlgRef_1List1Spin1Btn_QTDLayout->addWidget( GroupBox1, 0, 0 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_1List1Spin1Btn_QTD::~DlgRef_1List1Spin1Btn_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_1List1Spin1Btn_QTD.h b/src/DlgRef/DlgRef_1List1Spin1Btn_QTD.h index a14fe62a5..52060b67c 100644 --- a/src/DlgRef/DlgRef_1List1Spin1Btn_QTD.h +++ b/src/DlgRef/DlgRef_1List1Spin1Btn_QTD.h @@ -1,65 +1,106 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_1List1Spin1Btn_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_1List1Spin1Btn_QTD.ui' ** -** Created: Wed Mar 17 11:29:24 2004 -** by: The User Interface Compiler (uic) +** Created: Mon Jul 2 08:49:49 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_1LIST1SPIN1BTN_QTD_H #define DLGREF_1LIST1SPIN1BTN_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QGroupBox; -class QLabel; -class QListView; -class QListViewItem; -class QPushButton; -class QSpinBox; +class Ui_DlgRef_1List1Spin1Btn_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QSpacerItem *spacerItem; + QListView *ListView1; + QLabel *TextLabel1; + QSpinBox *SpinBox1; + QPushButton *PushButton1; -class GEOM_DLGREF_EXPORT DlgRef_1List1Spin1Btn_QTD : public QWidget -{ - Q_OBJECT + void setupUi(QWidget *DlgRef_1List1Spin1Btn_QTD) + { + DlgRef_1List1Spin1Btn_QTD->setObjectName(QString::fromUtf8("DlgRef_1List1Spin1Btn_QTD")); + gridLayout = new QGridLayout(DlgRef_1List1Spin1Btn_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(11); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_1List1Spin1Btn_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + spacerItem = new QSpacerItem(0, 23, QSizePolicy::Minimum, QSizePolicy::Expanding); -public: - DlgRef_1List1Spin1Btn_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_1List1Spin1Btn_QTD(); + gridLayout1->addItem(spacerItem, 3, 1, 1, 1); + + ListView1 = new QListView(GroupBox1); + ListView1->setObjectName(QString::fromUtf8("ListView1")); + + gridLayout1->addWidget(ListView1, 0, 0, 4, 1); + + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + TextLabel1->setWordWrap(false); + + gridLayout1->addWidget(TextLabel1, 0, 1, 1, 1); + + SpinBox1 = new QSpinBox(GroupBox1); + SpinBox1->setObjectName(QString::fromUtf8("SpinBox1")); + + gridLayout1->addWidget(SpinBox1, 1, 1, 1, 1); - QGroupBox* GroupBox1; - QListView* ListView1; - QLabel* TextLabel1; - QSpinBox* SpinBox1; - QPushButton* PushButton1; + PushButton1 = new QPushButton(GroupBox1); + PushButton1->setObjectName(QString::fromUtf8("PushButton1")); + gridLayout1->addWidget(PushButton1, 2, 1, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + + retranslateUi(DlgRef_1List1Spin1Btn_QTD); + + QSize size(204, 148); + size = size.expandedTo(DlgRef_1List1Spin1Btn_QTD->minimumSizeHint()); + DlgRef_1List1Spin1Btn_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_1List1Spin1Btn_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_1List1Spin1Btn_QTD) + { + DlgRef_1List1Spin1Btn_QTD->setWindowTitle(QApplication::translate("DlgRef_1List1Spin1Btn_QTD", "DlgRef_3Sel4Spin2Check_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + TextLabel1->setText(QApplication::translate("DlgRef_1List1Spin1Btn_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + PushButton1->setText(QString()); + Q_UNUSED(DlgRef_1List1Spin1Btn_QTD); + } // retranslateUi -protected: - QGridLayout* DlgRef_1List1Spin1Btn_QTDLayout; - QGridLayout* GroupBox1Layout; }; +namespace Ui { + class DlgRef_1List1Spin1Btn_QTD: public Ui_DlgRef_1List1Spin1Btn_QTD {}; +} // namespace Ui + #endif // DLGREF_1LIST1SPIN1BTN_QTD_H diff --git a/src/DlgRef/DlgRef_1Sel1Check1List_QTD.cxx b/src/DlgRef/DlgRef_1Sel1Check1List_QTD.cxx deleted file mode 100644 index 05e896b28..000000000 --- a/src/DlgRef/DlgRef_1Sel1Check1List_QTD.cxx +++ /dev/null @@ -1,110 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_1Sel1Check1List_QTD.ui' -** -** Created: lun oct 27 16:18:55 2003 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_1Sel1Check1List_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_1Sel1Check1List_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_1Sel1Check1List_QTD::DlgRef_1Sel1Check1List_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_1Sel1Check1List_QTD" ); - resize( 129, 104 ); - setCaption( trUtf8( "DlgRef_1Sel1Check1List_QTD" ) ); - DlgRef_1Sel1Check1List_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_1Sel1Check1List_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); - QSpacerItem* spacer = new QSpacerItem( 0, 166, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout1->addItem( spacer, 3, 2 ); - - CheckButton1 = new QRadioButton( GroupBox1, "CheckButton1" ); - CheckButton1->setText( trUtf8( "" ) ); - - Layout1->addMultiCellWidget( CheckButton1, 2, 2, 0, 2 ); - - TextLabel2 = new QLabel( GroupBox1, "TextLabel2" ); - TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) ); - TextLabel2->setText( trUtf8( "TL2" ) ); - - Layout1->addMultiCellWidget( TextLabel2, 1, 1, 0, 1 ); - - ComboBox1 = new QComboBox( FALSE, GroupBox1, "ComboBox1" ); - ComboBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, ComboBox1->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( ComboBox1, 1, 2 ); - - LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" ); - - Layout1->addWidget( LineEdit1, 0, 2 ); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - Layout1->addWidget( TextLabel1, 0, 0 ); - - PushButton1 = new QPushButton( GroupBox1, "PushButton1" ); - PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) ); - PushButton1->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton1, 0, 1 ); - - GroupBox1Layout->addLayout( Layout1, 0, 0 ); - - DlgRef_1Sel1Check1List_QTDLayout->addWidget( GroupBox1, 0, 0 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_1Sel1Check1List_QTD::~DlgRef_1Sel1Check1List_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_1Sel1Check1List_QTD.h b/src/DlgRef/DlgRef_1Sel1Check1List_QTD.h index 834d71a32..bd35afb06 100644 --- a/src/DlgRef/DlgRef_1Sel1Check1List_QTD.h +++ b/src/DlgRef/DlgRef_1Sel1Check1List_QTD.h @@ -1,68 +1,150 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_1Sel1Check1List_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_1Sel1Check1List_QTD.ui' ** -** Created: lun oct 27 16:18:55 2003 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 12:50:56 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_1SEL1CHECK1LIST_QTD_H #define DLGREF_1SEL1CHECK1LIST_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +class Ui_DlgRef_1Sel1Check1List_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QSpacerItem *spacerItem; + QRadioButton *CheckButton1; + QLabel *TextLabel2; + QComboBox *ComboBox1; + QLineEdit *LineEdit1; + QLabel *TextLabel1; + QPushButton *PushButton1; -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QComboBox; -class QGroupBox; -class QLabel; -class QLineEdit; -class QPushButton; -class QRadioButton; + void setupUi(QWidget *DlgRef_1Sel1Check1List_QTD) + { + DlgRef_1Sel1Check1List_QTD->setObjectName(QString::fromUtf8("DlgRef_1Sel1Check1List_QTD")); + gridLayout = new QGridLayout(DlgRef_1Sel1Check1List_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_1Sel1Check1List_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + spacerItem = new QSpacerItem(0, 166, QSizePolicy::Minimum, QSizePolicy::Expanding); -class GEOM_DLGREF_EXPORT DlgRef_1Sel1Check1List_QTD : public QWidget -{ - Q_OBJECT + gridLayout2->addItem(spacerItem, 3, 2, 1, 1); + + CheckButton1 = new QRadioButton(GroupBox1); + CheckButton1->setObjectName(QString::fromUtf8("CheckButton1")); + + gridLayout2->addWidget(CheckButton1, 2, 0, 1, 3); + + TextLabel2 = new QLabel(GroupBox1); + TextLabel2->setObjectName(QString::fromUtf8("TextLabel2")); + QSizePolicy sizePolicy(static_cast(0), static_cast(0)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth()); + TextLabel2->setSizePolicy(sizePolicy); + TextLabel2->setWordWrap(false); + + gridLayout2->addWidget(TextLabel2, 1, 0, 1, 2); + + ComboBox1 = new QComboBox(GroupBox1); + ComboBox1->setObjectName(QString::fromUtf8("ComboBox1")); + QSizePolicy sizePolicy1(static_cast(7), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(ComboBox1->sizePolicy().hasHeightForWidth()); + ComboBox1->setSizePolicy(sizePolicy1); + + gridLayout2->addWidget(ComboBox1, 1, 2, 1, 1); + + LineEdit1 = new QLineEdit(GroupBox1); + LineEdit1->setObjectName(QString::fromUtf8("LineEdit1")); + + gridLayout2->addWidget(LineEdit1, 0, 2, 1, 1); + + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy2(static_cast(0), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy2); + TextLabel1->setWordWrap(false); + + gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1); + + PushButton1 = new QPushButton(GroupBox1); + PushButton1->setObjectName(QString::fromUtf8("PushButton1")); + QSizePolicy sizePolicy3(static_cast(0), static_cast(0)); + sizePolicy3.setHorizontalStretch(0); + sizePolicy3.setVerticalStretch(0); + sizePolicy3.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth()); + PushButton1->setSizePolicy(sizePolicy3); + + gridLayout2->addWidget(PushButton1, 0, 1, 1, 1); + + + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + + retranslateUi(DlgRef_1Sel1Check1List_QTD); + + QSize size(129, 104); + size = size.expandedTo(DlgRef_1Sel1Check1List_QTD->minimumSizeHint()); + DlgRef_1Sel1Check1List_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_1Sel1Check1List_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_1Sel1Check1List_QTD) + { + DlgRef_1Sel1Check1List_QTD->setWindowTitle(QApplication::translate("DlgRef_1Sel1Check1List_QTD", "DlgRef_1Sel1Check1List_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + CheckButton1->setText(QString()); + TextLabel2->setText(QApplication::translate("DlgRef_1Sel1Check1List_QTD", "TL2", 0, QApplication::UnicodeUTF8)); + TextLabel1->setText(QApplication::translate("DlgRef_1Sel1Check1List_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + PushButton1->setText(QString()); + Q_UNUSED(DlgRef_1Sel1Check1List_QTD); + } // retranslateUi -public: - DlgRef_1Sel1Check1List_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_1Sel1Check1List_QTD(); - - QGroupBox* GroupBox1; - QRadioButton* CheckButton1; - QLabel* TextLabel2; - QComboBox* ComboBox1; - QLineEdit* LineEdit1; - QLabel* TextLabel1; - QPushButton* PushButton1; - - -protected: - QGridLayout* DlgRef_1Sel1Check1List_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* Layout1; }; +namespace Ui { + class DlgRef_1Sel1Check1List_QTD: public Ui_DlgRef_1Sel1Check1List_QTD {}; +} // namespace Ui + #endif // DLGREF_1SEL1CHECK1LIST_QTD_H diff --git a/src/DlgRef/DlgRef_1Sel1Check_QTD.cxx b/src/DlgRef/DlgRef_1Sel1Check_QTD.cxx deleted file mode 100644 index 7c86f65c7..000000000 --- a/src/DlgRef/DlgRef_1Sel1Check_QTD.cxx +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_1Sel1Check_QTD.ui' -** -** Created: Thu May 20 11:55:05 2004 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_1Sel1Check_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_1Sel1Check_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_1Sel1Check_QTD::DlgRef_1Sel1Check_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_1Sel1Check_QTD" ); - resize( 382, 219 ); - setCaption( trUtf8( "DlgRef_1Sel1Check_QTD" ) ); - DlgRef_1Sel1Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_1Sel1Check_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout3 = new QGridLayout( 0, 1, 1, 0, 6, "Layout3"); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - Layout3->addWidget( TextLabel1, 0, 0 ); - - PushButton1 = new QPushButton( GroupBox1, "PushButton1" ); - PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) ); - PushButton1->setText( trUtf8( "" ) ); - - Layout3->addWidget( PushButton1, 0, 1 ); - - CheckButton1 = new QCheckBox( GroupBox1, "CheckButton1" ); - CheckButton1->setText( trUtf8( "" ) ); - - Layout3->addMultiCellWidget( CheckButton1, 1, 1, 0, 2 ); - QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout3->addItem( spacer, 2, 2 ); - - LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" ); - - Layout3->addWidget( LineEdit1, 0, 2 ); - - GroupBox1Layout->addLayout( Layout3, 0, 0 ); - - DlgRef_1Sel1Check_QTDLayout->addWidget( GroupBox1, 0, 0 ); - - // tab order - setTabOrder( PushButton1, LineEdit1 ); - setTabOrder( LineEdit1, CheckButton1 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_1Sel1Check_QTD::~DlgRef_1Sel1Check_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_1Sel1Check_QTD.h b/src/DlgRef/DlgRef_1Sel1Check_QTD.h index ace1e2606..788182edf 100644 --- a/src/DlgRef/DlgRef_1Sel1Check_QTD.h +++ b/src/DlgRef/DlgRef_1Sel1Check_QTD.h @@ -1,65 +1,127 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_1Sel1Check_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_1Sel1Check_QTD.ui' ** -** Created: Thu May 20 11:55:05 2004 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 12:45:49 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_1SEL1CHECK_QTD_H #define DLGREF_1SEL1CHECK_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QCheckBox; -class QGroupBox; -class QLabel; -class QLineEdit; -class QPushButton; +class Ui_DlgRef_1Sel1Check_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QLabel *TextLabel1; + QPushButton *PushButton1; + QCheckBox *CheckButton1; + QSpacerItem *spacerItem; + QLineEdit *LineEdit1; -class GEOM_DLGREF_EXPORT DlgRef_1Sel1Check_QTD : public QWidget -{ - Q_OBJECT + void setupUi(QWidget *DlgRef_1Sel1Check_QTD) + { + DlgRef_1Sel1Check_QTD->setObjectName(QString::fromUtf8("DlgRef_1Sel1Check_QTD")); + gridLayout = new QGridLayout(DlgRef_1Sel1Check_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_1Sel1Check_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy(static_cast(0), static_cast(0)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy); + TextLabel1->setWordWrap(false); -public: - DlgRef_1Sel1Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_1Sel1Check_QTD(); + gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1); + + PushButton1 = new QPushButton(GroupBox1); + PushButton1->setObjectName(QString::fromUtf8("PushButton1")); + QSizePolicy sizePolicy1(static_cast(0), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth()); + PushButton1->setSizePolicy(sizePolicy1); + + gridLayout2->addWidget(PushButton1, 0, 1, 1, 1); + + CheckButton1 = new QCheckBox(GroupBox1); + CheckButton1->setObjectName(QString::fromUtf8("CheckButton1")); + + gridLayout2->addWidget(CheckButton1, 1, 0, 1, 3); + + spacerItem = new QSpacerItem(0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding); + + gridLayout2->addItem(spacerItem, 2, 2, 1, 1); + + LineEdit1 = new QLineEdit(GroupBox1); + LineEdit1->setObjectName(QString::fromUtf8("LineEdit1")); - QGroupBox* GroupBox1; - QLabel* TextLabel1; - QPushButton* PushButton1; - QCheckBox* CheckButton1; - QLineEdit* LineEdit1; + gridLayout2->addWidget(LineEdit1, 0, 2, 1, 1); -protected: - QGridLayout* DlgRef_1Sel1Check_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* Layout3; + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + QWidget::setTabOrder(PushButton1, LineEdit1); + QWidget::setTabOrder(LineEdit1, CheckButton1); + + retranslateUi(DlgRef_1Sel1Check_QTD); + + QSize size(382, 219); + size = size.expandedTo(DlgRef_1Sel1Check_QTD->minimumSizeHint()); + DlgRef_1Sel1Check_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_1Sel1Check_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_1Sel1Check_QTD) + { + DlgRef_1Sel1Check_QTD->setWindowTitle(QApplication::translate("DlgRef_1Sel1Check_QTD", "DlgRef_1Sel1Check_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + TextLabel1->setText(QApplication::translate("DlgRef_1Sel1Check_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + PushButton1->setText(QString()); + CheckButton1->setText(QString()); + Q_UNUSED(DlgRef_1Sel1Check_QTD); + } // retranslateUi + }; +namespace Ui { + class DlgRef_1Sel1Check_QTD: public Ui_DlgRef_1Sel1Check_QTD {}; +} // namespace Ui + #endif // DLGREF_1SEL1CHECK_QTD_H diff --git a/src/DlgRef/DlgRef_1Sel1Spin.cxx b/src/DlgRef/DlgRef_1Sel1Spin.cxx index 1788e1892..b09c231d2 100644 --- a/src/DlgRef/DlgRef_1Sel1Spin.cxx +++ b/src/DlgRef/DlgRef_1Sel1Spin.cxx @@ -27,21 +27,23 @@ // $Header: #include "DlgRef_1Sel1Spin.h" - -#include -#include -#include +#include "DlgRef_SpinBox.h" /* * Constructs a DlgRef_1Sel1Spin which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -DlgRef_1Sel1Spin::DlgRef_1Sel1Spin(QWidget* parent, const char* name, WFlags fl) - :DlgRef_1Sel1Spin_QTD(parent, name, fl) +DlgRef_1Sel1Spin::DlgRef_1Sel1Spin(QWidget* parent, const char* name, Qt::WindowFlags fl) + :QWidget(parent, fl) { - SpinBox1->close(TRUE); + setupUi(this); + + setObjectName(name); + + SpinBox1->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox1->close(); SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX"); - Layout2->addWidget(SpinBox_DX, 0, 1); + gridLayout3->addWidget(SpinBox_DX, 0, 1); } diff --git a/src/DlgRef/DlgRef_1Sel1Spin.h b/src/DlgRef/DlgRef_1Sel1Spin.h index 3202db597..ffcb382c5 100644 --- a/src/DlgRef/DlgRef_1Sel1Spin.h +++ b/src/DlgRef/DlgRef_1Sel1Spin.h @@ -32,14 +32,15 @@ #include "GEOM_DlgRef.hxx" #include "DlgRef_1Sel1Spin_QTD.h" -#include "DlgRef_SpinBox.h" -class GEOM_DLGREF_EXPORT DlgRef_1Sel1Spin : public DlgRef_1Sel1Spin_QTD +class DlgRef_SpinBox; + +class GEOM_DLGREF_EXPORT DlgRef_1Sel1Spin : public QWidget, public Ui::DlgRef_1Sel1Spin_QTD { Q_OBJECT public: - DlgRef_1Sel1Spin( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); + DlgRef_1Sel1Spin( QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = 0 ); ~DlgRef_1Sel1Spin(); DlgRef_SpinBox* SpinBox_DX; diff --git a/src/DlgRef/DlgRef_1Sel1Spin1Check.cxx b/src/DlgRef/DlgRef_1Sel1Spin1Check.cxx index cfca35fa2..727da6299 100644 --- a/src/DlgRef/DlgRef_1Sel1Spin1Check.cxx +++ b/src/DlgRef/DlgRef_1Sel1Spin1Check.cxx @@ -27,21 +27,23 @@ // $Header: #include "DlgRef_1Sel1Spin1Check.h" - -#include -#include -#include +#include "DlgRef_SpinBox.h" /* * Constructs a DlgRef_1Sel1Spin which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -DlgRef_1Sel1Spin1Check::DlgRef_1Sel1Spin1Check(QWidget* parent, const char* name, WFlags fl) - :DlgRef_1Sel1Spin1Check_QTD(parent, name, fl) +DlgRef_1Sel1Spin1Check::DlgRef_1Sel1Spin1Check(QWidget* parent, const char* name, Qt::WindowFlags fl) + :QWidget(parent, fl) { - SpinBox1->close(TRUE); + setupUi(this); + + setObjectName(name); + + SpinBox1->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox1->close(); SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX"); - Layout2->addWidget(SpinBox_DX, 0, 1); + gridLayout3->addWidget(SpinBox_DX, 0, 1); } diff --git a/src/DlgRef/DlgRef_1Sel1Spin1Check.h b/src/DlgRef/DlgRef_1Sel1Spin1Check.h index 0e30376eb..fea1501d9 100644 --- a/src/DlgRef/DlgRef_1Sel1Spin1Check.h +++ b/src/DlgRef/DlgRef_1Sel1Spin1Check.h @@ -32,14 +32,15 @@ #include "GEOM_DlgRef.hxx" #include "DlgRef_1Sel1Spin1Check_QTD.h" -#include "DlgRef_SpinBox.h" -class GEOM_DLGREF_EXPORT DlgRef_1Sel1Spin1Check : public DlgRef_1Sel1Spin1Check_QTD +class DlgRef_SpinBox; + +class GEOM_DLGREF_EXPORT DlgRef_1Sel1Spin1Check : public QWidget, public Ui::DlgRef_1Sel1Spin1Check_QTD { Q_OBJECT public: - DlgRef_1Sel1Spin1Check(QWidget* parent = 0, const char* name = 0, WFlags fl = 0); + DlgRef_1Sel1Spin1Check(QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = 0); ~DlgRef_1Sel1Spin1Check(); DlgRef_SpinBox* SpinBox_DX; diff --git a/src/DlgRef/DlgRef_1Sel1Spin1Check_QTD.cxx b/src/DlgRef/DlgRef_1Sel1Spin1Check_QTD.cxx deleted file mode 100644 index 57014bf69..000000000 --- a/src/DlgRef/DlgRef_1Sel1Spin1Check_QTD.cxx +++ /dev/null @@ -1,114 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_1Sel1Spin1Check_QTD.ui' -** -** Created: Mon May 24 15:59:03 2004 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_1Sel1Spin1Check_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_1Sel1Spin1Check_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_1Sel1Spin1Check_QTD::DlgRef_1Sel1Spin1Check_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_1Sel1Spin1Check_QTD" ); - resize( 163, 109 ); - setCaption( trUtf8( "DlgRef_1Sel1Spin1Check_QTD" ) ); - DlgRef_1Sel1Spin1Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_1Sel1Spin1Check_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout8 = new QGridLayout( 0, 1, 1, 0, 6, "Layout8"); - - Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); - - SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" ); - SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) ); - - Layout2->addWidget( SpinBox1, 0, 1 ); - - TextLabel2 = new QLabel( GroupBox1, "TextLabel2" ); - TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) ); - TextLabel2->setText( trUtf8( "TL2" ) ); - - Layout2->addWidget( TextLabel2, 0, 0 ); - - Layout8->addMultiCellLayout( Layout2, 1, 1, 0, 2 ); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - Layout8->addWidget( TextLabel1, 0, 0 ); - - LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" ); - - Layout8->addWidget( LineEdit1, 0, 2 ); - - PushButton1 = new QPushButton( GroupBox1, "PushButton1" ); - PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) ); - PushButton1->setText( trUtf8( "" ) ); - - Layout8->addWidget( PushButton1, 0, 1 ); - - CheckButton1 = new QCheckBox( GroupBox1, "CheckButton1" ); - CheckButton1->setText( trUtf8( "" ) ); - - Layout8->addMultiCellWidget( CheckButton1, 2, 2, 0, 2 ); - QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout8->addItem( spacer, 3, 2 ); - - GroupBox1Layout->addLayout( Layout8, 0, 0 ); - - DlgRef_1Sel1Spin1Check_QTDLayout->addWidget( GroupBox1, 0, 0 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_1Sel1Spin1Check_QTD::~DlgRef_1Sel1Spin1Check_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_1Sel1Spin1Check_QTD.h b/src/DlgRef/DlgRef_1Sel1Spin1Check_QTD.h index 1dd195db4..fdb5c9379 100644 --- a/src/DlgRef/DlgRef_1Sel1Spin1Check_QTD.h +++ b/src/DlgRef/DlgRef_1Sel1Spin1Check_QTD.h @@ -1,69 +1,161 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_1Sel1Spin1Check_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_1Sel1Spin1Check_QTD.ui' ** -** Created: Mon May 24 15:59:03 2004 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 12:15:27 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_1SEL1SPIN1CHECK_QTD_H #define DLGREF_1SEL1SPIN1CHECK_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +class Ui_DlgRef_1Sel1Spin1Check_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QGridLayout *gridLayout3; + QSpinBox *SpinBox1; + QLabel *TextLabel2; + QLabel *TextLabel1; + QLineEdit *LineEdit1; + QPushButton *PushButton1; + QCheckBox *CheckButton1; + QSpacerItem *spacerItem; -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QCheckBox; -class QGroupBox; -class QLabel; -class QLineEdit; -class QPushButton; -class QSpinBox; + void setupUi(QWidget *DlgRef_1Sel1Spin1Check_QTD) + { + DlgRef_1Sel1Spin1Check_QTD->setObjectName(QString::fromUtf8("DlgRef_1Sel1Spin1Check_QTD")); + gridLayout = new QGridLayout(DlgRef_1Sel1Spin1Check_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_1Sel1Spin1Check_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + gridLayout3 = new QGridLayout(); + gridLayout3->setSpacing(6); + gridLayout3->setMargin(0); + gridLayout3->setObjectName(QString::fromUtf8("gridLayout3")); + SpinBox1 = new QSpinBox(GroupBox1); + SpinBox1->setObjectName(QString::fromUtf8("SpinBox1")); + QSizePolicy sizePolicy(static_cast(7), static_cast(0)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(SpinBox1->sizePolicy().hasHeightForWidth()); + SpinBox1->setSizePolicy(sizePolicy); -class GEOM_DLGREF_EXPORT DlgRef_1Sel1Spin1Check_QTD : public QWidget -{ - Q_OBJECT + gridLayout3->addWidget(SpinBox1, 0, 1, 1, 1); + + TextLabel2 = new QLabel(GroupBox1); + TextLabel2->setObjectName(QString::fromUtf8("TextLabel2")); + QSizePolicy sizePolicy1(static_cast(0), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth()); + TextLabel2->setSizePolicy(sizePolicy1); + TextLabel2->setWordWrap(false); + + gridLayout3->addWidget(TextLabel2, 0, 0, 1, 1); + + + gridLayout2->addLayout(gridLayout3, 1, 0, 1, 3); + + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy2(static_cast(0), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy2); + TextLabel1->setWordWrap(false); + + gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1); + + LineEdit1 = new QLineEdit(GroupBox1); + LineEdit1->setObjectName(QString::fromUtf8("LineEdit1")); + + gridLayout2->addWidget(LineEdit1, 0, 2, 1, 1); + + PushButton1 = new QPushButton(GroupBox1); + PushButton1->setObjectName(QString::fromUtf8("PushButton1")); + QSizePolicy sizePolicy3(static_cast(0), static_cast(0)); + sizePolicy3.setHorizontalStretch(0); + sizePolicy3.setVerticalStretch(0); + sizePolicy3.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth()); + PushButton1->setSizePolicy(sizePolicy3); + + gridLayout2->addWidget(PushButton1, 0, 1, 1, 1); + + CheckButton1 = new QCheckBox(GroupBox1); + CheckButton1->setObjectName(QString::fromUtf8("CheckButton1")); + + gridLayout2->addWidget(CheckButton1, 2, 0, 1, 3); + + spacerItem = new QSpacerItem(0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding); + + gridLayout2->addItem(spacerItem, 3, 2, 1, 1); + + + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + QWidget::setTabOrder(PushButton1, LineEdit1); + QWidget::setTabOrder(LineEdit1, SpinBox1); + QWidget::setTabOrder(SpinBox1, CheckButton1); + + retranslateUi(DlgRef_1Sel1Spin1Check_QTD); + + QSize size(163, 109); + size = size.expandedTo(DlgRef_1Sel1Spin1Check_QTD->minimumSizeHint()); + DlgRef_1Sel1Spin1Check_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_1Sel1Spin1Check_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_1Sel1Spin1Check_QTD) + { + DlgRef_1Sel1Spin1Check_QTD->setWindowTitle(QApplication::translate("DlgRef_1Sel1Spin1Check_QTD", "DlgRef_1Sel1Spin1Check_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + TextLabel2->setText(QApplication::translate("DlgRef_1Sel1Spin1Check_QTD", "TL2", 0, QApplication::UnicodeUTF8)); + TextLabel1->setText(QApplication::translate("DlgRef_1Sel1Spin1Check_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + PushButton1->setText(QString()); + CheckButton1->setText(QString()); + Q_UNUSED(DlgRef_1Sel1Spin1Check_QTD); + } // retranslateUi -public: - DlgRef_1Sel1Spin1Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_1Sel1Spin1Check_QTD(); - - QGroupBox* GroupBox1; - QSpinBox* SpinBox1; - QLabel* TextLabel2; - QLabel* TextLabel1; - QLineEdit* LineEdit1; - QPushButton* PushButton1; - QCheckBox* CheckButton1; - - -protected: - QGridLayout* DlgRef_1Sel1Spin1Check_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* Layout8; - QGridLayout* Layout2; }; +namespace Ui { + class DlgRef_1Sel1Spin1Check_QTD: public Ui_DlgRef_1Sel1Spin1Check_QTD {}; +} // namespace Ui + #endif // DLGREF_1SEL1SPIN1CHECK_QTD_H diff --git a/src/DlgRef/DlgRef_1Sel1Spin_QTD.cxx b/src/DlgRef/DlgRef_1Sel1Spin_QTD.cxx deleted file mode 100644 index 716703312..000000000 --- a/src/DlgRef/DlgRef_1Sel1Spin_QTD.cxx +++ /dev/null @@ -1,108 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_1Sel1Spin_QTD.ui' -** -** Created: mar sep 23 16:05:08 2003 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_1Sel1Spin_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_1Sel1Spin_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_1Sel1Spin_QTD::DlgRef_1Sel1Spin_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_1Sel1Spin_QTD" ); - resize( 129, 87 ); - setCaption( trUtf8( "DlgRef_1Sel1Spin_QTD" ) ); - DlgRef_1Sel1Spin_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_1Sel1Spin_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); - - PushButton1 = new QPushButton( GroupBox1, "PushButton1" ); - PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) ); - PushButton1->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton1, 0, 1 ); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - Layout1->addWidget( TextLabel1, 0, 0 ); - - LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" ); - - Layout1->addWidget( LineEdit1, 0, 2 ); - - Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); - - TextLabel2 = new QLabel( GroupBox1, "TextLabel2" ); - TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) ); - TextLabel2->setText( trUtf8( "TL2" ) ); - - Layout2->addWidget( TextLabel2, 0, 0 ); - - SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" ); - SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) ); - - Layout2->addWidget( SpinBox1, 0, 1 ); - - Layout1->addMultiCellLayout( Layout2, 1, 1, 0, 2 ); - QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout1->addItem( spacer, 2, 2 ); - - GroupBox1Layout->addLayout( Layout1, 0, 0 ); - - DlgRef_1Sel1Spin_QTDLayout->addWidget( GroupBox1, 0, 0 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_1Sel1Spin_QTD::~DlgRef_1Sel1Spin_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_1Sel1Spin_QTD.h b/src/DlgRef/DlgRef_1Sel1Spin_QTD.h index f00c396ef..9420174e0 100644 --- a/src/DlgRef/DlgRef_1Sel1Spin_QTD.h +++ b/src/DlgRef/DlgRef_1Sel1Spin_QTD.h @@ -1,67 +1,150 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_1Sel1Spin_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_1Sel1Spin_QTD.ui' ** -** Created: mar sep 23 16:05:08 2003 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 12:12:03 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_1SEL1SPIN_QTD_H #define DLGREF_1SEL1SPIN_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +class Ui_DlgRef_1Sel1Spin_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QPushButton *PushButton1; + QLabel *TextLabel1; + QLineEdit *LineEdit1; + QGridLayout *gridLayout3; + QLabel *TextLabel2; + QSpinBox *SpinBox1; + QSpacerItem *spacerItem; -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QGroupBox; -class QLabel; -class QLineEdit; -class QPushButton; -class QSpinBox; + void setupUi(QWidget *DlgRef_1Sel1Spin_QTD) + { + DlgRef_1Sel1Spin_QTD->setObjectName(QString::fromUtf8("DlgRef_1Sel1Spin_QTD")); + gridLayout = new QGridLayout(DlgRef_1Sel1Spin_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_1Sel1Spin_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + PushButton1 = new QPushButton(GroupBox1); + PushButton1->setObjectName(QString::fromUtf8("PushButton1")); + QSizePolicy sizePolicy(static_cast(0), static_cast(0)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth()); + PushButton1->setSizePolicy(sizePolicy); -class GEOM_DLGREF_EXPORT DlgRef_1Sel1Spin_QTD : public QWidget -{ - Q_OBJECT + gridLayout2->addWidget(PushButton1, 0, 1, 1, 1); + + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy1(static_cast(0), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy1); + TextLabel1->setWordWrap(false); + + gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1); + + LineEdit1 = new QLineEdit(GroupBox1); + LineEdit1->setObjectName(QString::fromUtf8("LineEdit1")); + + gridLayout2->addWidget(LineEdit1, 0, 2, 1, 1); + + gridLayout3 = new QGridLayout(); + gridLayout3->setSpacing(6); + gridLayout3->setMargin(0); + gridLayout3->setObjectName(QString::fromUtf8("gridLayout3")); + TextLabel2 = new QLabel(GroupBox1); + TextLabel2->setObjectName(QString::fromUtf8("TextLabel2")); + QSizePolicy sizePolicy2(static_cast(0), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth()); + TextLabel2->setSizePolicy(sizePolicy2); + TextLabel2->setWordWrap(false); + + gridLayout3->addWidget(TextLabel2, 0, 0, 1, 1); + + SpinBox1 = new QSpinBox(GroupBox1); + SpinBox1->setObjectName(QString::fromUtf8("SpinBox1")); + QSizePolicy sizePolicy3(static_cast(7), static_cast(0)); + sizePolicy3.setHorizontalStretch(0); + sizePolicy3.setVerticalStretch(0); + sizePolicy3.setHeightForWidth(SpinBox1->sizePolicy().hasHeightForWidth()); + SpinBox1->setSizePolicy(sizePolicy3); + + gridLayout3->addWidget(SpinBox1, 0, 1, 1, 1); + + + gridLayout2->addLayout(gridLayout3, 1, 0, 1, 3); + + spacerItem = new QSpacerItem(0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding); + + gridLayout2->addItem(spacerItem, 2, 2, 1, 1); + + + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + + retranslateUi(DlgRef_1Sel1Spin_QTD); + + QSize size(129, 87); + size = size.expandedTo(DlgRef_1Sel1Spin_QTD->minimumSizeHint()); + DlgRef_1Sel1Spin_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_1Sel1Spin_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_1Sel1Spin_QTD) + { + DlgRef_1Sel1Spin_QTD->setWindowTitle(QApplication::translate("DlgRef_1Sel1Spin_QTD", "DlgRef_1Sel1Spin_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + PushButton1->setText(QString()); + TextLabel1->setText(QApplication::translate("DlgRef_1Sel1Spin_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + TextLabel2->setText(QApplication::translate("DlgRef_1Sel1Spin_QTD", "TL2", 0, QApplication::UnicodeUTF8)); + Q_UNUSED(DlgRef_1Sel1Spin_QTD); + } // retranslateUi -public: - DlgRef_1Sel1Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_1Sel1Spin_QTD(); - - QGroupBox* GroupBox1; - QPushButton* PushButton1; - QLabel* TextLabel1; - QLineEdit* LineEdit1; - QLabel* TextLabel2; - QSpinBox* SpinBox1; - - -protected: - QGridLayout* DlgRef_1Sel1Spin_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* Layout1; - QGridLayout* Layout2; }; +namespace Ui { + class DlgRef_1Sel1Spin_QTD: public Ui_DlgRef_1Sel1Spin_QTD {}; +} // namespace Ui + #endif // DLGREF_1SEL1SPIN_QTD_H diff --git a/src/DlgRef/DlgRef_1Sel2Spin.cxx b/src/DlgRef/DlgRef_1Sel2Spin.cxx index 17b68a9a5..eae239742 100644 --- a/src/DlgRef/DlgRef_1Sel2Spin.cxx +++ b/src/DlgRef/DlgRef_1Sel2Spin.cxx @@ -27,26 +27,29 @@ // $Header: #include "DlgRef_1Sel2Spin.h" - -#include -#include -#include +#include "DlgRef_SpinBox.h" /* * Constructs a DlgRef_1Sel2Spin which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -DlgRef_1Sel2Spin::DlgRef_1Sel2Spin(QWidget* parent, const char* name, WFlags fl) - :DlgRef_1Sel2Spin_QTD(parent, name, fl) +DlgRef_1Sel2Spin::DlgRef_1Sel2Spin(QWidget* parent, const char* name, Qt::WindowFlags fl) + :QWidget(parent, fl) { - SpinBox1->close(TRUE); - SpinBox2->close(TRUE); + setupUi(this); + + setObjectName(name); + + SpinBox1->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox1->close(); + SpinBox2->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox2->close(); SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX"); - Layout2->addWidget(SpinBox_DX, 0, 1); + gridLayout3->addWidget(SpinBox_DX, 0, 1); SpinBox_DY = new DlgRef_SpinBox( GroupBox1, "SpinBox_DY"); - Layout2->addWidget(SpinBox_DY, 1, 1); + gridLayout3->addWidget(SpinBox_DY, 1, 1); } diff --git a/src/DlgRef/DlgRef_1Sel2Spin.h b/src/DlgRef/DlgRef_1Sel2Spin.h index c7e8054c1..034e1f011 100644 --- a/src/DlgRef/DlgRef_1Sel2Spin.h +++ b/src/DlgRef/DlgRef_1Sel2Spin.h @@ -32,14 +32,15 @@ #include "GEOM_DlgRef.hxx" #include "DlgRef_1Sel2Spin_QTD.h" -#include "DlgRef_SpinBox.h" -class GEOM_DLGREF_EXPORT DlgRef_1Sel2Spin : public DlgRef_1Sel2Spin_QTD +class DlgRef_SpinBox; + +class GEOM_DLGREF_EXPORT DlgRef_1Sel2Spin : public QWidget, public Ui::DlgRef_1Sel2Spin_QTD { Q_OBJECT public: - DlgRef_1Sel2Spin(QWidget* parent = 0, const char* name = 0, WFlags fl = 0); + DlgRef_1Sel2Spin(QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = 0); ~DlgRef_1Sel2Spin(); DlgRef_SpinBox* SpinBox_DX; diff --git a/src/DlgRef/DlgRef_1Sel2Spin_QTD.cxx b/src/DlgRef/DlgRef_1Sel2Spin_QTD.cxx deleted file mode 100644 index ea98f7166..000000000 --- a/src/DlgRef/DlgRef_1Sel2Spin_QTD.cxx +++ /dev/null @@ -1,119 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_1Sel2Spin_QTD.ui' -** -** Created: jeu oct 2 11:08:05 2003 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_1Sel2Spin_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_1Sel2Spin_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_1Sel2Spin_QTD::DlgRef_1Sel2Spin_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_1Sel2Spin_QTD" ); - resize( 129, 115 ); - setCaption( trUtf8( "DlgRef_1Sel2Spin_QTD" ) ); - DlgRef_1Sel2Spin_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_1Sel2Spin_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); - - Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); - - TextLabel3 = new QLabel( GroupBox1, "TextLabel3" ); - TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) ); - TextLabel3->setText( trUtf8( "TL3" ) ); - - Layout2->addWidget( TextLabel3, 1, 0 ); - - SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" ); - SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) ); - - Layout2->addWidget( SpinBox1, 0, 1 ); - - TextLabel2 = new QLabel( GroupBox1, "TextLabel2" ); - TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) ); - TextLabel2->setText( trUtf8( "TL2" ) ); - - Layout2->addWidget( TextLabel2, 0, 0 ); - - SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" ); - SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) ); - - Layout2->addWidget( SpinBox2, 1, 1 ); - - Layout1->addMultiCellLayout( Layout2, 1, 1, 0, 2 ); - - LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" ); - - Layout1->addWidget( LineEdit1, 0, 2 ); - QSpacerItem* spacer = new QSpacerItem( 0, 30, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout1->addItem( spacer, 2, 2 ); - - PushButton1 = new QPushButton( GroupBox1, "PushButton1" ); - PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) ); - PushButton1->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton1, 0, 1 ); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - Layout1->addWidget( TextLabel1, 0, 0 ); - - GroupBox1Layout->addLayout( Layout1, 0, 0 ); - - DlgRef_1Sel2Spin_QTDLayout->addWidget( GroupBox1, 0, 0 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_1Sel2Spin_QTD::~DlgRef_1Sel2Spin_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_1Sel2Spin_QTD.h b/src/DlgRef/DlgRef_1Sel2Spin_QTD.h index b85a76a37..7669853c1 100644 --- a/src/DlgRef/DlgRef_1Sel2Spin_QTD.h +++ b/src/DlgRef/DlgRef_1Sel2Spin_QTD.h @@ -1,69 +1,174 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_1Sel2Spin_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_1Sel2Spin_QTD.ui' ** -** Created: jeu oct 2 11:08:05 2003 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 12:27:41 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_1SEL2SPIN_QTD_H #define DLGREF_1SEL2SPIN_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +class Ui_DlgRef_1Sel2Spin_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QGridLayout *gridLayout3; + QLabel *TextLabel3; + QSpinBox *SpinBox1; + QLabel *TextLabel2; + QSpinBox *SpinBox2; + QLineEdit *LineEdit1; + QSpacerItem *spacerItem; + QPushButton *PushButton1; + QLabel *TextLabel1; -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QGroupBox; -class QLabel; -class QLineEdit; -class QPushButton; -class QSpinBox; + void setupUi(QWidget *DlgRef_1Sel2Spin_QTD) + { + DlgRef_1Sel2Spin_QTD->setObjectName(QString::fromUtf8("DlgRef_1Sel2Spin_QTD")); + gridLayout = new QGridLayout(DlgRef_1Sel2Spin_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_1Sel2Spin_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + gridLayout3 = new QGridLayout(); + gridLayout3->setSpacing(6); + gridLayout3->setMargin(0); + gridLayout3->setObjectName(QString::fromUtf8("gridLayout3")); + TextLabel3 = new QLabel(GroupBox1); + TextLabel3->setObjectName(QString::fromUtf8("TextLabel3")); + QSizePolicy sizePolicy(static_cast(0), static_cast(0)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(TextLabel3->sizePolicy().hasHeightForWidth()); + TextLabel3->setSizePolicy(sizePolicy); + TextLabel3->setWordWrap(false); -class GEOM_DLGREF_EXPORT DlgRef_1Sel2Spin_QTD : public QWidget -{ - Q_OBJECT + gridLayout3->addWidget(TextLabel3, 1, 0, 1, 1); + + SpinBox1 = new QSpinBox(GroupBox1); + SpinBox1->setObjectName(QString::fromUtf8("SpinBox1")); + QSizePolicy sizePolicy1(static_cast(7), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(SpinBox1->sizePolicy().hasHeightForWidth()); + SpinBox1->setSizePolicy(sizePolicy1); + + gridLayout3->addWidget(SpinBox1, 0, 1, 1, 1); + + TextLabel2 = new QLabel(GroupBox1); + TextLabel2->setObjectName(QString::fromUtf8("TextLabel2")); + QSizePolicy sizePolicy2(static_cast(0), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth()); + TextLabel2->setSizePolicy(sizePolicy2); + TextLabel2->setWordWrap(false); + + gridLayout3->addWidget(TextLabel2, 0, 0, 1, 1); + + SpinBox2 = new QSpinBox(GroupBox1); + SpinBox2->setObjectName(QString::fromUtf8("SpinBox2")); + QSizePolicy sizePolicy3(static_cast(7), static_cast(0)); + sizePolicy3.setHorizontalStretch(0); + sizePolicy3.setVerticalStretch(0); + sizePolicy3.setHeightForWidth(SpinBox2->sizePolicy().hasHeightForWidth()); + SpinBox2->setSizePolicy(sizePolicy3); + + gridLayout3->addWidget(SpinBox2, 1, 1, 1, 1); + + + gridLayout2->addLayout(gridLayout3, 1, 0, 1, 3); + + LineEdit1 = new QLineEdit(GroupBox1); + LineEdit1->setObjectName(QString::fromUtf8("LineEdit1")); + + gridLayout2->addWidget(LineEdit1, 0, 2, 1, 1); + + spacerItem = new QSpacerItem(0, 30, QSizePolicy::Minimum, QSizePolicy::Expanding); + + gridLayout2->addItem(spacerItem, 2, 2, 1, 1); + + PushButton1 = new QPushButton(GroupBox1); + PushButton1->setObjectName(QString::fromUtf8("PushButton1")); + QSizePolicy sizePolicy4(static_cast(0), static_cast(0)); + sizePolicy4.setHorizontalStretch(0); + sizePolicy4.setVerticalStretch(0); + sizePolicy4.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth()); + PushButton1->setSizePolicy(sizePolicy4); + + gridLayout2->addWidget(PushButton1, 0, 1, 1, 1); + + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy5(static_cast(0), static_cast(0)); + sizePolicy5.setHorizontalStretch(0); + sizePolicy5.setVerticalStretch(0); + sizePolicy5.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy5); + TextLabel1->setWordWrap(false); + + gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1); + + + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + + retranslateUi(DlgRef_1Sel2Spin_QTD); + + QSize size(129, 115); + size = size.expandedTo(DlgRef_1Sel2Spin_QTD->minimumSizeHint()); + DlgRef_1Sel2Spin_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_1Sel2Spin_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_1Sel2Spin_QTD) + { + DlgRef_1Sel2Spin_QTD->setWindowTitle(QApplication::translate("DlgRef_1Sel2Spin_QTD", "DlgRef_1Sel2Spin_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + TextLabel3->setText(QApplication::translate("DlgRef_1Sel2Spin_QTD", "TL3", 0, QApplication::UnicodeUTF8)); + TextLabel2->setText(QApplication::translate("DlgRef_1Sel2Spin_QTD", "TL2", 0, QApplication::UnicodeUTF8)); + PushButton1->setText(QString()); + TextLabel1->setText(QApplication::translate("DlgRef_1Sel2Spin_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + Q_UNUSED(DlgRef_1Sel2Spin_QTD); + } // retranslateUi -public: - DlgRef_1Sel2Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_1Sel2Spin_QTD(); - - QGroupBox* GroupBox1; - QLabel* TextLabel3; - QSpinBox* SpinBox1; - QLabel* TextLabel2; - QSpinBox* SpinBox2; - QLineEdit* LineEdit1; - QPushButton* PushButton1; - QLabel* TextLabel1; - - -protected: - QGridLayout* DlgRef_1Sel2Spin_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* Layout1; - QGridLayout* Layout2; }; +namespace Ui { + class DlgRef_1Sel2Spin_QTD: public Ui_DlgRef_1Sel2Spin_QTD {}; +} // namespace Ui + #endif // DLGREF_1SEL2SPIN_QTD_H diff --git a/src/DlgRef/DlgRef_1Sel3Check_QTD.cxx b/src/DlgRef/DlgRef_1Sel3Check_QTD.cxx deleted file mode 100644 index db0cb79ec..000000000 --- a/src/DlgRef/DlgRef_1Sel3Check_QTD.cxx +++ /dev/null @@ -1,114 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_1Sel3Check_QTD.ui' -** -** Created: Thu May 20 10:15:08 2004 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_1Sel3Check_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_1Sel3Check_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_1Sel3Check_QTD::DlgRef_1Sel3Check_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_1Sel3Check_QTD" ); - resize( 163, 116 ); - setCaption( trUtf8( "DlgRef_1Sel3Check_QTD" ) ); - DlgRef_1Sel3Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_1Sel3Check_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout6 = new QGridLayout( 0, 1, 1, 0, 6, "Layout6"); - QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout6->addItem( spacer, 4, 2 ); - - LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" ); - - Layout6->addWidget( LineEdit1, 0, 2 ); - - CheckButton2 = new QCheckBox( GroupBox1, "CheckButton2" ); - CheckButton2->setText( trUtf8( "" ) ); - - Layout6->addMultiCellWidget( CheckButton2, 2, 2, 0, 2 ); - - CheckButton1 = new QCheckBox( GroupBox1, "CheckButton1" ); - CheckButton1->setText( trUtf8( "" ) ); - - Layout6->addMultiCellWidget( CheckButton1, 1, 1, 0, 2 ); - - CheckButton3 = new QCheckBox( GroupBox1, "CheckButton3" ); - CheckButton3->setText( trUtf8( "" ) ); - - Layout6->addMultiCellWidget( CheckButton3, 3, 3, 0, 2 ); - - PushButton1 = new QPushButton( GroupBox1, "PushButton1" ); - PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) ); - PushButton1->setText( trUtf8( "" ) ); - - Layout6->addWidget( PushButton1, 0, 1 ); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - Layout6->addWidget( TextLabel1, 0, 0 ); - - GroupBox1Layout->addLayout( Layout6, 0, 0 ); - - DlgRef_1Sel3Check_QTDLayout->addWidget( GroupBox1, 0, 0 ); - - // tab order - setTabOrder( PushButton1, LineEdit1 ); - setTabOrder( LineEdit1, CheckButton1 ); - setTabOrder( CheckButton1, CheckButton2 ); - setTabOrder( CheckButton2, CheckButton3 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_1Sel3Check_QTD::~DlgRef_1Sel3Check_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_1Sel3Check_QTD.h b/src/DlgRef/DlgRef_1Sel3Check_QTD.h index 83e38df33..7572d8d1f 100644 --- a/src/DlgRef/DlgRef_1Sel3Check_QTD.h +++ b/src/DlgRef/DlgRef_1Sel3Check_QTD.h @@ -1,67 +1,143 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_1Sel3Check_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_1Sel3Check_QTD.ui' ** -** Created: Thu May 20 10:15:07 2004 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 12:48:25 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_1SEL3CHECK_QTD_H #define DLGREF_1SEL3CHECK_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +class Ui_DlgRef_1Sel3Check_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QSpacerItem *spacerItem; + QLineEdit *LineEdit1; + QCheckBox *CheckButton2; + QCheckBox *CheckButton1; + QCheckBox *CheckButton3; + QPushButton *PushButton1; + QLabel *TextLabel1; -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QCheckBox; -class QGroupBox; -class QLabel; -class QLineEdit; -class QPushButton; + void setupUi(QWidget *DlgRef_1Sel3Check_QTD) + { + DlgRef_1Sel3Check_QTD->setObjectName(QString::fromUtf8("DlgRef_1Sel3Check_QTD")); + gridLayout = new QGridLayout(DlgRef_1Sel3Check_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_1Sel3Check_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + spacerItem = new QSpacerItem(0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding); -class GEOM_DLGREF_EXPORT DlgRef_1Sel3Check_QTD : public QWidget -{ - Q_OBJECT + gridLayout2->addItem(spacerItem, 4, 2, 1, 1); + + LineEdit1 = new QLineEdit(GroupBox1); + LineEdit1->setObjectName(QString::fromUtf8("LineEdit1")); + + gridLayout2->addWidget(LineEdit1, 0, 2, 1, 1); + + CheckButton2 = new QCheckBox(GroupBox1); + CheckButton2->setObjectName(QString::fromUtf8("CheckButton2")); + + gridLayout2->addWidget(CheckButton2, 2, 0, 1, 3); + + CheckButton1 = new QCheckBox(GroupBox1); + CheckButton1->setObjectName(QString::fromUtf8("CheckButton1")); + + gridLayout2->addWidget(CheckButton1, 1, 0, 1, 3); + + CheckButton3 = new QCheckBox(GroupBox1); + CheckButton3->setObjectName(QString::fromUtf8("CheckButton3")); + + gridLayout2->addWidget(CheckButton3, 3, 0, 1, 3); + + PushButton1 = new QPushButton(GroupBox1); + PushButton1->setObjectName(QString::fromUtf8("PushButton1")); + QSizePolicy sizePolicy(static_cast(0), static_cast(0)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth()); + PushButton1->setSizePolicy(sizePolicy); + + gridLayout2->addWidget(PushButton1, 0, 1, 1, 1); + + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy1(static_cast(0), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy1); + TextLabel1->setWordWrap(false); + + gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1); + + + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + QWidget::setTabOrder(PushButton1, LineEdit1); + QWidget::setTabOrder(LineEdit1, CheckButton1); + QWidget::setTabOrder(CheckButton1, CheckButton2); + QWidget::setTabOrder(CheckButton2, CheckButton3); + + retranslateUi(DlgRef_1Sel3Check_QTD); + + QSize size(163, 116); + size = size.expandedTo(DlgRef_1Sel3Check_QTD->minimumSizeHint()); + DlgRef_1Sel3Check_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_1Sel3Check_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_1Sel3Check_QTD) + { + DlgRef_1Sel3Check_QTD->setWindowTitle(QApplication::translate("DlgRef_1Sel3Check_QTD", "DlgRef_1Sel3Check_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + CheckButton2->setText(QString()); + CheckButton1->setText(QString()); + CheckButton3->setText(QString()); + PushButton1->setText(QString()); + TextLabel1->setText(QApplication::translate("DlgRef_1Sel3Check_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + Q_UNUSED(DlgRef_1Sel3Check_QTD); + } // retranslateUi -public: - DlgRef_1Sel3Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_1Sel3Check_QTD(); - - QGroupBox* GroupBox1; - QLineEdit* LineEdit1; - QCheckBox* CheckButton2; - QCheckBox* CheckButton1; - QCheckBox* CheckButton3; - QPushButton* PushButton1; - QLabel* TextLabel1; - - -protected: - QGridLayout* DlgRef_1Sel3Check_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* Layout6; }; +namespace Ui { + class DlgRef_1Sel3Check_QTD: public Ui_DlgRef_1Sel3Check_QTD {}; +} // namespace Ui + #endif // DLGREF_1SEL3CHECK_QTD_H diff --git a/src/DlgRef/DlgRef_1Sel3Spin.cxx b/src/DlgRef/DlgRef_1Sel3Spin.cxx index a356d2f1f..4ea4e77ff 100644 --- a/src/DlgRef/DlgRef_1Sel3Spin.cxx +++ b/src/DlgRef/DlgRef_1Sel3Spin.cxx @@ -27,30 +27,36 @@ // $Header: #include "DlgRef_1Sel3Spin.h" - -#include -#include -#include +#include "DlgRef_SpinBox.h" /* * Constructs a DlgRef_1Sel3Spin which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -DlgRef_1Sel3Spin::DlgRef_1Sel3Spin(QWidget* parent, const char* name, WFlags fl) - :DlgRef_1Sel3Spin_QTD(parent, name, fl) +DlgRef_1Sel3Spin::DlgRef_1Sel3Spin(QWidget* parent, const char* name, Qt::WindowFlags fl) + :QWidget(parent, fl) { - SpinBox1->close(TRUE); - SpinBox2->close(TRUE); - SpinBox3->close(TRUE); + setupUi(this); + + setObjectName(name); + + SpinBox1->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox1->close(); + + SpinBox2->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox2->close(); + + SpinBox3->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox3->close(); SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX"); - Layout2->addWidget(SpinBox_DX, 0, 1); + gridLayout3->addWidget(SpinBox_DX, 0, 1); SpinBox_DY = new DlgRef_SpinBox( GroupBox1, "SpinBox_DY"); - Layout2->addWidget(SpinBox_DY, 1, 1); + gridLayout3->addWidget(SpinBox_DY, 1, 1); SpinBox_DZ = new DlgRef_SpinBox( GroupBox1, "SpinBox_DZ"); - Layout2->addWidget(SpinBox_DZ, 2, 1); + gridLayout3->addWidget(SpinBox_DZ, 2, 1); } diff --git a/src/DlgRef/DlgRef_1Sel3Spin.h b/src/DlgRef/DlgRef_1Sel3Spin.h index f307a283b..7f033b9d0 100644 --- a/src/DlgRef/DlgRef_1Sel3Spin.h +++ b/src/DlgRef/DlgRef_1Sel3Spin.h @@ -32,14 +32,15 @@ #include "GEOM_DlgRef.hxx" #include "DlgRef_1Sel3Spin_QTD.h" -#include "DlgRef_SpinBox.h" -class GEOM_DLGREF_EXPORT DlgRef_1Sel3Spin : public DlgRef_1Sel3Spin_QTD +class DlgRef_SpinBox; + +class GEOM_DLGREF_EXPORT DlgRef_1Sel3Spin : public QWidget, public Ui::DlgRef_1Sel3Spin_QTD { Q_OBJECT public: - DlgRef_1Sel3Spin(QWidget* parent = 0, const char* name = 0, WFlags fl = 0); + DlgRef_1Sel3Spin(QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = 0); ~DlgRef_1Sel3Spin(); DlgRef_SpinBox* SpinBox_DX; diff --git a/src/DlgRef/DlgRef_1Sel3Spin_QTD.cxx b/src/DlgRef/DlgRef_1Sel3Spin_QTD.cxx deleted file mode 100644 index e0356a604..000000000 --- a/src/DlgRef/DlgRef_1Sel3Spin_QTD.cxx +++ /dev/null @@ -1,130 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_1Sel3Spin_QTD.ui' -** -** Created: ven oct 24 15:55:11 2003 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_1Sel3Spin_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_1Sel3Spin_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_1Sel3Spin_QTD::DlgRef_1Sel3Spin_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_1Sel3Spin_QTD" ); - resize( 129, 143 ); - setCaption( trUtf8( "DlgRef_1Sel3Spin_QTD" ) ); - DlgRef_1Sel3Spin_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_1Sel3Spin_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - Layout1->addWidget( TextLabel1, 0, 0 ); - - PushButton1 = new QPushButton( GroupBox1, "PushButton1" ); - PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) ); - PushButton1->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton1, 0, 1 ); - - LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" ); - - Layout1->addWidget( LineEdit1, 0, 2 ); - QSpacerItem* spacer = new QSpacerItem( 0, 150, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout1->addItem( spacer, 2, 2 ); - - Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); - - SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" ); - SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) ); - - Layout2->addWidget( SpinBox2, 1, 1 ); - - TextLabel3 = new QLabel( GroupBox1, "TextLabel3" ); - TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) ); - TextLabel3->setText( trUtf8( "TL3" ) ); - - Layout2->addWidget( TextLabel3, 1, 0 ); - - SpinBox3 = new QSpinBox( GroupBox1, "SpinBox3" ); - SpinBox3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox3->sizePolicy().hasHeightForWidth() ) ); - - Layout2->addWidget( SpinBox3, 2, 1 ); - - SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" ); - SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) ); - - Layout2->addWidget( SpinBox1, 0, 1 ); - - TextLabel4 = new QLabel( GroupBox1, "TextLabel4" ); - TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) ); - TextLabel4->setText( trUtf8( "TL4" ) ); - - Layout2->addWidget( TextLabel4, 2, 0 ); - - TextLabel2 = new QLabel( GroupBox1, "TextLabel2" ); - TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) ); - TextLabel2->setText( trUtf8( "TL2" ) ); - - Layout2->addWidget( TextLabel2, 0, 0 ); - - Layout1->addMultiCellLayout( Layout2, 1, 1, 0, 2 ); - - GroupBox1Layout->addLayout( Layout1, 0, 0 ); - - DlgRef_1Sel3Spin_QTDLayout->addWidget( GroupBox1, 0, 0 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_1Sel3Spin_QTD::~DlgRef_1Sel3Spin_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_1Sel3Spin_QTD.h b/src/DlgRef/DlgRef_1Sel3Spin_QTD.h index 61b0d21f0..dd4aae79b 100644 --- a/src/DlgRef/DlgRef_1Sel3Spin_QTD.h +++ b/src/DlgRef/DlgRef_1Sel3Spin_QTD.h @@ -1,71 +1,198 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_1Sel3Spin_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_1Sel3Spin_QTD.ui' ** -** Created: ven oct 24 15:55:10 2003 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 12:34:20 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_1SEL3SPIN_QTD_H #define DLGREF_1SEL3SPIN_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QGroupBox; -class QLabel; -class QLineEdit; -class QPushButton; -class QSpinBox; +class Ui_DlgRef_1Sel3Spin_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QLabel *TextLabel1; + QPushButton *PushButton1; + QLineEdit *LineEdit1; + QSpacerItem *spacerItem; + QGridLayout *gridLayout3; + QSpinBox *SpinBox2; + QLabel *TextLabel3; + QSpinBox *SpinBox3; + QSpinBox *SpinBox1; + QLabel *TextLabel4; + QLabel *TextLabel2; -class GEOM_DLGREF_EXPORT DlgRef_1Sel3Spin_QTD : public QWidget -{ - Q_OBJECT + void setupUi(QWidget *DlgRef_1Sel3Spin_QTD) + { + DlgRef_1Sel3Spin_QTD->setObjectName(QString::fromUtf8("DlgRef_1Sel3Spin_QTD")); + gridLayout = new QGridLayout(DlgRef_1Sel3Spin_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_1Sel3Spin_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy(static_cast(0), static_cast(0)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy); + TextLabel1->setWordWrap(false); + + gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1); + + PushButton1 = new QPushButton(GroupBox1); + PushButton1->setObjectName(QString::fromUtf8("PushButton1")); + QSizePolicy sizePolicy1(static_cast(0), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth()); + PushButton1->setSizePolicy(sizePolicy1); + + gridLayout2->addWidget(PushButton1, 0, 1, 1, 1); + + LineEdit1 = new QLineEdit(GroupBox1); + LineEdit1->setObjectName(QString::fromUtf8("LineEdit1")); + + gridLayout2->addWidget(LineEdit1, 0, 2, 1, 1); + + spacerItem = new QSpacerItem(0, 150, QSizePolicy::Minimum, QSizePolicy::Expanding); + + gridLayout2->addItem(spacerItem, 2, 2, 1, 1); + + gridLayout3 = new QGridLayout(); + gridLayout3->setSpacing(6); + gridLayout3->setMargin(0); + gridLayout3->setObjectName(QString::fromUtf8("gridLayout3")); + SpinBox2 = new QSpinBox(GroupBox1); + SpinBox2->setObjectName(QString::fromUtf8("SpinBox2")); + QSizePolicy sizePolicy2(static_cast(7), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(SpinBox2->sizePolicy().hasHeightForWidth()); + SpinBox2->setSizePolicy(sizePolicy2); + + gridLayout3->addWidget(SpinBox2, 1, 1, 1, 1); + + TextLabel3 = new QLabel(GroupBox1); + TextLabel3->setObjectName(QString::fromUtf8("TextLabel3")); + QSizePolicy sizePolicy3(static_cast(0), static_cast(0)); + sizePolicy3.setHorizontalStretch(0); + sizePolicy3.setVerticalStretch(0); + sizePolicy3.setHeightForWidth(TextLabel3->sizePolicy().hasHeightForWidth()); + TextLabel3->setSizePolicy(sizePolicy3); + TextLabel3->setWordWrap(false); + + gridLayout3->addWidget(TextLabel3, 1, 0, 1, 1); + + SpinBox3 = new QSpinBox(GroupBox1); + SpinBox3->setObjectName(QString::fromUtf8("SpinBox3")); + QSizePolicy sizePolicy4(static_cast(7), static_cast(0)); + sizePolicy4.setHorizontalStretch(0); + sizePolicy4.setVerticalStretch(0); + sizePolicy4.setHeightForWidth(SpinBox3->sizePolicy().hasHeightForWidth()); + SpinBox3->setSizePolicy(sizePolicy4); + + gridLayout3->addWidget(SpinBox3, 2, 1, 1, 1); + + SpinBox1 = new QSpinBox(GroupBox1); + SpinBox1->setObjectName(QString::fromUtf8("SpinBox1")); + QSizePolicy sizePolicy5(static_cast(7), static_cast(0)); + sizePolicy5.setHorizontalStretch(0); + sizePolicy5.setVerticalStretch(0); + sizePolicy5.setHeightForWidth(SpinBox1->sizePolicy().hasHeightForWidth()); + SpinBox1->setSizePolicy(sizePolicy5); + + gridLayout3->addWidget(SpinBox1, 0, 1, 1, 1); + + TextLabel4 = new QLabel(GroupBox1); + TextLabel4->setObjectName(QString::fromUtf8("TextLabel4")); + QSizePolicy sizePolicy6(static_cast(0), static_cast(0)); + sizePolicy6.setHorizontalStretch(0); + sizePolicy6.setVerticalStretch(0); + sizePolicy6.setHeightForWidth(TextLabel4->sizePolicy().hasHeightForWidth()); + TextLabel4->setSizePolicy(sizePolicy6); + TextLabel4->setWordWrap(false); + + gridLayout3->addWidget(TextLabel4, 2, 0, 1, 1); + + TextLabel2 = new QLabel(GroupBox1); + TextLabel2->setObjectName(QString::fromUtf8("TextLabel2")); + QSizePolicy sizePolicy7(static_cast(0), static_cast(0)); + sizePolicy7.setHorizontalStretch(0); + sizePolicy7.setVerticalStretch(0); + sizePolicy7.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth()); + TextLabel2->setSizePolicy(sizePolicy7); + TextLabel2->setWordWrap(false); + + gridLayout3->addWidget(TextLabel2, 0, 0, 1, 1); + + + gridLayout2->addLayout(gridLayout3, 1, 0, 1, 3); + + + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + + retranslateUi(DlgRef_1Sel3Spin_QTD); + + QSize size(129, 143); + size = size.expandedTo(DlgRef_1Sel3Spin_QTD->minimumSizeHint()); + DlgRef_1Sel3Spin_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_1Sel3Spin_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_1Sel3Spin_QTD) + { + DlgRef_1Sel3Spin_QTD->setWindowTitle(QApplication::translate("DlgRef_1Sel3Spin_QTD", "DlgRef_1Sel3Spin_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + TextLabel1->setText(QApplication::translate("DlgRef_1Sel3Spin_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + PushButton1->setText(QString()); + TextLabel3->setText(QApplication::translate("DlgRef_1Sel3Spin_QTD", "TL3", 0, QApplication::UnicodeUTF8)); + TextLabel4->setText(QApplication::translate("DlgRef_1Sel3Spin_QTD", "TL4", 0, QApplication::UnicodeUTF8)); + TextLabel2->setText(QApplication::translate("DlgRef_1Sel3Spin_QTD", "TL2", 0, QApplication::UnicodeUTF8)); + Q_UNUSED(DlgRef_1Sel3Spin_QTD); + } // retranslateUi -public: - DlgRef_1Sel3Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_1Sel3Spin_QTD(); - - QGroupBox* GroupBox1; - QLabel* TextLabel1; - QPushButton* PushButton1; - QLineEdit* LineEdit1; - QSpinBox* SpinBox2; - QLabel* TextLabel3; - QSpinBox* SpinBox3; - QSpinBox* SpinBox1; - QLabel* TextLabel4; - QLabel* TextLabel2; - - -protected: - QGridLayout* DlgRef_1Sel3Spin_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* Layout1; - QGridLayout* Layout2; }; +namespace Ui { + class DlgRef_1Sel3Spin_QTD: public Ui_DlgRef_1Sel3Spin_QTD {}; +} // namespace Ui + #endif // DLGREF_1SEL3SPIN_QTD_H diff --git a/src/DlgRef/DlgRef_1Sel4Spin.cxx b/src/DlgRef/DlgRef_1Sel4Spin.cxx index 66af2fea2..3604c6f0e 100644 --- a/src/DlgRef/DlgRef_1Sel4Spin.cxx +++ b/src/DlgRef/DlgRef_1Sel4Spin.cxx @@ -27,34 +27,42 @@ // $Header: #include "DlgRef_1Sel4Spin.h" - -#include -#include -#include +#include "DlgRef_SpinBox.h" /* * Constructs a DlgRef_1Sel4Spin which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -DlgRef_1Sel4Spin::DlgRef_1Sel4Spin(QWidget* parent, const char* name, WFlags fl) - :DlgRef_1Sel4Spin_QTD(parent, name, fl) +DlgRef_1Sel4Spin::DlgRef_1Sel4Spin(QWidget* parent, const char* name, Qt::WindowFlags fl) + :QWidget(parent, fl) { - SpinBox1->close(TRUE); - SpinBox2->close(TRUE); - SpinBox3->close(TRUE); - SpinBox4->close(TRUE); + setupUi(this); + + setObjectName(name); + + SpinBox1->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox1->close(); + + SpinBox2->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox2->close(); + + SpinBox3->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox3->close(); + + SpinBox4->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox4->close(); SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX"); - Layout3->addWidget(SpinBox_DX, 0, 2); + gridLayout3->addWidget(SpinBox_DX, 0, 2); SpinBox_DY = new DlgRef_SpinBox( GroupBox1, "SpinBox_DY"); - Layout3->addWidget(SpinBox_DY, 0, 4); + gridLayout3->addWidget(SpinBox_DY, 0, 4); SpinBox_DZ = new DlgRef_SpinBox( GroupBox1, "SpinBox_DZ"); - Layout3->addWidget(SpinBox_DZ, 0, 6); + gridLayout3->addWidget(SpinBox_DZ, 0, 6); SpinBox_S = new DlgRef_SpinBox( GroupBox1, "SpinBox_S"); - Layout4->addWidget(SpinBox_S, 0, 1); + gridLayout4->addWidget(SpinBox_S, 0, 1); } diff --git a/src/DlgRef/DlgRef_1Sel4Spin.h b/src/DlgRef/DlgRef_1Sel4Spin.h index 4dcfeb3c6..aceae6905 100644 --- a/src/DlgRef/DlgRef_1Sel4Spin.h +++ b/src/DlgRef/DlgRef_1Sel4Spin.h @@ -32,14 +32,15 @@ #include "GEOM_DlgRef.hxx" #include "DlgRef_1Sel4Spin_QTD.h" -#include "DlgRef_SpinBox.h" -class GEOM_DLGREF_EXPORT DlgRef_1Sel4Spin : public DlgRef_1Sel4Spin_QTD +class DlgRef_SpinBox; + +class GEOM_DLGREF_EXPORT DlgRef_1Sel4Spin : public QWidget, public Ui::DlgRef_1Sel4Spin_QTD { Q_OBJECT public: - DlgRef_1Sel4Spin( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); + DlgRef_1Sel4Spin( QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = 0 ); ~DlgRef_1Sel4Spin(); DlgRef_SpinBox* SpinBox_DX; diff --git a/src/DlgRef/DlgRef_1Sel4Spin_QTD.cxx b/src/DlgRef/DlgRef_1Sel4Spin_QTD.cxx deleted file mode 100644 index f245c6292..000000000 --- a/src/DlgRef/DlgRef_1Sel4Spin_QTD.cxx +++ /dev/null @@ -1,151 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_1Sel4Spin_QTD.ui' -** -** Created: mar sep 23 16:05:09 2003 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_1Sel4Spin_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_1Sel4Spin_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_1Sel4Spin_QTD::DlgRef_1Sel4Spin_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_1Sel4Spin_QTD" ); - resize( 284, 119 ); - setCaption( trUtf8( "DlgRef_1Sel4Spin_QTD" ) ); - DlgRef_1Sel4Spin_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_1Sel4Spin_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); - - Layout3 = new QGridLayout( 0, 1, 1, 0, 6, "Layout3"); - - TextLabel5 = new QLabel( GroupBox1, "TextLabel5" ); - TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) ); - TextLabel5->setText( trUtf8( "TL5" ) ); - - Layout3->addWidget( TextLabel5, 0, 5 ); - - TextLabel3 = new QLabel( GroupBox1, "TextLabel3" ); - TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) ); - TextLabel3->setText( trUtf8( "TL3" ) ); - - Layout3->addWidget( TextLabel3, 0, 1 ); - - TextLabel4 = new QLabel( GroupBox1, "TextLabel4" ); - TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) ); - TextLabel4->setText( trUtf8( "TL4" ) ); - - Layout3->addWidget( TextLabel4, 0, 3 ); - - SpinBox3 = new QSpinBox( GroupBox1, "SpinBox3" ); - SpinBox3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox3->sizePolicy().hasHeightForWidth() ) ); - - Layout3->addWidget( SpinBox3, 0, 6 ); - - SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" ); - SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) ); - - Layout3->addWidget( SpinBox1, 0, 2 ); - - TextLabel2 = new QLabel( GroupBox1, "TextLabel2" ); - TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) ); - TextLabel2->setText( trUtf8( "TL2" ) ); - - Layout3->addWidget( TextLabel2, 0, 0 ); - - SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" ); - SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) ); - - Layout3->addWidget( SpinBox2, 0, 4 ); - - Layout1->addLayout( Layout3, 1, 0 ); - QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout1->addItem( spacer, 3, 0 ); - - Layout4 = new QGridLayout( 0, 1, 1, 0, 6, "Layout4"); - - TextLabel6 = new QLabel( GroupBox1, "TextLabel6" ); - TextLabel6->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel6->sizePolicy().hasHeightForWidth() ) ); - TextLabel6->setText( trUtf8( "TL6" ) ); - - Layout4->addWidget( TextLabel6, 0, 0 ); - - SpinBox4 = new QSpinBox( GroupBox1, "SpinBox4" ); - - Layout4->addWidget( SpinBox4, 0, 1 ); - - Layout1->addLayout( Layout4, 2, 0 ); - - Layout2 = new QHBoxLayout( 0, 0, 6, "Layout2"); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - Layout2->addWidget( TextLabel1 ); - - PushButton1 = new QPushButton( GroupBox1, "PushButton1" ); - PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) ); - PushButton1->setText( trUtf8( "" ) ); - Layout2->addWidget( PushButton1 ); - - LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" ); - Layout2->addWidget( LineEdit1 ); - - Layout1->addLayout( Layout2, 0, 0 ); - - GroupBox1Layout->addLayout( Layout1, 0, 0 ); - - DlgRef_1Sel4Spin_QTDLayout->addWidget( GroupBox1, 0, 0 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_1Sel4Spin_QTD::~DlgRef_1Sel4Spin_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_1Sel4Spin_QTD.h b/src/DlgRef/DlgRef_1Sel4Spin_QTD.h index a865d411b..f798a47ec 100644 --- a/src/DlgRef/DlgRef_1Sel4Spin_QTD.h +++ b/src/DlgRef/DlgRef_1Sel4Spin_QTD.h @@ -1,76 +1,247 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_1Sel4Spin_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_1Sel4Spin_QTD.ui' ** -** Created: mar sep 23 16:05:09 2003 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 12:39:04 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_1SEL4SPIN_QTD_H #define DLGREF_1SEL4SPIN_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QGroupBox; -class QLabel; -class QLineEdit; -class QPushButton; -class QSpinBox; +class Ui_DlgRef_1Sel4Spin_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QGridLayout *gridLayout3; + QLabel *TextLabel5; + QLabel *TextLabel3; + QLabel *TextLabel4; + QSpinBox *SpinBox3; + QSpinBox *SpinBox1; + QLabel *TextLabel2; + QSpinBox *SpinBox2; + QSpacerItem *spacerItem; + QGridLayout *gridLayout4; + QLabel *TextLabel6; + QSpinBox *SpinBox4; + QHBoxLayout *hboxLayout; + QLabel *TextLabel1; + QPushButton *PushButton1; + QLineEdit *LineEdit1; -class GEOM_DLGREF_EXPORT DlgRef_1Sel4Spin_QTD : public QWidget -{ - Q_OBJECT + void setupUi(QWidget *DlgRef_1Sel4Spin_QTD) + { + DlgRef_1Sel4Spin_QTD->setObjectName(QString::fromUtf8("DlgRef_1Sel4Spin_QTD")); + gridLayout = new QGridLayout(DlgRef_1Sel4Spin_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_1Sel4Spin_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + gridLayout3 = new QGridLayout(); + gridLayout3->setSpacing(6); + gridLayout3->setMargin(0); + gridLayout3->setObjectName(QString::fromUtf8("gridLayout3")); + TextLabel5 = new QLabel(GroupBox1); + TextLabel5->setObjectName(QString::fromUtf8("TextLabel5")); + QSizePolicy sizePolicy(static_cast(0), static_cast(0)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(TextLabel5->sizePolicy().hasHeightForWidth()); + TextLabel5->setSizePolicy(sizePolicy); + TextLabel5->setWordWrap(false); + + gridLayout3->addWidget(TextLabel5, 0, 5, 1, 1); + + TextLabel3 = new QLabel(GroupBox1); + TextLabel3->setObjectName(QString::fromUtf8("TextLabel3")); + QSizePolicy sizePolicy1(static_cast(0), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(TextLabel3->sizePolicy().hasHeightForWidth()); + TextLabel3->setSizePolicy(sizePolicy1); + TextLabel3->setWordWrap(false); + + gridLayout3->addWidget(TextLabel3, 0, 1, 1, 1); + + TextLabel4 = new QLabel(GroupBox1); + TextLabel4->setObjectName(QString::fromUtf8("TextLabel4")); + QSizePolicy sizePolicy2(static_cast(0), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(TextLabel4->sizePolicy().hasHeightForWidth()); + TextLabel4->setSizePolicy(sizePolicy2); + TextLabel4->setWordWrap(false); + + gridLayout3->addWidget(TextLabel4, 0, 3, 1, 1); + + SpinBox3 = new QSpinBox(GroupBox1); + SpinBox3->setObjectName(QString::fromUtf8("SpinBox3")); + QSizePolicy sizePolicy3(static_cast(7), static_cast(0)); + sizePolicy3.setHorizontalStretch(0); + sizePolicy3.setVerticalStretch(0); + sizePolicy3.setHeightForWidth(SpinBox3->sizePolicy().hasHeightForWidth()); + SpinBox3->setSizePolicy(sizePolicy3); + + gridLayout3->addWidget(SpinBox3, 0, 6, 1, 1); + + SpinBox1 = new QSpinBox(GroupBox1); + SpinBox1->setObjectName(QString::fromUtf8("SpinBox1")); + QSizePolicy sizePolicy4(static_cast(7), static_cast(0)); + sizePolicy4.setHorizontalStretch(0); + sizePolicy4.setVerticalStretch(0); + sizePolicy4.setHeightForWidth(SpinBox1->sizePolicy().hasHeightForWidth()); + SpinBox1->setSizePolicy(sizePolicy4); + + gridLayout3->addWidget(SpinBox1, 0, 2, 1, 1); + + TextLabel2 = new QLabel(GroupBox1); + TextLabel2->setObjectName(QString::fromUtf8("TextLabel2")); + QSizePolicy sizePolicy5(static_cast(0), static_cast(0)); + sizePolicy5.setHorizontalStretch(0); + sizePolicy5.setVerticalStretch(0); + sizePolicy5.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth()); + TextLabel2->setSizePolicy(sizePolicy5); + TextLabel2->setWordWrap(false); + + gridLayout3->addWidget(TextLabel2, 0, 0, 1, 1); + + SpinBox2 = new QSpinBox(GroupBox1); + SpinBox2->setObjectName(QString::fromUtf8("SpinBox2")); + QSizePolicy sizePolicy6(static_cast(7), static_cast(0)); + sizePolicy6.setHorizontalStretch(0); + sizePolicy6.setVerticalStretch(0); + sizePolicy6.setHeightForWidth(SpinBox2->sizePolicy().hasHeightForWidth()); + SpinBox2->setSizePolicy(sizePolicy6); + + gridLayout3->addWidget(SpinBox2, 0, 4, 1, 1); + + + gridLayout2->addLayout(gridLayout3, 1, 0, 1, 1); + + spacerItem = new QSpacerItem(0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding); + + gridLayout2->addItem(spacerItem, 3, 0, 1, 1); + + gridLayout4 = new QGridLayout(); + gridLayout4->setSpacing(6); + gridLayout4->setMargin(0); + gridLayout4->setObjectName(QString::fromUtf8("gridLayout4")); + TextLabel6 = new QLabel(GroupBox1); + TextLabel6->setObjectName(QString::fromUtf8("TextLabel6")); + QSizePolicy sizePolicy7(static_cast(0), static_cast(0)); + sizePolicy7.setHorizontalStretch(0); + sizePolicy7.setVerticalStretch(0); + sizePolicy7.setHeightForWidth(TextLabel6->sizePolicy().hasHeightForWidth()); + TextLabel6->setSizePolicy(sizePolicy7); + TextLabel6->setWordWrap(false); + + gridLayout4->addWidget(TextLabel6, 0, 0, 1, 1); + + SpinBox4 = new QSpinBox(GroupBox1); + SpinBox4->setObjectName(QString::fromUtf8("SpinBox4")); + + gridLayout4->addWidget(SpinBox4, 0, 1, 1, 1); + + + gridLayout2->addLayout(gridLayout4, 2, 0, 1, 1); + + hboxLayout = new QHBoxLayout(); + hboxLayout->setSpacing(6); + hboxLayout->setMargin(0); + hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy8(static_cast(0), static_cast(0)); + sizePolicy8.setHorizontalStretch(0); + sizePolicy8.setVerticalStretch(0); + sizePolicy8.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy8); + TextLabel1->setWordWrap(false); + + hboxLayout->addWidget(TextLabel1); + + PushButton1 = new QPushButton(GroupBox1); + PushButton1->setObjectName(QString::fromUtf8("PushButton1")); + QSizePolicy sizePolicy9(static_cast(0), static_cast(0)); + sizePolicy9.setHorizontalStretch(0); + sizePolicy9.setVerticalStretch(0); + sizePolicy9.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth()); + PushButton1->setSizePolicy(sizePolicy9); + + hboxLayout->addWidget(PushButton1); + + LineEdit1 = new QLineEdit(GroupBox1); + LineEdit1->setObjectName(QString::fromUtf8("LineEdit1")); + + hboxLayout->addWidget(LineEdit1); + + + gridLayout2->addLayout(hboxLayout, 0, 0, 1, 1); + + + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + + retranslateUi(DlgRef_1Sel4Spin_QTD); + + QSize size(284, 119); + size = size.expandedTo(DlgRef_1Sel4Spin_QTD->minimumSizeHint()); + DlgRef_1Sel4Spin_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_1Sel4Spin_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_1Sel4Spin_QTD) + { + DlgRef_1Sel4Spin_QTD->setWindowTitle(QApplication::translate("DlgRef_1Sel4Spin_QTD", "DlgRef_1Sel4Spin_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + TextLabel5->setText(QApplication::translate("DlgRef_1Sel4Spin_QTD", "TL5", 0, QApplication::UnicodeUTF8)); + TextLabel3->setText(QApplication::translate("DlgRef_1Sel4Spin_QTD", "TL3", 0, QApplication::UnicodeUTF8)); + TextLabel4->setText(QApplication::translate("DlgRef_1Sel4Spin_QTD", "TL4", 0, QApplication::UnicodeUTF8)); + TextLabel2->setText(QApplication::translate("DlgRef_1Sel4Spin_QTD", "TL2", 0, QApplication::UnicodeUTF8)); + TextLabel6->setText(QApplication::translate("DlgRef_1Sel4Spin_QTD", "TL6", 0, QApplication::UnicodeUTF8)); + TextLabel1->setText(QApplication::translate("DlgRef_1Sel4Spin_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + PushButton1->setText(QString()); + Q_UNUSED(DlgRef_1Sel4Spin_QTD); + } // retranslateUi -public: - DlgRef_1Sel4Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_1Sel4Spin_QTD(); - - QGroupBox* GroupBox1; - QLabel* TextLabel5; - QLabel* TextLabel3; - QLabel* TextLabel4; - QSpinBox* SpinBox3; - QSpinBox* SpinBox1; - QLabel* TextLabel2; - QSpinBox* SpinBox2; - QLabel* TextLabel6; - QSpinBox* SpinBox4; - QLabel* TextLabel1; - QPushButton* PushButton1; - QLineEdit* LineEdit1; - - -protected: - QGridLayout* DlgRef_1Sel4Spin_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* Layout1; - QGridLayout* Layout3; - QGridLayout* Layout4; - QHBoxLayout* Layout2; }; +namespace Ui { + class DlgRef_1Sel4Spin_QTD: public Ui_DlgRef_1Sel4Spin_QTD {}; +} // namespace Ui + #endif // DLGREF_1SEL4SPIN_QTD_H diff --git a/src/DlgRef/DlgRef_1Sel5Spin.cxx b/src/DlgRef/DlgRef_1Sel5Spin.cxx index 1820c25e2..0057594f3 100644 --- a/src/DlgRef/DlgRef_1Sel5Spin.cxx +++ b/src/DlgRef/DlgRef_1Sel5Spin.cxx @@ -27,38 +27,48 @@ // $Header: #include "DlgRef_1Sel5Spin.h" - -#include -#include -#include +#include "DlgRef_SpinBox.h" /* * Constructs a DlgRef_1Sel5Spin which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -DlgRef_1Sel5Spin::DlgRef_1Sel5Spin(QWidget* parent, const char* name, WFlags fl) - :DlgRef_1Sel5Spin_QTD(parent, name, fl) +DlgRef_1Sel5Spin::DlgRef_1Sel5Spin(QWidget* parent, const char* name, Qt::WindowFlags fl) + :QWidget(parent, fl) { - SpinBox1->close(TRUE); - SpinBox2->close(TRUE); - SpinBox3->close(TRUE); - SpinBox4->close(TRUE); - SpinBox5->close(TRUE); + setupUi(this); + + setObjectName(name); + + SpinBox1->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox1->close(); + + SpinBox2->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox2->close(); + + SpinBox3->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox3->close(); + + SpinBox4->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox4->close(); + + SpinBox5->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox5->close(); SpinBox_1 = new DlgRef_SpinBox(GroupBox1, "SpinBox_1"); - Layout2->addWidget(SpinBox_1, 0, 1); + gridLayout3->addWidget(SpinBox_1, 0, 1); SpinBox_2 = new DlgRef_SpinBox(GroupBox1, "SpinBox_2"); - Layout2->addWidget(SpinBox_2, 0, 3); + gridLayout3->addWidget(SpinBox_2, 0, 3); SpinBox_3 = new DlgRef_SpinBox(GroupBox1, "SpinBox_3"); - Layout2->addWidget(SpinBox_3, 2, 1); + gridLayout3->addWidget(SpinBox_3, 2, 1); SpinBox_4 = new DlgRef_SpinBox(GroupBox1, "SpinBox_4"); - Layout2->addWidget(SpinBox_4, 1, 1); + gridLayout3->addWidget(SpinBox_4, 1, 1); SpinBox_5 = new DlgRef_SpinBox(GroupBox1, "SpinBox_5"); - Layout2->addWidget(SpinBox_5, 1, 3); + gridLayout3->addWidget(SpinBox_5, 1, 3); } diff --git a/src/DlgRef/DlgRef_1Sel5Spin.h b/src/DlgRef/DlgRef_1Sel5Spin.h index e1bbefbeb..50d72ac61 100644 --- a/src/DlgRef/DlgRef_1Sel5Spin.h +++ b/src/DlgRef/DlgRef_1Sel5Spin.h @@ -32,14 +32,15 @@ #include "GEOM_DlgRef.hxx" #include "DlgRef_1Sel5Spin_QTD.h" -#include "DlgRef_SpinBox.h" -class GEOM_DLGREF_EXPORT DlgRef_1Sel5Spin : public DlgRef_1Sel5Spin_QTD +class DlgRef_SpinBox; + +class GEOM_DLGREF_EXPORT DlgRef_1Sel5Spin : public QWidget, public Ui::DlgRef_1Sel5Spin_QTD { Q_OBJECT public: - DlgRef_1Sel5Spin( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); + DlgRef_1Sel5Spin( QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = 0 ); ~DlgRef_1Sel5Spin(); DlgRef_SpinBox* SpinBox_1; diff --git a/src/DlgRef/DlgRef_1Sel5Spin_QTD.cxx b/src/DlgRef/DlgRef_1Sel5Spin_QTD.cxx deleted file mode 100644 index 3fd23ef11..000000000 --- a/src/DlgRef/DlgRef_1Sel5Spin_QTD.cxx +++ /dev/null @@ -1,152 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_1Sel5Spin_QTD.ui' -** -** Created: mar nov 18 11:19:14 2003 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_1Sel5Spin_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_1Sel5Spin_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_1Sel5Spin_QTD::DlgRef_1Sel5Spin_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_1Sel5Spin_QTD" ); - resize( 162, 143 ); - setCaption( trUtf8( "DlgRef_1Sel5Spin_QTD" ) ); - DlgRef_1Sel5Spin_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_1Sel5Spin_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - Layout1->addWidget( TextLabel1, 0, 0 ); - - PushButton1 = new QPushButton( GroupBox1, "PushButton1" ); - PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) ); - PushButton1->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton1, 0, 1 ); - - Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); - - SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" ); - SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) ); - - Layout2->addWidget( SpinBox2, 0, 3 ); - - SpinBox3 = new QSpinBox( GroupBox1, "SpinBox3" ); - SpinBox3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox3->sizePolicy().hasHeightForWidth() ) ); - - Layout2->addWidget( SpinBox3, 2, 1 ); - - TextLabel5 = new QLabel( GroupBox1, "TextLabel5" ); - TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) ); - TextLabel5->setText( trUtf8( "TL5" ) ); - - Layout2->addWidget( TextLabel5, 1, 0 ); - - TextLabel3 = new QLabel( GroupBox1, "TextLabel3" ); - TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) ); - TextLabel3->setText( trUtf8( "TL3" ) ); - - Layout2->addWidget( TextLabel3, 0, 2 ); - - TextLabel4 = new QLabel( GroupBox1, "TextLabel4" ); - TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) ); - TextLabel4->setText( trUtf8( "TL4" ) ); - - Layout2->addWidget( TextLabel4, 2, 0 ); - - SpinBox4 = new QSpinBox( GroupBox1, "SpinBox4" ); - SpinBox4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox4->sizePolicy().hasHeightForWidth() ) ); - - Layout2->addWidget( SpinBox4, 1, 1 ); - - SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" ); - SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) ); - - Layout2->addWidget( SpinBox1, 0, 1 ); - - TextLabel6 = new QLabel( GroupBox1, "TextLabel6" ); - TextLabel6->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel6->sizePolicy().hasHeightForWidth() ) ); - TextLabel6->setText( trUtf8( "TL6" ) ); - - Layout2->addWidget( TextLabel6, 1, 2 ); - - TextLabel2 = new QLabel( GroupBox1, "TextLabel2" ); - TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) ); - TextLabel2->setText( trUtf8( "TL2" ) ); - - Layout2->addWidget( TextLabel2, 0, 0 ); - - SpinBox5 = new QSpinBox( GroupBox1, "SpinBox5" ); - SpinBox5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox5->sizePolicy().hasHeightForWidth() ) ); - - Layout2->addWidget( SpinBox5, 1, 3 ); - - Layout1->addMultiCellLayout( Layout2, 1, 1, 0, 2 ); - QSpacerItem* spacer = new QSpacerItem( 0, 120, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout1->addItem( spacer, 2, 2 ); - - LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" ); - - Layout1->addWidget( LineEdit1, 0, 2 ); - - GroupBox1Layout->addLayout( Layout1, 0, 0 ); - - DlgRef_1Sel5Spin_QTDLayout->addWidget( GroupBox1, 0, 0 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_1Sel5Spin_QTD::~DlgRef_1Sel5Spin_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_1Sel5Spin_QTD.h b/src/DlgRef/DlgRef_1Sel5Spin_QTD.h index d5375b19c..0088baab6 100644 --- a/src/DlgRef/DlgRef_1Sel5Spin_QTD.h +++ b/src/DlgRef/DlgRef_1Sel5Spin_QTD.h @@ -1,75 +1,246 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_1Sel5Spin_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_1Sel5Spin_QTD.ui' ** -** Created: mar nov 18 11:19:13 2003 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 12:42:03 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_1SEL5SPIN_QTD_H #define DLGREF_1SEL5SPIN_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QGroupBox; -class QLabel; -class QLineEdit; -class QPushButton; -class QSpinBox; +class Ui_DlgRef_1Sel5Spin_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QLabel *TextLabel1; + QPushButton *PushButton1; + QGridLayout *gridLayout3; + QSpinBox *SpinBox2; + QSpinBox *SpinBox3; + QLabel *TextLabel5; + QLabel *TextLabel3; + QLabel *TextLabel4; + QSpinBox *SpinBox4; + QSpinBox *SpinBox1; + QLabel *TextLabel6; + QLabel *TextLabel2; + QSpinBox *SpinBox5; + QSpacerItem *spacerItem; + QLineEdit *LineEdit1; -class GEOM_DLGREF_EXPORT DlgRef_1Sel5Spin_QTD : public QWidget -{ - Q_OBJECT + void setupUi(QWidget *DlgRef_1Sel5Spin_QTD) + { + DlgRef_1Sel5Spin_QTD->setObjectName(QString::fromUtf8("DlgRef_1Sel5Spin_QTD")); + gridLayout = new QGridLayout(DlgRef_1Sel5Spin_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_1Sel5Spin_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy(static_cast(0), static_cast(0)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy); + TextLabel1->setWordWrap(false); + + gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1); + + PushButton1 = new QPushButton(GroupBox1); + PushButton1->setObjectName(QString::fromUtf8("PushButton1")); + QSizePolicy sizePolicy1(static_cast(0), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth()); + PushButton1->setSizePolicy(sizePolicy1); + + gridLayout2->addWidget(PushButton1, 0, 1, 1, 1); + + gridLayout3 = new QGridLayout(); + gridLayout3->setSpacing(6); + gridLayout3->setMargin(0); + gridLayout3->setObjectName(QString::fromUtf8("gridLayout3")); + SpinBox2 = new QSpinBox(GroupBox1); + SpinBox2->setObjectName(QString::fromUtf8("SpinBox2")); + QSizePolicy sizePolicy2(static_cast(7), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(SpinBox2->sizePolicy().hasHeightForWidth()); + SpinBox2->setSizePolicy(sizePolicy2); + + gridLayout3->addWidget(SpinBox2, 0, 3, 1, 1); + + SpinBox3 = new QSpinBox(GroupBox1); + SpinBox3->setObjectName(QString::fromUtf8("SpinBox3")); + QSizePolicy sizePolicy3(static_cast(7), static_cast(0)); + sizePolicy3.setHorizontalStretch(0); + sizePolicy3.setVerticalStretch(0); + sizePolicy3.setHeightForWidth(SpinBox3->sizePolicy().hasHeightForWidth()); + SpinBox3->setSizePolicy(sizePolicy3); + + gridLayout3->addWidget(SpinBox3, 2, 1, 1, 1); + + TextLabel5 = new QLabel(GroupBox1); + TextLabel5->setObjectName(QString::fromUtf8("TextLabel5")); + QSizePolicy sizePolicy4(static_cast(0), static_cast(0)); + sizePolicy4.setHorizontalStretch(0); + sizePolicy4.setVerticalStretch(0); + sizePolicy4.setHeightForWidth(TextLabel5->sizePolicy().hasHeightForWidth()); + TextLabel5->setSizePolicy(sizePolicy4); + TextLabel5->setWordWrap(false); + + gridLayout3->addWidget(TextLabel5, 1, 0, 1, 1); + + TextLabel3 = new QLabel(GroupBox1); + TextLabel3->setObjectName(QString::fromUtf8("TextLabel3")); + QSizePolicy sizePolicy5(static_cast(0), static_cast(0)); + sizePolicy5.setHorizontalStretch(0); + sizePolicy5.setVerticalStretch(0); + sizePolicy5.setHeightForWidth(TextLabel3->sizePolicy().hasHeightForWidth()); + TextLabel3->setSizePolicy(sizePolicy5); + TextLabel3->setWordWrap(false); + + gridLayout3->addWidget(TextLabel3, 0, 2, 1, 1); + + TextLabel4 = new QLabel(GroupBox1); + TextLabel4->setObjectName(QString::fromUtf8("TextLabel4")); + QSizePolicy sizePolicy6(static_cast(0), static_cast(0)); + sizePolicy6.setHorizontalStretch(0); + sizePolicy6.setVerticalStretch(0); + sizePolicy6.setHeightForWidth(TextLabel4->sizePolicy().hasHeightForWidth()); + TextLabel4->setSizePolicy(sizePolicy6); + TextLabel4->setWordWrap(false); + + gridLayout3->addWidget(TextLabel4, 2, 0, 1, 1); + + SpinBox4 = new QSpinBox(GroupBox1); + SpinBox4->setObjectName(QString::fromUtf8("SpinBox4")); + QSizePolicy sizePolicy7(static_cast(7), static_cast(0)); + sizePolicy7.setHorizontalStretch(0); + sizePolicy7.setVerticalStretch(0); + sizePolicy7.setHeightForWidth(SpinBox4->sizePolicy().hasHeightForWidth()); + SpinBox4->setSizePolicy(sizePolicy7); + + gridLayout3->addWidget(SpinBox4, 1, 1, 1, 1); + + SpinBox1 = new QSpinBox(GroupBox1); + SpinBox1->setObjectName(QString::fromUtf8("SpinBox1")); + QSizePolicy sizePolicy8(static_cast(7), static_cast(0)); + sizePolicy8.setHorizontalStretch(0); + sizePolicy8.setVerticalStretch(0); + sizePolicy8.setHeightForWidth(SpinBox1->sizePolicy().hasHeightForWidth()); + SpinBox1->setSizePolicy(sizePolicy8); + + gridLayout3->addWidget(SpinBox1, 0, 1, 1, 1); + + TextLabel6 = new QLabel(GroupBox1); + TextLabel6->setObjectName(QString::fromUtf8("TextLabel6")); + QSizePolicy sizePolicy9(static_cast(0), static_cast(0)); + sizePolicy9.setHorizontalStretch(0); + sizePolicy9.setVerticalStretch(0); + sizePolicy9.setHeightForWidth(TextLabel6->sizePolicy().hasHeightForWidth()); + TextLabel6->setSizePolicy(sizePolicy9); + TextLabel6->setWordWrap(false); + + gridLayout3->addWidget(TextLabel6, 1, 2, 1, 1); + + TextLabel2 = new QLabel(GroupBox1); + TextLabel2->setObjectName(QString::fromUtf8("TextLabel2")); + QSizePolicy sizePolicy10(static_cast(0), static_cast(0)); + sizePolicy10.setHorizontalStretch(0); + sizePolicy10.setVerticalStretch(0); + sizePolicy10.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth()); + TextLabel2->setSizePolicy(sizePolicy10); + TextLabel2->setWordWrap(false); + + gridLayout3->addWidget(TextLabel2, 0, 0, 1, 1); + + SpinBox5 = new QSpinBox(GroupBox1); + SpinBox5->setObjectName(QString::fromUtf8("SpinBox5")); + QSizePolicy sizePolicy11(static_cast(7), static_cast(0)); + sizePolicy11.setHorizontalStretch(0); + sizePolicy11.setVerticalStretch(0); + sizePolicy11.setHeightForWidth(SpinBox5->sizePolicy().hasHeightForWidth()); + SpinBox5->setSizePolicy(sizePolicy11); + + gridLayout3->addWidget(SpinBox5, 1, 3, 1, 1); + + + gridLayout2->addLayout(gridLayout3, 1, 0, 1, 3); + + spacerItem = new QSpacerItem(0, 120, QSizePolicy::Minimum, QSizePolicy::Expanding); + + gridLayout2->addItem(spacerItem, 2, 2, 1, 1); + + LineEdit1 = new QLineEdit(GroupBox1); + LineEdit1->setObjectName(QString::fromUtf8("LineEdit1")); + + gridLayout2->addWidget(LineEdit1, 0, 2, 1, 1); + + + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + + retranslateUi(DlgRef_1Sel5Spin_QTD); + + QSize size(162, 143); + size = size.expandedTo(DlgRef_1Sel5Spin_QTD->minimumSizeHint()); + DlgRef_1Sel5Spin_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_1Sel5Spin_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_1Sel5Spin_QTD) + { + DlgRef_1Sel5Spin_QTD->setWindowTitle(QApplication::translate("DlgRef_1Sel5Spin_QTD", "DlgRef_1Sel5Spin_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + TextLabel1->setText(QApplication::translate("DlgRef_1Sel5Spin_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + PushButton1->setText(QString()); + TextLabel5->setText(QApplication::translate("DlgRef_1Sel5Spin_QTD", "TL5", 0, QApplication::UnicodeUTF8)); + TextLabel3->setText(QApplication::translate("DlgRef_1Sel5Spin_QTD", "TL3", 0, QApplication::UnicodeUTF8)); + TextLabel4->setText(QApplication::translate("DlgRef_1Sel5Spin_QTD", "TL4", 0, QApplication::UnicodeUTF8)); + TextLabel6->setText(QApplication::translate("DlgRef_1Sel5Spin_QTD", "TL6", 0, QApplication::UnicodeUTF8)); + TextLabel2->setText(QApplication::translate("DlgRef_1Sel5Spin_QTD", "TL2", 0, QApplication::UnicodeUTF8)); + Q_UNUSED(DlgRef_1Sel5Spin_QTD); + } // retranslateUi -public: - DlgRef_1Sel5Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_1Sel5Spin_QTD(); - - QGroupBox* GroupBox1; - QLabel* TextLabel1; - QPushButton* PushButton1; - QSpinBox* SpinBox2; - QSpinBox* SpinBox3; - QLabel* TextLabel5; - QLabel* TextLabel3; - QLabel* TextLabel4; - QSpinBox* SpinBox4; - QSpinBox* SpinBox1; - QLabel* TextLabel6; - QLabel* TextLabel2; - QSpinBox* SpinBox5; - QLineEdit* LineEdit1; - - -protected: - QGridLayout* DlgRef_1Sel5Spin_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* Layout1; - QGridLayout* Layout2; }; +namespace Ui { + class DlgRef_1Sel5Spin_QTD: public Ui_DlgRef_1Sel5Spin_QTD {}; +} // namespace Ui + #endif // DLGREF_1SEL5SPIN_QTD_H diff --git a/src/DlgRef/DlgRef_1Sel_Ext.h b/src/DlgRef/DlgRef_1Sel_Ext.h index ff29a6216..540259a42 100644 --- a/src/DlgRef/DlgRef_1Sel_Ext.h +++ b/src/DlgRef/DlgRef_1Sel_Ext.h @@ -34,16 +34,16 @@ class QGridLayout; -class GEOM_DLGREF_EXPORT DlgRef_1Sel_Ext : public DlgRef_1Sel_QTD +class GEOM_DLGREF_EXPORT DlgRef_1Sel_Ext : public QWidget, public Ui::DlgRef_1Sel_QTD { Q_OBJECT public: - DlgRef_1Sel_Ext( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ) - : DlgRef_1Sel_QTD( parent, name, fl ) {}; + DlgRef_1Sel_Ext( QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = 0 ) + : QWidget( parent, fl ) { setupUi(this); setObjectName(name); }; ~DlgRef_1Sel_Ext() {}; - QGridLayout* getGroupBoxLayout() { return GroupBox1Layout; } + QGridLayout* getGroupBoxLayout() { return gridLayout1; } }; #endif // DlgRef_1Sel_Ext_H diff --git a/src/DlgRef/DlgRef_1Sel_QTD.cxx b/src/DlgRef/DlgRef_1Sel_QTD.cxx deleted file mode 100644 index 0c2220e53..000000000 --- a/src/DlgRef/DlgRef_1Sel_QTD.cxx +++ /dev/null @@ -1,93 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_1Sel_QTD.ui' -** -** Created: lun sep 22 17:38:06 2003 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_1Sel_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_1Sel_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_1Sel_QTD::DlgRef_1Sel_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_1Sel_QTD" ); - resize( 129, 57 ); - setCaption( trUtf8( "DlgRef_1Sel_QTD" ) ); - DlgRef_1Sel_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_1Sel_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, GroupBox1->sizePolicy().hasHeightForWidth() ) ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); - - PushButton1 = new QPushButton( GroupBox1, "PushButton1" ); - PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) ); - PushButton1->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton1, 0, 1 ); - QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout1->addItem( spacer, 1, 2 ); - - LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" ); - - Layout1->addWidget( LineEdit1, 0, 2 ); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - Layout1->addWidget( TextLabel1, 0, 0 ); - - GroupBox1Layout->addLayout( Layout1, 0, 0 ); - - DlgRef_1Sel_QTDLayout->addWidget( GroupBox1, 0, 0 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_1Sel_QTD::~DlgRef_1Sel_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_1Sel_QTD.h b/src/DlgRef/DlgRef_1Sel_QTD.h index 4fce28453..f0d93e40d 100644 --- a/src/DlgRef/DlgRef_1Sel_QTD.h +++ b/src/DlgRef/DlgRef_1Sel_QTD.h @@ -1,63 +1,122 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_1Sel_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_1Sel_QTD.ui' ** -** Created: lun sep 22 17:38:05 2003 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 12:03:33 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_1SEL_QTD_H #define DLGREF_1SEL_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QGroupBox; -class QLabel; -class QLineEdit; -class QPushButton; +class Ui_DlgRef_1Sel_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QPushButton *PushButton1; + QSpacerItem *spacerItem; + QLineEdit *LineEdit1; + QLabel *TextLabel1; -class GEOM_DLGREF_EXPORT DlgRef_1Sel_QTD : public QWidget -{ - Q_OBJECT + void setupUi(QWidget *DlgRef_1Sel_QTD) + { + DlgRef_1Sel_QTD->setObjectName(QString::fromUtf8("DlgRef_1Sel_QTD")); + gridLayout = new QGridLayout(DlgRef_1Sel_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_1Sel_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + QSizePolicy sizePolicy(static_cast(7), static_cast(7)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(GroupBox1->sizePolicy().hasHeightForWidth()); + GroupBox1->setSizePolicy(sizePolicy); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + PushButton1 = new QPushButton(GroupBox1); + PushButton1->setObjectName(QString::fromUtf8("PushButton1")); + QSizePolicy sizePolicy1(static_cast(0), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth()); + PushButton1->setSizePolicy(sizePolicy1); -public: - DlgRef_1Sel_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_1Sel_QTD(); + gridLayout2->addWidget(PushButton1, 0, 1, 1, 1); + + spacerItem = new QSpacerItem(0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding); + + gridLayout2->addItem(spacerItem, 1, 2, 1, 1); + + LineEdit1 = new QLineEdit(GroupBox1); + LineEdit1->setObjectName(QString::fromUtf8("LineEdit1")); + + gridLayout2->addWidget(LineEdit1, 0, 2, 1, 1); + + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy2(static_cast(0), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy2); + TextLabel1->setWordWrap(false); + + gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1); - QGroupBox* GroupBox1; - QPushButton* PushButton1; - QLineEdit* LineEdit1; - QLabel* TextLabel1; + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + + retranslateUi(DlgRef_1Sel_QTD); + + QSize size(129, 57); + size = size.expandedTo(DlgRef_1Sel_QTD->minimumSizeHint()); + DlgRef_1Sel_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_1Sel_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_1Sel_QTD) + { + DlgRef_1Sel_QTD->setWindowTitle(QApplication::translate("DlgRef_1Sel_QTD", "DlgRef_1Sel_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + PushButton1->setText(QString()); + TextLabel1->setText(QApplication::translate("DlgRef_1Sel_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + Q_UNUSED(DlgRef_1Sel_QTD); + } // retranslateUi -protected: - QGridLayout* DlgRef_1Sel_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* Layout1; }; +namespace Ui { + class DlgRef_1Sel_QTD: public Ui_DlgRef_1Sel_QTD {}; +} // namespace Ui + #endif // DLGREF_1SEL_QTD_H diff --git a/src/DlgRef/DlgRef_1Spin.cxx b/src/DlgRef/DlgRef_1Spin.cxx index 00244bc79..3d48bec93 100644 --- a/src/DlgRef/DlgRef_1Spin.cxx +++ b/src/DlgRef/DlgRef_1Spin.cxx @@ -27,22 +27,24 @@ // $Header: #include "DlgRef_1Spin.h" - -#include -#include -#include +#include "DlgRef_SpinBox.h" /* * Constructs a DlgRef_1Spin which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -DlgRef_1Spin::DlgRef_1Spin(QWidget* parent, const char* name, WFlags fl) - :DlgRef_1Spin_QTD(parent, name, fl) +DlgRef_1Spin::DlgRef_1Spin(QWidget* parent, const char* name, Qt::WindowFlags fl) + :QWidget(parent, fl) { - SpinBox1->close(TRUE); + setupUi(this); + + setObjectName(name); + + SpinBox1->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox1->close(); SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX"); - Layout1->addWidget(SpinBox_DX, 0, 1); + gridLayout2->addWidget(SpinBox_DX, 0, 1); } diff --git a/src/DlgRef/DlgRef_1Spin.h b/src/DlgRef/DlgRef_1Spin.h index 8acaa2680..427fd2642 100644 --- a/src/DlgRef/DlgRef_1Spin.h +++ b/src/DlgRef/DlgRef_1Spin.h @@ -32,14 +32,15 @@ #include "GEOM_DlgRef.hxx" #include "DlgRef_1Spin_QTD.h" -#include "DlgRef_SpinBox.h" -class GEOM_DLGREF_EXPORT DlgRef_1Spin : public DlgRef_1Spin_QTD +class DlgRef_SpinBox; + +class GEOM_DLGREF_EXPORT DlgRef_1Spin : public QWidget, public Ui::DlgRef_1Spin_QTD { Q_OBJECT public: - DlgRef_1Spin(QWidget* parent = 0, const char* name = 0, WFlags fl = 0); + DlgRef_1Spin(QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = 0); ~DlgRef_1Spin(); DlgRef_SpinBox* SpinBox_DX; diff --git a/src/DlgRef/DlgRef_1Spin_QTD.cxx b/src/DlgRef/DlgRef_1Spin_QTD.cxx deleted file mode 100644 index a028f91d9..000000000 --- a/src/DlgRef/DlgRef_1Spin_QTD.cxx +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_1Spin_QTD.ui' -** -** Created: jeu sep 25 12:22:29 2003 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_1Spin_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_1Spin_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_1Spin_QTD::DlgRef_1Spin_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_1Spin_QTD" ); - resize( 124, 55 ); - setCaption( trUtf8( "DlgRef_1Spin_QTD" ) ); - DlgRef_1Spin_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_1Spin_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); - QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout1->addItem( spacer, 3, 1 ); - - SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" ); - SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( SpinBox1, 0, 1 ); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - Layout1->addWidget( TextLabel1, 0, 0 ); - - GroupBox1Layout->addLayout( Layout1, 0, 0 ); - - DlgRef_1Spin_QTDLayout->addWidget( GroupBox1, 0, 0 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_1Spin_QTD::~DlgRef_1Spin_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_1Spin_QTD.h b/src/DlgRef/DlgRef_1Spin_QTD.h index 25177e9e5..12a4667de 100644 --- a/src/DlgRef/DlgRef_1Spin_QTD.h +++ b/src/DlgRef/DlgRef_1Spin_QTD.h @@ -1,61 +1,109 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_1Spin_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_1Spin_QTD.ui' ** -** Created: jeu sep 25 12:22:29 2003 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 14:44:21 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_1SPIN_QTD_H #define DLGREF_1SPIN_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +class Ui_DlgRef_1Spin_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QSpacerItem *spacerItem; + QSpinBox *SpinBox1; + QLabel *TextLabel1; -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QGroupBox; -class QLabel; -class QSpinBox; + void setupUi(QWidget *DlgRef_1Spin_QTD) + { + DlgRef_1Spin_QTD->setObjectName(QString::fromUtf8("DlgRef_1Spin_QTD")); + gridLayout = new QGridLayout(DlgRef_1Spin_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_1Spin_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + spacerItem = new QSpacerItem(0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding); -class GEOM_DLGREF_EXPORT DlgRef_1Spin_QTD : public QWidget -{ - Q_OBJECT + gridLayout2->addItem(spacerItem, 3, 1, 1, 1); + + SpinBox1 = new QSpinBox(GroupBox1); + SpinBox1->setObjectName(QString::fromUtf8("SpinBox1")); + QSizePolicy sizePolicy(static_cast(7), static_cast(0)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(SpinBox1->sizePolicy().hasHeightForWidth()); + SpinBox1->setSizePolicy(sizePolicy); + + gridLayout2->addWidget(SpinBox1, 0, 1, 1, 1); + + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy1(static_cast(0), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy1); + TextLabel1->setWordWrap(false); + + gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1); -public: - DlgRef_1Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_1Spin_QTD(); - QGroupBox* GroupBox1; - QSpinBox* SpinBox1; - QLabel* TextLabel1; + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); -protected: - QGridLayout* DlgRef_1Spin_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* Layout1; + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + + retranslateUi(DlgRef_1Spin_QTD); + + QSize size(124, 55); + size = size.expandedTo(DlgRef_1Spin_QTD->minimumSizeHint()); + DlgRef_1Spin_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_1Spin_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_1Spin_QTD) + { + DlgRef_1Spin_QTD->setWindowTitle(QApplication::translate("DlgRef_1Spin_QTD", "DlgRef_1Spin_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + TextLabel1->setText(QApplication::translate("DlgRef_1Spin_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + Q_UNUSED(DlgRef_1Spin_QTD); + } // retranslateUi + }; +namespace Ui { + class DlgRef_1Spin_QTD: public Ui_DlgRef_1Spin_QTD {}; +} // namespace Ui + #endif // DLGREF_1SPIN_QTD_H diff --git a/src/DlgRef/DlgRef_2Sel1List_QTD.cxx b/src/DlgRef/DlgRef_2Sel1List_QTD.cxx deleted file mode 100644 index ec428c3fe..000000000 --- a/src/DlgRef/DlgRef_2Sel1List_QTD.cxx +++ /dev/null @@ -1,125 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_4Sel1List_QTD.ui' -** -** Created: lun oct 31 17:21:04 2006 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_2Sel1List_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_2Sel1List_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_2Sel1List_QTD::DlgRef_2Sel1List_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_2Sel1List_QTD" ); - resize( 129, 175 ); - setCaption( trUtf8( "DlgRef_2Sel1List_QTD" ) ); - DlgRef_2Sel1List_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_2Sel1List_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - Layout1->addWidget( TextLabel1, 0, 0 ); - - PushButton1 = new QPushButton( GroupBox1, "PushButton1" ); - PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) ); - PushButton1->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton1, 0, 1 ); - - LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" ); - - Layout1->addWidget( LineEdit1, 0, 2 ); - - - TextLabel2 = new QLabel( GroupBox1, "TextLabel2" ); - TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) ); - TextLabel2->setText( trUtf8( "TL2" ) ); - - Layout1->addWidget( TextLabel2, 1, 0 ); - - PushButton2 = new QPushButton( GroupBox1, "PushButton2" ); - PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) ); - PushButton2->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton2, 1, 1 ); - - LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" ); - - Layout1->addWidget( LineEdit2, 1, 2 ); - - - TextLabel3 = new QLabel( GroupBox1, "TextLabel3" ); - TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) ); - TextLabel3->setText( trUtf8( "TL3" ) ); - - Layout1->addMultiCellWidget( TextLabel3, 2, 2, 0, 1 ); - - ComboBox1 = new QComboBox( FALSE, GroupBox1, "ComboBox1" ); - ComboBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, ComboBox1->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( ComboBox1, 2, 2 ); - - - GroupBox1Layout->addLayout( Layout1, 0, 0 ); - - DlgRef_2Sel1List_QTDLayout->addWidget( GroupBox1, 0, 0 ); - - QSpacerItem* spacer = new QSpacerItem( 0, 80, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout1->addItem( spacer, 5, 2 ); - -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_2Sel1List_QTD::~DlgRef_2Sel1List_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_2Sel1List_QTD.h b/src/DlgRef/DlgRef_2Sel1List_QTD.h index a5665797e..c1bef3241 100644 --- a/src/DlgRef/DlgRef_2Sel1List_QTD.h +++ b/src/DlgRef/DlgRef_2Sel1List_QTD.h @@ -1,69 +1,173 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_2Sel1List_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_2Sel1List_QTD.ui' ** -** Created: lun oct 31 17:21:03 2006 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 18:25:46 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_2SEL1LIST_QTD_H #define DLGREF_2SEL1LIST_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +class Ui_DlgRef_2Sel1List_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QLineEdit *LineEdit2; + QPushButton *PushButton1; + QPushButton *PushButton2; + QLabel *TextLabel1; + QSpacerItem *spacerItem; + QLineEdit *LineEdit1; + QLabel *TextLabel2; + QComboBox *ComboBox1; + QLabel *TextLabel3; -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QComboBox; -class QGroupBox; -class QLabel; -class QLineEdit; -class QPushButton; + void setupUi(QWidget *DlgRef_2Sel1List_QTD) + { + DlgRef_2Sel1List_QTD->setObjectName(QString::fromUtf8("DlgRef_2Sel1List_QTD")); + gridLayout = new QGridLayout(DlgRef_2Sel1List_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_2Sel1List_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + LineEdit2 = new QLineEdit(GroupBox1); + LineEdit2->setObjectName(QString::fromUtf8("LineEdit2")); -class GEOM_DLGREF_EXPORT DlgRef_2Sel1List_QTD : public QWidget -{ - Q_OBJECT + gridLayout2->addWidget(LineEdit2, 1, 2, 1, 1); + + PushButton1 = new QPushButton(GroupBox1); + PushButton1->setObjectName(QString::fromUtf8("PushButton1")); + QSizePolicy sizePolicy(static_cast(0), static_cast(0)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth()); + PushButton1->setSizePolicy(sizePolicy); + + gridLayout2->addWidget(PushButton1, 0, 1, 1, 1); + + PushButton2 = new QPushButton(GroupBox1); + PushButton2->setObjectName(QString::fromUtf8("PushButton2")); + QSizePolicy sizePolicy1(static_cast(0), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(PushButton2->sizePolicy().hasHeightForWidth()); + PushButton2->setSizePolicy(sizePolicy1); + + gridLayout2->addWidget(PushButton2, 1, 1, 1, 1); + + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy2(static_cast(0), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy2); + TextLabel1->setWordWrap(false); + + gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1); + + spacerItem = new QSpacerItem(0, 80, QSizePolicy::Minimum, QSizePolicy::Expanding); + + gridLayout2->addItem(spacerItem, 3, 2, 1, 1); + + LineEdit1 = new QLineEdit(GroupBox1); + LineEdit1->setObjectName(QString::fromUtf8("LineEdit1")); + + gridLayout2->addWidget(LineEdit1, 0, 2, 1, 1); + + TextLabel2 = new QLabel(GroupBox1); + TextLabel2->setObjectName(QString::fromUtf8("TextLabel2")); + QSizePolicy sizePolicy3(static_cast(0), static_cast(0)); + sizePolicy3.setHorizontalStretch(0); + sizePolicy3.setVerticalStretch(0); + sizePolicy3.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth()); + TextLabel2->setSizePolicy(sizePolicy3); + TextLabel2->setWordWrap(false); + + gridLayout2->addWidget(TextLabel2, 1, 0, 1, 1); + + ComboBox1 = new QComboBox(GroupBox1); + ComboBox1->setObjectName(QString::fromUtf8("ComboBox1")); + QSizePolicy sizePolicy4(static_cast(7), static_cast(0)); + sizePolicy4.setHorizontalStretch(0); + sizePolicy4.setVerticalStretch(0); + sizePolicy4.setHeightForWidth(ComboBox1->sizePolicy().hasHeightForWidth()); + ComboBox1->setSizePolicy(sizePolicy4); + + gridLayout2->addWidget(ComboBox1, 2, 2, 1, 1); + + TextLabel3 = new QLabel(GroupBox1); + TextLabel3->setObjectName(QString::fromUtf8("TextLabel3")); + QSizePolicy sizePolicy5(static_cast(0), static_cast(0)); + sizePolicy5.setHorizontalStretch(0); + sizePolicy5.setVerticalStretch(0); + sizePolicy5.setHeightForWidth(TextLabel3->sizePolicy().hasHeightForWidth()); + TextLabel3->setSizePolicy(sizePolicy5); + TextLabel3->setWordWrap(false); + + gridLayout2->addWidget(TextLabel3, 2, 0, 1, 2); + + + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + + retranslateUi(DlgRef_2Sel1List_QTD); + + QSize size(129, 175); + size = size.expandedTo(DlgRef_2Sel1List_QTD->minimumSizeHint()); + DlgRef_2Sel1List_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_2Sel1List_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_2Sel1List_QTD) + { + DlgRef_2Sel1List_QTD->setWindowTitle(QApplication::translate("DlgRef_2Sel1List_QTD", "DlgRef_2Sel1List_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + PushButton1->setText(QString()); + PushButton2->setText(QString()); + TextLabel1->setText(QApplication::translate("DlgRef_2Sel1List_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + TextLabel2->setText(QApplication::translate("DlgRef_2Sel1List_QTD", "TL2", 0, QApplication::UnicodeUTF8)); + TextLabel3->setText(QApplication::translate("DlgRef_2Sel1List_QTD", "TL3", 0, QApplication::UnicodeUTF8)); + Q_UNUSED(DlgRef_2Sel1List_QTD); + } // retranslateUi -public: - DlgRef_2Sel1List_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_2Sel1List_QTD(); - - QGroupBox* GroupBox1; - QLineEdit* LineEdit2; - QPushButton* PushButton1; - QPushButton* PushButton2; - QLabel* TextLabel1; - QLineEdit* LineEdit1; - QLabel* TextLabel2; - QComboBox* ComboBox1; - QLabel* TextLabel3; - - -protected: - QGridLayout* DlgRef_2Sel1List_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* Layout1; }; +namespace Ui { + class DlgRef_2Sel1List_QTD: public Ui_DlgRef_2Sel1List_QTD {}; +} // namespace Ui + #endif // DLGREF_2SEL1LIST_QTD_H diff --git a/src/DlgRef/DlgRef_2Sel1Spin.cxx b/src/DlgRef/DlgRef_2Sel1Spin.cxx index 141e744fd..a1067985c 100644 --- a/src/DlgRef/DlgRef_2Sel1Spin.cxx +++ b/src/DlgRef/DlgRef_2Sel1Spin.cxx @@ -27,22 +27,23 @@ // $Header: #include "DlgRef_2Sel1Spin.h" - -#include -#include -#include -#include +#include "DlgRef_SpinBox.h" /* * Constructs a DlgRef_2Sel1Spin which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -DlgRef_2Sel1Spin::DlgRef_2Sel1Spin(QWidget* parent, const char* name, WFlags fl) - :DlgRef_2Sel1Spin_QTD(parent, name, fl) +DlgRef_2Sel1Spin::DlgRef_2Sel1Spin(QWidget* parent, const char* name, Qt::WindowFlags fl) + :QWidget(parent, fl) { - SpinBox1->close(TRUE); + setupUi(this); + + setObjectName(name); + + SpinBox1->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox1->close(); SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX"); - Layout2->addWidget(SpinBox_DX, 0, 1); + gridLayout3->addWidget(SpinBox_DX, 0, 1); // PAL 6532 PushButton1->setAutoDefault( false ); diff --git a/src/DlgRef/DlgRef_2Sel1Spin.h b/src/DlgRef/DlgRef_2Sel1Spin.h index 8e401687f..da7380cd4 100644 --- a/src/DlgRef/DlgRef_2Sel1Spin.h +++ b/src/DlgRef/DlgRef_2Sel1Spin.h @@ -32,14 +32,15 @@ #include "GEOM_DlgRef.hxx" #include "DlgRef_2Sel1Spin_QTD.h" -#include "DlgRef_SpinBox.h" -class GEOM_DLGREF_EXPORT DlgRef_2Sel1Spin : public DlgRef_2Sel1Spin_QTD +class DlgRef_SpinBox; + +class GEOM_DLGREF_EXPORT DlgRef_2Sel1Spin : public QWidget, public Ui::DlgRef_2Sel1Spin_QTD { Q_OBJECT public: - DlgRef_2Sel1Spin( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); + DlgRef_2Sel1Spin( QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = 0 ); ~DlgRef_2Sel1Spin(); DlgRef_SpinBox* SpinBox_DX; diff --git a/src/DlgRef/DlgRef_2Sel1Spin2Check.cxx b/src/DlgRef/DlgRef_2Sel1Spin2Check.cxx index 0184c15e4..14233bda1 100644 --- a/src/DlgRef/DlgRef_2Sel1Spin2Check.cxx +++ b/src/DlgRef/DlgRef_2Sel1Spin2Check.cxx @@ -27,21 +27,23 @@ // $Header: #include "DlgRef_2Sel1Spin2Check.h" - -#include -#include -#include +#include "DlgRef_SpinBox.h" /* * Constructs a DlgRef_2Sel1Spin2Check which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -DlgRef_2Sel1Spin2Check::DlgRef_2Sel1Spin2Check(QWidget* parent, const char* name, WFlags fl) - :DlgRef_2Sel1Spin2Check_QTD(parent, name, fl) +DlgRef_2Sel1Spin2Check::DlgRef_2Sel1Spin2Check(QWidget* parent, const char* name, Qt::WindowFlags fl) + :QWidget(parent, fl) { - SpinBox1->close(TRUE); + setupUi(this); + + setObjectName(name); + + SpinBox1->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox1->close(); SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX"); - Layout1->addWidget(SpinBox_DX, 2, 2); + gridLayout2->addWidget(SpinBox_DX, 2, 2); } diff --git a/src/DlgRef/DlgRef_2Sel1Spin2Check.h b/src/DlgRef/DlgRef_2Sel1Spin2Check.h index 227dcee67..236f88a2a 100644 --- a/src/DlgRef/DlgRef_2Sel1Spin2Check.h +++ b/src/DlgRef/DlgRef_2Sel1Spin2Check.h @@ -32,14 +32,15 @@ #include "GEOM_DlgRef.hxx" #include "DlgRef_2Sel1Spin2Check_QTD.h" -#include "DlgRef_SpinBox.h" -class GEOM_DLGREF_EXPORT DlgRef_2Sel1Spin2Check : public DlgRef_2Sel1Spin2Check_QTD +class DlgRef_SpinBox; + +class GEOM_DLGREF_EXPORT DlgRef_2Sel1Spin2Check : public QWidget, public Ui::DlgRef_2Sel1Spin2Check_QTD { Q_OBJECT public: - DlgRef_2Sel1Spin2Check(QWidget* parent = 0, const char* name = 0, WFlags fl = 0); + DlgRef_2Sel1Spin2Check(QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = 0); ~DlgRef_2Sel1Spin2Check(); DlgRef_SpinBox* SpinBox_DX; diff --git a/src/DlgRef/DlgRef_2Sel1Spin2Check_QTD.cxx b/src/DlgRef/DlgRef_2Sel1Spin2Check_QTD.cxx deleted file mode 100644 index 35fd8b355..000000000 --- a/src/DlgRef/DlgRef_2Sel1Spin2Check_QTD.cxx +++ /dev/null @@ -1,139 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_2Sel1Spin2Check_QTD.ui' -** -** Created: Fri Aug 13 15:32:26 2004 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_2Sel1Spin2Check_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_2Sel1Spin2Check_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_2Sel1Spin2Check_QTD::DlgRef_2Sel1Spin2Check_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_2Sel1Spin2Check_QTD" ); - resize( 256, 139 ); - setCaption( trUtf8( "DlgRef_2Sel1Spin2Check_QTD" ) ); - DlgRef_2Sel1Spin2Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_2Sel1Spin2Check_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); - - TextLabel2 = new QLabel( GroupBox1, "TextLabel2" ); - TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) ); - TextLabel2->setText( trUtf8( "TL2" ) ); - - Layout1->addWidget( TextLabel2, 1, 0 ); - - PushButton1 = new QPushButton( GroupBox1, "PushButton1" ); - PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) ); - PushButton1->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton1, 0, 1 ); - - TextLabel3 = new QLabel( GroupBox1, "TextLabel3" ); - TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) ); - TextLabel3->setText( trUtf8( "TL3" ) ); - - Layout1->addWidget( TextLabel3, 2, 0 ); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - Layout1->addWidget( TextLabel1, 0, 0 ); - QSpacerItem* spacer = new QSpacerItem( 0, 316, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout1->addItem( spacer, 4, 2 ); - - CheckButton2 = new QCheckBox( GroupBox1, "CheckButton2" ); - CheckButton2->setText( trUtf8( "" ) ); - - Layout1->addWidget( CheckButton2, 2, 3 ); - - LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" ); - - Layout1->addMultiCellWidget( LineEdit2, 1, 1, 2, 3 ); - - PushButton2 = new QPushButton( GroupBox1, "PushButton2" ); - PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) ); - PushButton2->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton2, 1, 1 ); - - LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" ); - - Layout1->addMultiCellWidget( LineEdit1, 0, 0, 2, 3 ); - - CheckButton1 = new QCheckBox( GroupBox1, "CheckButton1" ); - CheckButton1->setText( trUtf8( "" ) ); - - Layout1->addMultiCellWidget( CheckButton1, 3, 3, 0, 3 ); - - SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" ); - SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( SpinBox1, 2, 2 ); - - GroupBox1Layout->addLayout( Layout1, 0, 0 ); - - DlgRef_2Sel1Spin2Check_QTDLayout->addWidget( GroupBox1, 0, 0 ); - - // tab order - setTabOrder( PushButton1, LineEdit1 ); - setTabOrder( LineEdit1, PushButton2 ); - setTabOrder( PushButton2, LineEdit2 ); - setTabOrder( LineEdit2, SpinBox1 ); - setTabOrder( SpinBox1, CheckButton2 ); - setTabOrder( CheckButton2, CheckButton1 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_2Sel1Spin2Check_QTD::~DlgRef_2Sel1Spin2Check_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_2Sel1Spin2Check_QTD.h b/src/DlgRef/DlgRef_2Sel1Spin2Check_QTD.h index 617fd445a..eb078ef07 100644 --- a/src/DlgRef/DlgRef_2Sel1Spin2Check_QTD.h +++ b/src/DlgRef/DlgRef_2Sel1Spin2Check_QTD.h @@ -1,72 +1,194 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_2Sel1Spin2Check_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_2Sel1Spin2Check_QTD.ui' ** -** Created: Fri Aug 13 15:32:26 2004 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 12:58:35 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_2SEL1SPIN2CHECK_QTD_H #define DLGREF_2SEL1SPIN2CHECK_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QCheckBox; -class QGroupBox; -class QLabel; -class QLineEdit; -class QPushButton; -class QSpinBox; +class Ui_DlgRef_2Sel1Spin2Check_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QLabel *TextLabel2; + QPushButton *PushButton1; + QLabel *TextLabel3; + QLabel *TextLabel1; + QSpacerItem *spacerItem; + QCheckBox *CheckButton2; + QLineEdit *LineEdit2; + QPushButton *PushButton2; + QLineEdit *LineEdit1; + QCheckBox *CheckButton1; + QSpinBox *SpinBox1; -class GEOM_DLGREF_EXPORT DlgRef_2Sel1Spin2Check_QTD : public QWidget -{ - Q_OBJECT + void setupUi(QWidget *DlgRef_2Sel1Spin2Check_QTD) + { + DlgRef_2Sel1Spin2Check_QTD->setObjectName(QString::fromUtf8("DlgRef_2Sel1Spin2Check_QTD")); + gridLayout = new QGridLayout(DlgRef_2Sel1Spin2Check_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_2Sel1Spin2Check_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + TextLabel2 = new QLabel(GroupBox1); + TextLabel2->setObjectName(QString::fromUtf8("TextLabel2")); + QSizePolicy sizePolicy(static_cast(0), static_cast(0)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth()); + TextLabel2->setSizePolicy(sizePolicy); + TextLabel2->setWordWrap(false); + + gridLayout2->addWidget(TextLabel2, 1, 0, 1, 1); + + PushButton1 = new QPushButton(GroupBox1); + PushButton1->setObjectName(QString::fromUtf8("PushButton1")); + QSizePolicy sizePolicy1(static_cast(0), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth()); + PushButton1->setSizePolicy(sizePolicy1); + + gridLayout2->addWidget(PushButton1, 0, 1, 1, 1); + + TextLabel3 = new QLabel(GroupBox1); + TextLabel3->setObjectName(QString::fromUtf8("TextLabel3")); + QSizePolicy sizePolicy2(static_cast(0), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(TextLabel3->sizePolicy().hasHeightForWidth()); + TextLabel3->setSizePolicy(sizePolicy2); + TextLabel3->setWordWrap(false); + + gridLayout2->addWidget(TextLabel3, 2, 0, 1, 1); + + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy3(static_cast(0), static_cast(0)); + sizePolicy3.setHorizontalStretch(0); + sizePolicy3.setVerticalStretch(0); + sizePolicy3.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy3); + TextLabel1->setWordWrap(false); + + gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1); + + spacerItem = new QSpacerItem(0, 316, QSizePolicy::Minimum, QSizePolicy::Expanding); + + gridLayout2->addItem(spacerItem, 4, 2, 1, 1); + + CheckButton2 = new QCheckBox(GroupBox1); + CheckButton2->setObjectName(QString::fromUtf8("CheckButton2")); + + gridLayout2->addWidget(CheckButton2, 2, 3, 1, 1); + + LineEdit2 = new QLineEdit(GroupBox1); + LineEdit2->setObjectName(QString::fromUtf8("LineEdit2")); + + gridLayout2->addWidget(LineEdit2, 1, 2, 1, 2); + + PushButton2 = new QPushButton(GroupBox1); + PushButton2->setObjectName(QString::fromUtf8("PushButton2")); + QSizePolicy sizePolicy4(static_cast(0), static_cast(0)); + sizePolicy4.setHorizontalStretch(0); + sizePolicy4.setVerticalStretch(0); + sizePolicy4.setHeightForWidth(PushButton2->sizePolicy().hasHeightForWidth()); + PushButton2->setSizePolicy(sizePolicy4); + + gridLayout2->addWidget(PushButton2, 1, 1, 1, 1); + + LineEdit1 = new QLineEdit(GroupBox1); + LineEdit1->setObjectName(QString::fromUtf8("LineEdit1")); + + gridLayout2->addWidget(LineEdit1, 0, 2, 1, 2); + + CheckButton1 = new QCheckBox(GroupBox1); + CheckButton1->setObjectName(QString::fromUtf8("CheckButton1")); + + gridLayout2->addWidget(CheckButton1, 3, 0, 1, 4); + + SpinBox1 = new QSpinBox(GroupBox1); + SpinBox1->setObjectName(QString::fromUtf8("SpinBox1")); + QSizePolicy sizePolicy5(static_cast(7), static_cast(0)); + sizePolicy5.setHorizontalStretch(0); + sizePolicy5.setVerticalStretch(0); + sizePolicy5.setHeightForWidth(SpinBox1->sizePolicy().hasHeightForWidth()); + SpinBox1->setSizePolicy(sizePolicy5); + + gridLayout2->addWidget(SpinBox1, 2, 2, 1, 1); + + + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + QWidget::setTabOrder(PushButton1, LineEdit1); + QWidget::setTabOrder(LineEdit1, PushButton2); + QWidget::setTabOrder(PushButton2, LineEdit2); + QWidget::setTabOrder(LineEdit2, SpinBox1); + QWidget::setTabOrder(SpinBox1, CheckButton2); + QWidget::setTabOrder(CheckButton2, CheckButton1); + + retranslateUi(DlgRef_2Sel1Spin2Check_QTD); + + QSize size(256, 139); + size = size.expandedTo(DlgRef_2Sel1Spin2Check_QTD->minimumSizeHint()); + DlgRef_2Sel1Spin2Check_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_2Sel1Spin2Check_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_2Sel1Spin2Check_QTD) + { + DlgRef_2Sel1Spin2Check_QTD->setWindowTitle(QApplication::translate("DlgRef_2Sel1Spin2Check_QTD", "DlgRef_2Sel1Spin2Check_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + TextLabel2->setText(QApplication::translate("DlgRef_2Sel1Spin2Check_QTD", "TL2", 0, QApplication::UnicodeUTF8)); + PushButton1->setText(QString()); + TextLabel3->setText(QApplication::translate("DlgRef_2Sel1Spin2Check_QTD", "TL3", 0, QApplication::UnicodeUTF8)); + TextLabel1->setText(QApplication::translate("DlgRef_2Sel1Spin2Check_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + CheckButton2->setText(QString()); + PushButton2->setText(QString()); + CheckButton1->setText(QString()); + Q_UNUSED(DlgRef_2Sel1Spin2Check_QTD); + } // retranslateUi -public: - DlgRef_2Sel1Spin2Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_2Sel1Spin2Check_QTD(); - - QGroupBox* GroupBox1; - QLabel* TextLabel2; - QPushButton* PushButton1; - QLabel* TextLabel3; - QLabel* TextLabel1; - QCheckBox* CheckButton2; - QLineEdit* LineEdit2; - QPushButton* PushButton2; - QLineEdit* LineEdit1; - QCheckBox* CheckButton1; - QSpinBox* SpinBox1; - - -protected: - QGridLayout* DlgRef_2Sel1Spin2Check_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* Layout1; }; +namespace Ui { + class DlgRef_2Sel1Spin2Check_QTD: public Ui_DlgRef_2Sel1Spin2Check_QTD {}; +} // namespace Ui + #endif // DLGREF_2SEL1SPIN2CHECK_QTD_H diff --git a/src/DlgRef/DlgRef_2Sel1Spin_QTD.cxx b/src/DlgRef/DlgRef_2Sel1Spin_QTD.cxx deleted file mode 100644 index 0e649c958..000000000 --- a/src/DlgRef/DlgRef_2Sel1Spin_QTD.cxx +++ /dev/null @@ -1,132 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_2Sel1Spin_QTD.ui' -** -** Created: Tue Jun 1 16:15:00 2004 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_2Sel1Spin_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_2Sel1Spin_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_2Sel1Spin_QTD::DlgRef_2Sel1Spin_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_2Sel1Spin_QTD" ); - resize( 163, 122 ); - setCaption( trUtf8( "DlgRef_2Sel1Spin_QTD" ) ); - DlgRef_2Sel1Spin_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_2Sel1Spin_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); - - LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" ); - - Layout1->addWidget( LineEdit1, 0, 2 ); - - PushButton2 = new QPushButton( GroupBox1, "PushButton2" ); - PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) ); - PushButton2->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton2, 1, 1 ); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - Layout1->addWidget( TextLabel1, 0, 0 ); - - LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" ); - - Layout1->addWidget( LineEdit2, 1, 2 ); - - PushButton1 = new QPushButton( GroupBox1, "PushButton1" ); - PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) ); - PushButton1->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton1, 0, 1 ); - - TextLabel2 = new QLabel( GroupBox1, "TextLabel2" ); - TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) ); - TextLabel2->setFrameShape( QLabel::NoFrame ); - TextLabel2->setFrameShadow( QLabel::Plain ); - TextLabel2->setText( trUtf8( "TL2" ) ); - - Layout1->addWidget( TextLabel2, 1, 0 ); - - Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); - - SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" ); - SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) ); - - Layout2->addWidget( SpinBox1, 0, 1 ); - - TextLabel3 = new QLabel( GroupBox1, "TextLabel3" ); - TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) ); - TextLabel3->setText( trUtf8( "TL3" ) ); - - Layout2->addWidget( TextLabel3, 0, 0 ); - - Layout1->addMultiCellLayout( Layout2, 2, 2, 0, 2 ); - QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout1->addItem( spacer, 3, 2 ); - - GroupBox1Layout->addLayout( Layout1, 0, 0 ); - - DlgRef_2Sel1Spin_QTDLayout->addWidget( GroupBox1, 0, 0 ); - - // tab order - setTabOrder( PushButton1, LineEdit1 ); - setTabOrder( LineEdit1, PushButton2 ); - setTabOrder( PushButton2, LineEdit2 ); - setTabOrder( LineEdit2, SpinBox1 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_2Sel1Spin_QTD::~DlgRef_2Sel1Spin_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_2Sel1Spin_QTD.h b/src/DlgRef/DlgRef_2Sel1Spin_QTD.h index d35c3606e..0556a1309 100644 --- a/src/DlgRef/DlgRef_2Sel1Spin_QTD.h +++ b/src/DlgRef/DlgRef_2Sel1Spin_QTD.h @@ -1,70 +1,187 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_2Sel1Spin_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_2Sel1Spin_QTD.ui' ** -** Created: Tue Jun 1 16:14:59 2004 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 12:56:25 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_2SEL1SPIN_QTD_H #define DLGREF_2SEL1SPIN_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QGroupBox; -class QLabel; -class QLineEdit; -class QPushButton; -class QSpinBox; +class Ui_DlgRef_2Sel1Spin_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QLineEdit *LineEdit1; + QPushButton *PushButton2; + QLabel *TextLabel1; + QLineEdit *LineEdit2; + QPushButton *PushButton1; + QLabel *TextLabel2; + QGridLayout *gridLayout3; + QSpinBox *SpinBox1; + QLabel *TextLabel3; + QSpacerItem *spacerItem; -class GEOM_DLGREF_EXPORT DlgRef_2Sel1Spin_QTD : public QWidget -{ - Q_OBJECT + void setupUi(QWidget *DlgRef_2Sel1Spin_QTD) + { + DlgRef_2Sel1Spin_QTD->setObjectName(QString::fromUtf8("DlgRef_2Sel1Spin_QTD")); + gridLayout = new QGridLayout(DlgRef_2Sel1Spin_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_2Sel1Spin_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + LineEdit1 = new QLineEdit(GroupBox1); + LineEdit1->setObjectName(QString::fromUtf8("LineEdit1")); + + gridLayout2->addWidget(LineEdit1, 0, 2, 1, 1); + + PushButton2 = new QPushButton(GroupBox1); + PushButton2->setObjectName(QString::fromUtf8("PushButton2")); + QSizePolicy sizePolicy(static_cast(0), static_cast(0)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(PushButton2->sizePolicy().hasHeightForWidth()); + PushButton2->setSizePolicy(sizePolicy); + + gridLayout2->addWidget(PushButton2, 1, 1, 1, 1); + + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy1(static_cast(0), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy1); + TextLabel1->setWordWrap(false); + + gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1); + + LineEdit2 = new QLineEdit(GroupBox1); + LineEdit2->setObjectName(QString::fromUtf8("LineEdit2")); + + gridLayout2->addWidget(LineEdit2, 1, 2, 1, 1); + + PushButton1 = new QPushButton(GroupBox1); + PushButton1->setObjectName(QString::fromUtf8("PushButton1")); + QSizePolicy sizePolicy2(static_cast(0), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth()); + PushButton1->setSizePolicy(sizePolicy2); + + gridLayout2->addWidget(PushButton1, 0, 1, 1, 1); + + TextLabel2 = new QLabel(GroupBox1); + TextLabel2->setObjectName(QString::fromUtf8("TextLabel2")); + QSizePolicy sizePolicy3(static_cast(0), static_cast(0)); + sizePolicy3.setHorizontalStretch(0); + sizePolicy3.setVerticalStretch(0); + sizePolicy3.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth()); + TextLabel2->setSizePolicy(sizePolicy3); + TextLabel2->setFrameShape(QFrame::NoFrame); + TextLabel2->setFrameShadow(QFrame::Plain); + TextLabel2->setWordWrap(false); + + gridLayout2->addWidget(TextLabel2, 1, 0, 1, 1); + + gridLayout3 = new QGridLayout(); + gridLayout3->setSpacing(6); + gridLayout3->setMargin(0); + gridLayout3->setObjectName(QString::fromUtf8("gridLayout3")); + SpinBox1 = new QSpinBox(GroupBox1); + SpinBox1->setObjectName(QString::fromUtf8("SpinBox1")); + QSizePolicy sizePolicy4(static_cast(7), static_cast(0)); + sizePolicy4.setHorizontalStretch(0); + sizePolicy4.setVerticalStretch(0); + sizePolicy4.setHeightForWidth(SpinBox1->sizePolicy().hasHeightForWidth()); + SpinBox1->setSizePolicy(sizePolicy4); + + gridLayout3->addWidget(SpinBox1, 0, 1, 1, 1); + + TextLabel3 = new QLabel(GroupBox1); + TextLabel3->setObjectName(QString::fromUtf8("TextLabel3")); + QSizePolicy sizePolicy5(static_cast(0), static_cast(0)); + sizePolicy5.setHorizontalStretch(0); + sizePolicy5.setVerticalStretch(0); + sizePolicy5.setHeightForWidth(TextLabel3->sizePolicy().hasHeightForWidth()); + TextLabel3->setSizePolicy(sizePolicy5); + TextLabel3->setWordWrap(false); + + gridLayout3->addWidget(TextLabel3, 0, 0, 1, 1); + + + gridLayout2->addLayout(gridLayout3, 2, 0, 1, 3); + + spacerItem = new QSpacerItem(0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding); + + gridLayout2->addItem(spacerItem, 3, 2, 1, 1); + + + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + QWidget::setTabOrder(PushButton1, LineEdit1); + QWidget::setTabOrder(LineEdit1, PushButton2); + QWidget::setTabOrder(PushButton2, LineEdit2); + QWidget::setTabOrder(LineEdit2, SpinBox1); + + retranslateUi(DlgRef_2Sel1Spin_QTD); + + QSize size(163, 122); + size = size.expandedTo(DlgRef_2Sel1Spin_QTD->minimumSizeHint()); + DlgRef_2Sel1Spin_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_2Sel1Spin_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_2Sel1Spin_QTD) + { + DlgRef_2Sel1Spin_QTD->setWindowTitle(QApplication::translate("DlgRef_2Sel1Spin_QTD", "DlgRef_2Sel1Spin_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + PushButton2->setText(QString()); + TextLabel1->setText(QApplication::translate("DlgRef_2Sel1Spin_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + PushButton1->setText(QString()); + TextLabel2->setText(QApplication::translate("DlgRef_2Sel1Spin_QTD", "TL2", 0, QApplication::UnicodeUTF8)); + TextLabel3->setText(QApplication::translate("DlgRef_2Sel1Spin_QTD", "TL3", 0, QApplication::UnicodeUTF8)); + Q_UNUSED(DlgRef_2Sel1Spin_QTD); + } // retranslateUi -public: - DlgRef_2Sel1Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_2Sel1Spin_QTD(); - - QGroupBox* GroupBox1; - QLineEdit* LineEdit1; - QPushButton* PushButton2; - QLabel* TextLabel1; - QLineEdit* LineEdit2; - QPushButton* PushButton1; - QLabel* TextLabel2; - QSpinBox* SpinBox1; - QLabel* TextLabel3; - - -protected: - QGridLayout* DlgRef_2Sel1Spin_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* Layout1; - QGridLayout* Layout2; }; +namespace Ui { + class DlgRef_2Sel1Spin_QTD: public Ui_DlgRef_2Sel1Spin_QTD {}; +} // namespace Ui + #endif // DLGREF_2SEL1SPIN_QTD_H diff --git a/src/DlgRef/DlgRef_2Sel2Spin.cxx b/src/DlgRef/DlgRef_2Sel2Spin.cxx index 58341f3bf..a2cb36206 100644 --- a/src/DlgRef/DlgRef_2Sel2Spin.cxx +++ b/src/DlgRef/DlgRef_2Sel2Spin.cxx @@ -27,24 +27,29 @@ // $Header: #include "DlgRef_2Sel2Spin.h" - -#include -#include -#include +#include "DlgRef_SpinBox.h" /* * Constructs a DlgRef_2Sel1Spin which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -DlgRef_2Sel2Spin::DlgRef_2Sel2Spin(QWidget* parent, const char* name, WFlags fl) - :DlgRef_2Sel2Spin_QTD(parent, name, fl) +DlgRef_2Sel2Spin::DlgRef_2Sel2Spin(QWidget* parent, const char* name, Qt::WindowFlags fl) + :QWidget(parent, fl) { - SpinBox1->close(TRUE); - SpinBox2->close(TRUE); + setupUi(this); + + setObjectName(name); + + SpinBox1->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox1->close(); + + SpinBox2->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox2->close(); + SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX"); - Layout2->addWidget(SpinBox_DX, 0, 1); + gridLayout3->addWidget(SpinBox_DX, 0, 1); SpinBox_DY = new DlgRef_SpinBox(GroupBox1, "SpinBox_DY"); - Layout2->addWidget(SpinBox_DY, 1, 1); + gridLayout3->addWidget(SpinBox_DY, 1, 1); } diff --git a/src/DlgRef/DlgRef_2Sel2Spin.h b/src/DlgRef/DlgRef_2Sel2Spin.h index ed09840e0..9d834f8fa 100644 --- a/src/DlgRef/DlgRef_2Sel2Spin.h +++ b/src/DlgRef/DlgRef_2Sel2Spin.h @@ -32,14 +32,15 @@ #include "GEOM_DlgRef.hxx" #include "DlgRef_2Sel2Spin_QTD.h" -#include "DlgRef_SpinBox.h" -class GEOM_DLGREF_EXPORT DlgRef_2Sel2Spin : public DlgRef_2Sel2Spin_QTD +class DlgRef_SpinBox; + +class GEOM_DLGREF_EXPORT DlgRef_2Sel2Spin : public QWidget, public Ui::DlgRef_2Sel2Spin_QTD { Q_OBJECT public: - DlgRef_2Sel2Spin(QWidget* parent = 0, const char* name = 0, WFlags fl = 0); + DlgRef_2Sel2Spin(QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = 0); ~DlgRef_2Sel2Spin(); DlgRef_SpinBox* SpinBox_DX; diff --git a/src/DlgRef/DlgRef_2Sel2Spin1Check.cxx b/src/DlgRef/DlgRef_2Sel2Spin1Check.cxx index e352f7d34..a6f11b693 100644 --- a/src/DlgRef/DlgRef_2Sel2Spin1Check.cxx +++ b/src/DlgRef/DlgRef_2Sel2Spin1Check.cxx @@ -27,25 +27,29 @@ // $Header: #include "DlgRef_2Sel2Spin1Check.h" - -#include -#include -#include -#include +#include "DlgRef_SpinBox.h" /* * Constructs a DlgRef_2Sel1Spin which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -DlgRef_2Sel2Spin1Check::DlgRef_2Sel2Spin1Check(QWidget* parent, const char* name, WFlags fl) - :DlgRef_2Sel2Spin1Check_QTD(parent, name, fl) +DlgRef_2Sel2Spin1Check::DlgRef_2Sel2Spin1Check(QWidget* parent, const char* name, Qt::WFlags fl) + :QWidget(parent, fl) { - SpinBox1->close(TRUE); - SpinBox2->close(TRUE); + setupUi(this); + + setObjectName(name); + + SpinBox1->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox1->close(); + + SpinBox2->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox2->close(); + SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX"); SpinBox_DY = new DlgRef_SpinBox(GroupBox1, "SpinBox_DY"); - Layout2->addWidget(SpinBox_DX, 0, 1); - Layout2->addWidget(SpinBox_DY, 1, 1); + gridLayout3->addWidget(SpinBox_DX, 0, 1); + gridLayout3->addWidget(SpinBox_DY, 1, 1); // PAL 6532 PushButton1->setAutoDefault( false ); diff --git a/src/DlgRef/DlgRef_2Sel2Spin1Check.h b/src/DlgRef/DlgRef_2Sel2Spin1Check.h index b15de5665..db2e56614 100644 --- a/src/DlgRef/DlgRef_2Sel2Spin1Check.h +++ b/src/DlgRef/DlgRef_2Sel2Spin1Check.h @@ -32,14 +32,15 @@ #include "GEOM_DlgRef.hxx" #include "DlgRef_2Sel2Spin1Check_QTD.h" -#include "DlgRef_SpinBox.h" -class GEOM_DLGREF_EXPORT DlgRef_2Sel2Spin1Check : public DlgRef_2Sel2Spin1Check_QTD +class DlgRef_SpinBox; + +class GEOM_DLGREF_EXPORT DlgRef_2Sel2Spin1Check : public QWidget, public Ui::DlgRef_2Sel2Spin1Check_QTD { Q_OBJECT public: - DlgRef_2Sel2Spin1Check(QWidget* parent = 0, const char* name = 0, WFlags fl = 0); + DlgRef_2Sel2Spin1Check(QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = 0); ~DlgRef_2Sel2Spin1Check(); DlgRef_SpinBox* SpinBox_DX; diff --git a/src/DlgRef/DlgRef_2Sel2Spin1Check_QTD.cxx b/src/DlgRef/DlgRef_2Sel2Spin1Check_QTD.cxx deleted file mode 100644 index b2d22bfda..000000000 --- a/src/DlgRef/DlgRef_2Sel2Spin1Check_QTD.cxx +++ /dev/null @@ -1,149 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_2Sel2Spin1Check_QTD.ui' -** -** Created: Tue Jun 1 16:29:28 2004 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_2Sel2Spin1Check_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_2Sel2Spin1Check_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_2Sel2Spin1Check_QTD::DlgRef_2Sel2Spin1Check_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_2Sel2Spin1Check_QTD" ); - resize( 163, 170 ); - setCaption( trUtf8( "DlgRef_2Sel2Spin1Check_QTD" ) ); - DlgRef_2Sel2Spin1Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_2Sel2Spin1Check_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); - - TextLabel2 = new QLabel( GroupBox1, "TextLabel2" ); - TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) ); - TextLabel2->setText( trUtf8( "TL2" ) ); - - Layout1->addWidget( TextLabel2, 1, 0 ); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - Layout1->addWidget( TextLabel1, 0, 0 ); - - Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); - - SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" ); - SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) ); - - Layout2->addWidget( SpinBox1, 0, 1 ); - - TextLabel3 = new QLabel( GroupBox1, "TextLabel3" ); - TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) ); - TextLabel3->setText( trUtf8( "TL3" ) ); - - Layout2->addWidget( TextLabel3, 0, 0 ); - - TextLabel4 = new QLabel( GroupBox1, "TextLabel4" ); - TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) ); - TextLabel4->setText( trUtf8( "TL4" ) ); - - Layout2->addWidget( TextLabel4, 1, 0 ); - - SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" ); - SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) ); - - Layout2->addWidget( SpinBox2, 1, 1 ); - - Layout1->addMultiCellLayout( Layout2, 2, 2, 0, 2 ); - - LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" ); - - Layout1->addWidget( LineEdit1, 0, 2 ); - QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout1->addItem( spacer, 4, 2 ); - - CheckButton1 = new QCheckBox( GroupBox1, "CheckButton1" ); - CheckButton1->setText( trUtf8( "" ) ); - - Layout1->addMultiCellWidget( CheckButton1, 3, 3, 0, 2 ); - - LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" ); - - Layout1->addWidget( LineEdit2, 1, 2 ); - - PushButton2 = new QPushButton( GroupBox1, "PushButton2" ); - PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) ); - PushButton2->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton2, 1, 1 ); - - PushButton1 = new QPushButton( GroupBox1, "PushButton1" ); - PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) ); - PushButton1->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton1, 0, 1 ); - - GroupBox1Layout->addLayout( Layout1, 0, 0 ); - - DlgRef_2Sel2Spin1Check_QTDLayout->addWidget( GroupBox1, 0, 0 ); - - // tab order - setTabOrder( PushButton1, LineEdit1 ); - setTabOrder( LineEdit1, PushButton2 ); - setTabOrder( PushButton2, LineEdit2 ); - setTabOrder( LineEdit2, SpinBox1 ); - setTabOrder( SpinBox1, SpinBox2 ); - setTabOrder( SpinBox2, CheckButton1 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_2Sel2Spin1Check_QTD::~DlgRef_2Sel2Spin1Check_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_2Sel2Spin1Check_QTD.h b/src/DlgRef/DlgRef_2Sel2Spin1Check_QTD.h index c3d703005..e70048f9d 100644 --- a/src/DlgRef/DlgRef_2Sel2Spin1Check_QTD.h +++ b/src/DlgRef/DlgRef_2Sel2Spin1Check_QTD.h @@ -1,74 +1,219 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_2Sel2Spin1Check_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_2Sel2Spin1Check_QTD.ui' ** -** Created: Tue Jun 1 16:29:28 2004 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 13:03:37 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_2SEL2SPIN1CHECK_QTD_H #define DLGREF_2SEL2SPIN1CHECK_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QCheckBox; -class QGroupBox; -class QLabel; -class QLineEdit; -class QPushButton; -class QSpinBox; +class Ui_DlgRef_2Sel2Spin1Check_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QLabel *TextLabel2; + QLabel *TextLabel1; + QGridLayout *gridLayout3; + QSpinBox *SpinBox1; + QLabel *TextLabel3; + QLabel *TextLabel4; + QSpinBox *SpinBox2; + QLineEdit *LineEdit1; + QSpacerItem *spacerItem; + QCheckBox *CheckButton1; + QLineEdit *LineEdit2; + QPushButton *PushButton2; + QPushButton *PushButton1; -class GEOM_DLGREF_EXPORT DlgRef_2Sel2Spin1Check_QTD : public QWidget -{ - Q_OBJECT + void setupUi(QWidget *DlgRef_2Sel2Spin1Check_QTD) + { + DlgRef_2Sel2Spin1Check_QTD->setObjectName(QString::fromUtf8("DlgRef_2Sel2Spin1Check_QTD")); + gridLayout = new QGridLayout(DlgRef_2Sel2Spin1Check_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_2Sel2Spin1Check_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + TextLabel2 = new QLabel(GroupBox1); + TextLabel2->setObjectName(QString::fromUtf8("TextLabel2")); + QSizePolicy sizePolicy(static_cast(0), static_cast(0)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth()); + TextLabel2->setSizePolicy(sizePolicy); + TextLabel2->setWordWrap(false); + + gridLayout2->addWidget(TextLabel2, 1, 0, 1, 1); + + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy1(static_cast(0), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy1); + TextLabel1->setWordWrap(false); + + gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1); + + gridLayout3 = new QGridLayout(); + gridLayout3->setSpacing(6); + gridLayout3->setMargin(0); + gridLayout3->setObjectName(QString::fromUtf8("gridLayout3")); + SpinBox1 = new QSpinBox(GroupBox1); + SpinBox1->setObjectName(QString::fromUtf8("SpinBox1")); + QSizePolicy sizePolicy2(static_cast(7), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(SpinBox1->sizePolicy().hasHeightForWidth()); + SpinBox1->setSizePolicy(sizePolicy2); + + gridLayout3->addWidget(SpinBox1, 0, 1, 1, 1); + + TextLabel3 = new QLabel(GroupBox1); + TextLabel3->setObjectName(QString::fromUtf8("TextLabel3")); + QSizePolicy sizePolicy3(static_cast(0), static_cast(0)); + sizePolicy3.setHorizontalStretch(0); + sizePolicy3.setVerticalStretch(0); + sizePolicy3.setHeightForWidth(TextLabel3->sizePolicy().hasHeightForWidth()); + TextLabel3->setSizePolicy(sizePolicy3); + TextLabel3->setWordWrap(false); + + gridLayout3->addWidget(TextLabel3, 0, 0, 1, 1); + + TextLabel4 = new QLabel(GroupBox1); + TextLabel4->setObjectName(QString::fromUtf8("TextLabel4")); + QSizePolicy sizePolicy4(static_cast(0), static_cast(0)); + sizePolicy4.setHorizontalStretch(0); + sizePolicy4.setVerticalStretch(0); + sizePolicy4.setHeightForWidth(TextLabel4->sizePolicy().hasHeightForWidth()); + TextLabel4->setSizePolicy(sizePolicy4); + TextLabel4->setWordWrap(false); + + gridLayout3->addWidget(TextLabel4, 1, 0, 1, 1); + + SpinBox2 = new QSpinBox(GroupBox1); + SpinBox2->setObjectName(QString::fromUtf8("SpinBox2")); + QSizePolicy sizePolicy5(static_cast(7), static_cast(0)); + sizePolicy5.setHorizontalStretch(0); + sizePolicy5.setVerticalStretch(0); + sizePolicy5.setHeightForWidth(SpinBox2->sizePolicy().hasHeightForWidth()); + SpinBox2->setSizePolicy(sizePolicy5); + + gridLayout3->addWidget(SpinBox2, 1, 1, 1, 1); + + + gridLayout2->addLayout(gridLayout3, 2, 0, 1, 3); + + LineEdit1 = new QLineEdit(GroupBox1); + LineEdit1->setObjectName(QString::fromUtf8("LineEdit1")); + + gridLayout2->addWidget(LineEdit1, 0, 2, 1, 1); + + spacerItem = new QSpacerItem(0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding); + + gridLayout2->addItem(spacerItem, 4, 2, 1, 1); + + CheckButton1 = new QCheckBox(GroupBox1); + CheckButton1->setObjectName(QString::fromUtf8("CheckButton1")); + + gridLayout2->addWidget(CheckButton1, 3, 0, 1, 3); + + LineEdit2 = new QLineEdit(GroupBox1); + LineEdit2->setObjectName(QString::fromUtf8("LineEdit2")); + + gridLayout2->addWidget(LineEdit2, 1, 2, 1, 1); + + PushButton2 = new QPushButton(GroupBox1); + PushButton2->setObjectName(QString::fromUtf8("PushButton2")); + QSizePolicy sizePolicy6(static_cast(0), static_cast(0)); + sizePolicy6.setHorizontalStretch(0); + sizePolicy6.setVerticalStretch(0); + sizePolicy6.setHeightForWidth(PushButton2->sizePolicy().hasHeightForWidth()); + PushButton2->setSizePolicy(sizePolicy6); + + gridLayout2->addWidget(PushButton2, 1, 1, 1, 1); + + PushButton1 = new QPushButton(GroupBox1); + PushButton1->setObjectName(QString::fromUtf8("PushButton1")); + QSizePolicy sizePolicy7(static_cast(0), static_cast(0)); + sizePolicy7.setHorizontalStretch(0); + sizePolicy7.setVerticalStretch(0); + sizePolicy7.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth()); + PushButton1->setSizePolicy(sizePolicy7); + + gridLayout2->addWidget(PushButton1, 0, 1, 1, 1); + + + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + QWidget::setTabOrder(PushButton1, LineEdit1); + QWidget::setTabOrder(LineEdit1, PushButton2); + QWidget::setTabOrder(PushButton2, LineEdit2); + QWidget::setTabOrder(LineEdit2, SpinBox1); + QWidget::setTabOrder(SpinBox1, SpinBox2); + QWidget::setTabOrder(SpinBox2, CheckButton1); + + retranslateUi(DlgRef_2Sel2Spin1Check_QTD); + + QSize size(163, 170); + size = size.expandedTo(DlgRef_2Sel2Spin1Check_QTD->minimumSizeHint()); + DlgRef_2Sel2Spin1Check_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_2Sel2Spin1Check_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_2Sel2Spin1Check_QTD) + { + DlgRef_2Sel2Spin1Check_QTD->setWindowTitle(QApplication::translate("DlgRef_2Sel2Spin1Check_QTD", "DlgRef_2Sel2Spin1Check_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + TextLabel2->setText(QApplication::translate("DlgRef_2Sel2Spin1Check_QTD", "TL2", 0, QApplication::UnicodeUTF8)); + TextLabel1->setText(QApplication::translate("DlgRef_2Sel2Spin1Check_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + TextLabel3->setText(QApplication::translate("DlgRef_2Sel2Spin1Check_QTD", "TL3", 0, QApplication::UnicodeUTF8)); + TextLabel4->setText(QApplication::translate("DlgRef_2Sel2Spin1Check_QTD", "TL4", 0, QApplication::UnicodeUTF8)); + CheckButton1->setText(QString()); + PushButton2->setText(QString()); + PushButton1->setText(QString()); + Q_UNUSED(DlgRef_2Sel2Spin1Check_QTD); + } // retranslateUi -public: - DlgRef_2Sel2Spin1Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_2Sel2Spin1Check_QTD(); - - QGroupBox* GroupBox1; - QLabel* TextLabel2; - QLabel* TextLabel1; - QSpinBox* SpinBox1; - QLabel* TextLabel3; - QLabel* TextLabel4; - QSpinBox* SpinBox2; - QLineEdit* LineEdit1; - QCheckBox* CheckButton1; - QLineEdit* LineEdit2; - QPushButton* PushButton2; - QPushButton* PushButton1; - - -protected: - QGridLayout* DlgRef_2Sel2Spin1Check_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* Layout1; - QGridLayout* Layout2; }; +namespace Ui { + class DlgRef_2Sel2Spin1Check_QTD: public Ui_DlgRef_2Sel2Spin1Check_QTD {}; +} // namespace Ui + #endif // DLGREF_2SEL2SPIN1CHECK_QTD_H diff --git a/src/DlgRef/DlgRef_2Sel2Spin_QTD.cxx b/src/DlgRef/DlgRef_2Sel2Spin_QTD.cxx deleted file mode 100644 index faf1f66b1..000000000 --- a/src/DlgRef/DlgRef_2Sel2Spin_QTD.cxx +++ /dev/null @@ -1,135 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_2Sel2Spin_QTD.ui' -** -** Created: jeu sep 25 12:10:29 2003 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_2Sel2Spin_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_2Sel2Spin_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_2Sel2Spin_QTD::DlgRef_2Sel2Spin_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_2Sel2Spin_QTD" ); - resize( 129, 145 ); - setCaption( trUtf8( "DlgRef_2Sel2Spin_QTD" ) ); - DlgRef_2Sel2Spin_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_2Sel2Spin_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); - - LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" ); - - Layout1->addWidget( LineEdit1, 0, 2 ); - - Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); - - SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" ); - SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) ); - - Layout2->addWidget( SpinBox2, 1, 1 ); - - TextLabel4 = new QLabel( GroupBox1, "TextLabel4" ); - TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) ); - TextLabel4->setText( trUtf8( "TL4" ) ); - - Layout2->addWidget( TextLabel4, 1, 0 ); - - TextLabel3 = new QLabel( GroupBox1, "TextLabel3" ); - TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) ); - TextLabel3->setText( trUtf8( "TL3" ) ); - - Layout2->addWidget( TextLabel3, 0, 0 ); - - SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" ); - SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) ); - - Layout2->addWidget( SpinBox1, 0, 1 ); - - Layout1->addMultiCellLayout( Layout2, 2, 2, 0, 2 ); - - PushButton2 = new QPushButton( GroupBox1, "PushButton2" ); - PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) ); - PushButton2->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton2, 1, 1 ); - - TextLabel2 = new QLabel( GroupBox1, "TextLabel2" ); - TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) ); - TextLabel2->setText( trUtf8( "TL2" ) ); - - Layout1->addWidget( TextLabel2, 1, 0 ); - QSpacerItem* spacer = new QSpacerItem( 0, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout1->addItem( spacer, 3, 2 ); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - Layout1->addWidget( TextLabel1, 0, 0 ); - - PushButton1 = new QPushButton( GroupBox1, "PushButton1" ); - PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) ); - PushButton1->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton1, 0, 1 ); - - LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" ); - - Layout1->addWidget( LineEdit2, 1, 2 ); - - GroupBox1Layout->addLayout( Layout1, 0, 0 ); - - DlgRef_2Sel2Spin_QTDLayout->addWidget( GroupBox1, 0, 0 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_2Sel2Spin_QTD::~DlgRef_2Sel2Spin_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_2Sel2Spin_QTD.h b/src/DlgRef/DlgRef_2Sel2Spin_QTD.h index bc5157559..ea407a997 100644 --- a/src/DlgRef/DlgRef_2Sel2Spin_QTD.h +++ b/src/DlgRef/DlgRef_2Sel2Spin_QTD.h @@ -1,72 +1,205 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_2Sel2Spin_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_2Sel2Spin_QTD.ui' ** -** Created: jeu sep 25 12:10:29 2003 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 13:00:58 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_2SEL2SPIN_QTD_H #define DLGREF_2SEL2SPIN_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QGroupBox; -class QLabel; -class QLineEdit; -class QPushButton; -class QSpinBox; +class Ui_DlgRef_2Sel2Spin_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QLineEdit *LineEdit1; + QGridLayout *gridLayout3; + QSpinBox *SpinBox2; + QLabel *TextLabel4; + QLabel *TextLabel3; + QSpinBox *SpinBox1; + QPushButton *PushButton2; + QLabel *TextLabel2; + QSpacerItem *spacerItem; + QLabel *TextLabel1; + QPushButton *PushButton1; + QLineEdit *LineEdit2; -class GEOM_DLGREF_EXPORT DlgRef_2Sel2Spin_QTD : public QWidget -{ - Q_OBJECT + void setupUi(QWidget *DlgRef_2Sel2Spin_QTD) + { + DlgRef_2Sel2Spin_QTD->setObjectName(QString::fromUtf8("DlgRef_2Sel2Spin_QTD")); + gridLayout = new QGridLayout(DlgRef_2Sel2Spin_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_2Sel2Spin_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + LineEdit1 = new QLineEdit(GroupBox1); + LineEdit1->setObjectName(QString::fromUtf8("LineEdit1")); + + gridLayout2->addWidget(LineEdit1, 0, 2, 1, 1); + + gridLayout3 = new QGridLayout(); + gridLayout3->setSpacing(6); + gridLayout3->setMargin(0); + gridLayout3->setObjectName(QString::fromUtf8("gridLayout3")); + SpinBox2 = new QSpinBox(GroupBox1); + SpinBox2->setObjectName(QString::fromUtf8("SpinBox2")); + QSizePolicy sizePolicy(static_cast(7), static_cast(0)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(SpinBox2->sizePolicy().hasHeightForWidth()); + SpinBox2->setSizePolicy(sizePolicy); + + gridLayout3->addWidget(SpinBox2, 1, 1, 1, 1); + + TextLabel4 = new QLabel(GroupBox1); + TextLabel4->setObjectName(QString::fromUtf8("TextLabel4")); + QSizePolicy sizePolicy1(static_cast(0), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(TextLabel4->sizePolicy().hasHeightForWidth()); + TextLabel4->setSizePolicy(sizePolicy1); + TextLabel4->setWordWrap(false); + + gridLayout3->addWidget(TextLabel4, 1, 0, 1, 1); + + TextLabel3 = new QLabel(GroupBox1); + TextLabel3->setObjectName(QString::fromUtf8("TextLabel3")); + QSizePolicy sizePolicy2(static_cast(0), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(TextLabel3->sizePolicy().hasHeightForWidth()); + TextLabel3->setSizePolicy(sizePolicy2); + TextLabel3->setWordWrap(false); + + gridLayout3->addWidget(TextLabel3, 0, 0, 1, 1); + + SpinBox1 = new QSpinBox(GroupBox1); + SpinBox1->setObjectName(QString::fromUtf8("SpinBox1")); + QSizePolicy sizePolicy3(static_cast(7), static_cast(0)); + sizePolicy3.setHorizontalStretch(0); + sizePolicy3.setVerticalStretch(0); + sizePolicy3.setHeightForWidth(SpinBox1->sizePolicy().hasHeightForWidth()); + SpinBox1->setSizePolicy(sizePolicy3); + + gridLayout3->addWidget(SpinBox1, 0, 1, 1, 1); + + + gridLayout2->addLayout(gridLayout3, 2, 0, 1, 3); + + PushButton2 = new QPushButton(GroupBox1); + PushButton2->setObjectName(QString::fromUtf8("PushButton2")); + QSizePolicy sizePolicy4(static_cast(0), static_cast(0)); + sizePolicy4.setHorizontalStretch(0); + sizePolicy4.setVerticalStretch(0); + sizePolicy4.setHeightForWidth(PushButton2->sizePolicy().hasHeightForWidth()); + PushButton2->setSizePolicy(sizePolicy4); + + gridLayout2->addWidget(PushButton2, 1, 1, 1, 1); + + TextLabel2 = new QLabel(GroupBox1); + TextLabel2->setObjectName(QString::fromUtf8("TextLabel2")); + QSizePolicy sizePolicy5(static_cast(0), static_cast(0)); + sizePolicy5.setHorizontalStretch(0); + sizePolicy5.setVerticalStretch(0); + sizePolicy5.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth()); + TextLabel2->setSizePolicy(sizePolicy5); + TextLabel2->setWordWrap(false); + + gridLayout2->addWidget(TextLabel2, 1, 0, 1, 1); + + spacerItem = new QSpacerItem(0, 20, QSizePolicy::Minimum, QSizePolicy::Expanding); + + gridLayout2->addItem(spacerItem, 3, 2, 1, 1); + + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy6(static_cast(0), static_cast(0)); + sizePolicy6.setHorizontalStretch(0); + sizePolicy6.setVerticalStretch(0); + sizePolicy6.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy6); + TextLabel1->setWordWrap(false); + + gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1); + + PushButton1 = new QPushButton(GroupBox1); + PushButton1->setObjectName(QString::fromUtf8("PushButton1")); + QSizePolicy sizePolicy7(static_cast(0), static_cast(0)); + sizePolicy7.setHorizontalStretch(0); + sizePolicy7.setVerticalStretch(0); + sizePolicy7.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth()); + PushButton1->setSizePolicy(sizePolicy7); + + gridLayout2->addWidget(PushButton1, 0, 1, 1, 1); + + LineEdit2 = new QLineEdit(GroupBox1); + LineEdit2->setObjectName(QString::fromUtf8("LineEdit2")); + + gridLayout2->addWidget(LineEdit2, 1, 2, 1, 1); + + + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + + retranslateUi(DlgRef_2Sel2Spin_QTD); + + QSize size(129, 145); + size = size.expandedTo(DlgRef_2Sel2Spin_QTD->minimumSizeHint()); + DlgRef_2Sel2Spin_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_2Sel2Spin_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_2Sel2Spin_QTD) + { + DlgRef_2Sel2Spin_QTD->setWindowTitle(QApplication::translate("DlgRef_2Sel2Spin_QTD", "DlgRef_2Sel2Spin_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + TextLabel4->setText(QApplication::translate("DlgRef_2Sel2Spin_QTD", "TL4", 0, QApplication::UnicodeUTF8)); + TextLabel3->setText(QApplication::translate("DlgRef_2Sel2Spin_QTD", "TL3", 0, QApplication::UnicodeUTF8)); + PushButton2->setText(QString()); + TextLabel2->setText(QApplication::translate("DlgRef_2Sel2Spin_QTD", "TL2", 0, QApplication::UnicodeUTF8)); + TextLabel1->setText(QApplication::translate("DlgRef_2Sel2Spin_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + PushButton1->setText(QString()); + Q_UNUSED(DlgRef_2Sel2Spin_QTD); + } // retranslateUi -public: - DlgRef_2Sel2Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_2Sel2Spin_QTD(); - - QGroupBox* GroupBox1; - QLineEdit* LineEdit1; - QSpinBox* SpinBox2; - QLabel* TextLabel4; - QLabel* TextLabel3; - QSpinBox* SpinBox1; - QPushButton* PushButton2; - QLabel* TextLabel2; - QLabel* TextLabel1; - QPushButton* PushButton1; - QLineEdit* LineEdit2; - - -protected: - QGridLayout* DlgRef_2Sel2Spin_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* Layout1; - QGridLayout* Layout2; }; +namespace Ui { + class DlgRef_2Sel2Spin_QTD: public Ui_DlgRef_2Sel2Spin_QTD {}; +} // namespace Ui + #endif // DLGREF_2SEL2SPIN_QTD_H diff --git a/src/DlgRef/DlgRef_2Sel3Spin.cxx b/src/DlgRef/DlgRef_2Sel3Spin.cxx index 8006c508f..0fee02680 100644 --- a/src/DlgRef/DlgRef_2Sel3Spin.cxx +++ b/src/DlgRef/DlgRef_2Sel3Spin.cxx @@ -27,27 +27,34 @@ // $Header: #include "DlgRef_2Sel3Spin.h" - -#include -#include -#include +#include "DlgRef_SpinBox.h" /* * Constructs a DlgRef_2Sel1Spin which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -DlgRef_2Sel3Spin::DlgRef_2Sel3Spin(QWidget* parent, const char* name, WFlags fl) - :DlgRef_2Sel3Spin_QTD(parent, name, fl) +DlgRef_2Sel3Spin::DlgRef_2Sel3Spin(QWidget* parent, const char* name, Qt::WindowFlags fl) + :QWidget(parent, fl) { - SpinBox1->close(TRUE); - SpinBox2->close(TRUE); - SpinBox3->close(TRUE); + setupUi(this); + + setObjectName(name); + + SpinBox1->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox1->close(); + + SpinBox2->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox2->close(); + + SpinBox3->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox3->close(); + SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX"); - Layout2->addWidget(SpinBox_DX, 0, 1); + gridLayout3->addWidget(SpinBox_DX, 0, 1); SpinBox_DY = new DlgRef_SpinBox(GroupBox1, "SpinBox_DY"); - Layout2->addWidget(SpinBox_DY, 1, 1); + gridLayout3->addWidget(SpinBox_DY, 1, 1); SpinBox_DZ = new DlgRef_SpinBox(GroupBox1, "SpinBox_DZ"); - Layout2->addWidget(SpinBox_DZ, 2, 1); + gridLayout3->addWidget(SpinBox_DZ, 2, 1); } diff --git a/src/DlgRef/DlgRef_2Sel3Spin.h b/src/DlgRef/DlgRef_2Sel3Spin.h index 53b857b66..42071ca43 100644 --- a/src/DlgRef/DlgRef_2Sel3Spin.h +++ b/src/DlgRef/DlgRef_2Sel3Spin.h @@ -32,14 +32,15 @@ #include "GEOM_DlgRef.hxx" #include "DlgRef_2Sel3Spin_QTD.h" -#include "DlgRef_SpinBox.h" -class GEOM_DLGREF_EXPORT DlgRef_2Sel3Spin : public DlgRef_2Sel3Spin_QTD +class DlgRef_SpinBox; + +class GEOM_DLGREF_EXPORT DlgRef_2Sel3Spin : public QWidget, public Ui::DlgRef_2Sel3Spin_QTD { Q_OBJECT public: - DlgRef_2Sel3Spin(QWidget* parent = 0, const char* name = 0, WFlags fl = 0); + DlgRef_2Sel3Spin(QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = 0); ~DlgRef_2Sel3Spin(); DlgRef_SpinBox* SpinBox_DX; diff --git a/src/DlgRef/DlgRef_2Sel3Spin_QTD.cxx b/src/DlgRef/DlgRef_2Sel3Spin_QTD.cxx deleted file mode 100644 index a47905184..000000000 --- a/src/DlgRef/DlgRef_2Sel3Spin_QTD.cxx +++ /dev/null @@ -1,146 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_2Sel3Spin_QTD.ui' -** -** Created: jeu sep 25 16:18:43 2003 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_2Sel3Spin_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_2Sel3Spin_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_2Sel3Spin_QTD::DlgRef_2Sel3Spin_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_2Sel3Spin_QTD" ); - resize( 129, 173 ); - setCaption( trUtf8( "DlgRef_2Sel3Spin_QTD" ) ); - DlgRef_2Sel3Spin_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_2Sel3Spin_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); - - LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" ); - - Layout1->addWidget( LineEdit1, 0, 2 ); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - Layout1->addWidget( TextLabel1, 0, 0 ); - - TextLabel2 = new QLabel( GroupBox1, "TextLabel2" ); - TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) ); - TextLabel2->setText( trUtf8( "TL2" ) ); - - Layout1->addWidget( TextLabel2, 1, 0 ); - - Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); - - TextLabel3 = new QLabel( GroupBox1, "TextLabel3" ); - TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) ); - TextLabel3->setText( trUtf8( "TL3" ) ); - - Layout2->addWidget( TextLabel3, 0, 0 ); - - SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" ); - SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) ); - - Layout2->addWidget( SpinBox2, 1, 1 ); - - TextLabel4 = new QLabel( GroupBox1, "TextLabel4" ); - TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) ); - TextLabel4->setText( trUtf8( "TL4" ) ); - - Layout2->addWidget( TextLabel4, 1, 0 ); - - TextLabel5 = new QLabel( GroupBox1, "TextLabel5" ); - TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) ); - TextLabel5->setText( trUtf8( "TL4" ) ); - - Layout2->addWidget( TextLabel5, 2, 0 ); - - SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" ); - SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) ); - - Layout2->addWidget( SpinBox1, 0, 1 ); - - SpinBox3 = new QSpinBox( GroupBox1, "SpinBox3" ); - SpinBox3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox3->sizePolicy().hasHeightForWidth() ) ); - - Layout2->addWidget( SpinBox3, 2, 1 ); - - Layout1->addMultiCellLayout( Layout2, 2, 2, 0, 2 ); - - PushButton1 = new QPushButton( GroupBox1, "PushButton1" ); - PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) ); - PushButton1->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton1, 0, 1 ); - QSpacerItem* spacer = new QSpacerItem( 0, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout1->addItem( spacer, 3, 2 ); - - LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" ); - - Layout1->addWidget( LineEdit2, 1, 2 ); - - PushButton2 = new QPushButton( GroupBox1, "PushButton2" ); - PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) ); - PushButton2->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton2, 1, 1 ); - - GroupBox1Layout->addLayout( Layout1, 0, 0 ); - - DlgRef_2Sel3Spin_QTDLayout->addWidget( GroupBox1, 0, 0 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_2Sel3Spin_QTD::~DlgRef_2Sel3Spin_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_2Sel3Spin_QTD.h b/src/DlgRef/DlgRef_2Sel3Spin_QTD.h index 8b49e9f50..d4221bac2 100644 --- a/src/DlgRef/DlgRef_2Sel3Spin_QTD.h +++ b/src/DlgRef/DlgRef_2Sel3Spin_QTD.h @@ -1,74 +1,229 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_2Sel3Spin_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_2Sel3Spin_QTD.ui' ** -** Created: jeu sep 25 16:18:43 2003 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 14:24:24 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_2SEL3SPIN_QTD_H #define DLGREF_2SEL3SPIN_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QGroupBox; -class QLabel; -class QLineEdit; -class QPushButton; -class QSpinBox; +class Ui_DlgRef_2Sel3Spin_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QLineEdit *LineEdit1; + QLabel *TextLabel1; + QLabel *TextLabel2; + QGridLayout *gridLayout3; + QLabel *TextLabel3; + QSpinBox *SpinBox2; + QLabel *TextLabel4; + QLabel *TextLabel5; + QSpinBox *SpinBox1; + QSpinBox *SpinBox3; + QPushButton *PushButton1; + QSpacerItem *spacerItem; + QLineEdit *LineEdit2; + QPushButton *PushButton2; -class GEOM_DLGREF_EXPORT DlgRef_2Sel3Spin_QTD : public QWidget -{ - Q_OBJECT + void setupUi(QWidget *DlgRef_2Sel3Spin_QTD) + { + DlgRef_2Sel3Spin_QTD->setObjectName(QString::fromUtf8("DlgRef_2Sel3Spin_QTD")); + gridLayout = new QGridLayout(DlgRef_2Sel3Spin_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_2Sel3Spin_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + LineEdit1 = new QLineEdit(GroupBox1); + LineEdit1->setObjectName(QString::fromUtf8("LineEdit1")); + + gridLayout2->addWidget(LineEdit1, 0, 2, 1, 1); + + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy(static_cast(0), static_cast(0)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy); + TextLabel1->setWordWrap(false); + + gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1); + + TextLabel2 = new QLabel(GroupBox1); + TextLabel2->setObjectName(QString::fromUtf8("TextLabel2")); + QSizePolicy sizePolicy1(static_cast(0), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth()); + TextLabel2->setSizePolicy(sizePolicy1); + TextLabel2->setWordWrap(false); + + gridLayout2->addWidget(TextLabel2, 1, 0, 1, 1); + + gridLayout3 = new QGridLayout(); + gridLayout3->setSpacing(6); + gridLayout3->setMargin(0); + gridLayout3->setObjectName(QString::fromUtf8("gridLayout3")); + TextLabel3 = new QLabel(GroupBox1); + TextLabel3->setObjectName(QString::fromUtf8("TextLabel3")); + QSizePolicy sizePolicy2(static_cast(0), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(TextLabel3->sizePolicy().hasHeightForWidth()); + TextLabel3->setSizePolicy(sizePolicy2); + TextLabel3->setWordWrap(false); + + gridLayout3->addWidget(TextLabel3, 0, 0, 1, 1); + + SpinBox2 = new QSpinBox(GroupBox1); + SpinBox2->setObjectName(QString::fromUtf8("SpinBox2")); + QSizePolicy sizePolicy3(static_cast(7), static_cast(0)); + sizePolicy3.setHorizontalStretch(0); + sizePolicy3.setVerticalStretch(0); + sizePolicy3.setHeightForWidth(SpinBox2->sizePolicy().hasHeightForWidth()); + SpinBox2->setSizePolicy(sizePolicy3); + + gridLayout3->addWidget(SpinBox2, 1, 1, 1, 1); + + TextLabel4 = new QLabel(GroupBox1); + TextLabel4->setObjectName(QString::fromUtf8("TextLabel4")); + QSizePolicy sizePolicy4(static_cast(0), static_cast(0)); + sizePolicy4.setHorizontalStretch(0); + sizePolicy4.setVerticalStretch(0); + sizePolicy4.setHeightForWidth(TextLabel4->sizePolicy().hasHeightForWidth()); + TextLabel4->setSizePolicy(sizePolicy4); + TextLabel4->setWordWrap(false); + + gridLayout3->addWidget(TextLabel4, 1, 0, 1, 1); + + TextLabel5 = new QLabel(GroupBox1); + TextLabel5->setObjectName(QString::fromUtf8("TextLabel5")); + QSizePolicy sizePolicy5(static_cast(0), static_cast(0)); + sizePolicy5.setHorizontalStretch(0); + sizePolicy5.setVerticalStretch(0); + sizePolicy5.setHeightForWidth(TextLabel5->sizePolicy().hasHeightForWidth()); + TextLabel5->setSizePolicy(sizePolicy5); + TextLabel5->setWordWrap(false); + + gridLayout3->addWidget(TextLabel5, 2, 0, 1, 1); + + SpinBox1 = new QSpinBox(GroupBox1); + SpinBox1->setObjectName(QString::fromUtf8("SpinBox1")); + QSizePolicy sizePolicy6(static_cast(7), static_cast(0)); + sizePolicy6.setHorizontalStretch(0); + sizePolicy6.setVerticalStretch(0); + sizePolicy6.setHeightForWidth(SpinBox1->sizePolicy().hasHeightForWidth()); + SpinBox1->setSizePolicy(sizePolicy6); + + gridLayout3->addWidget(SpinBox1, 0, 1, 1, 1); + + SpinBox3 = new QSpinBox(GroupBox1); + SpinBox3->setObjectName(QString::fromUtf8("SpinBox3")); + QSizePolicy sizePolicy7(static_cast(7), static_cast(0)); + sizePolicy7.setHorizontalStretch(0); + sizePolicy7.setVerticalStretch(0); + sizePolicy7.setHeightForWidth(SpinBox3->sizePolicy().hasHeightForWidth()); + SpinBox3->setSizePolicy(sizePolicy7); + + gridLayout3->addWidget(SpinBox3, 2, 1, 1, 1); + + + gridLayout2->addLayout(gridLayout3, 2, 0, 1, 3); + + PushButton1 = new QPushButton(GroupBox1); + PushButton1->setObjectName(QString::fromUtf8("PushButton1")); + QSizePolicy sizePolicy8(static_cast(0), static_cast(0)); + sizePolicy8.setHorizontalStretch(0); + sizePolicy8.setVerticalStretch(0); + sizePolicy8.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth()); + PushButton1->setSizePolicy(sizePolicy8); + + gridLayout2->addWidget(PushButton1, 0, 1, 1, 1); + + spacerItem = new QSpacerItem(0, 20, QSizePolicy::Minimum, QSizePolicy::Expanding); + + gridLayout2->addItem(spacerItem, 3, 2, 1, 1); + + LineEdit2 = new QLineEdit(GroupBox1); + LineEdit2->setObjectName(QString::fromUtf8("LineEdit2")); + + gridLayout2->addWidget(LineEdit2, 1, 2, 1, 1); + + PushButton2 = new QPushButton(GroupBox1); + PushButton2->setObjectName(QString::fromUtf8("PushButton2")); + QSizePolicy sizePolicy9(static_cast(0), static_cast(0)); + sizePolicy9.setHorizontalStretch(0); + sizePolicy9.setVerticalStretch(0); + sizePolicy9.setHeightForWidth(PushButton2->sizePolicy().hasHeightForWidth()); + PushButton2->setSizePolicy(sizePolicy9); + + gridLayout2->addWidget(PushButton2, 1, 1, 1, 1); + + + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + + retranslateUi(DlgRef_2Sel3Spin_QTD); + + QSize size(129, 173); + size = size.expandedTo(DlgRef_2Sel3Spin_QTD->minimumSizeHint()); + DlgRef_2Sel3Spin_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_2Sel3Spin_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_2Sel3Spin_QTD) + { + DlgRef_2Sel3Spin_QTD->setWindowTitle(QApplication::translate("DlgRef_2Sel3Spin_QTD", "DlgRef_2Sel3Spin_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + TextLabel1->setText(QApplication::translate("DlgRef_2Sel3Spin_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + TextLabel2->setText(QApplication::translate("DlgRef_2Sel3Spin_QTD", "TL2", 0, QApplication::UnicodeUTF8)); + TextLabel3->setText(QApplication::translate("DlgRef_2Sel3Spin_QTD", "TL3", 0, QApplication::UnicodeUTF8)); + TextLabel4->setText(QApplication::translate("DlgRef_2Sel3Spin_QTD", "TL4", 0, QApplication::UnicodeUTF8)); + TextLabel5->setText(QApplication::translate("DlgRef_2Sel3Spin_QTD", "TL4", 0, QApplication::UnicodeUTF8)); + PushButton1->setText(QString()); + PushButton2->setText(QString()); + Q_UNUSED(DlgRef_2Sel3Spin_QTD); + } // retranslateUi -public: - DlgRef_2Sel3Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_2Sel3Spin_QTD(); - - QGroupBox* GroupBox1; - QLineEdit* LineEdit1; - QLabel* TextLabel1; - QLabel* TextLabel2; - QLabel* TextLabel3; - QSpinBox* SpinBox2; - QLabel* TextLabel4; - QLabel* TextLabel5; - QSpinBox* SpinBox1; - QSpinBox* SpinBox3; - QPushButton* PushButton1; - QLineEdit* LineEdit2; - QPushButton* PushButton2; - - -protected: - QGridLayout* DlgRef_2Sel3Spin_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* Layout1; - QGridLayout* Layout2; }; +namespace Ui { + class DlgRef_2Sel3Spin_QTD: public Ui_DlgRef_2Sel3Spin_QTD {}; +} // namespace Ui + #endif // DLGREF_2SEL3SPIN_QTD_H diff --git a/src/DlgRef/DlgRef_2Sel4Spin1Check.cxx b/src/DlgRef/DlgRef_2Sel4Spin1Check.cxx index bfb387e53..0ada35b5f 100644 --- a/src/DlgRef/DlgRef_2Sel4Spin1Check.cxx +++ b/src/DlgRef/DlgRef_2Sel4Spin1Check.cxx @@ -27,31 +27,39 @@ // $Header: #include "DlgRef_2Sel4Spin1Check.h" - -#include -#include -#include -#include +#include "DlgRef_SpinBox.h" /* * Constructs a DlgRef_2Sel1Spin which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -DlgRef_2Sel4Spin1Check::DlgRef_2Sel4Spin1Check(QWidget* parent, const char* name, WFlags fl) - :DlgRef_2Sel4Spin1Check_QTD(parent, name, fl) +DlgRef_2Sel4Spin1Check::DlgRef_2Sel4Spin1Check(QWidget* parent, const char* name, Qt::WindowFlags fl) + :QWidget(parent, fl) { - SpinBox1->close(TRUE); - SpinBox2->close(TRUE); - SpinBox3->close(TRUE); - SpinBox4->close(TRUE); + setupUi(this); + + setObjectName(name); + + SpinBox1->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox1->close(); + + SpinBox2->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox2->close(); + + SpinBox3->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox3->close(); + + SpinBox4->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox4->close(); + SpinBox_DX1 = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX1"); SpinBox_DY1 = new DlgRef_SpinBox(GroupBox1, "SpinBox_DY1"); SpinBox_DX2 = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX2"); SpinBox_DY2 = new DlgRef_SpinBox(GroupBox1, "SpinBox_DY2"); - Layout2->addWidget(SpinBox_DX1, 0, 1); - Layout2->addWidget(SpinBox_DY1, 1, 1); - Layout3->addWidget(SpinBox_DX2, 0, 1); - Layout3->addWidget(SpinBox_DY2, 1, 1); + gridLayout3->addWidget(SpinBox_DX1, 0, 1); + gridLayout3->addWidget(SpinBox_DY1, 1, 1); + gridLayout4->addWidget(SpinBox_DX2, 0, 1); + gridLayout4->addWidget(SpinBox_DY2, 1, 1); // PAL 6532 PushButton1->setAutoDefault( false ); diff --git a/src/DlgRef/DlgRef_2Sel4Spin1Check.h b/src/DlgRef/DlgRef_2Sel4Spin1Check.h index 1d5e0c4ab..3ab6ec148 100644 --- a/src/DlgRef/DlgRef_2Sel4Spin1Check.h +++ b/src/DlgRef/DlgRef_2Sel4Spin1Check.h @@ -32,15 +32,15 @@ #include "GEOM_DlgRef.hxx" #include "DlgRef_2Sel4Spin1Check_QTD.h" -#include "DlgRef_SpinBox.h" +class DlgRef_SpinBox; -class GEOM_DLGREF_EXPORT DlgRef_2Sel4Spin1Check : public DlgRef_2Sel4Spin1Check_QTD +class GEOM_DLGREF_EXPORT DlgRef_2Sel4Spin1Check : public QWidget, public Ui::DlgRef_2Sel4Spin1Check_QTD { Q_OBJECT public: - DlgRef_2Sel4Spin1Check(QWidget* parent = 0, const char* name = 0, WFlags fl = 0); + DlgRef_2Sel4Spin1Check(QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = 0); ~DlgRef_2Sel4Spin1Check(); DlgRef_SpinBox* SpinBox_DX1; diff --git a/src/DlgRef/DlgRef_2Sel4Spin1Check_QTD.cxx b/src/DlgRef/DlgRef_2Sel4Spin1Check_QTD.cxx deleted file mode 100644 index 3dd3f2e38..000000000 --- a/src/DlgRef/DlgRef_2Sel4Spin1Check_QTD.cxx +++ /dev/null @@ -1,177 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_2Sel4Spin1Check_QTD.ui' -** -** Created: Tue Jun 1 12:38:04 2004 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_2Sel4Spin1Check_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_2Sel4Spin1Check_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_2Sel4Spin1Check_QTD::DlgRef_2Sel4Spin1Check_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_2Sel4Spin1Check_QTD" ); - resize( 262, 230 ); - setCaption( trUtf8( "DlgRef_2Sel4Spin1Check_QTD" ) ); - DlgRef_2Sel4Spin1Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_2Sel4Spin1Check_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout5 = new QGridLayout( 0, 1, 1, 0, 6, "Layout5"); - - PushButton1 = new QPushButton( GroupBox1, "PushButton1" ); - PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) ); - PushButton1->setText( trUtf8( "" ) ); - - Layout5->addWidget( PushButton1, 0, 1 ); - - CheckButton1 = new QCheckBox( GroupBox1, "CheckButton1" ); - CheckButton1->setText( trUtf8( "" ) ); - - Layout5->addMultiCellWidget( CheckButton1, 3, 3, 0, 3 ); - - Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); - - TextLabel3 = new QLabel( GroupBox1, "TextLabel3" ); - TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) ); - TextLabel3->setText( trUtf8( "TL3" ) ); - - Layout2->addWidget( TextLabel3, 0, 0 ); - - SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" ); - SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) ); - - Layout2->addWidget( SpinBox1, 0, 1 ); - - SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" ); - SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) ); - - Layout2->addWidget( SpinBox2, 1, 1 ); - - TextLabel4 = new QLabel( GroupBox1, "TextLabel4" ); - TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) ); - TextLabel4->setText( trUtf8( "TL4" ) ); - - Layout2->addWidget( TextLabel4, 1, 0 ); - - Layout5->addMultiCellLayout( Layout2, 2, 2, 0, 2 ); - - LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" ); - - Layout5->addWidget( LineEdit2, 1, 2 ); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - Layout5->addWidget( TextLabel1, 0, 0 ); - - LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" ); - - Layout5->addWidget( LineEdit1, 0, 2 ); - QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout5->addItem( spacer, 5, 3 ); - - PushButton2 = new QPushButton( GroupBox1, "PushButton2" ); - PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) ); - PushButton2->setText( trUtf8( "" ) ); - - Layout5->addWidget( PushButton2, 1, 1 ); - - TextLabel2 = new QLabel( GroupBox1, "TextLabel2" ); - TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) ); - TextLabel2->setText( trUtf8( "TL2" ) ); - - Layout5->addWidget( TextLabel2, 1, 0 ); - - Layout3 = new QGridLayout( 0, 1, 1, 0, 6, "Layout3"); - - SpinBox4 = new QSpinBox( GroupBox1, "SpinBox4" ); - SpinBox4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox4->sizePolicy().hasHeightForWidth() ) ); - - Layout3->addWidget( SpinBox4, 1, 1 ); - - TextLabel5 = new QLabel( GroupBox1, "TextLabel5" ); - TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) ); - TextLabel5->setText( trUtf8( "TL5" ) ); - - Layout3->addWidget( TextLabel5, 0, 0 ); - - SpinBox3 = new QSpinBox( GroupBox1, "SpinBox3" ); - SpinBox3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox3->sizePolicy().hasHeightForWidth() ) ); - - Layout3->addWidget( SpinBox3, 0, 1 ); - - TextLabel6 = new QLabel( GroupBox1, "TextLabel6" ); - TextLabel6->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel6->sizePolicy().hasHeightForWidth() ) ); - TextLabel6->setText( trUtf8( "TL6" ) ); - - Layout3->addWidget( TextLabel6, 1, 0 ); - - Layout5->addMultiCellLayout( Layout3, 4, 4, 0, 2 ); - - GroupBox1Layout->addLayout( Layout5, 0, 0 ); - - DlgRef_2Sel4Spin1Check_QTDLayout->addWidget( GroupBox1, 0, 0 ); - - // tab order - setTabOrder( PushButton1, LineEdit1 ); - setTabOrder( LineEdit1, PushButton2 ); - setTabOrder( PushButton2, LineEdit2 ); - setTabOrder( LineEdit2, SpinBox1 ); - setTabOrder( SpinBox1, SpinBox2 ); - setTabOrder( SpinBox2, CheckButton1 ); - setTabOrder( CheckButton1, SpinBox3 ); - setTabOrder( SpinBox3, SpinBox4 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_2Sel4Spin1Check_QTD::~DlgRef_2Sel4Spin1Check_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_2Sel4Spin1Check_QTD.h b/src/DlgRef/DlgRef_2Sel4Spin1Check_QTD.h index 7f49d2b09..c2c0107fd 100644 --- a/src/DlgRef/DlgRef_2Sel4Spin1Check_QTD.h +++ b/src/DlgRef/DlgRef_2Sel4Spin1Check_QTD.h @@ -1,79 +1,277 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_2Sel4Spin1Check_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_2Sel4Spin1Check_QTD.ui' ** -** Created: Tue Jun 1 12:38:04 2004 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 14:26:24 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_2SEL4SPIN1CHECK_QTD_H #define DLGREF_2SEL4SPIN1CHECK_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +class Ui_DlgRef_2Sel4Spin1Check_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QPushButton *PushButton1; + QCheckBox *CheckButton1; + QGridLayout *gridLayout3; + QLabel *TextLabel3; + QSpinBox *SpinBox1; + QSpinBox *SpinBox2; + QLabel *TextLabel4; + QLineEdit *LineEdit2; + QLabel *TextLabel1; + QLineEdit *LineEdit1; + QSpacerItem *spacerItem; + QPushButton *PushButton2; + QLabel *TextLabel2; + QGridLayout *gridLayout4; + QSpinBox *SpinBox4; + QLabel *TextLabel5; + QSpinBox *SpinBox3; + QLabel *TextLabel6; -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QCheckBox; -class QGroupBox; -class QLabel; -class QLineEdit; -class QPushButton; -class QSpinBox; + void setupUi(QWidget *DlgRef_2Sel4Spin1Check_QTD) + { + DlgRef_2Sel4Spin1Check_QTD->setObjectName(QString::fromUtf8("DlgRef_2Sel4Spin1Check_QTD")); + gridLayout = new QGridLayout(DlgRef_2Sel4Spin1Check_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_2Sel4Spin1Check_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + PushButton1 = new QPushButton(GroupBox1); + PushButton1->setObjectName(QString::fromUtf8("PushButton1")); + QSizePolicy sizePolicy(static_cast(0), static_cast(0)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth()); + PushButton1->setSizePolicy(sizePolicy); -class GEOM_DLGREF_EXPORT DlgRef_2Sel4Spin1Check_QTD : public QWidget -{ - Q_OBJECT + gridLayout2->addWidget(PushButton1, 0, 1, 1, 1); + + CheckButton1 = new QCheckBox(GroupBox1); + CheckButton1->setObjectName(QString::fromUtf8("CheckButton1")); + + gridLayout2->addWidget(CheckButton1, 3, 0, 1, 4); + + gridLayout3 = new QGridLayout(); + gridLayout3->setSpacing(6); + gridLayout3->setMargin(0); + gridLayout3->setObjectName(QString::fromUtf8("gridLayout3")); + TextLabel3 = new QLabel(GroupBox1); + TextLabel3->setObjectName(QString::fromUtf8("TextLabel3")); + QSizePolicy sizePolicy1(static_cast(0), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(TextLabel3->sizePolicy().hasHeightForWidth()); + TextLabel3->setSizePolicy(sizePolicy1); + TextLabel3->setWordWrap(false); + + gridLayout3->addWidget(TextLabel3, 0, 0, 1, 1); + + SpinBox1 = new QSpinBox(GroupBox1); + SpinBox1->setObjectName(QString::fromUtf8("SpinBox1")); + QSizePolicy sizePolicy2(static_cast(7), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(SpinBox1->sizePolicy().hasHeightForWidth()); + SpinBox1->setSizePolicy(sizePolicy2); + + gridLayout3->addWidget(SpinBox1, 0, 1, 1, 1); + + SpinBox2 = new QSpinBox(GroupBox1); + SpinBox2->setObjectName(QString::fromUtf8("SpinBox2")); + QSizePolicy sizePolicy3(static_cast(7), static_cast(0)); + sizePolicy3.setHorizontalStretch(0); + sizePolicy3.setVerticalStretch(0); + sizePolicy3.setHeightForWidth(SpinBox2->sizePolicy().hasHeightForWidth()); + SpinBox2->setSizePolicy(sizePolicy3); + + gridLayout3->addWidget(SpinBox2, 1, 1, 1, 1); + + TextLabel4 = new QLabel(GroupBox1); + TextLabel4->setObjectName(QString::fromUtf8("TextLabel4")); + QSizePolicy sizePolicy4(static_cast(0), static_cast(0)); + sizePolicy4.setHorizontalStretch(0); + sizePolicy4.setVerticalStretch(0); + sizePolicy4.setHeightForWidth(TextLabel4->sizePolicy().hasHeightForWidth()); + TextLabel4->setSizePolicy(sizePolicy4); + TextLabel4->setWordWrap(false); + + gridLayout3->addWidget(TextLabel4, 1, 0, 1, 1); + + + gridLayout2->addLayout(gridLayout3, 2, 0, 1, 3); + + LineEdit2 = new QLineEdit(GroupBox1); + LineEdit2->setObjectName(QString::fromUtf8("LineEdit2")); + + gridLayout2->addWidget(LineEdit2, 1, 2, 1, 1); + + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy5(static_cast(0), static_cast(0)); + sizePolicy5.setHorizontalStretch(0); + sizePolicy5.setVerticalStretch(0); + sizePolicy5.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy5); + TextLabel1->setWordWrap(false); + + gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1); + + LineEdit1 = new QLineEdit(GroupBox1); + LineEdit1->setObjectName(QString::fromUtf8("LineEdit1")); + + gridLayout2->addWidget(LineEdit1, 0, 2, 1, 1); + + spacerItem = new QSpacerItem(0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding); + + gridLayout2->addItem(spacerItem, 5, 3, 1, 1); + + PushButton2 = new QPushButton(GroupBox1); + PushButton2->setObjectName(QString::fromUtf8("PushButton2")); + QSizePolicy sizePolicy6(static_cast(0), static_cast(0)); + sizePolicy6.setHorizontalStretch(0); + sizePolicy6.setVerticalStretch(0); + sizePolicy6.setHeightForWidth(PushButton2->sizePolicy().hasHeightForWidth()); + PushButton2->setSizePolicy(sizePolicy6); + + gridLayout2->addWidget(PushButton2, 1, 1, 1, 1); + + TextLabel2 = new QLabel(GroupBox1); + TextLabel2->setObjectName(QString::fromUtf8("TextLabel2")); + QSizePolicy sizePolicy7(static_cast(0), static_cast(0)); + sizePolicy7.setHorizontalStretch(0); + sizePolicy7.setVerticalStretch(0); + sizePolicy7.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth()); + TextLabel2->setSizePolicy(sizePolicy7); + TextLabel2->setWordWrap(false); + + gridLayout2->addWidget(TextLabel2, 1, 0, 1, 1); + + gridLayout4 = new QGridLayout(); + gridLayout4->setSpacing(6); + gridLayout4->setMargin(0); + gridLayout4->setObjectName(QString::fromUtf8("gridLayout4")); + SpinBox4 = new QSpinBox(GroupBox1); + SpinBox4->setObjectName(QString::fromUtf8("SpinBox4")); + QSizePolicy sizePolicy8(static_cast(7), static_cast(0)); + sizePolicy8.setHorizontalStretch(0); + sizePolicy8.setVerticalStretch(0); + sizePolicy8.setHeightForWidth(SpinBox4->sizePolicy().hasHeightForWidth()); + SpinBox4->setSizePolicy(sizePolicy8); + + gridLayout4->addWidget(SpinBox4, 1, 1, 1, 1); + + TextLabel5 = new QLabel(GroupBox1); + TextLabel5->setObjectName(QString::fromUtf8("TextLabel5")); + QSizePolicy sizePolicy9(static_cast(0), static_cast(0)); + sizePolicy9.setHorizontalStretch(0); + sizePolicy9.setVerticalStretch(0); + sizePolicy9.setHeightForWidth(TextLabel5->sizePolicy().hasHeightForWidth()); + TextLabel5->setSizePolicy(sizePolicy9); + TextLabel5->setWordWrap(false); + + gridLayout4->addWidget(TextLabel5, 0, 0, 1, 1); + + SpinBox3 = new QSpinBox(GroupBox1); + SpinBox3->setObjectName(QString::fromUtf8("SpinBox3")); + QSizePolicy sizePolicy10(static_cast(7), static_cast(0)); + sizePolicy10.setHorizontalStretch(0); + sizePolicy10.setVerticalStretch(0); + sizePolicy10.setHeightForWidth(SpinBox3->sizePolicy().hasHeightForWidth()); + SpinBox3->setSizePolicy(sizePolicy10); + + gridLayout4->addWidget(SpinBox3, 0, 1, 1, 1); + + TextLabel6 = new QLabel(GroupBox1); + TextLabel6->setObjectName(QString::fromUtf8("TextLabel6")); + QSizePolicy sizePolicy11(static_cast(0), static_cast(0)); + sizePolicy11.setHorizontalStretch(0); + sizePolicy11.setVerticalStretch(0); + sizePolicy11.setHeightForWidth(TextLabel6->sizePolicy().hasHeightForWidth()); + TextLabel6->setSizePolicy(sizePolicy11); + TextLabel6->setWordWrap(false); + + gridLayout4->addWidget(TextLabel6, 1, 0, 1, 1); + + + gridLayout2->addLayout(gridLayout4, 4, 0, 1, 3); + + + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + QWidget::setTabOrder(PushButton1, LineEdit1); + QWidget::setTabOrder(LineEdit1, PushButton2); + QWidget::setTabOrder(PushButton2, LineEdit2); + QWidget::setTabOrder(LineEdit2, SpinBox1); + QWidget::setTabOrder(SpinBox1, SpinBox2); + QWidget::setTabOrder(SpinBox2, CheckButton1); + QWidget::setTabOrder(CheckButton1, SpinBox3); + QWidget::setTabOrder(SpinBox3, SpinBox4); + + retranslateUi(DlgRef_2Sel4Spin1Check_QTD); + + QSize size(262, 230); + size = size.expandedTo(DlgRef_2Sel4Spin1Check_QTD->minimumSizeHint()); + DlgRef_2Sel4Spin1Check_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_2Sel4Spin1Check_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_2Sel4Spin1Check_QTD) + { + DlgRef_2Sel4Spin1Check_QTD->setWindowTitle(QApplication::translate("DlgRef_2Sel4Spin1Check_QTD", "DlgRef_2Sel4Spin1Check_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + PushButton1->setText(QString()); + CheckButton1->setText(QString()); + TextLabel3->setText(QApplication::translate("DlgRef_2Sel4Spin1Check_QTD", "TL3", 0, QApplication::UnicodeUTF8)); + TextLabel4->setText(QApplication::translate("DlgRef_2Sel4Spin1Check_QTD", "TL4", 0, QApplication::UnicodeUTF8)); + TextLabel1->setText(QApplication::translate("DlgRef_2Sel4Spin1Check_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + PushButton2->setText(QString()); + TextLabel2->setText(QApplication::translate("DlgRef_2Sel4Spin1Check_QTD", "TL2", 0, QApplication::UnicodeUTF8)); + TextLabel5->setText(QApplication::translate("DlgRef_2Sel4Spin1Check_QTD", "TL5", 0, QApplication::UnicodeUTF8)); + TextLabel6->setText(QApplication::translate("DlgRef_2Sel4Spin1Check_QTD", "TL6", 0, QApplication::UnicodeUTF8)); + Q_UNUSED(DlgRef_2Sel4Spin1Check_QTD); + } // retranslateUi -public: - DlgRef_2Sel4Spin1Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_2Sel4Spin1Check_QTD(); - - QGroupBox* GroupBox1; - QPushButton* PushButton1; - QCheckBox* CheckButton1; - QLabel* TextLabel3; - QSpinBox* SpinBox1; - QSpinBox* SpinBox2; - QLabel* TextLabel4; - QLineEdit* LineEdit2; - QLabel* TextLabel1; - QLineEdit* LineEdit1; - QPushButton* PushButton2; - QLabel* TextLabel2; - QSpinBox* SpinBox4; - QLabel* TextLabel5; - QSpinBox* SpinBox3; - QLabel* TextLabel6; - - -protected: - QGridLayout* DlgRef_2Sel4Spin1Check_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* Layout5; - QGridLayout* Layout2; - QGridLayout* Layout3; }; +namespace Ui { + class DlgRef_2Sel4Spin1Check_QTD: public Ui_DlgRef_2Sel4Spin1Check_QTD {}; +} // namespace Ui + #endif // DLGREF_2SEL4SPIN1CHECK_QTD_H diff --git a/src/DlgRef/DlgRef_2Sel_QTD.cxx b/src/DlgRef/DlgRef_2Sel_QTD.cxx deleted file mode 100644 index 7e305f6ef..000000000 --- a/src/DlgRef/DlgRef_2Sel_QTD.cxx +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_2Sel_QTD.ui' -** -** Created: mar sep 23 16:05:09 2003 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_2Sel_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_2Sel_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_2Sel_QTD::DlgRef_2Sel_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_2Sel_QTD" ); - resize( 129, 87 ); - setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) ); - setCaption( trUtf8( "DlgRef_2Sel_QTD" ) ); - DlgRef_2Sel_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_2Sel_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); - - PushButton1 = new QPushButton( GroupBox1, "PushButton1" ); - PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) ); - PushButton1->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton1, 0, 1 ); - QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout1->addItem( spacer, 2, 2 ); - - LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" ); - - Layout1->addWidget( LineEdit2, 1, 2 ); - - PushButton2 = new QPushButton( GroupBox1, "PushButton2" ); - PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) ); - PushButton2->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton2, 1, 1 ); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - Layout1->addWidget( TextLabel1, 0, 0 ); - - TextLabel2 = new QLabel( GroupBox1, "TextLabel2" ); - TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) ); - TextLabel2->setText( trUtf8( "TL2" ) ); - - Layout1->addWidget( TextLabel2, 1, 0 ); - - LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" ); - - Layout1->addWidget( LineEdit1, 0, 2 ); - - GroupBox1Layout->addLayout( Layout1, 0, 0 ); - - DlgRef_2Sel_QTDLayout->addWidget( GroupBox1, 0, 0 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_2Sel_QTD::~DlgRef_2Sel_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_2Sel_QTD.h b/src/DlgRef/DlgRef_2Sel_QTD.h index c28d7e908..ee50dc6ed 100644 --- a/src/DlgRef/DlgRef_2Sel_QTD.h +++ b/src/DlgRef/DlgRef_2Sel_QTD.h @@ -1,66 +1,153 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_2Sel_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_2Sel_QTD.ui' ** -** Created: mar sep 23 16:05:09 2003 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 12:53:09 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_2SEL_QTD_H #define DLGREF_2SEL_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +class Ui_DlgRef_2Sel_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QPushButton *PushButton1; + QSpacerItem *spacerItem; + QLineEdit *LineEdit2; + QPushButton *PushButton2; + QLabel *TextLabel1; + QLabel *TextLabel2; + QLineEdit *LineEdit1; -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QGroupBox; -class QLabel; -class QLineEdit; -class QPushButton; + void setupUi(QWidget *DlgRef_2Sel_QTD) + { + DlgRef_2Sel_QTD->setObjectName(QString::fromUtf8("DlgRef_2Sel_QTD")); + QSizePolicy sizePolicy(static_cast(5), static_cast(7)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(DlgRef_2Sel_QTD->sizePolicy().hasHeightForWidth()); + DlgRef_2Sel_QTD->setSizePolicy(sizePolicy); + gridLayout = new QGridLayout(DlgRef_2Sel_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_2Sel_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + PushButton1 = new QPushButton(GroupBox1); + PushButton1->setObjectName(QString::fromUtf8("PushButton1")); + QSizePolicy sizePolicy1(static_cast(0), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth()); + PushButton1->setSizePolicy(sizePolicy1); -class GEOM_DLGREF_EXPORT DlgRef_2Sel_QTD : public QWidget -{ - Q_OBJECT + gridLayout2->addWidget(PushButton1, 0, 1, 1, 1); + + spacerItem = new QSpacerItem(0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding); + + gridLayout2->addItem(spacerItem, 2, 2, 1, 1); + + LineEdit2 = new QLineEdit(GroupBox1); + LineEdit2->setObjectName(QString::fromUtf8("LineEdit2")); + + gridLayout2->addWidget(LineEdit2, 1, 2, 1, 1); + + PushButton2 = new QPushButton(GroupBox1); + PushButton2->setObjectName(QString::fromUtf8("PushButton2")); + QSizePolicy sizePolicy2(static_cast(0), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(PushButton2->sizePolicy().hasHeightForWidth()); + PushButton2->setSizePolicy(sizePolicy2); + + gridLayout2->addWidget(PushButton2, 1, 1, 1, 1); + + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy3(static_cast(0), static_cast(0)); + sizePolicy3.setHorizontalStretch(0); + sizePolicy3.setVerticalStretch(0); + sizePolicy3.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy3); + TextLabel1->setWordWrap(false); + + gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1); + + TextLabel2 = new QLabel(GroupBox1); + TextLabel2->setObjectName(QString::fromUtf8("TextLabel2")); + QSizePolicy sizePolicy4(static_cast(0), static_cast(0)); + sizePolicy4.setHorizontalStretch(0); + sizePolicy4.setVerticalStretch(0); + sizePolicy4.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth()); + TextLabel2->setSizePolicy(sizePolicy4); + TextLabel2->setWordWrap(false); + + gridLayout2->addWidget(TextLabel2, 1, 0, 1, 1); + + LineEdit1 = new QLineEdit(GroupBox1); + LineEdit1->setObjectName(QString::fromUtf8("LineEdit1")); + + gridLayout2->addWidget(LineEdit1, 0, 2, 1, 1); + + + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + + retranslateUi(DlgRef_2Sel_QTD); + + QSize size(129, 87); + size = size.expandedTo(DlgRef_2Sel_QTD->minimumSizeHint()); + DlgRef_2Sel_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_2Sel_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_2Sel_QTD) + { + DlgRef_2Sel_QTD->setWindowTitle(QApplication::translate("DlgRef_2Sel_QTD", "DlgRef_2Sel_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + PushButton1->setText(QString()); + PushButton2->setText(QString()); + TextLabel1->setText(QApplication::translate("DlgRef_2Sel_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + TextLabel2->setText(QApplication::translate("DlgRef_2Sel_QTD", "TL2", 0, QApplication::UnicodeUTF8)); + Q_UNUSED(DlgRef_2Sel_QTD); + } // retranslateUi -public: - DlgRef_2Sel_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_2Sel_QTD(); - - QGroupBox* GroupBox1; - QPushButton* PushButton1; - QLineEdit* LineEdit2; - QPushButton* PushButton2; - QLabel* TextLabel1; - QLabel* TextLabel2; - QLineEdit* LineEdit1; - - -protected: - QGridLayout* DlgRef_2Sel_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* Layout1; }; +namespace Ui { + class DlgRef_2Sel_QTD: public Ui_DlgRef_2Sel_QTD {}; +} // namespace Ui + #endif // DLGREF_2SEL_QTD_H diff --git a/src/DlgRef/DlgRef_2Spin.cxx b/src/DlgRef/DlgRef_2Spin.cxx index 437ed0b28..ddf69b930 100644 --- a/src/DlgRef/DlgRef_2Spin.cxx +++ b/src/DlgRef/DlgRef_2Spin.cxx @@ -27,26 +27,30 @@ // $Header: #include "DlgRef_2Spin.h" - -#include -#include -#include +#include "DlgRef_SpinBox.h" /* * Constructs a DlgRef_2Spin which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -DlgRef_2Spin::DlgRef_2Spin(QWidget* parent, const char* name, WFlags fl) - :DlgRef_2Spin_QTD(parent, name, fl) +DlgRef_2Spin::DlgRef_2Spin(QWidget* parent, const char* name, Qt::WindowFlags fl) + :QWidget(parent, fl) { - SpinBox1->close(TRUE); - SpinBox2->close(TRUE); + setupUi(this); + + setObjectName(name); + + SpinBox1->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox1->close(); + + SpinBox2->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox2->close(); SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX"); - Layout1->addWidget(SpinBox_DX, 0, 1); + gridLayout2->addWidget(SpinBox_DX, 0, 1); SpinBox_DY = new DlgRef_SpinBox(GroupBox1, "SpinBox_DY"); - Layout1->addWidget(SpinBox_DY, 1, 1); + gridLayout2->addWidget(SpinBox_DY, 1, 1); } diff --git a/src/DlgRef/DlgRef_2Spin.h b/src/DlgRef/DlgRef_2Spin.h index a69052c94..a330e5815 100644 --- a/src/DlgRef/DlgRef_2Spin.h +++ b/src/DlgRef/DlgRef_2Spin.h @@ -29,17 +29,18 @@ #ifndef DLGREF_2SPIN_H #define DLGREF_2SPIN_H +#include "GEOM_DlgRef.hxx" + #include "DlgRef_2Spin_QTD.h" -#include "DlgRef_SpinBox.h" -#include "GEOM_DlgRef.hxx" +class DlgRef_SpinBox; -class GEOM_DLGREF_EXPORT DlgRef_2Spin : public DlgRef_2Spin_QTD +class GEOM_DLGREF_EXPORT DlgRef_2Spin : public QWidget, public Ui::DlgRef_2Spin_QTD { Q_OBJECT public: - DlgRef_2Spin(QWidget* parent = 0, const char* name = 0, WFlags fl = 0); + DlgRef_2Spin(QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = 0); ~DlgRef_2Spin(); DlgRef_SpinBox* SpinBox_DX; diff --git a/src/DlgRef/DlgRef_2Spin_QTD.cxx b/src/DlgRef/DlgRef_2Spin_QTD.cxx deleted file mode 100644 index fab9c4f8c..000000000 --- a/src/DlgRef/DlgRef_2Spin_QTD.cxx +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_2Spin_QTD.ui' -** -** Created: jeu sep 25 12:10:30 2003 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_2Spin_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_2Spin_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_2Spin_QTD::DlgRef_2Spin_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_2Spin_QTD" ); - resize( 124, 83 ); - setCaption( trUtf8( "DlgRef_2Spin_QTD" ) ); - DlgRef_2Spin_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_2Spin_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); - - SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" ); - SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( SpinBox2, 1, 1 ); - QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout1->addItem( spacer, 3, 1 ); - - SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" ); - SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( SpinBox1, 0, 1 ); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - Layout1->addWidget( TextLabel1, 0, 0 ); - - TextLabel2 = new QLabel( GroupBox1, "TextLabel2" ); - TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) ); - TextLabel2->setText( trUtf8( "TL2" ) ); - - Layout1->addWidget( TextLabel2, 1, 0 ); - - GroupBox1Layout->addLayout( Layout1, 0, 0 ); - - DlgRef_2Spin_QTDLayout->addWidget( GroupBox1, 0, 0 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_2Spin_QTD::~DlgRef_2Spin_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_2Spin_QTD.h b/src/DlgRef/DlgRef_2Spin_QTD.h index b820d4b55..a91582b41 100644 --- a/src/DlgRef/DlgRef_2Spin_QTD.h +++ b/src/DlgRef/DlgRef_2Spin_QTD.h @@ -1,63 +1,133 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_2Spin_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_2Spin_QTD.ui' ** -** Created: jeu sep 25 12:10:30 2003 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 14:45:54 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_2SPIN_QTD_H #define DLGREF_2SPIN_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QGroupBox; -class QLabel; -class QSpinBox; +class Ui_DlgRef_2Spin_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QSpinBox *SpinBox2; + QSpacerItem *spacerItem; + QSpinBox *SpinBox1; + QLabel *TextLabel1; + QLabel *TextLabel2; -class GEOM_DLGREF_EXPORT DlgRef_2Spin_QTD : public QWidget -{ - Q_OBJECT + void setupUi(QWidget *DlgRef_2Spin_QTD) + { + DlgRef_2Spin_QTD->setObjectName(QString::fromUtf8("DlgRef_2Spin_QTD")); + gridLayout = new QGridLayout(DlgRef_2Spin_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_2Spin_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + SpinBox2 = new QSpinBox(GroupBox1); + SpinBox2->setObjectName(QString::fromUtf8("SpinBox2")); + QSizePolicy sizePolicy(static_cast(7), static_cast(0)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(SpinBox2->sizePolicy().hasHeightForWidth()); + SpinBox2->setSizePolicy(sizePolicy); -public: - DlgRef_2Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_2Spin_QTD(); + gridLayout2->addWidget(SpinBox2, 1, 1, 1, 1); + + spacerItem = new QSpacerItem(0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding); + + gridLayout2->addItem(spacerItem, 3, 1, 1, 1); + + SpinBox1 = new QSpinBox(GroupBox1); + SpinBox1->setObjectName(QString::fromUtf8("SpinBox1")); + QSizePolicy sizePolicy1(static_cast(7), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(SpinBox1->sizePolicy().hasHeightForWidth()); + SpinBox1->setSizePolicy(sizePolicy1); + + gridLayout2->addWidget(SpinBox1, 0, 1, 1, 1); + + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy2(static_cast(0), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy2); + TextLabel1->setWordWrap(false); + + gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1); + + TextLabel2 = new QLabel(GroupBox1); + TextLabel2->setObjectName(QString::fromUtf8("TextLabel2")); + QSizePolicy sizePolicy3(static_cast(0), static_cast(0)); + sizePolicy3.setHorizontalStretch(0); + sizePolicy3.setVerticalStretch(0); + sizePolicy3.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth()); + TextLabel2->setSizePolicy(sizePolicy3); + TextLabel2->setWordWrap(false); - QGroupBox* GroupBox1; - QSpinBox* SpinBox2; - QSpinBox* SpinBox1; - QLabel* TextLabel1; - QLabel* TextLabel2; + gridLayout2->addWidget(TextLabel2, 1, 0, 1, 1); -protected: - QGridLayout* DlgRef_2Spin_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* Layout1; + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + + retranslateUi(DlgRef_2Spin_QTD); + + QSize size(124, 83); + size = size.expandedTo(DlgRef_2Spin_QTD->minimumSizeHint()); + DlgRef_2Spin_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_2Spin_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_2Spin_QTD) + { + DlgRef_2Spin_QTD->setWindowTitle(QApplication::translate("DlgRef_2Spin_QTD", "DlgRef_2Spin_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + TextLabel1->setText(QApplication::translate("DlgRef_2Spin_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + TextLabel2->setText(QApplication::translate("DlgRef_2Spin_QTD", "TL2", 0, QApplication::UnicodeUTF8)); + Q_UNUSED(DlgRef_2Spin_QTD); + } // retranslateUi + }; +namespace Ui { + class DlgRef_2Spin_QTD: public Ui_DlgRef_2Spin_QTD {}; +} // namespace Ui + #endif // DLGREF_2SPIN_QTD_H diff --git a/src/DlgRef/DlgRef_3Check_QTD.cxx b/src/DlgRef/DlgRef_3Check_QTD.cxx deleted file mode 100644 index 9640159b6..000000000 --- a/src/DlgRef/DlgRef_3Check_QTD.cxx +++ /dev/null @@ -1,94 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_3Check_QTD.ui' -** -** Created: Tue Aug 24 11:27:47 2004 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_3Check_QTD.h" - -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_3Check_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_3Check_QTD::DlgRef_3Check_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_3Check_QTD" ); - resize( 135, 108 ); - setCaption( trUtf8( "DlgRef_3Check_QTD" ) ); - DlgRef_3Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_3Check_QTDLayout"); - - GroupBox1 = new QButtonGroup( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); - - RadioButton3 = new QRadioButton( GroupBox1, "RadioButton3" ); - RadioButton3->setText( trUtf8( "RadioButton3" ) ); - - Layout1->addWidget( RadioButton3, 2, 0 ); - - RadioButton1 = new QRadioButton( GroupBox1, "RadioButton1" ); - RadioButton1->setText( trUtf8( "RadioButton1" ) ); - - Layout1->addWidget( RadioButton1, 0, 0 ); - - RadioButton2 = new QRadioButton( GroupBox1, "RadioButton2" ); - RadioButton2->setText( trUtf8( "RadioButton2" ) ); - - Layout1->addWidget( RadioButton2, 1, 0 ); - QSpacerItem* spacer = new QSpacerItem( 0, 91, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout1->addItem( spacer, 3, 0 ); - - GroupBox1Layout->addLayout( Layout1, 0, 0 ); - - DlgRef_3Check_QTDLayout->addWidget( GroupBox1, 0, 0 ); - - // tab order - setTabOrder( RadioButton1, RadioButton2 ); - setTabOrder( RadioButton2, RadioButton3 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_3Check_QTD::~DlgRef_3Check_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_3Check_QTD.h b/src/DlgRef/DlgRef_3Check_QTD.h index 976bf8904..c09eeb127 100644 --- a/src/DlgRef/DlgRef_3Check_QTD.h +++ b/src/DlgRef/DlgRef_3Check_QTD.h @@ -1,61 +1,106 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_3Check_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_3Check_QTD.ui' ** -** Created: Tue Aug 24 11:27:47 2004 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 14:57:56 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_3CHECK_QTD_H #define DLGREF_3CHECK_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QButtonGroup; -class QRadioButton; +class Ui_DlgRef_3Check_QTD +{ +public: + QGridLayout *gridLayout; + QButtonGroup *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QRadioButton *RadioButton3; + QRadioButton *RadioButton1; + QRadioButton *RadioButton2; + QSpacerItem *spacerItem; -class GEOM_DLGREF_EXPORT DlgRef_3Check_QTD : public QWidget -{ - Q_OBJECT + void setupUi(QWidget *DlgRef_3Check_QTD) + { + DlgRef_3Check_QTD->setObjectName(QString::fromUtf8("DlgRef_3Check_QTD")); + gridLayout = new QGridLayout(DlgRef_3Check_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QButtonGroup(DlgRef_3Check_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + RadioButton3 = new QRadioButton(GroupBox1); + RadioButton3->setObjectName(QString::fromUtf8("RadioButton3")); -public: - DlgRef_3Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_3Check_QTD(); + gridLayout2->addWidget(RadioButton3, 2, 0, 1, 1); + + RadioButton1 = new QRadioButton(GroupBox1); + RadioButton1->setObjectName(QString::fromUtf8("RadioButton1")); + + gridLayout2->addWidget(RadioButton1, 0, 0, 1, 1); + + RadioButton2 = new QRadioButton(GroupBox1); + RadioButton2->setObjectName(QString::fromUtf8("RadioButton2")); + + gridLayout2->addWidget(RadioButton2, 1, 0, 1, 1); + + spacerItem = new QSpacerItem(0, 91, QSizePolicy::Minimum, QSizePolicy::Expanding); + + gridLayout2->addItem(spacerItem, 3, 0, 1, 1); - QButtonGroup* GroupBox1; - QRadioButton* RadioButton3; - QRadioButton* RadioButton1; - QRadioButton* RadioButton2; + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + QWidget::setTabOrder(RadioButton1, RadioButton2); + QWidget::setTabOrder(RadioButton2, RadioButton3); + + retranslateUi(DlgRef_3Check_QTD); + + QSize size(135, 108); + size = size.expandedTo(DlgRef_3Check_QTD->minimumSizeHint()); + DlgRef_3Check_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_3Check_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_3Check_QTD) + { + DlgRef_3Check_QTD->setWindowTitle(QApplication::translate("DlgRef_3Check_QTD", "DlgRef_3Check_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + RadioButton3->setText(QApplication::translate("DlgRef_3Check_QTD", "RadioButton3", 0, QApplication::UnicodeUTF8)); + RadioButton1->setText(QApplication::translate("DlgRef_3Check_QTD", "RadioButton1", 0, QApplication::UnicodeUTF8)); + RadioButton2->setText(QApplication::translate("DlgRef_3Check_QTD", "RadioButton2", 0, QApplication::UnicodeUTF8)); + Q_UNUSED(DlgRef_3Check_QTD); + } // retranslateUi -protected: - QGridLayout* DlgRef_3Check_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* Layout1; }; +namespace Ui { + class DlgRef_3Check_QTD: public Ui_DlgRef_3Check_QTD {}; +} // namespace Ui + #endif // DLGREF_3CHECK_QTD_H diff --git a/src/DlgRef/DlgRef_3Sel1Check_QTD.cxx b/src/DlgRef/DlgRef_3Sel1Check_QTD.cxx deleted file mode 100644 index a1442eab4..000000000 --- a/src/DlgRef/DlgRef_3Sel1Check_QTD.cxx +++ /dev/null @@ -1,127 +0,0 @@ -/**************************************************************************** -** Form implementation generated from reading ui file 'UIFiles/DlgRef_3Sel1Check_QTD.ui' -** -** Created: Wed Feb 21 10:49:18 2007 -** by: The User Interface Compiler ($Id$) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ - -#include "DlgRef_3Sel1Check_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_3Sel1Check_QTD as a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_3Sel1Check_QTD::DlgRef_3Sel1Check_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_3Sel1Check_QTD" ); - setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, 0, 0, sizePolicy().hasHeightForWidth() ) ); - DlgRef_3Sel1Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_3Sel1Check_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, 0, 0, GroupBox1->sizePolicy().hasHeightForWidth() ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - PushButton1 = new QPushButton( GroupBox1, "PushButton1" ); - PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) ); - - GroupBox1Layout->addWidget( PushButton1, 0, 1 ); - - LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" ); - - GroupBox1Layout->addWidget( LineEdit1, 0, 2 ); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - - GroupBox1Layout->addWidget( TextLabel1, 0, 0 ); - - PushButton2 = new QPushButton( GroupBox1, "PushButton2" ); - PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) ); - - GroupBox1Layout->addWidget( PushButton2, 1, 1 ); - - LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" ); - - GroupBox1Layout->addWidget( LineEdit2, 1, 2 ); - - TextLabel2 = new QLabel( GroupBox1, "TextLabel2" ); - TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) ); - - GroupBox1Layout->addWidget( TextLabel2, 1, 0 ); - - PushButton3 = new QPushButton( GroupBox1, "PushButton3" ); - PushButton3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton3->sizePolicy().hasHeightForWidth() ) ); - - GroupBox1Layout->addWidget( PushButton3, 2, 1 ); - - LineEdit3 = new QLineEdit( GroupBox1, "LineEdit3" ); - - GroupBox1Layout->addWidget( LineEdit3, 2, 2 ); - - TextLabel3 = new QLabel( GroupBox1, "TextLabel3" ); - TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) ); - - GroupBox1Layout->addWidget( TextLabel3, 2, 0 ); - - radioButton4 = new QRadioButton( GroupBox1, "radioButton4" ); - - GroupBox1Layout->addMultiCellWidget( radioButton4, 3, 3, 0, 1 ); - Spacer3 = new QSpacerItem( 16, 721, QSizePolicy::Minimum, QSizePolicy::Expanding ); - GroupBox1Layout->addItem( Spacer3, 4, 2 ); - - DlgRef_3Sel1Check_QTDLayout->addWidget( GroupBox1, 0, 0 ); - languageChange(); - resize( QSize(490, 878).expandedTo(minimumSizeHint()) ); - clearWState( WState_Polished ); - - // tab order - setTabOrder( PushButton1, LineEdit1 ); - setTabOrder( LineEdit1, PushButton2 ); - setTabOrder( PushButton2, LineEdit2 ); - setTabOrder( LineEdit2, PushButton3 ); - setTabOrder( PushButton3, LineEdit3 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_3Sel1Check_QTD::~DlgRef_3Sel1Check_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - -/* - * Sets the strings of the subwidgets using the current - * language. - */ -void DlgRef_3Sel1Check_QTD::languageChange() -{ - setCaption( tr( "DlgRef_3Sel3Spin1Check_QTD" ) ); - GroupBox1->setTitle( QString::null ); - PushButton1->setText( QString::null ); - TextLabel1->setText( tr( "TL1" ) ); - PushButton2->setText( QString::null ); - TextLabel2->setText( tr( "TL2" ) ); - PushButton3->setText( QString::null ); - TextLabel3->setText( tr( "TL3" ) ); - radioButton4->setText( tr( "radioButton4" ) ); -} - diff --git a/src/DlgRef/DlgRef_3Sel1Check_QTD.h b/src/DlgRef/DlgRef_3Sel1Check_QTD.h index 7fdf6227e..3e86e891f 100644 --- a/src/DlgRef/DlgRef_3Sel1Check_QTD.h +++ b/src/DlgRef/DlgRef_3Sel1Check_QTD.h @@ -1,58 +1,194 @@ -/**************************************************************************** -** Form interface generated from reading ui file 'UIFiles/DlgRef_3Sel1Check_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_3Sel1Check_QTD.ui' ** -** Created: Wed Feb 21 10:48:39 2007 -** by: The User Interface Compiler ($Id$) +** Created: Mon Jul 2 09:51:07 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ #ifndef DLGREF_3SEL1CHECK_QTD_H #define DLGREF_3SEL1CHECK_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include -#include +class Ui_DlgRef_3Sel1Check_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QPushButton *PushButton1; + QLineEdit *LineEdit1; + QLabel *TextLabel1; + QPushButton *PushButton2; + QLineEdit *LineEdit2; + QLabel *TextLabel2; + QPushButton *PushButton3; + QLineEdit *LineEdit3; + QLabel *TextLabel3; + QRadioButton *radioButton4; + QSpacerItem *spacerItem; -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QSpacerItem; -class QGroupBox; -class QPushButton; -class QLineEdit; -class QLabel; -class QRadioButton; + void setupUi(QWidget *DlgRef_3Sel1Check_QTD) + { + DlgRef_3Sel1Check_QTD->setObjectName(QString::fromUtf8("DlgRef_3Sel1Check_QTD")); + QSizePolicy sizePolicy(static_cast(5), static_cast(5)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(DlgRef_3Sel1Check_QTD->sizePolicy().hasHeightForWidth()); + DlgRef_3Sel1Check_QTD->setSizePolicy(sizePolicy); + gridLayout = new QGridLayout(DlgRef_3Sel1Check_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_3Sel1Check_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + QSizePolicy sizePolicy1(static_cast(5), static_cast(5)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(GroupBox1->sizePolicy().hasHeightForWidth()); + GroupBox1->setSizePolicy(sizePolicy1); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + PushButton1 = new QPushButton(GroupBox1); + PushButton1->setObjectName(QString::fromUtf8("PushButton1")); + QSizePolicy sizePolicy2(static_cast(0), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth()); + PushButton1->setSizePolicy(sizePolicy2); -class GEOM_DLGREF_EXPORT DlgRef_3Sel1Check_QTD : public QWidget -{ - Q_OBJECT + gridLayout1->addWidget(PushButton1, 0, 1, 1, 1); -public: - DlgRef_3Sel1Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_3Sel1Check_QTD(); - - QGroupBox* GroupBox1; - QPushButton* PushButton1; - QLineEdit* LineEdit1; - QLabel* TextLabel1; - QPushButton* PushButton2; - QLineEdit* LineEdit2; - QLabel* TextLabel2; - QPushButton* PushButton3; - QLineEdit* LineEdit3; - QLabel* TextLabel3; - QRadioButton* radioButton4; - -protected: - QGridLayout* DlgRef_3Sel1Check_QTDLayout; - QGridLayout* GroupBox1Layout; - QSpacerItem* Spacer3; - -protected slots: - virtual void languageChange(); + LineEdit1 = new QLineEdit(GroupBox1); + LineEdit1->setObjectName(QString::fromUtf8("LineEdit1")); + + gridLayout1->addWidget(LineEdit1, 0, 2, 1, 1); + + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy3(static_cast(0), static_cast(0)); + sizePolicy3.setHorizontalStretch(0); + sizePolicy3.setVerticalStretch(0); + sizePolicy3.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy3); + TextLabel1->setWordWrap(false); + + gridLayout1->addWidget(TextLabel1, 0, 0, 1, 1); + + PushButton2 = new QPushButton(GroupBox1); + PushButton2->setObjectName(QString::fromUtf8("PushButton2")); + QSizePolicy sizePolicy4(static_cast(0), static_cast(0)); + sizePolicy4.setHorizontalStretch(0); + sizePolicy4.setVerticalStretch(0); + sizePolicy4.setHeightForWidth(PushButton2->sizePolicy().hasHeightForWidth()); + PushButton2->setSizePolicy(sizePolicy4); + + gridLayout1->addWidget(PushButton2, 1, 1, 1, 1); + + LineEdit2 = new QLineEdit(GroupBox1); + LineEdit2->setObjectName(QString::fromUtf8("LineEdit2")); + + gridLayout1->addWidget(LineEdit2, 1, 2, 1, 1); + + TextLabel2 = new QLabel(GroupBox1); + TextLabel2->setObjectName(QString::fromUtf8("TextLabel2")); + QSizePolicy sizePolicy5(static_cast(0), static_cast(0)); + sizePolicy5.setHorizontalStretch(0); + sizePolicy5.setVerticalStretch(0); + sizePolicy5.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth()); + TextLabel2->setSizePolicy(sizePolicy5); + TextLabel2->setWordWrap(false); + + gridLayout1->addWidget(TextLabel2, 1, 0, 1, 1); + + PushButton3 = new QPushButton(GroupBox1); + PushButton3->setObjectName(QString::fromUtf8("PushButton3")); + QSizePolicy sizePolicy6(static_cast(0), static_cast(0)); + sizePolicy6.setHorizontalStretch(0); + sizePolicy6.setVerticalStretch(0); + sizePolicy6.setHeightForWidth(PushButton3->sizePolicy().hasHeightForWidth()); + PushButton3->setSizePolicy(sizePolicy6); + + gridLayout1->addWidget(PushButton3, 2, 1, 1, 1); + + LineEdit3 = new QLineEdit(GroupBox1); + LineEdit3->setObjectName(QString::fromUtf8("LineEdit3")); + + gridLayout1->addWidget(LineEdit3, 2, 2, 1, 1); + + TextLabel3 = new QLabel(GroupBox1); + TextLabel3->setObjectName(QString::fromUtf8("TextLabel3")); + QSizePolicy sizePolicy7(static_cast(0), static_cast(0)); + sizePolicy7.setHorizontalStretch(0); + sizePolicy7.setVerticalStretch(0); + sizePolicy7.setHeightForWidth(TextLabel3->sizePolicy().hasHeightForWidth()); + TextLabel3->setSizePolicy(sizePolicy7); + TextLabel3->setWordWrap(false); + + gridLayout1->addWidget(TextLabel3, 2, 0, 1, 1); + + radioButton4 = new QRadioButton(GroupBox1); + radioButton4->setObjectName(QString::fromUtf8("radioButton4")); + + gridLayout1->addWidget(radioButton4, 3, 0, 1, 2); + + spacerItem = new QSpacerItem(16, 721, QSizePolicy::Minimum, QSizePolicy::Expanding); + + gridLayout1->addItem(spacerItem, 4, 2, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + QWidget::setTabOrder(PushButton1, LineEdit1); + QWidget::setTabOrder(LineEdit1, PushButton2); + QWidget::setTabOrder(PushButton2, LineEdit2); + QWidget::setTabOrder(LineEdit2, PushButton3); + QWidget::setTabOrder(PushButton3, LineEdit3); + + retranslateUi(DlgRef_3Sel1Check_QTD); + + QSize size(490, 878); + size = size.expandedTo(DlgRef_3Sel1Check_QTD->minimumSizeHint()); + DlgRef_3Sel1Check_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_3Sel1Check_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_3Sel1Check_QTD) + { + DlgRef_3Sel1Check_QTD->setWindowTitle(QApplication::translate("DlgRef_3Sel1Check_QTD", "DlgRef_3Sel3Spin1Check_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + PushButton1->setText(QString()); + TextLabel1->setText(QApplication::translate("DlgRef_3Sel1Check_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + PushButton2->setText(QString()); + TextLabel2->setText(QApplication::translate("DlgRef_3Sel1Check_QTD", "TL2", 0, QApplication::UnicodeUTF8)); + PushButton3->setText(QString()); + TextLabel3->setText(QApplication::translate("DlgRef_3Sel1Check_QTD", "TL3", 0, QApplication::UnicodeUTF8)); + radioButton4->setText(QApplication::translate("DlgRef_3Sel1Check_QTD", "radioButton4", 0, QApplication::UnicodeUTF8)); + Q_UNUSED(DlgRef_3Sel1Check_QTD); + } // retranslateUi }; +namespace Ui { + class DlgRef_3Sel1Check_QTD: public Ui_DlgRef_3Sel1Check_QTD {}; +} // namespace Ui + #endif // DLGREF_3SEL1CHECK_QTD_H diff --git a/src/DlgRef/DlgRef_3Sel1Spin.cxx b/src/DlgRef/DlgRef_3Sel1Spin.cxx index d9e7176cf..282e64fc5 100644 --- a/src/DlgRef/DlgRef_3Sel1Spin.cxx +++ b/src/DlgRef/DlgRef_3Sel1Spin.cxx @@ -28,26 +28,43 @@ #include "DlgRef_3Sel1Spin.h" +#include "DlgRef_SpinBox.h" + +#include +#include + //================================================================================= // class : DlgRef_3Sel1Spin // purpose : //================================================================================= -DlgRef_3Sel1Spin::DlgRef_3Sel1Spin( QWidget* parent, const char* name, WFlags fl ) - :DlgRef_3Sel_QTD( parent, name, fl ) +DlgRef_3Sel1Spin::DlgRef_3Sel1Spin( QWidget* parent, const char* name, Qt::WindowFlags fl ) + :QWidget( parent, fl ) { - Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); + setupUi(this); + + setObjectName(name); + + Layout2 = new QGridLayout(0); + Layout2->setMargin(0); + Layout2->setSpacing(6); + Layout2->setObjectName("Layout2"); - TextLabel4 = new QLabel( (QWidget*)GroupBox1, "TextLabel4" ); - TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) ); + TextLabel4 = new QLabel( (QWidget*)GroupBox1 ); + TextLabel4->setObjectName( "TextLabel4" ); + QSizePolicy sizePolicy(static_cast(0), static_cast(0)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(TextLabel3->sizePolicy().hasHeightForWidth()); + TextLabel4->setSizePolicy( sizePolicy ); Layout2->addWidget( TextLabel4, 0, 0 ); SpinBox_DX = new DlgRef_SpinBox( (QWidget*)GroupBox1, "SpinBox_DX" ); Layout2->addWidget( SpinBox_DX, 0, 1 ); - Layout1->addMultiCellLayout( Layout2, 3, 3, 0, 2 ); + gridLayout2->addLayout( Layout2, 3, 0, 1, 3 ); QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout1->addItem( spacer, 4, 2 ); + gridLayout2->addItem( spacer, 4, 2 ); } DlgRef_3Sel1Spin::~DlgRef_3Sel1Spin() diff --git a/src/DlgRef/DlgRef_3Sel1Spin.h b/src/DlgRef/DlgRef_3Sel1Spin.h index 60a779899..f6516b44c 100644 --- a/src/DlgRef/DlgRef_3Sel1Spin.h +++ b/src/DlgRef/DlgRef_3Sel1Spin.h @@ -32,20 +32,21 @@ #include "GEOM_DlgRef.hxx" #include "DlgRef_3Sel_QTD.h" -#include "DlgRef_SpinBox.h" -#include -#include + +class DlgRef_SpinBox; +class QGridLayout; +class QLabel; //================================================================================= // class : DlgRef_3Sel1Spin // purpose : extension of a DlgRef_3Sel_QTD class, 1 additional spin box is added //================================================================================= -class GEOM_DLGREF_EXPORT DlgRef_3Sel1Spin : public DlgRef_3Sel_QTD +class GEOM_DLGREF_EXPORT DlgRef_3Sel1Spin : public QWidget, public Ui::DlgRef_3Sel_QTD { Q_OBJECT public: - DlgRef_3Sel1Spin( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); + DlgRef_3Sel1Spin( QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = 0 ); ~DlgRef_3Sel1Spin(); QLabel* TextLabel4; diff --git a/src/DlgRef/DlgRef_3Sel3Spin1Check.cxx b/src/DlgRef/DlgRef_3Sel3Spin1Check.cxx index dd1a8b249..fe421a6e5 100644 --- a/src/DlgRef/DlgRef_3Sel3Spin1Check.cxx +++ b/src/DlgRef/DlgRef_3Sel3Spin1Check.cxx @@ -27,31 +27,34 @@ // $Header: #include -#include -#include -#include -#include -#include -#include -#include - +#include "DlgRef_SpinBox.h" /* * Constructs a DlgRef_3Sel3Spin1Check which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -DlgRef_3Sel3Spin1Check::DlgRef_3Sel3Spin1Check(QWidget* parent, const char* name, WFlags fl) - :DlgRef_3Sel3Spin1Check_QTD(parent, name, fl) +DlgRef_3Sel3Spin1Check::DlgRef_3Sel3Spin1Check(QWidget* parent, const char* name, Qt::WindowFlags fl) + :QWidget(parent, fl) { - SpinBox_1->close(TRUE); - SpinBox_2->close(TRUE); - SpinBox_3->close(TRUE); + setupUi(this); + + setObjectName(name); + + SpinBox_1->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox_1->close(); + + SpinBox_2->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox_2->close(); + + SpinBox_3->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox_3->close(); + SpinBox1 = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX"); SpinBox2 = new DlgRef_SpinBox(GroupBox1, "SpinBox_DY"); SpinBox3 = new DlgRef_SpinBox(GroupBox1, "SpinBox_DZ"); - Layout1->addWidget(SpinBox1, 3, 2); - Layout1->addWidget(SpinBox2, 4, 2); - Layout1->addWidget(SpinBox3, 5, 2); + gridLayout2->addWidget(SpinBox1, 3, 2); + gridLayout2->addWidget(SpinBox2, 4, 2); + gridLayout2->addWidget(SpinBox3, 5, 2); } diff --git a/src/DlgRef/DlgRef_3Sel3Spin1Check.h b/src/DlgRef/DlgRef_3Sel3Spin1Check.h index d1731cfd0..ed349d9a4 100644 --- a/src/DlgRef/DlgRef_3Sel3Spin1Check.h +++ b/src/DlgRef/DlgRef_3Sel3Spin1Check.h @@ -32,14 +32,15 @@ #include "GEOM_DlgRef.hxx" #include "DlgRef_3Sel3Spin1Check_QTD.h" -#include "DlgRef_SpinBox.h" -class GEOM_DLGREF_EXPORT DlgRef_3Sel3Spin1Check : public DlgRef_3Sel3Spin1Check_QTD +class DlgRef_SpinBox; + +class GEOM_DLGREF_EXPORT DlgRef_3Sel3Spin1Check : public QWidget, public Ui::DlgRef_3Sel3Spin1Check_QTD { Q_OBJECT public: - DlgRef_3Sel3Spin1Check( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); + DlgRef_3Sel3Spin1Check( QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = 0 ); ~DlgRef_3Sel3Spin1Check(); DlgRef_SpinBox* SpinBox1; diff --git a/src/DlgRef/DlgRef_3Sel3Spin1Check_QTD.cxx b/src/DlgRef/DlgRef_3Sel3Spin1Check_QTD.cxx deleted file mode 100644 index 9c9ca5145..000000000 --- a/src/DlgRef/DlgRef_3Sel3Spin1Check_QTD.cxx +++ /dev/null @@ -1,177 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_3Sel3Spin1Check_QTD.ui' -** -** Created: Mon Apr 19 16:36:48 2004 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_3Sel3Spin1Check_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_3Sel3Spin1Check_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_3Sel3Spin1Check_QTD::DlgRef_3Sel3Spin1Check_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_3Sel3Spin1Check_QTD" ); - resize( 380, 229 ); - setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, 0, 0, sizePolicy().hasHeightForWidth() ) ); - setCaption( trUtf8( "DlgRef_3Sel3Spin1Check_QTD" ) ); - DlgRef_3Sel3Spin1Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_3Sel3Spin1Check_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, 0, 0, GroupBox1->sizePolicy().hasHeightForWidth() ) ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); - - SpinBox_2 = new QSpinBox( GroupBox1, "SpinBox_2" ); - SpinBox_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox_2->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( SpinBox_2, 4, 2 ); - - LineEdit3 = new QLineEdit( GroupBox1, "LineEdit3" ); - - Layout1->addWidget( LineEdit3, 2, 2 ); - - SpinBox_3 = new QSpinBox( GroupBox1, "SpinBox_3" ); - SpinBox_3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox_3->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( SpinBox_3, 5, 2 ); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - Layout1->addWidget( TextLabel1, 0, 0 ); - - TextLabel3 = new QLabel( GroupBox1, "TextLabel3" ); - TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) ); - TextLabel3->setText( trUtf8( "TL3" ) ); - - Layout1->addWidget( TextLabel3, 2, 0 ); - - CheckBox1 = new QCheckBox( GroupBox1, "CheckBox1" ); - CheckBox1->setText( trUtf8( "" ) ); - - Layout1->addMultiCellWidget( CheckBox1, 6, 6, 0, 1 ); - - PushButton1 = new QPushButton( GroupBox1, "PushButton1" ); - PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) ); - PushButton1->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton1, 0, 1 ); - - TextLabel4 = new QLabel( GroupBox1, "TextLabel4" ); - TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) ); - TextLabel4->setText( trUtf8( "TL4" ) ); - - Layout1->addWidget( TextLabel4, 3, 0 ); - - LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" ); - - Layout1->addWidget( LineEdit2, 1, 2 ); - - PushButton3 = new QPushButton( GroupBox1, "PushButton3" ); - PushButton3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton3->sizePolicy().hasHeightForWidth() ) ); - PushButton3->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton3, 2, 1 ); - - TextLabel6 = new QLabel( GroupBox1, "TextLabel6" ); - TextLabel6->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel6->sizePolicy().hasHeightForWidth() ) ); - TextLabel6->setText( trUtf8( "TL6" ) ); - - Layout1->addWidget( TextLabel6, 5, 0 ); - - SpinBox_1 = new QSpinBox( GroupBox1, "SpinBox_1" ); - SpinBox_1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox_1->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( SpinBox_1, 3, 2 ); - - TextLabel5 = new QLabel( GroupBox1, "TextLabel5" ); - TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) ); - TextLabel5->setText( trUtf8( "TL5" ) ); - - Layout1->addWidget( TextLabel5, 4, 0 ); - - TextLabel2 = new QLabel( GroupBox1, "TextLabel2" ); - TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) ); - TextLabel2->setText( trUtf8( "TL2" ) ); - - Layout1->addWidget( TextLabel2, 1, 0 ); - - LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" ); - - Layout1->addWidget( LineEdit1, 0, 2 ); - - PushButton2 = new QPushButton( GroupBox1, "PushButton2" ); - PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) ); - PushButton2->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton2, 1, 1 ); - QSpacerItem* spacer = new QSpacerItem( 0, 250, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout1->addItem( spacer, 7, 2 ); - - GroupBox1Layout->addLayout( Layout1, 0, 0 ); - - DlgRef_3Sel3Spin1Check_QTDLayout->addWidget( GroupBox1, 0, 0 ); - - // tab order - setTabOrder( PushButton1, LineEdit1 ); - setTabOrder( LineEdit1, PushButton2 ); - setTabOrder( PushButton2, LineEdit2 ); - setTabOrder( LineEdit2, PushButton3 ); - setTabOrder( PushButton3, LineEdit3 ); - setTabOrder( LineEdit3, SpinBox_1 ); - setTabOrder( SpinBox_1, SpinBox_2 ); - setTabOrder( SpinBox_2, SpinBox_3 ); - setTabOrder( SpinBox_3, CheckBox1 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_3Sel3Spin1Check_QTD::~DlgRef_3Sel3Spin1Check_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_3Sel3Spin1Check_QTD.h b/src/DlgRef/DlgRef_3Sel3Spin1Check_QTD.h index a4c0c63b6..5b47b7f4f 100644 --- a/src/DlgRef/DlgRef_3Sel3Spin1Check_QTD.h +++ b/src/DlgRef/DlgRef_3Sel3Spin1Check_QTD.h @@ -1,78 +1,279 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_3Sel3Spin1Check_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_3Sel3Spin1Check_QTD.ui' ** -** Created: Mon Apr 19 16:36:48 2004 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 14:53:16 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_3SEL3SPIN1CHECK_QTD_H #define DLGREF_3SEL3SPIN1CHECK_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QCheckBox; -class QGroupBox; -class QLabel; -class QLineEdit; -class QPushButton; -class QSpinBox; +class Ui_DlgRef_3Sel3Spin1Check_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QSpinBox *SpinBox_2; + QLineEdit *LineEdit3; + QSpinBox *SpinBox_3; + QLabel *TextLabel1; + QLabel *TextLabel3; + QCheckBox *CheckBox1; + QPushButton *PushButton1; + QLabel *TextLabel4; + QLineEdit *LineEdit2; + QPushButton *PushButton3; + QLabel *TextLabel6; + QSpinBox *SpinBox_1; + QLabel *TextLabel5; + QLabel *TextLabel2; + QLineEdit *LineEdit1; + QPushButton *PushButton2; + QSpacerItem *spacerItem; -class GEOM_DLGREF_EXPORT DlgRef_3Sel3Spin1Check_QTD : public QWidget -{ - Q_OBJECT + void setupUi(QWidget *DlgRef_3Sel3Spin1Check_QTD) + { + DlgRef_3Sel3Spin1Check_QTD->setObjectName(QString::fromUtf8("DlgRef_3Sel3Spin1Check_QTD")); + QSizePolicy sizePolicy(static_cast(5), static_cast(5)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(DlgRef_3Sel3Spin1Check_QTD->sizePolicy().hasHeightForWidth()); + DlgRef_3Sel3Spin1Check_QTD->setSizePolicy(sizePolicy); + gridLayout = new QGridLayout(DlgRef_3Sel3Spin1Check_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_3Sel3Spin1Check_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + QSizePolicy sizePolicy1(static_cast(5), static_cast(5)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(GroupBox1->sizePolicy().hasHeightForWidth()); + GroupBox1->setSizePolicy(sizePolicy1); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + SpinBox_2 = new QSpinBox(GroupBox1); + SpinBox_2->setObjectName(QString::fromUtf8("SpinBox_2")); + QSizePolicy sizePolicy2(static_cast(7), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(SpinBox_2->sizePolicy().hasHeightForWidth()); + SpinBox_2->setSizePolicy(sizePolicy2); + + gridLayout2->addWidget(SpinBox_2, 4, 2, 1, 1); + + LineEdit3 = new QLineEdit(GroupBox1); + LineEdit3->setObjectName(QString::fromUtf8("LineEdit3")); + + gridLayout2->addWidget(LineEdit3, 2, 2, 1, 1); + + SpinBox_3 = new QSpinBox(GroupBox1); + SpinBox_3->setObjectName(QString::fromUtf8("SpinBox_3")); + QSizePolicy sizePolicy3(static_cast(7), static_cast(0)); + sizePolicy3.setHorizontalStretch(0); + sizePolicy3.setVerticalStretch(0); + sizePolicy3.setHeightForWidth(SpinBox_3->sizePolicy().hasHeightForWidth()); + SpinBox_3->setSizePolicy(sizePolicy3); + + gridLayout2->addWidget(SpinBox_3, 5, 2, 1, 1); + + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy4(static_cast(0), static_cast(0)); + sizePolicy4.setHorizontalStretch(0); + sizePolicy4.setVerticalStretch(0); + sizePolicy4.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy4); + TextLabel1->setWordWrap(false); + + gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1); + + TextLabel3 = new QLabel(GroupBox1); + TextLabel3->setObjectName(QString::fromUtf8("TextLabel3")); + QSizePolicy sizePolicy5(static_cast(0), static_cast(0)); + sizePolicy5.setHorizontalStretch(0); + sizePolicy5.setVerticalStretch(0); + sizePolicy5.setHeightForWidth(TextLabel3->sizePolicy().hasHeightForWidth()); + TextLabel3->setSizePolicy(sizePolicy5); + TextLabel3->setWordWrap(false); + + gridLayout2->addWidget(TextLabel3, 2, 0, 1, 1); + + CheckBox1 = new QCheckBox(GroupBox1); + CheckBox1->setObjectName(QString::fromUtf8("CheckBox1")); + + gridLayout2->addWidget(CheckBox1, 6, 0, 1, 2); + + PushButton1 = new QPushButton(GroupBox1); + PushButton1->setObjectName(QString::fromUtf8("PushButton1")); + QSizePolicy sizePolicy6(static_cast(0), static_cast(0)); + sizePolicy6.setHorizontalStretch(0); + sizePolicy6.setVerticalStretch(0); + sizePolicy6.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth()); + PushButton1->setSizePolicy(sizePolicy6); + + gridLayout2->addWidget(PushButton1, 0, 1, 1, 1); + + TextLabel4 = new QLabel(GroupBox1); + TextLabel4->setObjectName(QString::fromUtf8("TextLabel4")); + QSizePolicy sizePolicy7(static_cast(0), static_cast(0)); + sizePolicy7.setHorizontalStretch(0); + sizePolicy7.setVerticalStretch(0); + sizePolicy7.setHeightForWidth(TextLabel4->sizePolicy().hasHeightForWidth()); + TextLabel4->setSizePolicy(sizePolicy7); + TextLabel4->setWordWrap(false); + + gridLayout2->addWidget(TextLabel4, 3, 0, 1, 1); + + LineEdit2 = new QLineEdit(GroupBox1); + LineEdit2->setObjectName(QString::fromUtf8("LineEdit2")); + + gridLayout2->addWidget(LineEdit2, 1, 2, 1, 1); + + PushButton3 = new QPushButton(GroupBox1); + PushButton3->setObjectName(QString::fromUtf8("PushButton3")); + QSizePolicy sizePolicy8(static_cast(0), static_cast(0)); + sizePolicy8.setHorizontalStretch(0); + sizePolicy8.setVerticalStretch(0); + sizePolicy8.setHeightForWidth(PushButton3->sizePolicy().hasHeightForWidth()); + PushButton3->setSizePolicy(sizePolicy8); + + gridLayout2->addWidget(PushButton3, 2, 1, 1, 1); + + TextLabel6 = new QLabel(GroupBox1); + TextLabel6->setObjectName(QString::fromUtf8("TextLabel6")); + QSizePolicy sizePolicy9(static_cast(0), static_cast(0)); + sizePolicy9.setHorizontalStretch(0); + sizePolicy9.setVerticalStretch(0); + sizePolicy9.setHeightForWidth(TextLabel6->sizePolicy().hasHeightForWidth()); + TextLabel6->setSizePolicy(sizePolicy9); + TextLabel6->setWordWrap(false); + + gridLayout2->addWidget(TextLabel6, 5, 0, 1, 1); + + SpinBox_1 = new QSpinBox(GroupBox1); + SpinBox_1->setObjectName(QString::fromUtf8("SpinBox_1")); + QSizePolicy sizePolicy10(static_cast(7), static_cast(0)); + sizePolicy10.setHorizontalStretch(0); + sizePolicy10.setVerticalStretch(0); + sizePolicy10.setHeightForWidth(SpinBox_1->sizePolicy().hasHeightForWidth()); + SpinBox_1->setSizePolicy(sizePolicy10); + + gridLayout2->addWidget(SpinBox_1, 3, 2, 1, 1); + + TextLabel5 = new QLabel(GroupBox1); + TextLabel5->setObjectName(QString::fromUtf8("TextLabel5")); + QSizePolicy sizePolicy11(static_cast(0), static_cast(0)); + sizePolicy11.setHorizontalStretch(0); + sizePolicy11.setVerticalStretch(0); + sizePolicy11.setHeightForWidth(TextLabel5->sizePolicy().hasHeightForWidth()); + TextLabel5->setSizePolicy(sizePolicy11); + TextLabel5->setWordWrap(false); + + gridLayout2->addWidget(TextLabel5, 4, 0, 1, 1); + + TextLabel2 = new QLabel(GroupBox1); + TextLabel2->setObjectName(QString::fromUtf8("TextLabel2")); + QSizePolicy sizePolicy12(static_cast(0), static_cast(0)); + sizePolicy12.setHorizontalStretch(0); + sizePolicy12.setVerticalStretch(0); + sizePolicy12.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth()); + TextLabel2->setSizePolicy(sizePolicy12); + TextLabel2->setWordWrap(false); + + gridLayout2->addWidget(TextLabel2, 1, 0, 1, 1); + + LineEdit1 = new QLineEdit(GroupBox1); + LineEdit1->setObjectName(QString::fromUtf8("LineEdit1")); + + gridLayout2->addWidget(LineEdit1, 0, 2, 1, 1); + + PushButton2 = new QPushButton(GroupBox1); + PushButton2->setObjectName(QString::fromUtf8("PushButton2")); + QSizePolicy sizePolicy13(static_cast(0), static_cast(0)); + sizePolicy13.setHorizontalStretch(0); + sizePolicy13.setVerticalStretch(0); + sizePolicy13.setHeightForWidth(PushButton2->sizePolicy().hasHeightForWidth()); + PushButton2->setSizePolicy(sizePolicy13); + + gridLayout2->addWidget(PushButton2, 1, 1, 1, 1); + + spacerItem = new QSpacerItem(0, 250, QSizePolicy::Minimum, QSizePolicy::Expanding); + + gridLayout2->addItem(spacerItem, 7, 2, 1, 1); + + + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + QWidget::setTabOrder(PushButton1, LineEdit1); + QWidget::setTabOrder(LineEdit1, PushButton2); + QWidget::setTabOrder(PushButton2, LineEdit2); + QWidget::setTabOrder(LineEdit2, PushButton3); + QWidget::setTabOrder(PushButton3, LineEdit3); + QWidget::setTabOrder(LineEdit3, SpinBox_1); + QWidget::setTabOrder(SpinBox_1, SpinBox_2); + QWidget::setTabOrder(SpinBox_2, SpinBox_3); + QWidget::setTabOrder(SpinBox_3, CheckBox1); + + retranslateUi(DlgRef_3Sel3Spin1Check_QTD); + + QSize size(380, 229); + size = size.expandedTo(DlgRef_3Sel3Spin1Check_QTD->minimumSizeHint()); + DlgRef_3Sel3Spin1Check_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_3Sel3Spin1Check_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_3Sel3Spin1Check_QTD) + { + DlgRef_3Sel3Spin1Check_QTD->setWindowTitle(QApplication::translate("DlgRef_3Sel3Spin1Check_QTD", "DlgRef_3Sel3Spin1Check_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + TextLabel1->setText(QApplication::translate("DlgRef_3Sel3Spin1Check_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + TextLabel3->setText(QApplication::translate("DlgRef_3Sel3Spin1Check_QTD", "TL3", 0, QApplication::UnicodeUTF8)); + CheckBox1->setText(QString()); + PushButton1->setText(QString()); + TextLabel4->setText(QApplication::translate("DlgRef_3Sel3Spin1Check_QTD", "TL4", 0, QApplication::UnicodeUTF8)); + PushButton3->setText(QString()); + TextLabel6->setText(QApplication::translate("DlgRef_3Sel3Spin1Check_QTD", "TL6", 0, QApplication::UnicodeUTF8)); + TextLabel5->setText(QApplication::translate("DlgRef_3Sel3Spin1Check_QTD", "TL5", 0, QApplication::UnicodeUTF8)); + TextLabel2->setText(QApplication::translate("DlgRef_3Sel3Spin1Check_QTD", "TL2", 0, QApplication::UnicodeUTF8)); + PushButton2->setText(QString()); + Q_UNUSED(DlgRef_3Sel3Spin1Check_QTD); + } // retranslateUi -public: - DlgRef_3Sel3Spin1Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_3Sel3Spin1Check_QTD(); - - QGroupBox* GroupBox1; - QSpinBox* SpinBox_2; - QLineEdit* LineEdit3; - QSpinBox* SpinBox_3; - QLabel* TextLabel1; - QLabel* TextLabel3; - QCheckBox* CheckBox1; - QPushButton* PushButton1; - QLabel* TextLabel4; - QLineEdit* LineEdit2; - QPushButton* PushButton3; - QLabel* TextLabel6; - QSpinBox* SpinBox_1; - QLabel* TextLabel5; - QLabel* TextLabel2; - QLineEdit* LineEdit1; - QPushButton* PushButton2; - - -protected: - QGridLayout* DlgRef_3Sel3Spin1Check_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* Layout1; }; +namespace Ui { + class DlgRef_3Sel3Spin1Check_QTD: public Ui_DlgRef_3Sel3Spin1Check_QTD {}; +} // namespace Ui + #endif // DLGREF_3SEL3SPIN1CHECK_QTD_H diff --git a/src/DlgRef/DlgRef_3Sel4Spin2Check.cxx b/src/DlgRef/DlgRef_3Sel4Spin2Check.cxx index d8faeac59..398e9aa56 100644 --- a/src/DlgRef/DlgRef_3Sel4Spin2Check.cxx +++ b/src/DlgRef/DlgRef_3Sel4Spin2Check.cxx @@ -27,31 +27,39 @@ // $Header: #include "DlgRef_3Sel4Spin2Check.h" - -#include -#include -#include -#include +#include "DlgRef_SpinBox.h" /* * Constructs a DlgRef_2Sel1Spin which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -DlgRef_3Sel4Spin2Check::DlgRef_3Sel4Spin2Check(QWidget* parent, const char* name, WFlags fl) - :DlgRef_3Sel4Spin2Check_QTD(parent, name, fl) +DlgRef_3Sel4Spin2Check::DlgRef_3Sel4Spin2Check(QWidget* parent, const char* name, Qt::WindowFlags fl) + :QWidget(parent, fl) { - SpinBox1->close(TRUE); - SpinBox2->close(TRUE); - SpinBox3->close(TRUE); - SpinBox4->close(TRUE); + setupUi(this); + + setObjectName(name); + + SpinBox1->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox1->close(); + + SpinBox2->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox2->close(); + + SpinBox3->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox3->close(); + + SpinBox4->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox4->close(); + SpinBox_DX1 = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX1"); SpinBox_DY1 = new DlgRef_SpinBox(GroupBox1, "SpinBox_DY1"); SpinBox_DX2 = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX2"); SpinBox_DY2 = new DlgRef_SpinBox(GroupBox1, "SpinBox_DY2"); - Layout2->addWidget(SpinBox_DX1, 0, 1); - Layout2->addWidget(SpinBox_DY1, 1, 1); - Layout3->addWidget(SpinBox_DX2, 0, 1); - Layout3->addWidget(SpinBox_DY2, 1, 1); + gridLayout4->addWidget(SpinBox_DX1, 0, 1); + gridLayout4->addWidget(SpinBox_DY1, 1, 1); + gridLayout3->addWidget(SpinBox_DX2, 0, 1); + gridLayout3->addWidget(SpinBox_DY2, 1, 1); // PAL6532 PushButton1->setAutoDefault( false ); diff --git a/src/DlgRef/DlgRef_3Sel4Spin2Check.h b/src/DlgRef/DlgRef_3Sel4Spin2Check.h index 696c6461b..da3f0fbc8 100644 --- a/src/DlgRef/DlgRef_3Sel4Spin2Check.h +++ b/src/DlgRef/DlgRef_3Sel4Spin2Check.h @@ -32,14 +32,15 @@ #include "GEOM_DlgRef.hxx" #include "DlgRef_3Sel4Spin2Check_QTD.h" -#include "DlgRef_SpinBox.h" -class GEOM_DLGREF_EXPORT DlgRef_3Sel4Spin2Check : public DlgRef_3Sel4Spin2Check_QTD +class DlgRef_SpinBox; + +class GEOM_DLGREF_EXPORT DlgRef_3Sel4Spin2Check : public QWidget, public Ui::DlgRef_3Sel4Spin2Check_QTD { Q_OBJECT public: - DlgRef_3Sel4Spin2Check(QWidget* parent = 0, const char* name = 0, WFlags fl = 0); + DlgRef_3Sel4Spin2Check(QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = 0); ~DlgRef_3Sel4Spin2Check(); DlgRef_SpinBox* SpinBox_DX1; diff --git a/src/DlgRef/DlgRef_3Sel4Spin2Check_QTD.cxx b/src/DlgRef/DlgRef_3Sel4Spin2Check_QTD.cxx deleted file mode 100644 index c0f469b30..000000000 --- a/src/DlgRef/DlgRef_3Sel4Spin2Check_QTD.cxx +++ /dev/null @@ -1,201 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_3Sel4Spin2Check_QTD.ui' -** -** Created: Tue Jun 1 16:29:29 2004 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_3Sel4Spin2Check_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_3Sel4Spin2Check_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_3Sel4Spin2Check_QTD::DlgRef_3Sel4Spin2Check_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_3Sel4Spin2Check_QTD" ); - resize( 269, 281 ); - setCaption( trUtf8( "DlgRef_3Sel4Spin2Check_QTD" ) ); - DlgRef_3Sel4Spin2Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_3Sel4Spin2Check_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); - - CheckButton2 = new QCheckBox( GroupBox1, "CheckButton2" ); - CheckButton2->setText( trUtf8( "" ) ); - - Layout1->addMultiCellWidget( CheckButton2, 6, 6, 0, 2 ); - - LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" ); - - Layout1->addWidget( LineEdit1, 0, 2 ); - - TextLabel3 = new QLabel( GroupBox1, "TextLabel3" ); - TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) ); - TextLabel3->setText( trUtf8( "TL3" ) ); - - Layout1->addWidget( TextLabel3, 2, 0 ); - - PushButton2 = new QPushButton( GroupBox1, "PushButton2" ); - PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) ); - PushButton2->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton2, 1, 1 ); - - LineEdit3 = new QLineEdit( GroupBox1, "LineEdit3" ); - - Layout1->addWidget( LineEdit3, 2, 2 ); - - PushButton1 = new QPushButton( GroupBox1, "PushButton1" ); - PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) ); - PushButton1->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton1, 0, 1 ); - - Layout3 = new QGridLayout( 0, 1, 1, 0, 6, "Layout3"); - - SpinBox4 = new QSpinBox( GroupBox1, "SpinBox4" ); - SpinBox4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox4->sizePolicy().hasHeightForWidth() ) ); - - Layout3->addWidget( SpinBox4, 1, 1 ); - - SpinBox3 = new QSpinBox( GroupBox1, "SpinBox3" ); - SpinBox3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox3->sizePolicy().hasHeightForWidth() ) ); - - Layout3->addWidget( SpinBox3, 0, 1 ); - - TextLabel7 = new QLabel( GroupBox1, "TextLabel7" ); - TextLabel7->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel7->sizePolicy().hasHeightForWidth() ) ); - TextLabel7->setText( trUtf8( "TL7" ) ); - - Layout3->addWidget( TextLabel7, 1, 0 ); - - TextLabel6 = new QLabel( GroupBox1, "TextLabel6" ); - TextLabel6->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel6->sizePolicy().hasHeightForWidth() ) ); - TextLabel6->setText( trUtf8( "TL6" ) ); - - Layout3->addWidget( TextLabel6, 0, 0 ); - - Layout1->addMultiCellLayout( Layout3, 5, 5, 0, 2 ); - - CheckButton1 = new QCheckBox( GroupBox1, "CheckButton1" ); - CheckButton1->setText( trUtf8( "" ) ); - - Layout1->addMultiCellWidget( CheckButton1, 4, 4, 0, 2 ); - - PushButton3 = new QPushButton( GroupBox1, "PushButton3" ); - PushButton3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton3->sizePolicy().hasHeightForWidth() ) ); - PushButton3->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton3, 2, 1 ); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - Layout1->addWidget( TextLabel1, 0, 0 ); - QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout1->addItem( spacer, 7, 2 ); - - LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" ); - - Layout1->addWidget( LineEdit2, 1, 2 ); - - Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); - - TextLabel5 = new QLabel( GroupBox1, "TextLabel5" ); - TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) ); - TextLabel5->setText( trUtf8( "TL5" ) ); - - Layout2->addWidget( TextLabel5, 1, 0 ); - - TextLabel4 = new QLabel( GroupBox1, "TextLabel4" ); - TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) ); - TextLabel4->setText( trUtf8( "TL4" ) ); - - Layout2->addWidget( TextLabel4, 0, 0 ); - - SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" ); - SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) ); - - Layout2->addWidget( SpinBox1, 0, 1 ); - - SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" ); - SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) ); - - Layout2->addWidget( SpinBox2, 1, 1 ); - - Layout1->addMultiCellLayout( Layout2, 3, 3, 0, 2 ); - - TextLabel2 = new QLabel( GroupBox1, "TextLabel2" ); - TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) ); - TextLabel2->setText( trUtf8( "TL2" ) ); - - Layout1->addWidget( TextLabel2, 1, 0 ); - - GroupBox1Layout->addLayout( Layout1, 0, 0 ); - - DlgRef_3Sel4Spin2Check_QTDLayout->addWidget( GroupBox1, 0, 0 ); - - // tab order - setTabOrder( PushButton1, LineEdit1 ); - setTabOrder( LineEdit1, PushButton2 ); - setTabOrder( PushButton2, LineEdit2 ); - setTabOrder( LineEdit2, PushButton3 ); - setTabOrder( PushButton3, LineEdit3 ); - setTabOrder( LineEdit3, SpinBox1 ); - setTabOrder( SpinBox1, SpinBox2 ); - setTabOrder( SpinBox2, CheckButton1 ); - setTabOrder( CheckButton1, SpinBox3 ); - setTabOrder( SpinBox3, SpinBox4 ); - setTabOrder( SpinBox4, CheckButton2 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_3Sel4Spin2Check_QTD::~DlgRef_3Sel4Spin2Check_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_3Sel4Spin2Check_QTD.h b/src/DlgRef/DlgRef_3Sel4Spin2Check_QTD.h index 9503dec91..fd1aeb428 100644 --- a/src/DlgRef/DlgRef_3Sel4Spin2Check_QTD.h +++ b/src/DlgRef/DlgRef_3Sel4Spin2Check_QTD.h @@ -1,83 +1,318 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_3Sel4Spin2Check_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_3Sel4Spin2Check_QTD.ui' ** -** Created: Tue Jun 1 16:29:29 2004 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 14:41:57 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_3SEL4SPIN2CHECK_QTD_H #define DLGREF_3SEL4SPIN2CHECK_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +class Ui_DlgRef_3Sel4Spin2Check_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QCheckBox *CheckButton2; + QLineEdit *LineEdit1; + QLabel *TextLabel3; + QPushButton *PushButton2; + QLineEdit *LineEdit3; + QPushButton *PushButton1; + QGridLayout *gridLayout3; + QSpinBox *SpinBox4; + QSpinBox *SpinBox3; + QLabel *TextLabel7; + QLabel *TextLabel6; + QCheckBox *CheckButton1; + QPushButton *PushButton3; + QLabel *TextLabel1; + QSpacerItem *spacerItem; + QLineEdit *LineEdit2; + QGridLayout *gridLayout4; + QLabel *TextLabel5; + QLabel *TextLabel4; + QSpinBox *SpinBox1; + QSpinBox *SpinBox2; + QLabel *TextLabel2; -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QCheckBox; -class QGroupBox; -class QLabel; -class QLineEdit; -class QPushButton; -class QSpinBox; + void setupUi(QWidget *DlgRef_3Sel4Spin2Check_QTD) + { + DlgRef_3Sel4Spin2Check_QTD->setObjectName(QString::fromUtf8("DlgRef_3Sel4Spin2Check_QTD")); + gridLayout = new QGridLayout(DlgRef_3Sel4Spin2Check_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_3Sel4Spin2Check_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + CheckButton2 = new QCheckBox(GroupBox1); + CheckButton2->setObjectName(QString::fromUtf8("CheckButton2")); -class GEOM_DLGREF_EXPORT DlgRef_3Sel4Spin2Check_QTD : public QWidget -{ - Q_OBJECT + gridLayout2->addWidget(CheckButton2, 6, 0, 1, 3); + + LineEdit1 = new QLineEdit(GroupBox1); + LineEdit1->setObjectName(QString::fromUtf8("LineEdit1")); + + gridLayout2->addWidget(LineEdit1, 0, 2, 1, 1); + + TextLabel3 = new QLabel(GroupBox1); + TextLabel3->setObjectName(QString::fromUtf8("TextLabel3")); + QSizePolicy sizePolicy(static_cast(0), static_cast(0)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(TextLabel3->sizePolicy().hasHeightForWidth()); + TextLabel3->setSizePolicy(sizePolicy); + TextLabel3->setWordWrap(false); + + gridLayout2->addWidget(TextLabel3, 2, 0, 1, 1); + + PushButton2 = new QPushButton(GroupBox1); + PushButton2->setObjectName(QString::fromUtf8("PushButton2")); + QSizePolicy sizePolicy1(static_cast(0), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(PushButton2->sizePolicy().hasHeightForWidth()); + PushButton2->setSizePolicy(sizePolicy1); + + gridLayout2->addWidget(PushButton2, 1, 1, 1, 1); + + LineEdit3 = new QLineEdit(GroupBox1); + LineEdit3->setObjectName(QString::fromUtf8("LineEdit3")); + + gridLayout2->addWidget(LineEdit3, 2, 2, 1, 1); + + PushButton1 = new QPushButton(GroupBox1); + PushButton1->setObjectName(QString::fromUtf8("PushButton1")); + QSizePolicy sizePolicy2(static_cast(0), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth()); + PushButton1->setSizePolicy(sizePolicy2); + + gridLayout2->addWidget(PushButton1, 0, 1, 1, 1); + + gridLayout3 = new QGridLayout(); + gridLayout3->setSpacing(6); + gridLayout3->setMargin(0); + gridLayout3->setObjectName(QString::fromUtf8("gridLayout3")); + SpinBox4 = new QSpinBox(GroupBox1); + SpinBox4->setObjectName(QString::fromUtf8("SpinBox4")); + QSizePolicy sizePolicy3(static_cast(7), static_cast(0)); + sizePolicy3.setHorizontalStretch(0); + sizePolicy3.setVerticalStretch(0); + sizePolicy3.setHeightForWidth(SpinBox4->sizePolicy().hasHeightForWidth()); + SpinBox4->setSizePolicy(sizePolicy3); + + gridLayout3->addWidget(SpinBox4, 1, 1, 1, 1); + + SpinBox3 = new QSpinBox(GroupBox1); + SpinBox3->setObjectName(QString::fromUtf8("SpinBox3")); + QSizePolicy sizePolicy4(static_cast(7), static_cast(0)); + sizePolicy4.setHorizontalStretch(0); + sizePolicy4.setVerticalStretch(0); + sizePolicy4.setHeightForWidth(SpinBox3->sizePolicy().hasHeightForWidth()); + SpinBox3->setSizePolicy(sizePolicy4); + + gridLayout3->addWidget(SpinBox3, 0, 1, 1, 1); + + TextLabel7 = new QLabel(GroupBox1); + TextLabel7->setObjectName(QString::fromUtf8("TextLabel7")); + QSizePolicy sizePolicy5(static_cast(0), static_cast(0)); + sizePolicy5.setHorizontalStretch(0); + sizePolicy5.setVerticalStretch(0); + sizePolicy5.setHeightForWidth(TextLabel7->sizePolicy().hasHeightForWidth()); + TextLabel7->setSizePolicy(sizePolicy5); + TextLabel7->setWordWrap(false); + + gridLayout3->addWidget(TextLabel7, 1, 0, 1, 1); + + TextLabel6 = new QLabel(GroupBox1); + TextLabel6->setObjectName(QString::fromUtf8("TextLabel6")); + QSizePolicy sizePolicy6(static_cast(0), static_cast(0)); + sizePolicy6.setHorizontalStretch(0); + sizePolicy6.setVerticalStretch(0); + sizePolicy6.setHeightForWidth(TextLabel6->sizePolicy().hasHeightForWidth()); + TextLabel6->setSizePolicy(sizePolicy6); + TextLabel6->setWordWrap(false); + + gridLayout3->addWidget(TextLabel6, 0, 0, 1, 1); + + + gridLayout2->addLayout(gridLayout3, 5, 0, 1, 3); + + CheckButton1 = new QCheckBox(GroupBox1); + CheckButton1->setObjectName(QString::fromUtf8("CheckButton1")); + + gridLayout2->addWidget(CheckButton1, 4, 0, 1, 3); + + PushButton3 = new QPushButton(GroupBox1); + PushButton3->setObjectName(QString::fromUtf8("PushButton3")); + QSizePolicy sizePolicy7(static_cast(0), static_cast(0)); + sizePolicy7.setHorizontalStretch(0); + sizePolicy7.setVerticalStretch(0); + sizePolicy7.setHeightForWidth(PushButton3->sizePolicy().hasHeightForWidth()); + PushButton3->setSizePolicy(sizePolicy7); + + gridLayout2->addWidget(PushButton3, 2, 1, 1, 1); + + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy8(static_cast(0), static_cast(0)); + sizePolicy8.setHorizontalStretch(0); + sizePolicy8.setVerticalStretch(0); + sizePolicy8.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy8); + TextLabel1->setWordWrap(false); + + gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1); + + spacerItem = new QSpacerItem(0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding); + + gridLayout2->addItem(spacerItem, 7, 2, 1, 1); + + LineEdit2 = new QLineEdit(GroupBox1); + LineEdit2->setObjectName(QString::fromUtf8("LineEdit2")); + + gridLayout2->addWidget(LineEdit2, 1, 2, 1, 1); + + gridLayout4 = new QGridLayout(); + gridLayout4->setSpacing(6); + gridLayout4->setMargin(0); + gridLayout4->setObjectName(QString::fromUtf8("gridLayout4")); + TextLabel5 = new QLabel(GroupBox1); + TextLabel5->setObjectName(QString::fromUtf8("TextLabel5")); + QSizePolicy sizePolicy9(static_cast(0), static_cast(0)); + sizePolicy9.setHorizontalStretch(0); + sizePolicy9.setVerticalStretch(0); + sizePolicy9.setHeightForWidth(TextLabel5->sizePolicy().hasHeightForWidth()); + TextLabel5->setSizePolicy(sizePolicy9); + TextLabel5->setWordWrap(false); + + gridLayout4->addWidget(TextLabel5, 1, 0, 1, 1); + + TextLabel4 = new QLabel(GroupBox1); + TextLabel4->setObjectName(QString::fromUtf8("TextLabel4")); + QSizePolicy sizePolicy10(static_cast(0), static_cast(0)); + sizePolicy10.setHorizontalStretch(0); + sizePolicy10.setVerticalStretch(0); + sizePolicy10.setHeightForWidth(TextLabel4->sizePolicy().hasHeightForWidth()); + TextLabel4->setSizePolicy(sizePolicy10); + TextLabel4->setWordWrap(false); + + gridLayout4->addWidget(TextLabel4, 0, 0, 1, 1); + + SpinBox1 = new QSpinBox(GroupBox1); + SpinBox1->setObjectName(QString::fromUtf8("SpinBox1")); + QSizePolicy sizePolicy11(static_cast(7), static_cast(0)); + sizePolicy11.setHorizontalStretch(0); + sizePolicy11.setVerticalStretch(0); + sizePolicy11.setHeightForWidth(SpinBox1->sizePolicy().hasHeightForWidth()); + SpinBox1->setSizePolicy(sizePolicy11); + + gridLayout4->addWidget(SpinBox1, 0, 1, 1, 1); + + SpinBox2 = new QSpinBox(GroupBox1); + SpinBox2->setObjectName(QString::fromUtf8("SpinBox2")); + QSizePolicy sizePolicy12(static_cast(7), static_cast(0)); + sizePolicy12.setHorizontalStretch(0); + sizePolicy12.setVerticalStretch(0); + sizePolicy12.setHeightForWidth(SpinBox2->sizePolicy().hasHeightForWidth()); + SpinBox2->setSizePolicy(sizePolicy12); + + gridLayout4->addWidget(SpinBox2, 1, 1, 1, 1); + + + gridLayout2->addLayout(gridLayout4, 3, 0, 1, 3); + + TextLabel2 = new QLabel(GroupBox1); + TextLabel2->setObjectName(QString::fromUtf8("TextLabel2")); + QSizePolicy sizePolicy13(static_cast(0), static_cast(0)); + sizePolicy13.setHorizontalStretch(0); + sizePolicy13.setVerticalStretch(0); + sizePolicy13.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth()); + TextLabel2->setSizePolicy(sizePolicy13); + TextLabel2->setWordWrap(false); + + gridLayout2->addWidget(TextLabel2, 1, 0, 1, 1); + + + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + QWidget::setTabOrder(PushButton1, LineEdit1); + QWidget::setTabOrder(LineEdit1, PushButton2); + QWidget::setTabOrder(PushButton2, LineEdit2); + QWidget::setTabOrder(LineEdit2, PushButton3); + QWidget::setTabOrder(PushButton3, LineEdit3); + QWidget::setTabOrder(LineEdit3, SpinBox1); + QWidget::setTabOrder(SpinBox1, SpinBox2); + QWidget::setTabOrder(SpinBox2, CheckButton1); + QWidget::setTabOrder(CheckButton1, SpinBox3); + QWidget::setTabOrder(SpinBox3, SpinBox4); + QWidget::setTabOrder(SpinBox4, CheckButton2); + + retranslateUi(DlgRef_3Sel4Spin2Check_QTD); + + QSize size(269, 281); + size = size.expandedTo(DlgRef_3Sel4Spin2Check_QTD->minimumSizeHint()); + DlgRef_3Sel4Spin2Check_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_3Sel4Spin2Check_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_3Sel4Spin2Check_QTD) + { + DlgRef_3Sel4Spin2Check_QTD->setWindowTitle(QApplication::translate("DlgRef_3Sel4Spin2Check_QTD", "DlgRef_3Sel4Spin2Check_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + CheckButton2->setText(QString()); + TextLabel3->setText(QApplication::translate("DlgRef_3Sel4Spin2Check_QTD", "TL3", 0, QApplication::UnicodeUTF8)); + PushButton2->setText(QString()); + PushButton1->setText(QString()); + TextLabel7->setText(QApplication::translate("DlgRef_3Sel4Spin2Check_QTD", "TL7", 0, QApplication::UnicodeUTF8)); + TextLabel6->setText(QApplication::translate("DlgRef_3Sel4Spin2Check_QTD", "TL6", 0, QApplication::UnicodeUTF8)); + CheckButton1->setText(QString()); + PushButton3->setText(QString()); + TextLabel1->setText(QApplication::translate("DlgRef_3Sel4Spin2Check_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + TextLabel5->setText(QApplication::translate("DlgRef_3Sel4Spin2Check_QTD", "TL5", 0, QApplication::UnicodeUTF8)); + TextLabel4->setText(QApplication::translate("DlgRef_3Sel4Spin2Check_QTD", "TL4", 0, QApplication::UnicodeUTF8)); + TextLabel2->setText(QApplication::translate("DlgRef_3Sel4Spin2Check_QTD", "TL2", 0, QApplication::UnicodeUTF8)); + Q_UNUSED(DlgRef_3Sel4Spin2Check_QTD); + } // retranslateUi -public: - DlgRef_3Sel4Spin2Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_3Sel4Spin2Check_QTD(); - - QGroupBox* GroupBox1; - QCheckBox* CheckButton2; - QLineEdit* LineEdit1; - QLabel* TextLabel3; - QPushButton* PushButton2; - QLineEdit* LineEdit3; - QPushButton* PushButton1; - QSpinBox* SpinBox4; - QSpinBox* SpinBox3; - QLabel* TextLabel7; - QLabel* TextLabel6; - QCheckBox* CheckButton1; - QPushButton* PushButton3; - QLabel* TextLabel1; - QLineEdit* LineEdit2; - QLabel* TextLabel5; - QLabel* TextLabel4; - QSpinBox* SpinBox1; - QSpinBox* SpinBox2; - QLabel* TextLabel2; - - -protected: - QGridLayout* DlgRef_3Sel4Spin2Check_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* Layout1; - QGridLayout* Layout3; - QGridLayout* Layout2; }; +namespace Ui { + class DlgRef_3Sel4Spin2Check_QTD: public Ui_DlgRef_3Sel4Spin2Check_QTD {}; +} // namespace Ui + #endif // DLGREF_3SEL4SPIN2CHECK_QTD_H diff --git a/src/DlgRef/DlgRef_3Sel_QTD.cxx b/src/DlgRef/DlgRef_3Sel_QTD.cxx deleted file mode 100644 index 66a038632..000000000 --- a/src/DlgRef/DlgRef_3Sel_QTD.cxx +++ /dev/null @@ -1,125 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_3Sel_QTD.ui' -** -** Created: lun sep 29 11:05:21 2003 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_3Sel_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_3Sel_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_3Sel_QTD::DlgRef_3Sel_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_3Sel_QTD" ); - resize( 129, 117 ); - setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) ); - setCaption( trUtf8( "DlgRef_3Sel_QTD" ) ); - DlgRef_3Sel_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_3Sel_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); - - LineEdit3 = new QLineEdit( GroupBox1, "LineEdit3" ); - - Layout1->addWidget( LineEdit3, 2, 2 ); - - PushButton1 = new QPushButton( GroupBox1, "PushButton1" ); - PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) ); - PushButton1->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton1, 0, 1 ); - - LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" ); - - Layout1->addWidget( LineEdit2, 1, 2 ); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - Layout1->addWidget( TextLabel1, 0, 0 ); - - TextLabel3 = new QLabel( GroupBox1, "TextLabel3" ); - TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) ); - TextLabel3->setText( trUtf8( "TL3" ) ); - - Layout1->addWidget( TextLabel3, 2, 0 ); - - LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" ); - - Layout1->addWidget( LineEdit1, 0, 2 ); - QSpacerItem* spacer = new QSpacerItem( 0, 159, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout1->addItem( spacer, 3, 2 ); - - TextLabel2 = new QLabel( GroupBox1, "TextLabel2" ); - TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) ); - TextLabel2->setText( trUtf8( "TL2" ) ); - - Layout1->addWidget( TextLabel2, 1, 0 ); - - PushButton3 = new QPushButton( GroupBox1, "PushButton3" ); - PushButton3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton3->sizePolicy().hasHeightForWidth() ) ); - PushButton3->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton3, 2, 1 ); - - PushButton2 = new QPushButton( GroupBox1, "PushButton2" ); - PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) ); - PushButton2->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton2, 1, 1 ); - - GroupBox1Layout->addLayout( Layout1, 0, 0 ); - - DlgRef_3Sel_QTDLayout->addWidget( GroupBox1, 0, 0 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_3Sel_QTD::~DlgRef_3Sel_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_3Sel_QTD.h b/src/DlgRef/DlgRef_3Sel_QTD.h index f4b44a57f..fb3be6ea2 100644 --- a/src/DlgRef/DlgRef_3Sel_QTD.h +++ b/src/DlgRef/DlgRef_3Sel_QTD.h @@ -1,69 +1,184 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_3Sel_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_3Sel_QTD.ui' ** -** Created: lun sep 29 11:05:21 2003 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 14:36:31 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_3SEL_QTD_H #define DLGREF_3SEL_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QGroupBox; -class QLabel; -class QLineEdit; -class QPushButton; +class Ui_DlgRef_3Sel_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QLineEdit *LineEdit3; + QPushButton *PushButton1; + QLineEdit *LineEdit2; + QLabel *TextLabel1; + QLabel *TextLabel3; + QLineEdit *LineEdit1; + QSpacerItem *spacerItem; + QLabel *TextLabel2; + QPushButton *PushButton3; + QPushButton *PushButton2; -class GEOM_DLGREF_EXPORT DlgRef_3Sel_QTD : public QWidget -{ - Q_OBJECT + void setupUi(QWidget *DlgRef_3Sel_QTD) + { + DlgRef_3Sel_QTD->setObjectName(QString::fromUtf8("DlgRef_3Sel_QTD")); + QSizePolicy sizePolicy(static_cast(5), static_cast(7)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(DlgRef_3Sel_QTD->sizePolicy().hasHeightForWidth()); + DlgRef_3Sel_QTD->setSizePolicy(sizePolicy); + gridLayout = new QGridLayout(DlgRef_3Sel_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_3Sel_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + LineEdit3 = new QLineEdit(GroupBox1); + LineEdit3->setObjectName(QString::fromUtf8("LineEdit3")); + + gridLayout2->addWidget(LineEdit3, 2, 2, 1, 1); + + PushButton1 = new QPushButton(GroupBox1); + PushButton1->setObjectName(QString::fromUtf8("PushButton1")); + QSizePolicy sizePolicy1(static_cast(0), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth()); + PushButton1->setSizePolicy(sizePolicy1); + + gridLayout2->addWidget(PushButton1, 0, 1, 1, 1); + + LineEdit2 = new QLineEdit(GroupBox1); + LineEdit2->setObjectName(QString::fromUtf8("LineEdit2")); + + gridLayout2->addWidget(LineEdit2, 1, 2, 1, 1); + + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy2(static_cast(0), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy2); + TextLabel1->setWordWrap(false); + + gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1); + + TextLabel3 = new QLabel(GroupBox1); + TextLabel3->setObjectName(QString::fromUtf8("TextLabel3")); + QSizePolicy sizePolicy3(static_cast(0), static_cast(0)); + sizePolicy3.setHorizontalStretch(0); + sizePolicy3.setVerticalStretch(0); + sizePolicy3.setHeightForWidth(TextLabel3->sizePolicy().hasHeightForWidth()); + TextLabel3->setSizePolicy(sizePolicy3); + TextLabel3->setWordWrap(false); + + gridLayout2->addWidget(TextLabel3, 2, 0, 1, 1); + + LineEdit1 = new QLineEdit(GroupBox1); + LineEdit1->setObjectName(QString::fromUtf8("LineEdit1")); + + gridLayout2->addWidget(LineEdit1, 0, 2, 1, 1); + + spacerItem = new QSpacerItem(0, 159, QSizePolicy::Minimum, QSizePolicy::Expanding); + + gridLayout2->addItem(spacerItem, 3, 2, 1, 1); + + TextLabel2 = new QLabel(GroupBox1); + TextLabel2->setObjectName(QString::fromUtf8("TextLabel2")); + QSizePolicy sizePolicy4(static_cast(0), static_cast(0)); + sizePolicy4.setHorizontalStretch(0); + sizePolicy4.setVerticalStretch(0); + sizePolicy4.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth()); + TextLabel2->setSizePolicy(sizePolicy4); + TextLabel2->setWordWrap(false); + + gridLayout2->addWidget(TextLabel2, 1, 0, 1, 1); + + PushButton3 = new QPushButton(GroupBox1); + PushButton3->setObjectName(QString::fromUtf8("PushButton3")); + QSizePolicy sizePolicy5(static_cast(0), static_cast(0)); + sizePolicy5.setHorizontalStretch(0); + sizePolicy5.setVerticalStretch(0); + sizePolicy5.setHeightForWidth(PushButton3->sizePolicy().hasHeightForWidth()); + PushButton3->setSizePolicy(sizePolicy5); + + gridLayout2->addWidget(PushButton3, 2, 1, 1, 1); + + PushButton2 = new QPushButton(GroupBox1); + PushButton2->setObjectName(QString::fromUtf8("PushButton2")); + QSizePolicy sizePolicy6(static_cast(0), static_cast(0)); + sizePolicy6.setHorizontalStretch(0); + sizePolicy6.setVerticalStretch(0); + sizePolicy6.setHeightForWidth(PushButton2->sizePolicy().hasHeightForWidth()); + PushButton2->setSizePolicy(sizePolicy6); + + gridLayout2->addWidget(PushButton2, 1, 1, 1, 1); + + + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + + retranslateUi(DlgRef_3Sel_QTD); + + QSize size(129, 117); + size = size.expandedTo(DlgRef_3Sel_QTD->minimumSizeHint()); + DlgRef_3Sel_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_3Sel_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_3Sel_QTD) + { + DlgRef_3Sel_QTD->setWindowTitle(QApplication::translate("DlgRef_3Sel_QTD", "DlgRef_3Sel_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + PushButton1->setText(QString()); + TextLabel1->setText(QApplication::translate("DlgRef_3Sel_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + TextLabel3->setText(QApplication::translate("DlgRef_3Sel_QTD", "TL3", 0, QApplication::UnicodeUTF8)); + TextLabel2->setText(QApplication::translate("DlgRef_3Sel_QTD", "TL2", 0, QApplication::UnicodeUTF8)); + PushButton3->setText(QString()); + PushButton2->setText(QString()); + Q_UNUSED(DlgRef_3Sel_QTD); + } // retranslateUi -public: - DlgRef_3Sel_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_3Sel_QTD(); - - QGroupBox* GroupBox1; - QLineEdit* LineEdit3; - QPushButton* PushButton1; - QLineEdit* LineEdit2; - QLabel* TextLabel1; - QLabel* TextLabel3; - QLineEdit* LineEdit1; - QLabel* TextLabel2; - QPushButton* PushButton3; - QPushButton* PushButton2; - - -protected: - QGridLayout* DlgRef_3Sel_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* Layout1; }; +namespace Ui { + class DlgRef_3Sel_QTD: public Ui_DlgRef_3Sel_QTD {}; +} // namespace Ui + #endif // DLGREF_3SEL_QTD_H diff --git a/src/DlgRef/DlgRef_3Spin.cxx b/src/DlgRef/DlgRef_3Spin.cxx index bd2f5cee8..883763c98 100644 --- a/src/DlgRef/DlgRef_3Spin.cxx +++ b/src/DlgRef/DlgRef_3Spin.cxx @@ -27,30 +27,36 @@ // $Header: #include "DlgRef_3Spin.h" - -#include -#include -#include +#include "DlgRef_SpinBox.h" /* * Constructs a DlgRef_3Spin which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -DlgRef_3Spin::DlgRef_3Spin(QWidget* parent, const char* name, WFlags fl) - :DlgRef_3Spin_QTD(parent, name, fl) +DlgRef_3Spin::DlgRef_3Spin(QWidget* parent, const char* name, Qt::WindowFlags fl) + :QWidget(parent, fl) { - SpinBox1->close(TRUE); - SpinBox2->close(TRUE); - SpinBox3->close(TRUE); + setupUi(this); + + setObjectName(name); + + SpinBox1->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox1->close(); + + SpinBox2->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox2->close(); + + SpinBox3->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox3->close(); SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX"); - Layout1->addWidget(SpinBox_DX, 0, 1); + gridLayout2->addWidget(SpinBox_DX, 0, 1); SpinBox_DY = new DlgRef_SpinBox(GroupBox1, "SpinBox_DY"); - Layout1->addWidget(SpinBox_DY, 1, 1); + gridLayout2->addWidget(SpinBox_DY, 1, 1); SpinBox_DZ = new DlgRef_SpinBox(GroupBox1, "SpinBox_DZ"); - Layout1->addWidget(SpinBox_DZ, 2, 1); + gridLayout2->addWidget(SpinBox_DZ, 2, 1); } diff --git a/src/DlgRef/DlgRef_3Spin.h b/src/DlgRef/DlgRef_3Spin.h index 18ca9f610..ebdf97e23 100644 --- a/src/DlgRef/DlgRef_3Spin.h +++ b/src/DlgRef/DlgRef_3Spin.h @@ -32,14 +32,15 @@ #include "GEOM_DlgRef.hxx" #include "DlgRef_3Spin_QTD.h" -#include "DlgRef_SpinBox.h" -class GEOM_DLGREF_EXPORT DlgRef_3Spin : public DlgRef_3Spin_QTD +class DlgRef_SpinBox; + +class GEOM_DLGREF_EXPORT DlgRef_3Spin : public QWidget, public Ui::DlgRef_3Spin_QTD { Q_OBJECT public: - DlgRef_3Spin( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); + DlgRef_3Spin( QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = 0 ); ~DlgRef_3Spin(); DlgRef_SpinBox* SpinBox_DX; diff --git a/src/DlgRef/DlgRef_3Spin1Check.cxx b/src/DlgRef/DlgRef_3Spin1Check.cxx index 2cf12b7e7..890f664d3 100644 --- a/src/DlgRef/DlgRef_3Spin1Check.cxx +++ b/src/DlgRef/DlgRef_3Spin1Check.cxx @@ -27,30 +27,36 @@ // $Header: #include "DlgRef_3Spin1Check.h" - -#include -#include -#include +#include "DlgRef_SpinBox.h" /* * Constructs a DlgRef_3Spin which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -DlgRef_3Spin1Check::DlgRef_3Spin1Check(QWidget* parent, const char* name, WFlags fl) - :DlgRef_3Spin1Check_QTD(parent, name, fl) +DlgRef_3Spin1Check::DlgRef_3Spin1Check(QWidget* parent, const char* name, Qt::WindowFlags fl) + :QWidget(parent, fl) { - SpinBox1->close(TRUE); - SpinBox2->close(TRUE); - SpinBox3->close(TRUE); + setupUi(this); + + setObjectName(name); + + SpinBox1->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox1->close(); + + SpinBox2->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox2->close(); + + SpinBox3->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox3->close(); SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX"); - Layout1->addWidget(SpinBox_DX, 0, 1); + gridLayout2->addWidget(SpinBox_DX, 0, 1); SpinBox_DY = new DlgRef_SpinBox(GroupBox1, "SpinBox_DY"); - Layout1->addWidget(SpinBox_DY, 1, 1); + gridLayout2->addWidget(SpinBox_DY, 1, 1); SpinBox_DZ = new DlgRef_SpinBox(GroupBox1, "SpinBox_DZ"); - Layout1->addWidget(SpinBox_DZ, 2, 1); + gridLayout2->addWidget(SpinBox_DZ, 2, 1); } diff --git a/src/DlgRef/DlgRef_3Spin1Check.h b/src/DlgRef/DlgRef_3Spin1Check.h index 36c5fc2ac..0b52db5f7 100644 --- a/src/DlgRef/DlgRef_3Spin1Check.h +++ b/src/DlgRef/DlgRef_3Spin1Check.h @@ -32,14 +32,15 @@ #include "GEOM_DlgRef.hxx" #include "DlgRef_3Spin1Check_QTD.h" -#include "DlgRef_SpinBox.h" -class GEOM_DLGREF_EXPORT DlgRef_3Spin1Check : public DlgRef_3Spin1Check_QTD +class DlgRef_SpinBox; + +class GEOM_DLGREF_EXPORT DlgRef_3Spin1Check : public QWidget, public Ui::DlgRef_3Spin1Check_QTD { Q_OBJECT public: - DlgRef_3Spin1Check(QWidget* parent = 0, const char* name = 0, WFlags fl = 0); + DlgRef_3Spin1Check(QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = 0); ~DlgRef_3Spin1Check(); DlgRef_SpinBox* SpinBox_DX; diff --git a/src/DlgRef/DlgRef_3Spin1Check_QTD.cxx b/src/DlgRef/DlgRef_3Spin1Check_QTD.cxx deleted file mode 100644 index 2be55011e..000000000 --- a/src/DlgRef/DlgRef_3Spin1Check_QTD.cxx +++ /dev/null @@ -1,115 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_3Spin1Check_QTD.ui' -** -** Created: dim sep 28 18:11:19 2003 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_3Spin1Check_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_3Spin1Check_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_3Spin1Check_QTD::DlgRef_3Spin1Check_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_3Spin1Check_QTD" ); - resize( 124, 130 ); - setCaption( trUtf8( "DlgRef_3Spin1Check_QTD" ) ); - DlgRef_3Spin1Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_3Spin1Check_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); - - CheckBox1 = new QRadioButton( GroupBox1, "CheckBox1" ); - CheckBox1->setText( trUtf8( "" ) ); - - Layout1->addMultiCellWidget( CheckBox1, 3, 3, 0, 1 ); - QSpacerItem* spacer = new QSpacerItem( 0, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout1->addItem( spacer, 4, 1 ); - - SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" ); - SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( SpinBox2, 1, 1 ); - - TextLabel3 = new QLabel( GroupBox1, "TextLabel3" ); - TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) ); - TextLabel3->setText( trUtf8( "TL3" ) ); - - Layout1->addWidget( TextLabel3, 2, 0 ); - - SpinBox3 = new QSpinBox( GroupBox1, "SpinBox3" ); - SpinBox3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox3->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( SpinBox3, 2, 1 ); - - SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" ); - SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( SpinBox1, 0, 1 ); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - Layout1->addWidget( TextLabel1, 0, 0 ); - - TextLabel2 = new QLabel( GroupBox1, "TextLabel2" ); - TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) ); - TextLabel2->setText( trUtf8( "TL2" ) ); - - Layout1->addWidget( TextLabel2, 1, 0 ); - - GroupBox1Layout->addLayout( Layout1, 0, 0 ); - - DlgRef_3Spin1Check_QTDLayout->addWidget( GroupBox1, 0, 0 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_3Spin1Check_QTD::~DlgRef_3Spin1Check_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_3Spin1Check_QTD.h b/src/DlgRef/DlgRef_3Spin1Check_QTD.h index 6df92fb08..718ae9ec3 100644 --- a/src/DlgRef/DlgRef_3Spin1Check_QTD.h +++ b/src/DlgRef/DlgRef_3Spin1Check_QTD.h @@ -1,67 +1,165 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_3Spin1Check_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_3Spin1Check_QTD.ui' ** -** Created: dim sep 28 18:11:19 2003 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 14:49:31 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_3SPIN1CHECK_QTD_H #define DLGREF_3SPIN1CHECK_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +class Ui_DlgRef_3Spin1Check_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QRadioButton *CheckBox1; + QSpacerItem *spacerItem; + QSpinBox *SpinBox2; + QLabel *TextLabel3; + QSpinBox *SpinBox3; + QSpinBox *SpinBox1; + QLabel *TextLabel1; + QLabel *TextLabel2; -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QGroupBox; -class QLabel; -class QRadioButton; -class QSpinBox; + void setupUi(QWidget *DlgRef_3Spin1Check_QTD) + { + DlgRef_3Spin1Check_QTD->setObjectName(QString::fromUtf8("DlgRef_3Spin1Check_QTD")); + gridLayout = new QGridLayout(DlgRef_3Spin1Check_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_3Spin1Check_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + CheckBox1 = new QRadioButton(GroupBox1); + CheckBox1->setObjectName(QString::fromUtf8("CheckBox1")); -class GEOM_DLGREF_EXPORT DlgRef_3Spin1Check_QTD : public QWidget -{ - Q_OBJECT + gridLayout2->addWidget(CheckBox1, 3, 0, 1, 2); + + spacerItem = new QSpacerItem(0, 20, QSizePolicy::Minimum, QSizePolicy::Expanding); + + gridLayout2->addItem(spacerItem, 4, 1, 1, 1); + + SpinBox2 = new QSpinBox(GroupBox1); + SpinBox2->setObjectName(QString::fromUtf8("SpinBox2")); + QSizePolicy sizePolicy(static_cast(7), static_cast(0)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(SpinBox2->sizePolicy().hasHeightForWidth()); + SpinBox2->setSizePolicy(sizePolicy); + + gridLayout2->addWidget(SpinBox2, 1, 1, 1, 1); + + TextLabel3 = new QLabel(GroupBox1); + TextLabel3->setObjectName(QString::fromUtf8("TextLabel3")); + QSizePolicy sizePolicy1(static_cast(0), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(TextLabel3->sizePolicy().hasHeightForWidth()); + TextLabel3->setSizePolicy(sizePolicy1); + TextLabel3->setWordWrap(false); + + gridLayout2->addWidget(TextLabel3, 2, 0, 1, 1); + + SpinBox3 = new QSpinBox(GroupBox1); + SpinBox3->setObjectName(QString::fromUtf8("SpinBox3")); + QSizePolicy sizePolicy2(static_cast(7), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(SpinBox3->sizePolicy().hasHeightForWidth()); + SpinBox3->setSizePolicy(sizePolicy2); + + gridLayout2->addWidget(SpinBox3, 2, 1, 1, 1); + + SpinBox1 = new QSpinBox(GroupBox1); + SpinBox1->setObjectName(QString::fromUtf8("SpinBox1")); + QSizePolicy sizePolicy3(static_cast(7), static_cast(0)); + sizePolicy3.setHorizontalStretch(0); + sizePolicy3.setVerticalStretch(0); + sizePolicy3.setHeightForWidth(SpinBox1->sizePolicy().hasHeightForWidth()); + SpinBox1->setSizePolicy(sizePolicy3); + + gridLayout2->addWidget(SpinBox1, 0, 1, 1, 1); + + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy4(static_cast(0), static_cast(0)); + sizePolicy4.setHorizontalStretch(0); + sizePolicy4.setVerticalStretch(0); + sizePolicy4.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy4); + TextLabel1->setWordWrap(false); + + gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1); + + TextLabel2 = new QLabel(GroupBox1); + TextLabel2->setObjectName(QString::fromUtf8("TextLabel2")); + QSizePolicy sizePolicy5(static_cast(0), static_cast(0)); + sizePolicy5.setHorizontalStretch(0); + sizePolicy5.setVerticalStretch(0); + sizePolicy5.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth()); + TextLabel2->setSizePolicy(sizePolicy5); + TextLabel2->setWordWrap(false); + + gridLayout2->addWidget(TextLabel2, 1, 0, 1, 1); + + + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + + retranslateUi(DlgRef_3Spin1Check_QTD); + + QSize size(124, 130); + size = size.expandedTo(DlgRef_3Spin1Check_QTD->minimumSizeHint()); + DlgRef_3Spin1Check_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_3Spin1Check_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_3Spin1Check_QTD) + { + DlgRef_3Spin1Check_QTD->setWindowTitle(QApplication::translate("DlgRef_3Spin1Check_QTD", "DlgRef_3Spin1Check_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + CheckBox1->setText(QString()); + TextLabel3->setText(QApplication::translate("DlgRef_3Spin1Check_QTD", "TL3", 0, QApplication::UnicodeUTF8)); + TextLabel1->setText(QApplication::translate("DlgRef_3Spin1Check_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + TextLabel2->setText(QApplication::translate("DlgRef_3Spin1Check_QTD", "TL2", 0, QApplication::UnicodeUTF8)); + Q_UNUSED(DlgRef_3Spin1Check_QTD); + } // retranslateUi -public: - DlgRef_3Spin1Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_3Spin1Check_QTD(); - - QGroupBox* GroupBox1; - QRadioButton* CheckBox1; - QSpinBox* SpinBox2; - QLabel* TextLabel3; - QSpinBox* SpinBox3; - QSpinBox* SpinBox1; - QLabel* TextLabel1; - QLabel* TextLabel2; - - -protected: - QGridLayout* DlgRef_3Spin1Check_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* Layout1; }; +namespace Ui { + class DlgRef_3Spin1Check_QTD: public Ui_DlgRef_3Spin1Check_QTD {}; +} // namespace Ui + #endif // DLGREF_3SPIN1CHECK_QTD_H diff --git a/src/DlgRef/DlgRef_3Spin_QTD.cxx b/src/DlgRef/DlgRef_3Spin_QTD.cxx deleted file mode 100644 index 99a1d464e..000000000 --- a/src/DlgRef/DlgRef_3Spin_QTD.cxx +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_3Spin_QTD.ui' -** -** Created: mar sep 23 16:05:10 2003 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_3Spin_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_3Spin_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_3Spin_QTD::DlgRef_3Spin_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_3Spin_QTD" ); - resize( 124, 111 ); - setCaption( trUtf8( "DlgRef_3Spin_QTD" ) ); - DlgRef_3Spin_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_3Spin_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); - - SpinBox2 = new QSpinBox( GroupBox1, "SpinBox2" ); - SpinBox2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox2->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( SpinBox2, 1, 1 ); - QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout1->addItem( spacer, 3, 1 ); - - TextLabel3 = new QLabel( GroupBox1, "TextLabel3" ); - TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) ); - TextLabel3->setText( trUtf8( "TL3" ) ); - - Layout1->addWidget( TextLabel3, 2, 0 ); - - SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" ); - SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( SpinBox1, 0, 1 ); - - SpinBox3 = new QSpinBox( GroupBox1, "SpinBox3" ); - SpinBox3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox3->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( SpinBox3, 2, 1 ); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - Layout1->addWidget( TextLabel1, 0, 0 ); - - TextLabel2 = new QLabel( GroupBox1, "TextLabel2" ); - TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) ); - TextLabel2->setText( trUtf8( "TL2" ) ); - - Layout1->addWidget( TextLabel2, 1, 0 ); - - GroupBox1Layout->addLayout( Layout1, 0, 0 ); - - DlgRef_3Spin_QTDLayout->addWidget( GroupBox1, 0, 0 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_3Spin_QTD::~DlgRef_3Spin_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_3Spin_QTD.h b/src/DlgRef/DlgRef_3Spin_QTD.h index 7f76b90b5..2bcafdc4e 100644 --- a/src/DlgRef/DlgRef_3Spin_QTD.h +++ b/src/DlgRef/DlgRef_3Spin_QTD.h @@ -1,65 +1,157 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_3Spin_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_3Spin_QTD.ui' ** -** Created: mar sep 23 16:05:09 2003 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 14:47:42 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_3SPIN_QTD_H #define DLGREF_3SPIN_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +class Ui_DlgRef_3Spin_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QSpinBox *SpinBox2; + QSpacerItem *spacerItem; + QLabel *TextLabel3; + QSpinBox *SpinBox1; + QSpinBox *SpinBox3; + QLabel *TextLabel1; + QLabel *TextLabel2; -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QGroupBox; -class QLabel; -class QSpinBox; + void setupUi(QWidget *DlgRef_3Spin_QTD) + { + DlgRef_3Spin_QTD->setObjectName(QString::fromUtf8("DlgRef_3Spin_QTD")); + gridLayout = new QGridLayout(DlgRef_3Spin_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_3Spin_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + SpinBox2 = new QSpinBox(GroupBox1); + SpinBox2->setObjectName(QString::fromUtf8("SpinBox2")); + QSizePolicy sizePolicy(static_cast(7), static_cast(0)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(SpinBox2->sizePolicy().hasHeightForWidth()); + SpinBox2->setSizePolicy(sizePolicy); -class GEOM_DLGREF_EXPORT DlgRef_3Spin_QTD : public QWidget -{ - Q_OBJECT + gridLayout2->addWidget(SpinBox2, 1, 1, 1, 1); + + spacerItem = new QSpacerItem(0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding); + + gridLayout2->addItem(spacerItem, 3, 1, 1, 1); + + TextLabel3 = new QLabel(GroupBox1); + TextLabel3->setObjectName(QString::fromUtf8("TextLabel3")); + QSizePolicy sizePolicy1(static_cast(0), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(TextLabel3->sizePolicy().hasHeightForWidth()); + TextLabel3->setSizePolicy(sizePolicy1); + TextLabel3->setWordWrap(false); + + gridLayout2->addWidget(TextLabel3, 2, 0, 1, 1); + + SpinBox1 = new QSpinBox(GroupBox1); + SpinBox1->setObjectName(QString::fromUtf8("SpinBox1")); + QSizePolicy sizePolicy2(static_cast(7), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(SpinBox1->sizePolicy().hasHeightForWidth()); + SpinBox1->setSizePolicy(sizePolicy2); + + gridLayout2->addWidget(SpinBox1, 0, 1, 1, 1); + + SpinBox3 = new QSpinBox(GroupBox1); + SpinBox3->setObjectName(QString::fromUtf8("SpinBox3")); + QSizePolicy sizePolicy3(static_cast(7), static_cast(0)); + sizePolicy3.setHorizontalStretch(0); + sizePolicy3.setVerticalStretch(0); + sizePolicy3.setHeightForWidth(SpinBox3->sizePolicy().hasHeightForWidth()); + SpinBox3->setSizePolicy(sizePolicy3); + + gridLayout2->addWidget(SpinBox3, 2, 1, 1, 1); + + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy4(static_cast(0), static_cast(0)); + sizePolicy4.setHorizontalStretch(0); + sizePolicy4.setVerticalStretch(0); + sizePolicy4.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy4); + TextLabel1->setWordWrap(false); + + gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1); + + TextLabel2 = new QLabel(GroupBox1); + TextLabel2->setObjectName(QString::fromUtf8("TextLabel2")); + QSizePolicy sizePolicy5(static_cast(0), static_cast(0)); + sizePolicy5.setHorizontalStretch(0); + sizePolicy5.setVerticalStretch(0); + sizePolicy5.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth()); + TextLabel2->setSizePolicy(sizePolicy5); + TextLabel2->setWordWrap(false); + + gridLayout2->addWidget(TextLabel2, 1, 0, 1, 1); + + + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + + retranslateUi(DlgRef_3Spin_QTD); + + QSize size(124, 111); + size = size.expandedTo(DlgRef_3Spin_QTD->minimumSizeHint()); + DlgRef_3Spin_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_3Spin_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_3Spin_QTD) + { + DlgRef_3Spin_QTD->setWindowTitle(QApplication::translate("DlgRef_3Spin_QTD", "DlgRef_3Spin_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + TextLabel3->setText(QApplication::translate("DlgRef_3Spin_QTD", "TL3", 0, QApplication::UnicodeUTF8)); + TextLabel1->setText(QApplication::translate("DlgRef_3Spin_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + TextLabel2->setText(QApplication::translate("DlgRef_3Spin_QTD", "TL2", 0, QApplication::UnicodeUTF8)); + Q_UNUSED(DlgRef_3Spin_QTD); + } // retranslateUi -public: - DlgRef_3Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_3Spin_QTD(); - - QGroupBox* GroupBox1; - QSpinBox* SpinBox2; - QLabel* TextLabel3; - QSpinBox* SpinBox1; - QSpinBox* SpinBox3; - QLabel* TextLabel1; - QLabel* TextLabel2; - - -protected: - QGridLayout* DlgRef_3Spin_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* Layout1; }; +namespace Ui { + class DlgRef_3Spin_QTD: public Ui_DlgRef_3Spin_QTD {}; +} // namespace Ui + #endif // DLGREF_3SPIN_QTD_H diff --git a/src/DlgRef/DlgRef_4Sel1List1Check_QTD.cxx b/src/DlgRef/DlgRef_4Sel1List1Check_QTD.cxx deleted file mode 100644 index c47a7a47e..000000000 --- a/src/DlgRef/DlgRef_4Sel1List1Check_QTD.cxx +++ /dev/null @@ -1,195 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_4Sel1List1Check_QTD.ui' -** -** Created: lun oct 27 17:21:04 2003 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_4Sel1List1Check_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_4Sel1List1Check_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_4Sel1List1Check_QTD::DlgRef_4Sel1List1Check_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_4Sel1List1Check_QTD" ); - resize( 129, 210 ); - setCaption( trUtf8( "DlgRef_4Sel1List1Check_QTD" ) ); - DlgRef_4Sel1List1Check_QTDLayout = - new QGridLayout( this, 1, 1, 0, 6, "DlgRef_4Sel1List1Check_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - Layout1->addWidget( TextLabel1, 0, 0 ); - - PushButton1 = new QPushButton( GroupBox1, "PushButton1" ); - PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) ); - PushButton1->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton1, 0, 1 ); - - LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" ); - - Layout1->addWidget( LineEdit1, 0, 2 ); - - - TextLabel2 = new QLabel( GroupBox1, "TextLabel2" ); - TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) ); - TextLabel2->setText( trUtf8( "TL2" ) ); - - Layout1->addWidget( TextLabel2, 1, 0 ); - - PushButton2 = new QPushButton( GroupBox1, "PushButton2" ); - PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) ); - PushButton2->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton2, 1, 1 ); - - LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" ); - - Layout1->addWidget( LineEdit2, 1, 2 ); - - - TextLabel3 = new QLabel( GroupBox1, "TextLabel3" ); - TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) ); - TextLabel3->setText( trUtf8( "TL3" ) ); - - Layout1->addMultiCellWidget( TextLabel3, 2, 2, 0, 1 ); - - ComboBox1 = new QComboBox( FALSE, GroupBox1, "ComboBox1" ); - ComboBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, ComboBox1->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( ComboBox1, 2, 2 ); - - - GroupBox1Layout->addLayout( Layout1, 0, 0 ); - - DlgRef_4Sel1List1Check_QTDLayout->addWidget( GroupBox1, 0, 0 ); - - - GroupBox2 = new QGroupBox( this, "GroupBox2" ); - GroupBox2->setTitle( trUtf8( "" ) ); - GroupBox2->setColumnLayout(0, Qt::Vertical ); - GroupBox2->layout()->setSpacing( 6 ); - GroupBox2->layout()->setMargin( 11 ); - GroupBox2Layout = new QGridLayout( GroupBox2->layout() ); - GroupBox2Layout->setAlignment( Qt::AlignTop ); - - Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); - - TextLabel4 = new QLabel( GroupBox2, "TextLabel4" ); - TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) ); - TextLabel4->setText( trUtf8( "TL4" ) ); - - Layout2->addWidget( TextLabel4, 0, 0 ); - QSpacerItem* spacer = new QSpacerItem( 0, 80, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout1->addItem( spacer, 5, 2 ); - - PushButton3 = new QPushButton( GroupBox2, "PushButton3" ); - PushButton3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton3->sizePolicy().hasHeightForWidth() ) ); - PushButton3->setText( trUtf8( "" ) ); - - Layout2->addWidget( PushButton3, 0, 1 ); - - LineEdit3 = new QLineEdit( GroupBox2, "LineEdit3" ); - - Layout2->addWidget( LineEdit3, 0, 2 ); - - - TextLabel5 = new QLabel( GroupBox2, "TextLabel5" ); - TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) ); - TextLabel5->setText( trUtf8( "TL5" ) ); - - Layout2->addWidget( TextLabel5, 1, 0 ); - - PushButton4 = new QPushButton( GroupBox2, "PushButton4" ); - PushButton4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton4->sizePolicy().hasHeightForWidth() ) ); - PushButton4->setText( trUtf8( "" ) ); - - Layout2->addWidget( PushButton4, 1, 1 ); - - LineEdit4 = new QLineEdit( GroupBox2, "LineEdit4" ); - - Layout2->addWidget( LineEdit4, 1, 2 ); - - CheckBox1 = new QCheckBox( GroupBox1, "CheckBox1" ); - CheckBox1->setText( trUtf8( "" ) ); - Layout1->addMultiCellWidget( CheckBox1, 5, 5, 0, 1 ); - - PushButton5 = new QPushButton( GroupBox1, "PushButton5" ); - PushButton5->setText( trUtf8( "" ) ); - Layout1->addWidget( PushButton5, 5, 2 ); - - GroupBox2Layout->addLayout( Layout2, 0, 0 ); - - DlgRef_4Sel1List1Check_QTDLayout->addWidget( GroupBox2, 1, 0 ); - - // tab order - setTabOrder(PushButton1 , LineEdit1); - setTabOrder(LineEdit1 , PushButton2); - setTabOrder(PushButton2 , LineEdit2); - setTabOrder(LineEdit2, ComboBox1); - setTabOrder(ComboBox1, CheckBox1); - setTabOrder(CheckBox1, PushButton5); - setTabOrder(PushButton5, PushButton3); - setTabOrder(PushButton3 , LineEdit3); - setTabOrder(LineEdit3, PushButton4 ); - setTabOrder(PushButton4 , LineEdit4); - -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_4Sel1List1Check_QTD::~DlgRef_4Sel1List1Check_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_4Sel1List1Check_QTD.h b/src/DlgRef/DlgRef_4Sel1List1Check_QTD.h index 3d4a9a42f..a18ce37e8 100644 --- a/src/DlgRef/DlgRef_4Sel1List1Check_QTD.h +++ b/src/DlgRef/DlgRef_4Sel1List1Check_QTD.h @@ -1,81 +1,260 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_4Sel1List1Check_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_4Sel1List1Check_QTD.ui' ** -** Created: lun oct 27 17:21:03 2003 -** by: The User Interface Compiler (uic) +** Created: Mon Jul 2 09:49:53 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_4SEL1LIST1CHECK_QTD_H #define DLGREF_4SEL1LIST1CHECK_QTD_H -#include "GEOM_DlgRef.hxx" - -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QComboBox; -class QGroupBox; -class QLabel; -class QLineEdit; -class QPushButton; -class QCheckBox; -class QPushButton; - -class GEOM_DLGREF_EXPORT DlgRef_4Sel1List1Check_QTD : public QWidget -{ - Q_OBJECT +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +class Ui_DlgRef_4Sel1List_QTD +{ public: - DlgRef_4Sel1List1Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_4Sel1List1Check_QTD(); - - QGroupBox* GroupBox1; - QGroupBox* GroupBox2; - QLabel* TextLabel1; - QLabel* TextLabel2; - QLabel* TextLabel3; - QLabel* TextLabel4; - QLabel* TextLabel5; - QPushButton* PushButton1; - QPushButton* PushButton2; - QPushButton* PushButton3; - QPushButton* PushButton4; - QLineEdit* LineEdit1; - QLineEdit* LineEdit2; - QLineEdit* LineEdit3; - QLineEdit* LineEdit4; - QComboBox* ComboBox1; - QCheckBox* CheckBox1; - QPushButton* PushButton5; - -protected: - QGridLayout* DlgRef_4Sel1List1Check_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* GroupBox2Layout; - QGridLayout* Layout1; - QGridLayout* Layout2; + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QLineEdit *LineEdit2; + QPushButton *PushButton4; + QPushButton *PushButton1; + QLineEdit *LineEdit4; + QPushButton *PushButton3; + QPushButton *PushButton2; + QLabel *TextLabel1; + QLabel *TextLabel4; + QSpacerItem *spacerItem; + QLineEdit *LineEdit1; + QLabel *TextLabel5; + QLineEdit *LineEdit3; + QLabel *TextLabel2; + QComboBox *ComboBox1; + QLabel *TextLabel3; + QCheckBox *CheckBox1; + QPushButton *PushButton5; + + void setupUi(QWidget *DlgRef_4Sel1List_QTD) + { + DlgRef_4Sel1List_QTD->setObjectName(QString::fromUtf8("DlgRef_4Sel1List_QTD")); + gridLayout = new QGridLayout(DlgRef_4Sel1List_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_4Sel1List_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + LineEdit2 = new QLineEdit(GroupBox1); + LineEdit2->setObjectName(QString::fromUtf8("LineEdit2")); + + gridLayout2->addWidget(LineEdit2, 1, 2, 1, 1); + + PushButton4 = new QPushButton(GroupBox1); + PushButton4->setObjectName(QString::fromUtf8("PushButton4")); + QSizePolicy sizePolicy(static_cast(0), static_cast(0)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(PushButton4->sizePolicy().hasHeightForWidth()); + PushButton4->setSizePolicy(sizePolicy); + + gridLayout2->addWidget(PushButton4, 4, 1, 1, 1); + + PushButton1 = new QPushButton(GroupBox1); + PushButton1->setObjectName(QString::fromUtf8("PushButton1")); + QSizePolicy sizePolicy1(static_cast(0), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth()); + PushButton1->setSizePolicy(sizePolicy1); + + gridLayout2->addWidget(PushButton1, 0, 1, 1, 1); + + LineEdit4 = new QLineEdit(GroupBox1); + LineEdit4->setObjectName(QString::fromUtf8("LineEdit4")); + + gridLayout2->addWidget(LineEdit4, 4, 2, 1, 1); + + PushButton3 = new QPushButton(GroupBox1); + PushButton3->setObjectName(QString::fromUtf8("PushButton3")); + QSizePolicy sizePolicy2(static_cast(0), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(PushButton3->sizePolicy().hasHeightForWidth()); + PushButton3->setSizePolicy(sizePolicy2); + + gridLayout2->addWidget(PushButton3, 3, 1, 1, 1); + + PushButton2 = new QPushButton(GroupBox1); + PushButton2->setObjectName(QString::fromUtf8("PushButton2")); + QSizePolicy sizePolicy3(static_cast(0), static_cast(0)); + sizePolicy3.setHorizontalStretch(0); + sizePolicy3.setVerticalStretch(0); + sizePolicy3.setHeightForWidth(PushButton2->sizePolicy().hasHeightForWidth()); + PushButton2->setSizePolicy(sizePolicy3); + + gridLayout2->addWidget(PushButton2, 1, 1, 1, 1); + + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy4(static_cast(0), static_cast(0)); + sizePolicy4.setHorizontalStretch(0); + sizePolicy4.setVerticalStretch(0); + sizePolicy4.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy4); + TextLabel1->setWordWrap(false); + + gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1); + + TextLabel4 = new QLabel(GroupBox1); + TextLabel4->setObjectName(QString::fromUtf8("TextLabel4")); + QSizePolicy sizePolicy5(static_cast(0), static_cast(0)); + sizePolicy5.setHorizontalStretch(0); + sizePolicy5.setVerticalStretch(0); + sizePolicy5.setHeightForWidth(TextLabel4->sizePolicy().hasHeightForWidth()); + TextLabel4->setSizePolicy(sizePolicy5); + TextLabel4->setWordWrap(false); + + gridLayout2->addWidget(TextLabel4, 3, 0, 1, 1); + + spacerItem = new QSpacerItem(0, 80, QSizePolicy::Minimum, QSizePolicy::Expanding); + + gridLayout2->addItem(spacerItem, 6, 2, 1, 1); + + LineEdit1 = new QLineEdit(GroupBox1); + LineEdit1->setObjectName(QString::fromUtf8("LineEdit1")); + + gridLayout2->addWidget(LineEdit1, 0, 2, 1, 1); + + TextLabel5 = new QLabel(GroupBox1); + TextLabel5->setObjectName(QString::fromUtf8("TextLabel5")); + QSizePolicy sizePolicy6(static_cast(0), static_cast(0)); + sizePolicy6.setHorizontalStretch(0); + sizePolicy6.setVerticalStretch(0); + sizePolicy6.setHeightForWidth(TextLabel5->sizePolicy().hasHeightForWidth()); + TextLabel5->setSizePolicy(sizePolicy6); + TextLabel5->setWordWrap(false); + + gridLayout2->addWidget(TextLabel5, 4, 0, 1, 1); + + LineEdit3 = new QLineEdit(GroupBox1); + LineEdit3->setObjectName(QString::fromUtf8("LineEdit3")); + + gridLayout2->addWidget(LineEdit3, 3, 2, 1, 1); + + TextLabel2 = new QLabel(GroupBox1); + TextLabel2->setObjectName(QString::fromUtf8("TextLabel2")); + QSizePolicy sizePolicy7(static_cast(0), static_cast(0)); + sizePolicy7.setHorizontalStretch(0); + sizePolicy7.setVerticalStretch(0); + sizePolicy7.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth()); + TextLabel2->setSizePolicy(sizePolicy7); + TextLabel2->setWordWrap(false); + + gridLayout2->addWidget(TextLabel2, 1, 0, 1, 1); + + ComboBox1 = new QComboBox(GroupBox1); + ComboBox1->setObjectName(QString::fromUtf8("ComboBox1")); + QSizePolicy sizePolicy8(static_cast(7), static_cast(0)); + sizePolicy8.setHorizontalStretch(0); + sizePolicy8.setVerticalStretch(0); + sizePolicy8.setHeightForWidth(ComboBox1->sizePolicy().hasHeightForWidth()); + ComboBox1->setSizePolicy(sizePolicy8); + + gridLayout2->addWidget(ComboBox1, 2, 2, 1, 1); + + TextLabel3 = new QLabel(GroupBox1); + TextLabel3->setObjectName(QString::fromUtf8("TextLabel3")); + QSizePolicy sizePolicy9(static_cast(0), static_cast(0)); + sizePolicy9.setHorizontalStretch(0); + sizePolicy9.setVerticalStretch(0); + sizePolicy9.setHeightForWidth(TextLabel3->sizePolicy().hasHeightForWidth()); + TextLabel3->setSizePolicy(sizePolicy9); + TextLabel3->setWordWrap(false); + + gridLayout2->addWidget(TextLabel3, 2, 0, 1, 2); + + CheckBox1 = new QCheckBox(GroupBox1); + CheckBox1->setObjectName(QString::fromUtf8("CheckBox1")); + + gridLayout2->addWidget(CheckBox1, 5, 0, 1, 2); + + PushButton5 = new QPushButton(GroupBox1); + PushButton5->setObjectName(QString::fromUtf8("PushButton5")); + + gridLayout2->addWidget(PushButton5, 5, 2, 1, 1); + + + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + QWidget::setTabOrder(PushButton1, LineEdit1); + QWidget::setTabOrder(LineEdit1, PushButton2); + QWidget::setTabOrder(PushButton2, LineEdit2); + QWidget::setTabOrder(LineEdit2, ComboBox1); + QWidget::setTabOrder(ComboBox1, CheckBox1); + QWidget::setTabOrder(CheckBox1, PushButton5); + QWidget::setTabOrder(PushButton5, PushButton3); + QWidget::setTabOrder(PushButton3, LineEdit3); + QWidget::setTabOrder(LineEdit3, PushButton4); + QWidget::setTabOrder(PushButton4, LineEdit4); + + retranslateUi(DlgRef_4Sel1List_QTD); + + QSize size(129, 175); + size = size.expandedTo(DlgRef_4Sel1List_QTD->minimumSizeHint()); + DlgRef_4Sel1List_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_4Sel1List_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_4Sel1List_QTD) + { + DlgRef_4Sel1List_QTD->setWindowTitle(QApplication::translate("DlgRef_4Sel1List_QTD", "DlgRef_4Sel1List_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + PushButton4->setText(QString()); + PushButton1->setText(QString()); + PushButton3->setText(QString()); + PushButton2->setText(QString()); + TextLabel1->setText(QApplication::translate("DlgRef_4Sel1List_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + TextLabel4->setText(QApplication::translate("DlgRef_4Sel1List_QTD", "TL4", 0, QApplication::UnicodeUTF8)); + TextLabel5->setText(QApplication::translate("DlgRef_4Sel1List_QTD", "TL5", 0, QApplication::UnicodeUTF8)); + TextLabel2->setText(QApplication::translate("DlgRef_4Sel1List_QTD", "TL2", 0, QApplication::UnicodeUTF8)); + TextLabel3->setText(QApplication::translate("DlgRef_4Sel1List_QTD", "TL3", 0, QApplication::UnicodeUTF8)); + CheckBox1->setText(QString()); + PushButton5->setText(QString()); + Q_UNUSED(DlgRef_4Sel1List_QTD); + } // retranslateUi + }; +namespace Ui { + class DlgRef_4Sel1List_QTD: public Ui_DlgRef_4Sel1List_QTD {}; +} // namespace Ui + #endif // DLGREF_4SEL1LIST1CHECK_QTD_H diff --git a/src/DlgRef/DlgRef_4Sel1List_QTD.cxx b/src/DlgRef/DlgRef_4Sel1List_QTD.cxx deleted file mode 100644 index 1c7c3a6ea..000000000 --- a/src/DlgRef/DlgRef_4Sel1List_QTD.cxx +++ /dev/null @@ -1,171 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_4Sel1List_QTD.ui' -** -** Created: lun oct 27 17:21:04 2003 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_4Sel1List_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_4Sel1List_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_4Sel1List_QTD::DlgRef_4Sel1List_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_4Sel1List_QTD" ); - resize( 129, 175 ); - setCaption( trUtf8( "DlgRef_4Sel1List_QTD" ) ); - DlgRef_4Sel1List_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_4Sel1List_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - Layout1->addWidget( TextLabel1, 0, 0 ); - - PushButton1 = new QPushButton( GroupBox1, "PushButton1" ); - PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) ); - PushButton1->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton1, 0, 1 ); - - LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" ); - - Layout1->addWidget( LineEdit1, 0, 2 ); - - - TextLabel2 = new QLabel( GroupBox1, "TextLabel2" ); - TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) ); - TextLabel2->setText( trUtf8( "TL2" ) ); - - Layout1->addWidget( TextLabel2, 1, 0 ); - - PushButton2 = new QPushButton( GroupBox1, "PushButton2" ); - PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) ); - PushButton2->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton2, 1, 1 ); - - LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" ); - - Layout1->addWidget( LineEdit2, 1, 2 ); - - - TextLabel3 = new QLabel( GroupBox1, "TextLabel3" ); - TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) ); - TextLabel3->setText( trUtf8( "TL3" ) ); - - Layout1->addMultiCellWidget( TextLabel3, 2, 2, 0, 1 ); - - ComboBox1 = new QComboBox( FALSE, GroupBox1, "ComboBox1" ); - ComboBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, ComboBox1->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( ComboBox1, 2, 2 ); - - - GroupBox1Layout->addLayout( Layout1, 0, 0 ); - - DlgRef_4Sel1List_QTDLayout->addWidget( GroupBox1, 0, 0 ); - - - GroupBox2 = new QGroupBox( this, "GroupBox2" ); - GroupBox2->setTitle( trUtf8( "" ) ); - GroupBox2->setColumnLayout(0, Qt::Vertical ); - GroupBox2->layout()->setSpacing( 6 ); - GroupBox2->layout()->setMargin( 11 ); - GroupBox2Layout = new QGridLayout( GroupBox2->layout() ); - GroupBox2Layout->setAlignment( Qt::AlignTop ); - - Layout2 = new QGridLayout( 0, 1, 1, 0, 6, "Layout2"); - - TextLabel4 = new QLabel( GroupBox2, "TextLabel4" ); - TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) ); - TextLabel4->setText( trUtf8( "TL4" ) ); - - Layout2->addWidget( TextLabel4, 0, 0 ); - QSpacerItem* spacer = new QSpacerItem( 0, 80, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout1->addItem( spacer, 5, 2 ); - - PushButton3 = new QPushButton( GroupBox2, "PushButton3" ); - PushButton3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton3->sizePolicy().hasHeightForWidth() ) ); - PushButton3->setText( trUtf8( "" ) ); - - Layout2->addWidget( PushButton3, 0, 1 ); - - LineEdit3 = new QLineEdit( GroupBox2, "LineEdit3" ); - - Layout2->addWidget( LineEdit3, 0, 2 ); - - - TextLabel5 = new QLabel( GroupBox2, "TextLabel5" ); - TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) ); - TextLabel5->setText( trUtf8( "TL5" ) ); - - Layout2->addWidget( TextLabel5, 1, 0 ); - - PushButton4 = new QPushButton( GroupBox2, "PushButton4" ); - PushButton4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton4->sizePolicy().hasHeightForWidth() ) ); - PushButton4->setText( trUtf8( "" ) ); - - Layout2->addWidget( PushButton4, 1, 1 ); - - LineEdit4 = new QLineEdit( GroupBox2, "LineEdit4" ); - - Layout2->addWidget( LineEdit4, 1, 2 ); - - GroupBox2Layout->addLayout( Layout2, 0, 0 ); - - DlgRef_4Sel1List_QTDLayout->addWidget( GroupBox2, 1, 0 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_4Sel1List_QTD::~DlgRef_4Sel1List_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_4Sel1List_QTD.h b/src/DlgRef/DlgRef_4Sel1List_QTD.h index d391942f9..9f16e64c0 100644 --- a/src/DlgRef/DlgRef_4Sel1List_QTD.h +++ b/src/DlgRef/DlgRef_4Sel1List_QTD.h @@ -1,78 +1,235 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_4Sel1List_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_4Sel1List_QTD.ui' ** -** Created: lun oct 27 17:21:03 2003 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 14:29:13 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_4SEL1LIST_QTD_H #define DLGREF_4SEL1LIST_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QComboBox; -class QGroupBox; -class QLabel; -class QLineEdit; -class QPushButton; +class Ui_DlgRef_4Sel1List_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QLineEdit *LineEdit2; + QPushButton *PushButton4; + QPushButton *PushButton1; + QLineEdit *LineEdit4; + QPushButton *PushButton3; + QPushButton *PushButton2; + QLabel *TextLabel1; + QLabel *TextLabel4; + QSpacerItem *spacerItem; + QLineEdit *LineEdit1; + QLabel *TextLabel5; + QLineEdit *LineEdit3; + QLabel *TextLabel2; + QComboBox *ComboBox1; + QLabel *TextLabel3; -class GEOM_DLGREF_EXPORT DlgRef_4Sel1List_QTD : public QWidget -{ - Q_OBJECT + void setupUi(QWidget *DlgRef_4Sel1List_QTD) + { + DlgRef_4Sel1List_QTD->setObjectName(QString::fromUtf8("DlgRef_4Sel1List_QTD")); + gridLayout = new QGridLayout(DlgRef_4Sel1List_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_4Sel1List_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + LineEdit2 = new QLineEdit(GroupBox1); + LineEdit2->setObjectName(QString::fromUtf8("LineEdit2")); + + gridLayout2->addWidget(LineEdit2, 1, 2, 1, 1); + + PushButton4 = new QPushButton(GroupBox1); + PushButton4->setObjectName(QString::fromUtf8("PushButton4")); + QSizePolicy sizePolicy(static_cast(0), static_cast(0)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(PushButton4->sizePolicy().hasHeightForWidth()); + PushButton4->setSizePolicy(sizePolicy); + + gridLayout2->addWidget(PushButton4, 4, 1, 1, 1); + + PushButton1 = new QPushButton(GroupBox1); + PushButton1->setObjectName(QString::fromUtf8("PushButton1")); + QSizePolicy sizePolicy1(static_cast(0), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth()); + PushButton1->setSizePolicy(sizePolicy1); + + gridLayout2->addWidget(PushButton1, 0, 1, 1, 1); + + LineEdit4 = new QLineEdit(GroupBox1); + LineEdit4->setObjectName(QString::fromUtf8("LineEdit4")); + + gridLayout2->addWidget(LineEdit4, 4, 2, 1, 1); + + PushButton3 = new QPushButton(GroupBox1); + PushButton3->setObjectName(QString::fromUtf8("PushButton3")); + QSizePolicy sizePolicy2(static_cast(0), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(PushButton3->sizePolicy().hasHeightForWidth()); + PushButton3->setSizePolicy(sizePolicy2); + + gridLayout2->addWidget(PushButton3, 3, 1, 1, 1); + + PushButton2 = new QPushButton(GroupBox1); + PushButton2->setObjectName(QString::fromUtf8("PushButton2")); + QSizePolicy sizePolicy3(static_cast(0), static_cast(0)); + sizePolicy3.setHorizontalStretch(0); + sizePolicy3.setVerticalStretch(0); + sizePolicy3.setHeightForWidth(PushButton2->sizePolicy().hasHeightForWidth()); + PushButton2->setSizePolicy(sizePolicy3); + + gridLayout2->addWidget(PushButton2, 1, 1, 1, 1); + + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy4(static_cast(0), static_cast(0)); + sizePolicy4.setHorizontalStretch(0); + sizePolicy4.setVerticalStretch(0); + sizePolicy4.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy4); + TextLabel1->setWordWrap(false); + + gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1); + + TextLabel4 = new QLabel(GroupBox1); + TextLabel4->setObjectName(QString::fromUtf8("TextLabel4")); + QSizePolicy sizePolicy5(static_cast(0), static_cast(0)); + sizePolicy5.setHorizontalStretch(0); + sizePolicy5.setVerticalStretch(0); + sizePolicy5.setHeightForWidth(TextLabel4->sizePolicy().hasHeightForWidth()); + TextLabel4->setSizePolicy(sizePolicy5); + TextLabel4->setWordWrap(false); + + gridLayout2->addWidget(TextLabel4, 3, 0, 1, 1); + + spacerItem = new QSpacerItem(0, 80, QSizePolicy::Minimum, QSizePolicy::Expanding); + + gridLayout2->addItem(spacerItem, 5, 2, 1, 1); + + LineEdit1 = new QLineEdit(GroupBox1); + LineEdit1->setObjectName(QString::fromUtf8("LineEdit1")); + + gridLayout2->addWidget(LineEdit1, 0, 2, 1, 1); + + TextLabel5 = new QLabel(GroupBox1); + TextLabel5->setObjectName(QString::fromUtf8("TextLabel5")); + QSizePolicy sizePolicy6(static_cast(0), static_cast(0)); + sizePolicy6.setHorizontalStretch(0); + sizePolicy6.setVerticalStretch(0); + sizePolicy6.setHeightForWidth(TextLabel5->sizePolicy().hasHeightForWidth()); + TextLabel5->setSizePolicy(sizePolicy6); + TextLabel5->setWordWrap(false); + + gridLayout2->addWidget(TextLabel5, 4, 0, 1, 1); + + LineEdit3 = new QLineEdit(GroupBox1); + LineEdit3->setObjectName(QString::fromUtf8("LineEdit3")); + + gridLayout2->addWidget(LineEdit3, 3, 2, 1, 1); + + TextLabel2 = new QLabel(GroupBox1); + TextLabel2->setObjectName(QString::fromUtf8("TextLabel2")); + QSizePolicy sizePolicy7(static_cast(0), static_cast(0)); + sizePolicy7.setHorizontalStretch(0); + sizePolicy7.setVerticalStretch(0); + sizePolicy7.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth()); + TextLabel2->setSizePolicy(sizePolicy7); + TextLabel2->setWordWrap(false); + + gridLayout2->addWidget(TextLabel2, 1, 0, 1, 1); + + ComboBox1 = new QComboBox(GroupBox1); + ComboBox1->setObjectName(QString::fromUtf8("ComboBox1")); + QSizePolicy sizePolicy8(static_cast(7), static_cast(0)); + sizePolicy8.setHorizontalStretch(0); + sizePolicy8.setVerticalStretch(0); + sizePolicy8.setHeightForWidth(ComboBox1->sizePolicy().hasHeightForWidth()); + ComboBox1->setSizePolicy(sizePolicy8); + + gridLayout2->addWidget(ComboBox1, 2, 2, 1, 1); + + TextLabel3 = new QLabel(GroupBox1); + TextLabel3->setObjectName(QString::fromUtf8("TextLabel3")); + QSizePolicy sizePolicy9(static_cast(0), static_cast(0)); + sizePolicy9.setHorizontalStretch(0); + sizePolicy9.setVerticalStretch(0); + sizePolicy9.setHeightForWidth(TextLabel3->sizePolicy().hasHeightForWidth()); + TextLabel3->setSizePolicy(sizePolicy9); + TextLabel3->setWordWrap(false); + + gridLayout2->addWidget(TextLabel3, 2, 0, 1, 2); + + + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + + retranslateUi(DlgRef_4Sel1List_QTD); + + QSize size(129, 175); + size = size.expandedTo(DlgRef_4Sel1List_QTD->minimumSizeHint()); + DlgRef_4Sel1List_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_4Sel1List_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_4Sel1List_QTD) + { + DlgRef_4Sel1List_QTD->setWindowTitle(QApplication::translate("DlgRef_4Sel1List_QTD", "DlgRef_4Sel1List_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + PushButton4->setText(QString()); + PushButton1->setText(QString()); + PushButton3->setText(QString()); + PushButton2->setText(QString()); + TextLabel1->setText(QApplication::translate("DlgRef_4Sel1List_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + TextLabel4->setText(QApplication::translate("DlgRef_4Sel1List_QTD", "TL4", 0, QApplication::UnicodeUTF8)); + TextLabel5->setText(QApplication::translate("DlgRef_4Sel1List_QTD", "TL5", 0, QApplication::UnicodeUTF8)); + TextLabel2->setText(QApplication::translate("DlgRef_4Sel1List_QTD", "TL2", 0, QApplication::UnicodeUTF8)); + TextLabel3->setText(QApplication::translate("DlgRef_4Sel1List_QTD", "TL3", 0, QApplication::UnicodeUTF8)); + Q_UNUSED(DlgRef_4Sel1List_QTD); + } // retranslateUi -public: - DlgRef_4Sel1List_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_4Sel1List_QTD(); - - QGroupBox* GroupBox1; - QGroupBox* GroupBox2; - QLineEdit* LineEdit2; - QPushButton* PushButton4; - QPushButton* PushButton1; - QLineEdit* LineEdit4; - QPushButton* PushButton3; - QPushButton* PushButton2; - QLabel* TextLabel1; - QLabel* TextLabel4; - QLineEdit* LineEdit1; - QLabel* TextLabel5; - QLineEdit* LineEdit3; - QLabel* TextLabel2; - QComboBox* ComboBox1; - QLabel* TextLabel3; - - -protected: - QGridLayout* DlgRef_4Sel1List_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* GroupBox2Layout; - QGridLayout* Layout1; - QGridLayout* Layout2; }; +namespace Ui { + class DlgRef_4Sel1List_QTD: public Ui_DlgRef_4Sel1List_QTD {}; +} // namespace Ui + #endif // DLGREF_4SEL1LIST_QTD_H diff --git a/src/DlgRef/DlgRef_4Sel1Spin2Check.cxx b/src/DlgRef/DlgRef_4Sel1Spin2Check.cxx index 8fc0e900a..2d1d4b468 100644 --- a/src/DlgRef/DlgRef_4Sel1Spin2Check.cxx +++ b/src/DlgRef/DlgRef_4Sel1Spin2Check.cxx @@ -27,25 +27,23 @@ // $Header: #include "DlgRef_4Sel1Spin2Check.h" - -#include -#include -#include -#include -#include -#include -#include +#include "DlgRef_SpinBox.h" /* * Constructs a DlgRef_4Sel1Spin2Check which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -DlgRef_4Sel1Spin2Check::DlgRef_4Sel1Spin2Check(QWidget* parent, const char* name, WFlags fl) - :DlgRef_4Sel1Spin2Check_QTD(parent, name, fl) +DlgRef_4Sel1Spin2Check::DlgRef_4Sel1Spin2Check(QWidget* parent, const char* name, Qt::WindowFlags fl) + :QWidget(parent, fl) { - SpinBox1->close(TRUE); + setupUi(this); + + setObjectName(name); + + SpinBox1->setAttribute( Qt::WA_DeleteOnClose ); + SpinBox1->close(); SpinBox_DX = new DlgRef_SpinBox(GroupBox1, "SpinBox_DX"); - Layout1->addWidget(SpinBox_DX, 4, 2); + gridLayout->addWidget(SpinBox_DX, 4, 2); } diff --git a/src/DlgRef/DlgRef_4Sel1Spin2Check.h b/src/DlgRef/DlgRef_4Sel1Spin2Check.h index ab366bac6..a31ee6b2b 100644 --- a/src/DlgRef/DlgRef_4Sel1Spin2Check.h +++ b/src/DlgRef/DlgRef_4Sel1Spin2Check.h @@ -32,14 +32,15 @@ #include "GEOM_DlgRef.hxx" #include "DlgRef_4Sel1Spin2Check_QTD.h" -#include "DlgRef_SpinBox.h" -class GEOM_DLGREF_EXPORT DlgRef_4Sel1Spin2Check : public DlgRef_4Sel1Spin2Check_QTD +class DlgRef_SpinBox; + +class GEOM_DLGREF_EXPORT DlgRef_4Sel1Spin2Check : public QWidget, public Ui::DlgRef_4Sel1Spin2Check_QTD { Q_OBJECT public: - DlgRef_4Sel1Spin2Check(QWidget* parent = 0, const char* name = 0, WFlags fl = 0); + DlgRef_4Sel1Spin2Check(QWidget* parent = 0, const char* name = 0, Qt::WFlags fl = 0); ~DlgRef_4Sel1Spin2Check(); DlgRef_SpinBox* SpinBox_DX; diff --git a/src/DlgRef/DlgRef_4Sel1Spin2Check_QTD.cxx b/src/DlgRef/DlgRef_4Sel1Spin2Check_QTD.cxx deleted file mode 100644 index 0039c9d26..000000000 --- a/src/DlgRef/DlgRef_4Sel1Spin2Check_QTD.cxx +++ /dev/null @@ -1,158 +0,0 @@ -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_4Sel1Spin2Check_QTD.ui' -** -** Created: Wed Oct 25 20:32:42 2006 -** by: The User Interface Compiler ($Id$) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ - -#include "DlgRef_4Sel1Spin2Check_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_4Sel1Spin2Check_QTD as a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_4Sel1Spin2Check_QTD::DlgRef_4Sel1Spin2Check_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_4Sel1Spin2Check_QTD" ); - DlgRef_4Sel1Spin2Check_QTDLayout = new QVBoxLayout( this, 0, 6, "DlgRef_4Sel1Spin2Check_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QVBoxLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout1 = new QGridLayout( 0, 1, 1, 6, 6, "Layout1"); - - CheckButton2 = new QCheckBox( GroupBox1, "CheckButton2" ); - - Layout1->addWidget( CheckButton2, 4, 3 ); - - PushButton2 = new QPushButton( GroupBox1, "PushButton2" ); - PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( PushButton2, 1, 1 ); - - LineEdit5 = new QLineEdit( GroupBox1, "LineEdit5" ); - - Layout1->addMultiCellWidget( LineEdit5, 3, 3, 2, 3 ); - - TextLabel5 = new QLabel( GroupBox1, "TextLabel5" ); - TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( TextLabel5, 3, 0 ); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( TextLabel1, 0, 0 ); - - LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" ); - - Layout1->addMultiCellWidget( LineEdit1, 0, 0, 2, 3 ); - - SpinBox1 = new QSpinBox( GroupBox1, "SpinBox1" ); - SpinBox1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, SpinBox1->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( SpinBox1, 4, 2 ); - - CheckButton1 = new QCheckBox( GroupBox1, "CheckButton1" ); - - Layout1->addMultiCellWidget( CheckButton1, 5, 5, 0, 2 ); - - TextLabel2 = new QLabel( GroupBox1, "TextLabel2" ); - TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( TextLabel2, 1, 0 ); - - PushButton5 = new QPushButton( GroupBox1, "PushButton5" ); - PushButton5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton5->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( PushButton5, 3, 1 ); - - PushButton4 = new QPushButton( GroupBox1, "PushButton4" ); - PushButton4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton4->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( PushButton4, 2, 1 ); - - TextLabel4 = new QLabel( GroupBox1, "TextLabel4" ); - TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( TextLabel4, 2, 0 ); - - PushButton1 = new QPushButton( GroupBox1, "PushButton1" ); - PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( PushButton1, 0, 1 ); - - LineEdit4 = new QLineEdit( GroupBox1, "LineEdit4" ); - - Layout1->addMultiCellWidget( LineEdit4, 2, 2, 2, 3 ); - - LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" ); - - Layout1->addMultiCellWidget( LineEdit2, 1, 1, 2, 3 ); - - TextLabel3 = new QLabel( GroupBox1, "TextLabel3" ); - TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( TextLabel3, 4, 0 ); - GroupBox1Layout->addLayout( Layout1 ); - DlgRef_4Sel1Spin2Check_QTDLayout->addWidget( GroupBox1 ); - languageChange(); - resize( QSize(261, 198).expandedTo(minimumSizeHint()) ); - clearWState( WState_Polished ); - - // tab order - setTabOrder( PushButton1, LineEdit1 ); - setTabOrder( LineEdit1, PushButton2 ); - setTabOrder( PushButton2, LineEdit2 ); - setTabOrder( LineEdit2, SpinBox1 ); - setTabOrder( SpinBox1, CheckButton2 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_4Sel1Spin2Check_QTD::~DlgRef_4Sel1Spin2Check_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - -/* - * Sets the strings of the subwidgets using the current - * language. - */ -void DlgRef_4Sel1Spin2Check_QTD::languageChange() -{ - setCaption( tr( "DlgRef_4Sel1Spin2Check_QTD" ) ); - GroupBox1->setTitle( QString::null ); - CheckButton2->setText( QString::null ); - PushButton2->setText( QString::null ); - TextLabel5->setText( tr( "TL5" ) ); - TextLabel1->setText( tr( "TL1" ) ); - CheckButton1->setText( QString::null ); - TextLabel2->setText( tr( "TL2" ) ); - PushButton5->setText( QString::null ); - PushButton4->setText( QString::null ); - TextLabel4->setText( tr( "TL4" ) ); - PushButton1->setText( QString::null ); - TextLabel3->setText( tr( "TL3" ) ); -} - diff --git a/src/DlgRef/DlgRef_4Sel1Spin2Check_QTD.h b/src/DlgRef/DlgRef_4Sel1Spin2Check_QTD.h index 0d1e1d459..8e9bbbac0 100644 --- a/src/DlgRef/DlgRef_4Sel1Spin2Check_QTD.h +++ b/src/DlgRef/DlgRef_4Sel1Spin2Check_QTD.h @@ -1,65 +1,250 @@ -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_4Sel1Spin2Check_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_4Sel1Spin2Check_QTD.ui' ** -** Created: Wed Oct 25 20:32:41 2006 -** by: The User Interface Compiler ($Id$) +** Created: Fri Jun 29 14:59:51 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ #ifndef DLGREF_4SEL1SPIN2CHECK_QTD_H #define DLGREF_4SEL1SPIN2CHECK_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include -#include +class Ui_DlgRef_4Sel1Spin2Check_QTD +{ +public: + QVBoxLayout *vboxLayout; + QGroupBox *GroupBox1; + QVBoxLayout *vboxLayout1; + QGridLayout *gridLayout; + QCheckBox *CheckButton2; + QPushButton *PushButton2; + QLineEdit *LineEdit5; + QLabel *TextLabel5; + QLabel *TextLabel1; + QLineEdit *LineEdit1; + QSpinBox *SpinBox1; + QCheckBox *CheckButton1; + QLabel *TextLabel2; + QPushButton *PushButton5; + QPushButton *PushButton4; + QLabel *TextLabel4; + QPushButton *PushButton1; + QLineEdit *LineEdit4; + QLineEdit *LineEdit2; + QLabel *TextLabel3; -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QSpacerItem; -class QGroupBox; -class QCheckBox; -class QPushButton; -class QLineEdit; -class QLabel; -class QSpinBox; + void setupUi(QWidget *DlgRef_4Sel1Spin2Check_QTD) + { + DlgRef_4Sel1Spin2Check_QTD->setObjectName(QString::fromUtf8("DlgRef_4Sel1Spin2Check_QTD")); + vboxLayout = new QVBoxLayout(DlgRef_4Sel1Spin2Check_QTD); + vboxLayout->setSpacing(6); + vboxLayout->setMargin(0); + vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); + GroupBox1 = new QGroupBox(DlgRef_4Sel1Spin2Check_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + vboxLayout1 = new QVBoxLayout(GroupBox1); + vboxLayout1->setSpacing(6); + vboxLayout1->setMargin(11); + vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1")); + gridLayout = new QGridLayout(); + gridLayout->setSpacing(6); + gridLayout->setMargin(6); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + CheckButton2 = new QCheckBox(GroupBox1); + CheckButton2->setObjectName(QString::fromUtf8("CheckButton2")); -class GEOM_DLGREF_EXPORT DlgRef_4Sel1Spin2Check_QTD : public QWidget -{ - Q_OBJECT + gridLayout->addWidget(CheckButton2, 4, 3, 1, 1); -public: - DlgRef_4Sel1Spin2Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_4Sel1Spin2Check_QTD(); - - QGroupBox* GroupBox1; - QCheckBox* CheckButton2; - QPushButton* PushButton2; - QLineEdit* LineEdit5; - QLabel* TextLabel5; - QLabel* TextLabel1; - QLineEdit* LineEdit1; - QSpinBox* SpinBox1; - QCheckBox* CheckButton1; - QLabel* TextLabel2; - QPushButton* PushButton5; - QPushButton* PushButton4; - QLabel* TextLabel4; - QPushButton* PushButton1; - QLineEdit* LineEdit4; - QLineEdit* LineEdit2; - QLabel* TextLabel3; - -protected: - QVBoxLayout* DlgRef_4Sel1Spin2Check_QTDLayout; - QVBoxLayout* GroupBox1Layout; - QGridLayout* Layout1; - -protected slots: - virtual void languageChange(); + PushButton2 = new QPushButton(GroupBox1); + PushButton2->setObjectName(QString::fromUtf8("PushButton2")); + QSizePolicy sizePolicy(static_cast(0), static_cast(0)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(PushButton2->sizePolicy().hasHeightForWidth()); + PushButton2->setSizePolicy(sizePolicy); + + gridLayout->addWidget(PushButton2, 1, 1, 1, 1); + + LineEdit5 = new QLineEdit(GroupBox1); + LineEdit5->setObjectName(QString::fromUtf8("LineEdit5")); + + gridLayout->addWidget(LineEdit5, 3, 2, 1, 2); + + TextLabel5 = new QLabel(GroupBox1); + TextLabel5->setObjectName(QString::fromUtf8("TextLabel5")); + QSizePolicy sizePolicy1(static_cast(0), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(TextLabel5->sizePolicy().hasHeightForWidth()); + TextLabel5->setSizePolicy(sizePolicy1); + TextLabel5->setWordWrap(false); + + gridLayout->addWidget(TextLabel5, 3, 0, 1, 1); + + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy2(static_cast(0), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy2); + TextLabel1->setWordWrap(false); + + gridLayout->addWidget(TextLabel1, 0, 0, 1, 1); + + LineEdit1 = new QLineEdit(GroupBox1); + LineEdit1->setObjectName(QString::fromUtf8("LineEdit1")); + + gridLayout->addWidget(LineEdit1, 0, 2, 1, 2); + + SpinBox1 = new QSpinBox(GroupBox1); + SpinBox1->setObjectName(QString::fromUtf8("SpinBox1")); + QSizePolicy sizePolicy3(static_cast(7), static_cast(0)); + sizePolicy3.setHorizontalStretch(0); + sizePolicy3.setVerticalStretch(0); + sizePolicy3.setHeightForWidth(SpinBox1->sizePolicy().hasHeightForWidth()); + SpinBox1->setSizePolicy(sizePolicy3); + + gridLayout->addWidget(SpinBox1, 4, 2, 1, 1); + + CheckButton1 = new QCheckBox(GroupBox1); + CheckButton1->setObjectName(QString::fromUtf8("CheckButton1")); + + gridLayout->addWidget(CheckButton1, 5, 0, 1, 3); + + TextLabel2 = new QLabel(GroupBox1); + TextLabel2->setObjectName(QString::fromUtf8("TextLabel2")); + QSizePolicy sizePolicy4(static_cast(0), static_cast(0)); + sizePolicy4.setHorizontalStretch(0); + sizePolicy4.setVerticalStretch(0); + sizePolicy4.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth()); + TextLabel2->setSizePolicy(sizePolicy4); + TextLabel2->setWordWrap(false); + + gridLayout->addWidget(TextLabel2, 1, 0, 1, 1); + + PushButton5 = new QPushButton(GroupBox1); + PushButton5->setObjectName(QString::fromUtf8("PushButton5")); + QSizePolicy sizePolicy5(static_cast(0), static_cast(0)); + sizePolicy5.setHorizontalStretch(0); + sizePolicy5.setVerticalStretch(0); + sizePolicy5.setHeightForWidth(PushButton5->sizePolicy().hasHeightForWidth()); + PushButton5->setSizePolicy(sizePolicy5); + + gridLayout->addWidget(PushButton5, 3, 1, 1, 1); + + PushButton4 = new QPushButton(GroupBox1); + PushButton4->setObjectName(QString::fromUtf8("PushButton4")); + QSizePolicy sizePolicy6(static_cast(0), static_cast(0)); + sizePolicy6.setHorizontalStretch(0); + sizePolicy6.setVerticalStretch(0); + sizePolicy6.setHeightForWidth(PushButton4->sizePolicy().hasHeightForWidth()); + PushButton4->setSizePolicy(sizePolicy6); + + gridLayout->addWidget(PushButton4, 2, 1, 1, 1); + + TextLabel4 = new QLabel(GroupBox1); + TextLabel4->setObjectName(QString::fromUtf8("TextLabel4")); + QSizePolicy sizePolicy7(static_cast(0), static_cast(0)); + sizePolicy7.setHorizontalStretch(0); + sizePolicy7.setVerticalStretch(0); + sizePolicy7.setHeightForWidth(TextLabel4->sizePolicy().hasHeightForWidth()); + TextLabel4->setSizePolicy(sizePolicy7); + TextLabel4->setWordWrap(false); + + gridLayout->addWidget(TextLabel4, 2, 0, 1, 1); + + PushButton1 = new QPushButton(GroupBox1); + PushButton1->setObjectName(QString::fromUtf8("PushButton1")); + QSizePolicy sizePolicy8(static_cast(0), static_cast(0)); + sizePolicy8.setHorizontalStretch(0); + sizePolicy8.setVerticalStretch(0); + sizePolicy8.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth()); + PushButton1->setSizePolicy(sizePolicy8); + + gridLayout->addWidget(PushButton1, 0, 1, 1, 1); + + LineEdit4 = new QLineEdit(GroupBox1); + LineEdit4->setObjectName(QString::fromUtf8("LineEdit4")); + + gridLayout->addWidget(LineEdit4, 2, 2, 1, 2); + + LineEdit2 = new QLineEdit(GroupBox1); + LineEdit2->setObjectName(QString::fromUtf8("LineEdit2")); + + gridLayout->addWidget(LineEdit2, 1, 2, 1, 2); + + TextLabel3 = new QLabel(GroupBox1); + TextLabel3->setObjectName(QString::fromUtf8("TextLabel3")); + QSizePolicy sizePolicy9(static_cast(0), static_cast(0)); + sizePolicy9.setHorizontalStretch(0); + sizePolicy9.setVerticalStretch(0); + sizePolicy9.setHeightForWidth(TextLabel3->sizePolicy().hasHeightForWidth()); + TextLabel3->setSizePolicy(sizePolicy9); + TextLabel3->setWordWrap(false); + + gridLayout->addWidget(TextLabel3, 4, 0, 1, 1); + + + vboxLayout1->addLayout(gridLayout); + + + vboxLayout->addWidget(GroupBox1); + + QWidget::setTabOrder(PushButton1, LineEdit1); + QWidget::setTabOrder(LineEdit1, PushButton2); + QWidget::setTabOrder(PushButton2, LineEdit2); + QWidget::setTabOrder(LineEdit2, SpinBox1); + QWidget::setTabOrder(SpinBox1, CheckButton2); + + retranslateUi(DlgRef_4Sel1Spin2Check_QTD); + + QSize size(261, 198); + size = size.expandedTo(DlgRef_4Sel1Spin2Check_QTD->minimumSizeHint()); + DlgRef_4Sel1Spin2Check_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_4Sel1Spin2Check_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_4Sel1Spin2Check_QTD) + { + DlgRef_4Sel1Spin2Check_QTD->setWindowTitle(QApplication::translate("DlgRef_4Sel1Spin2Check_QTD", "DlgRef_4Sel1Spin2Check_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + CheckButton2->setText(QString()); + PushButton2->setText(QString()); + TextLabel5->setText(QApplication::translate("DlgRef_4Sel1Spin2Check_QTD", "TL5", 0, QApplication::UnicodeUTF8)); + TextLabel1->setText(QApplication::translate("DlgRef_4Sel1Spin2Check_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + CheckButton1->setText(QString()); + TextLabel2->setText(QApplication::translate("DlgRef_4Sel1Spin2Check_QTD", "TL2", 0, QApplication::UnicodeUTF8)); + PushButton5->setText(QString()); + PushButton4->setText(QString()); + TextLabel4->setText(QApplication::translate("DlgRef_4Sel1Spin2Check_QTD", "TL4", 0, QApplication::UnicodeUTF8)); + PushButton1->setText(QString()); + TextLabel3->setText(QApplication::translate("DlgRef_4Sel1Spin2Check_QTD", "TL3", 0, QApplication::UnicodeUTF8)); + Q_UNUSED(DlgRef_4Sel1Spin2Check_QTD); + } // retranslateUi }; +namespace Ui { + class DlgRef_4Sel1Spin2Check_QTD: public Ui_DlgRef_4Sel1Spin2Check_QTD {}; +} // namespace Ui + #endif // DLGREF_4SEL1SPIN2CHECK_QTD_H diff --git a/src/DlgRef/DlgRef_6Sel_QTD.cxx b/src/DlgRef/DlgRef_6Sel_QTD.cxx deleted file mode 100644 index bc3ebe641..000000000 --- a/src/DlgRef/DlgRef_6Sel_QTD.cxx +++ /dev/null @@ -1,171 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_6Sel_QTD.ui' -** -** Created: Tue Aug 24 18:18:57 2004 -** by: The User Interface Compiler (uic) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ -#include "DlgRef_6Sel_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_6Sel_QTD which is a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -DlgRef_6Sel_QTD::DlgRef_6Sel_QTD( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "DlgRef_6Sel_QTD" ); - resize( 235, 196 ); - setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) ); - setCaption( trUtf8( "DlgRef_6Sel_QTD" ) ); - DlgRef_6Sel_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_6Sel_QTDLayout"); - - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - GroupBox1->setTitle( trUtf8( "" ) ); - GroupBox1->setColumnLayout(0, Qt::Vertical ); - GroupBox1->layout()->setSpacing( 6 ); - GroupBox1->layout()->setMargin( 11 ); - GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); - GroupBox1Layout->setAlignment( Qt::AlignTop ); - - Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); - - TextLabel1 = new QLabel( GroupBox1, "TextLabel1" ); - TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) ); - TextLabel1->setText( trUtf8( "TL1" ) ); - - Layout1->addWidget( TextLabel1, 0, 0 ); - - TextLabel2 = new QLabel( GroupBox1, "TextLabel2" ); - TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) ); - TextLabel2->setText( trUtf8( "TL2" ) ); - - Layout1->addWidget( TextLabel2, 1, 0 ); - - TextLabel3 = new QLabel( GroupBox1, "TextLabel3" ); - TextLabel3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) ); - TextLabel3->setText( trUtf8( "TL3" ) ); - - Layout1->addWidget( TextLabel3, 2, 0 ); - - TextLabel4 = new QLabel( GroupBox1, "TextLabel4" ); - TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) ); - TextLabel4->setText( trUtf8( "TL4" ) ); - - Layout1->addWidget( TextLabel4, 3, 0 ); - - TextLabel5 = new QLabel( GroupBox1, "TextLabel5" ); - TextLabel5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel5->sizePolicy().hasHeightForWidth() ) ); - TextLabel5->setText( trUtf8( "TL5" ) ); - - Layout1->addWidget( TextLabel5, 4, 0 ); - - TextLabel6 = new QLabel( GroupBox1, "TextLabel6" ); - TextLabel6->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel6->sizePolicy().hasHeightForWidth() ) ); - TextLabel6->setText( trUtf8( "TL6" ) ); - - Layout1->addWidget( TextLabel6, 5, 0 ); - - PushButton1 = new QPushButton( GroupBox1, "PushButton1" ); - PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) ); - PushButton1->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton1, 0, 1 ); - - PushButton2 = new QPushButton( GroupBox1, "PushButton2" ); - PushButton2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton2->sizePolicy().hasHeightForWidth() ) ); - PushButton2->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton2, 1, 1 ); - - PushButton3 = new QPushButton( GroupBox1, "PushButton3" ); - PushButton3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton3->sizePolicy().hasHeightForWidth() ) ); - PushButton3->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton3, 2, 1 ); - - PushButton4 = new QPushButton( GroupBox1, "PushButton4" ); - PushButton4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton4->sizePolicy().hasHeightForWidth() ) ); - PushButton4->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton4, 3, 1 ); - - PushButton5 = new QPushButton( GroupBox1, "PushButton5" ); - PushButton5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton5->sizePolicy().hasHeightForWidth() ) ); - PushButton5->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton5, 4, 1 ); - - PushButton6 = new QPushButton( GroupBox1, "PushButton6" ); - PushButton6->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton6->sizePolicy().hasHeightForWidth() ) ); - PushButton6->setText( trUtf8( "" ) ); - - Layout1->addWidget( PushButton6, 5, 1 ); - - LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" ); - - Layout1->addWidget( LineEdit1, 0, 2 ); - - LineEdit2 = new QLineEdit( GroupBox1, "LineEdit2" ); - - Layout1->addWidget( LineEdit2, 1, 2 ); - - LineEdit3 = new QLineEdit( GroupBox1, "LineEdit3" ); - - Layout1->addWidget( LineEdit3, 2, 2 ); - - LineEdit4 = new QLineEdit( GroupBox1, "LineEdit4" ); - - Layout1->addWidget( LineEdit4, 3, 2 ); - - LineEdit5 = new QLineEdit( GroupBox1, "LineEdit5" ); - - Layout1->addWidget( LineEdit5, 4, 2 ); - - LineEdit6 = new QLineEdit( GroupBox1, "LineEdit6" ); - - Layout1->addWidget( LineEdit6, 5, 2 ); - - GroupBox1Layout->addLayout( Layout1, 0, 0 ); - - DlgRef_6Sel_QTDLayout->addWidget( GroupBox1, 0, 0 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_6Sel_QTD::~DlgRef_6Sel_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - diff --git a/src/DlgRef/DlgRef_6Sel_QTD.h b/src/DlgRef/DlgRef_6Sel_QTD.h index 517c3a5aa..916a260d9 100644 --- a/src/DlgRef/DlgRef_6Sel_QTD.h +++ b/src/DlgRef/DlgRef_6Sel_QTD.h @@ -1,78 +1,271 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_6Sel_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_6Sel_QTD.ui' ** -** Created: Tue Aug 24 18:18:28 2004 -** by: The User Interface Compiler (uic) +** Created: Fri Jun 29 14:56:13 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ + #ifndef DLGREF_6SEL_QTD_H #define DLGREF_6SEL_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +class Ui_DlgRef_6Sel_QTD +{ +public: + QGridLayout *gridLayout; + QGroupBox *GroupBox1; + QGridLayout *gridLayout1; + QGridLayout *gridLayout2; + QLabel *TextLabel1; + QLabel *TextLabel2; + QLabel *TextLabel3; + QLabel *TextLabel4; + QLabel *TextLabel5; + QLabel *TextLabel6; + QPushButton *PushButton1; + QPushButton *PushButton2; + QPushButton *PushButton3; + QPushButton *PushButton4; + QPushButton *PushButton5; + QPushButton *PushButton6; + QLineEdit *LineEdit1; + QLineEdit *LineEdit2; + QLineEdit *LineEdit3; + QLineEdit *LineEdit4; + QLineEdit *LineEdit5; + QLineEdit *LineEdit6; -#include -#include -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QGroupBox; -class QLabel; -class QLineEdit; -class QPushButton; + void setupUi(QWidget *DlgRef_6Sel_QTD) + { + DlgRef_6Sel_QTD->setObjectName(QString::fromUtf8("DlgRef_6Sel_QTD")); + QSizePolicy sizePolicy(static_cast(5), static_cast(7)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(DlgRef_6Sel_QTD->sizePolicy().hasHeightForWidth()); + DlgRef_6Sel_QTD->setSizePolicy(sizePolicy); + gridLayout = new QGridLayout(DlgRef_6Sel_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(0); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + GroupBox1 = new QGroupBox(DlgRef_6Sel_QTD); + GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); + gridLayout1 = new QGridLayout(GroupBox1); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(11); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + gridLayout2 = new QGridLayout(); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(0); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + TextLabel1 = new QLabel(GroupBox1); + TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); + QSizePolicy sizePolicy1(static_cast(0), static_cast(0)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth()); + TextLabel1->setSizePolicy(sizePolicy1); + TextLabel1->setWordWrap(false); -class GEOM_DLGREF_EXPORT DlgRef_6Sel_QTD : public QWidget -{ - Q_OBJECT + gridLayout2->addWidget(TextLabel1, 0, 0, 1, 1); + + TextLabel2 = new QLabel(GroupBox1); + TextLabel2->setObjectName(QString::fromUtf8("TextLabel2")); + QSizePolicy sizePolicy2(static_cast(0), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth()); + TextLabel2->setSizePolicy(sizePolicy2); + TextLabel2->setWordWrap(false); + + gridLayout2->addWidget(TextLabel2, 1, 0, 1, 1); + + TextLabel3 = new QLabel(GroupBox1); + TextLabel3->setObjectName(QString::fromUtf8("TextLabel3")); + QSizePolicy sizePolicy3(static_cast(0), static_cast(0)); + sizePolicy3.setHorizontalStretch(0); + sizePolicy3.setVerticalStretch(0); + sizePolicy3.setHeightForWidth(TextLabel3->sizePolicy().hasHeightForWidth()); + TextLabel3->setSizePolicy(sizePolicy3); + TextLabel3->setWordWrap(false); + + gridLayout2->addWidget(TextLabel3, 2, 0, 1, 1); + + TextLabel4 = new QLabel(GroupBox1); + TextLabel4->setObjectName(QString::fromUtf8("TextLabel4")); + QSizePolicy sizePolicy4(static_cast(0), static_cast(0)); + sizePolicy4.setHorizontalStretch(0); + sizePolicy4.setVerticalStretch(0); + sizePolicy4.setHeightForWidth(TextLabel4->sizePolicy().hasHeightForWidth()); + TextLabel4->setSizePolicy(sizePolicy4); + TextLabel4->setWordWrap(false); + + gridLayout2->addWidget(TextLabel4, 3, 0, 1, 1); + + TextLabel5 = new QLabel(GroupBox1); + TextLabel5->setObjectName(QString::fromUtf8("TextLabel5")); + QSizePolicy sizePolicy5(static_cast(0), static_cast(0)); + sizePolicy5.setHorizontalStretch(0); + sizePolicy5.setVerticalStretch(0); + sizePolicy5.setHeightForWidth(TextLabel5->sizePolicy().hasHeightForWidth()); + TextLabel5->setSizePolicy(sizePolicy5); + TextLabel5->setWordWrap(false); + + gridLayout2->addWidget(TextLabel5, 4, 0, 1, 1); + + TextLabel6 = new QLabel(GroupBox1); + TextLabel6->setObjectName(QString::fromUtf8("TextLabel6")); + QSizePolicy sizePolicy6(static_cast(0), static_cast(0)); + sizePolicy6.setHorizontalStretch(0); + sizePolicy6.setVerticalStretch(0); + sizePolicy6.setHeightForWidth(TextLabel6->sizePolicy().hasHeightForWidth()); + TextLabel6->setSizePolicy(sizePolicy6); + TextLabel6->setWordWrap(false); + + gridLayout2->addWidget(TextLabel6, 5, 0, 1, 1); + + PushButton1 = new QPushButton(GroupBox1); + PushButton1->setObjectName(QString::fromUtf8("PushButton1")); + QSizePolicy sizePolicy7(static_cast(0), static_cast(0)); + sizePolicy7.setHorizontalStretch(0); + sizePolicy7.setVerticalStretch(0); + sizePolicy7.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth()); + PushButton1->setSizePolicy(sizePolicy7); + + gridLayout2->addWidget(PushButton1, 0, 1, 1, 1); + + PushButton2 = new QPushButton(GroupBox1); + PushButton2->setObjectName(QString::fromUtf8("PushButton2")); + QSizePolicy sizePolicy8(static_cast(0), static_cast(0)); + sizePolicy8.setHorizontalStretch(0); + sizePolicy8.setVerticalStretch(0); + sizePolicy8.setHeightForWidth(PushButton2->sizePolicy().hasHeightForWidth()); + PushButton2->setSizePolicy(sizePolicy8); + + gridLayout2->addWidget(PushButton2, 1, 1, 1, 1); + + PushButton3 = new QPushButton(GroupBox1); + PushButton3->setObjectName(QString::fromUtf8("PushButton3")); + QSizePolicy sizePolicy9(static_cast(0), static_cast(0)); + sizePolicy9.setHorizontalStretch(0); + sizePolicy9.setVerticalStretch(0); + sizePolicy9.setHeightForWidth(PushButton3->sizePolicy().hasHeightForWidth()); + PushButton3->setSizePolicy(sizePolicy9); + + gridLayout2->addWidget(PushButton3, 2, 1, 1, 1); + + PushButton4 = new QPushButton(GroupBox1); + PushButton4->setObjectName(QString::fromUtf8("PushButton4")); + QSizePolicy sizePolicy10(static_cast(0), static_cast(0)); + sizePolicy10.setHorizontalStretch(0); + sizePolicy10.setVerticalStretch(0); + sizePolicy10.setHeightForWidth(PushButton4->sizePolicy().hasHeightForWidth()); + PushButton4->setSizePolicy(sizePolicy10); + + gridLayout2->addWidget(PushButton4, 3, 1, 1, 1); + + PushButton5 = new QPushButton(GroupBox1); + PushButton5->setObjectName(QString::fromUtf8("PushButton5")); + QSizePolicy sizePolicy11(static_cast(0), static_cast(0)); + sizePolicy11.setHorizontalStretch(0); + sizePolicy11.setVerticalStretch(0); + sizePolicy11.setHeightForWidth(PushButton5->sizePolicy().hasHeightForWidth()); + PushButton5->setSizePolicy(sizePolicy11); + + gridLayout2->addWidget(PushButton5, 4, 1, 1, 1); + + PushButton6 = new QPushButton(GroupBox1); + PushButton6->setObjectName(QString::fromUtf8("PushButton6")); + QSizePolicy sizePolicy12(static_cast(0), static_cast(0)); + sizePolicy12.setHorizontalStretch(0); + sizePolicy12.setVerticalStretch(0); + sizePolicy12.setHeightForWidth(PushButton6->sizePolicy().hasHeightForWidth()); + PushButton6->setSizePolicy(sizePolicy12); + + gridLayout2->addWidget(PushButton6, 5, 1, 1, 1); + + LineEdit1 = new QLineEdit(GroupBox1); + LineEdit1->setObjectName(QString::fromUtf8("LineEdit1")); + + gridLayout2->addWidget(LineEdit1, 0, 2, 1, 1); + + LineEdit2 = new QLineEdit(GroupBox1); + LineEdit2->setObjectName(QString::fromUtf8("LineEdit2")); + + gridLayout2->addWidget(LineEdit2, 1, 2, 1, 1); + + LineEdit3 = new QLineEdit(GroupBox1); + LineEdit3->setObjectName(QString::fromUtf8("LineEdit3")); + + gridLayout2->addWidget(LineEdit3, 2, 2, 1, 1); + + LineEdit4 = new QLineEdit(GroupBox1); + LineEdit4->setObjectName(QString::fromUtf8("LineEdit4")); + + gridLayout2->addWidget(LineEdit4, 3, 2, 1, 1); + + LineEdit5 = new QLineEdit(GroupBox1); + LineEdit5->setObjectName(QString::fromUtf8("LineEdit5")); + + gridLayout2->addWidget(LineEdit5, 4, 2, 1, 1); + + LineEdit6 = new QLineEdit(GroupBox1); + LineEdit6->setObjectName(QString::fromUtf8("LineEdit6")); + + gridLayout2->addWidget(LineEdit6, 5, 2, 1, 1); + + + gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1); + + + gridLayout->addWidget(GroupBox1, 0, 0, 1, 1); + + + retranslateUi(DlgRef_6Sel_QTD); + + QSize size(235, 196); + size = size.expandedTo(DlgRef_6Sel_QTD->minimumSizeHint()); + DlgRef_6Sel_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_6Sel_QTD); + } // setupUi + + void retranslateUi(QWidget *DlgRef_6Sel_QTD) + { + DlgRef_6Sel_QTD->setWindowTitle(QApplication::translate("DlgRef_6Sel_QTD", "DlgRef_6Sel_QTD", 0, QApplication::UnicodeUTF8)); + GroupBox1->setTitle(QString()); + TextLabel1->setText(QApplication::translate("DlgRef_6Sel_QTD", "TL1", 0, QApplication::UnicodeUTF8)); + TextLabel2->setText(QApplication::translate("DlgRef_6Sel_QTD", "TL2", 0, QApplication::UnicodeUTF8)); + TextLabel3->setText(QApplication::translate("DlgRef_6Sel_QTD", "TL3", 0, QApplication::UnicodeUTF8)); + TextLabel4->setText(QApplication::translate("DlgRef_6Sel_QTD", "TL4", 0, QApplication::UnicodeUTF8)); + TextLabel5->setText(QApplication::translate("DlgRef_6Sel_QTD", "TL5", 0, QApplication::UnicodeUTF8)); + TextLabel6->setText(QApplication::translate("DlgRef_6Sel_QTD", "TL6", 0, QApplication::UnicodeUTF8)); + PushButton1->setText(QString()); + PushButton2->setText(QString()); + PushButton3->setText(QString()); + PushButton4->setText(QString()); + PushButton5->setText(QString()); + PushButton6->setText(QString()); + Q_UNUSED(DlgRef_6Sel_QTD); + } // retranslateUi -public: - DlgRef_6Sel_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~DlgRef_6Sel_QTD(); - - QGroupBox* GroupBox1; - QLabel* TextLabel1; - QLabel* TextLabel2; - QLabel* TextLabel3; - QLabel* TextLabel4; - QLabel* TextLabel5; - QLabel* TextLabel6; - QPushButton* PushButton1; - QPushButton* PushButton2; - QPushButton* PushButton3; - QPushButton* PushButton4; - QPushButton* PushButton5; - QPushButton* PushButton6; - QLineEdit* LineEdit1; - QLineEdit* LineEdit2; - QLineEdit* LineEdit3; - QLineEdit* LineEdit4; - QLineEdit* LineEdit5; - QLineEdit* LineEdit6; - - -protected: - QGridLayout* DlgRef_6Sel_QTDLayout; - QGridLayout* GroupBox1Layout; - QGridLayout* Layout1; }; +namespace Ui { + class DlgRef_6Sel_QTD: public Ui_DlgRef_6Sel_QTD {}; +} // namespace Ui + #endif // DLGREF_6SEL_QTD_H diff --git a/src/DlgRef/DlgRef_Skeleton_QTD.cxx b/src/DlgRef/DlgRef_Skeleton_QTD.cxx deleted file mode 100644 index dddb3e087..000000000 --- a/src/DlgRef/DlgRef_Skeleton_QTD.cxx +++ /dev/null @@ -1,173 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form implementation generated from reading ui file 'DlgRef_Skeleton_QTD.ui' -** -** Created: Fri Mar 17 11:18:06 2006 -** by: The User Interface Compiler ($Id$) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ - -#include "DlgRef_Skeleton_QTD.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Constructs a DlgRef_Skeleton_QTD as a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - * - * The dialog will by default be modeless, unless you set 'modal' to - * TRUE to construct a modal dialog. - */ -DlgRef_Skeleton_QTD::DlgRef_Skeleton_QTD( QWidget* parent, const char* name, bool modal, WFlags fl ) - : QDialog( parent, name, modal, fl ) -{ - if ( !name ) - setName( "DlgRef_Skeleton_QTD" ); - setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) ); - setSizeGripEnabled( TRUE ); - DlgRef_Skeleton_QTDLayout = new QGridLayout( this, 1, 1, 11, 6, "DlgRef_Skeleton_QTDLayout"); - - Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); - - GroupMedium = new QGroupBox( this, "GroupMedium" ); - GroupMedium->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, GroupMedium->sizePolicy().hasHeightForWidth() ) ); - - Layout1->addWidget( GroupMedium, 2, 0 ); - - GroupButtons = new QGroupBox( this, "GroupButtons" ); - GroupButtons->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, GroupButtons->sizePolicy().hasHeightForWidth() ) ); - GroupButtons->setColumnLayout(0, Qt::Vertical ); - GroupButtons->layout()->setSpacing( 6 ); - GroupButtons->layout()->setMargin( 11 ); - GroupButtonsLayout = new QHBoxLayout( GroupButtons->layout() ); - GroupButtonsLayout->setAlignment( Qt::AlignTop ); - - Layout3 = new QHBoxLayout( 0, 0, 6, "Layout3"); - - buttonOk = new QPushButton( GroupButtons, "buttonOk" ); - Layout3->addWidget( buttonOk ); - - buttonApply = new QPushButton( GroupButtons, "buttonApply" ); - Layout3->addWidget( buttonApply ); - Spacer1 = new QSpacerItem( 91, 0, QSizePolicy::Expanding, QSizePolicy::Minimum ); - Layout3->addItem( Spacer1 ); - - buttonCancel = new QPushButton( GroupButtons, "buttonCancel" ); - Layout3->addWidget( buttonCancel ); - - buttonHelp = new QPushButton( GroupButtons, "buttonHelp" ); - Layout3->addWidget( buttonHelp ); - GroupButtonsLayout->addLayout( Layout3 ); - - Layout1->addWidget( GroupButtons, 3, 0 ); - - GroupConstructors = new QButtonGroup( this, "GroupConstructors" ); - GroupConstructors->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)0, 0, 0, GroupConstructors->sizePolicy().hasHeightForWidth() ) ); - GroupConstructors->setColumnLayout(0, Qt::Vertical ); - GroupConstructors->layout()->setSpacing( 6 ); - GroupConstructors->layout()->setMargin( 11 ); - GroupConstructorsLayout = new QHBoxLayout( GroupConstructors->layout() ); - GroupConstructorsLayout->setAlignment( Qt::AlignTop ); - - Layout2 = new QHBoxLayout( 0, 0, 6, "Layout2"); - - RadioButton1 = new QRadioButton( GroupConstructors, "RadioButton1" ); - Layout2->addWidget( RadioButton1 ); - - RadioButton2 = new QRadioButton( GroupConstructors, "RadioButton2" ); - Layout2->addWidget( RadioButton2 ); - - RadioButton3 = new QRadioButton( GroupConstructors, "RadioButton3" ); - Layout2->addWidget( RadioButton3 ); - - RadioButton4 = new QRadioButton( GroupConstructors, "RadioButton4" ); - Layout2->addWidget( RadioButton4 ); - GroupConstructorsLayout->addLayout( Layout2 ); - - Layout1->addWidget( GroupConstructors, 0, 0 ); - - GroupBoxName = new QGroupBox( this, "GroupBoxName" ); - GroupBoxName->setColumnLayout(0, Qt::Vertical ); - GroupBoxName->layout()->setSpacing( 6 ); - GroupBoxName->layout()->setMargin( 11 ); - GroupBoxNameLayout = new QGridLayout( GroupBoxName->layout() ); - GroupBoxNameLayout->setAlignment( Qt::AlignTop ); - - Layout66 = new QGridLayout( 0, 1, 1, 0, 6, "Layout66"); - - ResultName = new QLineEdit( GroupBoxName, "ResultName" ); - - Layout66->addWidget( ResultName, 0, 1 ); - - NameLabel = new QLabel( GroupBoxName, "NameLabel" ); - - Layout66->addWidget( NameLabel, 0, 0 ); - - GroupBoxNameLayout->addLayout( Layout66, 0, 0 ); - - Layout1->addWidget( GroupBoxName, 1, 0 ); - - DlgRef_Skeleton_QTDLayout->addLayout( Layout1, 0, 0 ); - languageChange(); - resize( QSize(307, 378).expandedTo(minimumSizeHint()) ); - clearWState( WState_Polished ); -} - -/* - * Destroys the object and frees any allocated resources - */ -DlgRef_Skeleton_QTD::~DlgRef_Skeleton_QTD() -{ - // no need to delete child widgets, Qt does it all for us -} - -/* - * Sets the strings of the subwidgets using the current - * language. - */ -void DlgRef_Skeleton_QTD::languageChange() -{ - setCaption( tr( "DlgRef_Skeleton_QTD" ) ); - GroupMedium->setTitle( QString::null ); - GroupButtons->setTitle( QString::null ); - buttonOk->setText( tr( "&Ok" ) ); - buttonApply->setText( tr( "&Apply" ) ); - buttonCancel->setText( tr( "&Cancel" ) ); - buttonHelp->setText( tr( "&Help" ) ); - GroupConstructors->setTitle( QString::null ); - RadioButton1->setText( QString::null ); - RadioButton2->setText( QString::null ); - RadioButton3->setText( QString::null ); - RadioButton4->setText( QString::null ); - GroupBoxName->setTitle( tr( "Result name" ) ); - NameLabel->setText( tr( "Name" ) ); -} - diff --git a/src/DlgRef/DlgRef_Skeleton_QTD.h b/src/DlgRef/DlgRef_Skeleton_QTD.h index 511d48993..a8f60a439 100644 --- a/src/DlgRef/DlgRef_Skeleton_QTD.h +++ b/src/DlgRef/DlgRef_Skeleton_QTD.h @@ -1,87 +1,234 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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-platform.org/ or email : webmaster.salome@opencascade.com -// -/**************************************************************************** -** Form interface generated from reading ui file 'DlgRef_Skeleton_QTD.ui' +/******************************************************************************** +** Form generated from reading ui file 'DlgRef_Skeleton_QTD.ui' ** -** Created: Fri Mar 17 11:18:06 2006 -** by: The User Interface Compiler ($Id$) +** Created: Fri Jun 29 11:48:51 2007 +** by: Qt User Interface Compiler version 4.2.3 ** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ +** WARNING! All changes made in this file will be lost when recompiling ui file! +********************************************************************************/ #ifndef DLGREF_SKELETON_QTD_H #define DLGREF_SKELETON_QTD_H -#include "GEOM_DlgRef.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include -#include +class Ui_DlgRef_Skeleton_QTD +{ +public: + QGridLayout *gridLayout; + QGridLayout *gridLayout1; + QGroupBox *GroupMedium; + QGroupBox *GroupButtons; + QHBoxLayout *hboxLayout; + QHBoxLayout *hboxLayout1; + QPushButton *buttonOk; + QPushButton *buttonApply; + QSpacerItem *spacerItem; + QPushButton *buttonCancel; + QPushButton *buttonHelp; + QGroupBox *GroupConstructors; + QHBoxLayout *hboxLayout2; + QHBoxLayout *hboxLayout3; + QRadioButton *RadioButton1; + QRadioButton *RadioButton2; + QRadioButton *RadioButton3; + QRadioButton *RadioButton4; + QGroupBox *GroupBoxName; + QGridLayout *gridLayout2; + QGridLayout *gridLayout3; + QLineEdit *ResultName; + QLabel *NameLabel; -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QSpacerItem; -class QGroupBox; -class QPushButton; -class QButtonGroup; -class QRadioButton; -class QLineEdit; -class QLabel; + void setupUi(QDialog *DlgRef_Skeleton_QTD) + { + DlgRef_Skeleton_QTD->setObjectName(QString::fromUtf8("DlgRef_Skeleton_QTD")); + QSizePolicy sizePolicy(static_cast(5), static_cast(7)); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(DlgRef_Skeleton_QTD->sizePolicy().hasHeightForWidth()); + DlgRef_Skeleton_QTD->setSizePolicy(sizePolicy); + DlgRef_Skeleton_QTD->setSizeGripEnabled(true); + gridLayout = new QGridLayout(DlgRef_Skeleton_QTD); + gridLayout->setSpacing(6); + gridLayout->setMargin(11); + gridLayout->setObjectName(QString::fromUtf8("gridLayout")); + gridLayout1 = new QGridLayout(); + gridLayout1->setSpacing(6); + gridLayout1->setMargin(0); + gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); + GroupMedium = new QGroupBox(DlgRef_Skeleton_QTD); + GroupMedium->setObjectName(QString::fromUtf8("GroupMedium")); + QSizePolicy sizePolicy1(static_cast(7), static_cast(7)); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(GroupMedium->sizePolicy().hasHeightForWidth()); + GroupMedium->setSizePolicy(sizePolicy1); -class GEOM_DLGREF_EXPORT DlgRef_Skeleton_QTD : public QDialog -{ - Q_OBJECT + gridLayout1->addWidget(GroupMedium, 2, 0, 1, 1); -public: - DlgRef_Skeleton_QTD( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); - ~DlgRef_Skeleton_QTD(); - - QGroupBox* GroupMedium; - QGroupBox* GroupButtons; - QPushButton* buttonOk; - QPushButton* buttonApply; - QPushButton* buttonCancel; - QPushButton* buttonHelp; - QButtonGroup* GroupConstructors; - QRadioButton* RadioButton1; - QRadioButton* RadioButton2; - QRadioButton* RadioButton3; - QRadioButton* RadioButton4; - QGroupBox* GroupBoxName; - QLineEdit* ResultName; - QLabel* NameLabel; - -protected: - QGridLayout* DlgRef_Skeleton_QTDLayout; - QGridLayout* Layout1; - QHBoxLayout* GroupButtonsLayout; - QHBoxLayout* Layout3; - QSpacerItem* Spacer1; - QHBoxLayout* GroupConstructorsLayout; - QHBoxLayout* Layout2; - QGridLayout* GroupBoxNameLayout; - QGridLayout* Layout66; - -protected slots: - virtual void languageChange(); + GroupButtons = new QGroupBox(DlgRef_Skeleton_QTD); + GroupButtons->setObjectName(QString::fromUtf8("GroupButtons")); + QSizePolicy sizePolicy2(static_cast(7), static_cast(0)); + sizePolicy2.setHorizontalStretch(0); + sizePolicy2.setVerticalStretch(0); + sizePolicy2.setHeightForWidth(GroupButtons->sizePolicy().hasHeightForWidth()); + GroupButtons->setSizePolicy(sizePolicy2); + hboxLayout = new QHBoxLayout(GroupButtons); + hboxLayout->setSpacing(6); + hboxLayout->setMargin(11); + hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); + hboxLayout1 = new QHBoxLayout(); + hboxLayout1->setSpacing(6); + hboxLayout1->setMargin(0); + hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1")); + buttonOk = new QPushButton(GroupButtons); + buttonOk->setObjectName(QString::fromUtf8("buttonOk")); + + hboxLayout1->addWidget(buttonOk); + + buttonApply = new QPushButton(GroupButtons); + buttonApply->setObjectName(QString::fromUtf8("buttonApply")); + + hboxLayout1->addWidget(buttonApply); + + spacerItem = new QSpacerItem(91, 0, QSizePolicy::Expanding, QSizePolicy::Minimum); + + hboxLayout1->addItem(spacerItem); + + buttonCancel = new QPushButton(GroupButtons); + buttonCancel->setObjectName(QString::fromUtf8("buttonCancel")); + + hboxLayout1->addWidget(buttonCancel); + + buttonHelp = new QPushButton(GroupButtons); + buttonHelp->setObjectName(QString::fromUtf8("buttonHelp")); + + hboxLayout1->addWidget(buttonHelp); + + + hboxLayout->addLayout(hboxLayout1); + + + gridLayout1->addWidget(GroupButtons, 3, 0, 1, 1); + + GroupConstructors = new QGroupBox(DlgRef_Skeleton_QTD); + GroupConstructors->setObjectName(QString::fromUtf8("GroupConstructors")); + QSizePolicy sizePolicy3(static_cast(5), static_cast(0)); + sizePolicy3.setHorizontalStretch(0); + sizePolicy3.setVerticalStretch(0); + sizePolicy3.setHeightForWidth(GroupConstructors->sizePolicy().hasHeightForWidth()); + GroupConstructors->setSizePolicy(sizePolicy3); + hboxLayout2 = new QHBoxLayout(GroupConstructors); + hboxLayout2->setSpacing(6); + hboxLayout2->setMargin(11); + hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2")); + hboxLayout3 = new QHBoxLayout(); + hboxLayout3->setSpacing(6); + hboxLayout3->setMargin(0); + hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3")); + RadioButton1 = new QRadioButton(GroupConstructors); + RadioButton1->setObjectName(QString::fromUtf8("RadioButton1")); + + hboxLayout3->addWidget(RadioButton1); + + RadioButton2 = new QRadioButton(GroupConstructors); + RadioButton2->setObjectName(QString::fromUtf8("RadioButton2")); + + hboxLayout3->addWidget(RadioButton2); + + RadioButton3 = new QRadioButton(GroupConstructors); + RadioButton3->setObjectName(QString::fromUtf8("RadioButton3")); + + hboxLayout3->addWidget(RadioButton3); + + RadioButton4 = new QRadioButton(GroupConstructors); + RadioButton4->setObjectName(QString::fromUtf8("RadioButton4")); + + hboxLayout3->addWidget(RadioButton4); + + + hboxLayout2->addLayout(hboxLayout3); + + + gridLayout1->addWidget(GroupConstructors, 0, 0, 1, 1); + + GroupBoxName = new QGroupBox(DlgRef_Skeleton_QTD); + GroupBoxName->setObjectName(QString::fromUtf8("GroupBoxName")); + gridLayout2 = new QGridLayout(GroupBoxName); + gridLayout2->setSpacing(6); + gridLayout2->setMargin(11); + gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); + gridLayout3 = new QGridLayout(); + gridLayout3->setSpacing(6); + gridLayout3->setMargin(0); + gridLayout3->setObjectName(QString::fromUtf8("gridLayout3")); + ResultName = new QLineEdit(GroupBoxName); + ResultName->setObjectName(QString::fromUtf8("ResultName")); + + gridLayout3->addWidget(ResultName, 0, 1, 1, 1); + + NameLabel = new QLabel(GroupBoxName); + NameLabel->setObjectName(QString::fromUtf8("NameLabel")); + NameLabel->setWordWrap(false); + + gridLayout3->addWidget(NameLabel, 0, 0, 1, 1); + + + gridLayout2->addLayout(gridLayout3, 0, 0, 1, 1); + + + gridLayout1->addWidget(GroupBoxName, 1, 0, 1, 1); + + + gridLayout->addLayout(gridLayout1, 0, 0, 1, 1); + + + retranslateUi(DlgRef_Skeleton_QTD); + + QSize size(307, 378); + size = size.expandedTo(DlgRef_Skeleton_QTD->minimumSizeHint()); + DlgRef_Skeleton_QTD->resize(size); + + + QMetaObject::connectSlotsByName(DlgRef_Skeleton_QTD); + } // setupUi + + void retranslateUi(QDialog *DlgRef_Skeleton_QTD) + { + DlgRef_Skeleton_QTD->setWindowTitle(QApplication::translate("DlgRef_Skeleton_QTD", "DlgRef_Skeleton_QTD", 0, QApplication::UnicodeUTF8)); + GroupMedium->setTitle(QString()); + GroupButtons->setTitle(QString()); + buttonOk->setText(QApplication::translate("DlgRef_Skeleton_QTD", "&Ok", 0, QApplication::UnicodeUTF8)); + buttonApply->setText(QApplication::translate("DlgRef_Skeleton_QTD", "&Apply", 0, QApplication::UnicodeUTF8)); + buttonCancel->setText(QApplication::translate("DlgRef_Skeleton_QTD", "&Cancel", 0, QApplication::UnicodeUTF8)); + buttonHelp->setText(QApplication::translate("DlgRef_Skeleton_QTD", "&Help", 0, QApplication::UnicodeUTF8)); + GroupConstructors->setTitle(QString()); + RadioButton1->setText(QString()); + RadioButton2->setText(QString()); + RadioButton3->setText(QString()); + RadioButton4->setText(QString()); + GroupBoxName->setTitle(QApplication::translate("DlgRef_Skeleton_QTD", "Result name", 0, QApplication::UnicodeUTF8)); + NameLabel->setText(QApplication::translate("DlgRef_Skeleton_QTD", "Name", 0, QApplication::UnicodeUTF8)); + Q_UNUSED(DlgRef_Skeleton_QTD); + } // retranslateUi }; +namespace Ui { + class DlgRef_Skeleton_QTD: public Ui_DlgRef_Skeleton_QTD {}; +} // namespace Ui + #endif // DLGREF_SKELETON_QTD_H diff --git a/src/DlgRef/DlgRef_SpinBox.cxx b/src/DlgRef/DlgRef_SpinBox.cxx index 8a7ad7931..a6118e386 100644 --- a/src/DlgRef/DlgRef_SpinBox.cxx +++ b/src/DlgRef/DlgRef_SpinBox.cxx @@ -28,15 +28,14 @@ #include "DlgRef_SpinBox.h" -#include - //================================================================================= // class : DlgRef_SpinBox() // purpose : constructor of specific widget accepting floats in double precision. //================================================================================= DlgRef_SpinBox::DlgRef_SpinBox(QWidget* parent, const char* name) - : QtxDblSpinBox(parent, name) + : QtxDoubleSpinBox(parent) { + setObjectName( name ); } @@ -55,7 +54,7 @@ DlgRef_SpinBox::~DlgRef_SpinBox() //================================================================================= void DlgRef_SpinBox::SetStep(double newStep) { - setLineStep(newStep); + setSingleStep(newStep); } @@ -96,9 +95,8 @@ QString DlgRef_SpinBox::GetString() void DlgRef_SpinBox::RangeStepAndValidator(double min, double max,double step, unsigned short decimals) { - setPrecision(-decimals); // PAL12789. Minus is for using 'g' double->string conversion specifier, - // see QtxDblSpinBox::mapValueToText( double v ) + setDecimals(-decimals); // PAL12789. Minus is for using 'g' double->string conversion specifier, + // see QtxDoubleSpinBox::mapValueToText( double v ) setRange(min, max); - setLineStep(step); - ((QDoubleValidator*)validator())->setRange(min, max, decimals); + setSingleStep(step); } diff --git a/src/DlgRef/DlgRef_SpinBox.h b/src/DlgRef/DlgRef_SpinBox.h index d9675462b..cbe30c6cf 100644 --- a/src/DlgRef/DlgRef_SpinBox.h +++ b/src/DlgRef/DlgRef_SpinBox.h @@ -31,7 +31,7 @@ #include "GEOM_DlgRef.hxx" -#include "QtxDblSpinBox.h" +#include "QtxDoubleSpinBox.h" #define COORD_MIN -1e+15 #define COORD_MAX +1e+15 @@ -41,7 +41,7 @@ // class : DlgRef_SpinBox // purpose : Derivated from QSpinBox class and modified to accept floats //================================================================================= -class GEOM_DLGREF_EXPORT DlgRef_SpinBox : public QtxDblSpinBox +class GEOM_DLGREF_EXPORT DlgRef_SpinBox : public QtxDoubleSpinBox { Q_OBJECT diff --git a/src/DlgRef/Makefile.am b/src/DlgRef/Makefile.am index efc180f90..e7dae27e2 100644 --- a/src/DlgRef/Makefile.am +++ b/src/DlgRef/Makefile.am @@ -34,36 +34,6 @@ lib_LTLIBRARIES = libDlgRef.la # Sources files dist_libDlgRef_la_SOURCES = \ - DlgRef_Skeleton_QTD.cxx \ - DlgRef_1Sel_QTD.cxx \ - DlgRef_2Sel_QTD.cxx \ - DlgRef_3Sel_QTD.cxx \ - DlgRef_1Sel1Check_QTD.cxx \ - DlgRef_1Sel3Check_QTD.cxx \ - DlgRef_1Sel1Check1List_QTD.cxx \ - DlgRef_1Sel1Spin_QTD.cxx \ - DlgRef_1Sel2Spin_QTD.cxx \ - DlgRef_1Sel3Spin_QTD.cxx \ - DlgRef_1Sel4Spin_QTD.cxx \ - DlgRef_1Sel5Spin_QTD.cxx \ - DlgRef_2Sel1Spin_QTD.cxx \ - DlgRef_2Sel2Spin_QTD.cxx \ - DlgRef_2Sel3Spin_QTD.cxx \ - DlgRef_1Sel1Spin1Check_QTD.cxx \ - DlgRef_2Sel1Spin2Check_QTD.cxx \ - DlgRef_2Sel2Spin1Check_QTD.cxx \ - DlgRef_2Sel4Spin1Check_QTD.cxx \ - DlgRef_3Sel4Spin2Check_QTD.cxx \ - DlgRef_4Sel1List_QTD.cxx \ - DlgRef_2Sel1List_QTD.cxx \ - DlgRef_1List1Spin1Btn_QTD.cxx \ - DlgRef_4Sel1List1Check_QTD.cxx \ - DlgRef_1Spin_QTD.cxx \ - DlgRef_2Spin_QTD.cxx \ - DlgRef_3Spin_QTD.cxx \ - DlgRef_3Spin1Check_QTD.cxx \ - DlgRef_3Sel3Spin1Check_QTD.cxx \ - DlgRef_4Sel1Spin2Check_QTD.cxx \ DlgRef_SpinBox.cxx \ DlgRef_1Sel1Spin.cxx \ DlgRef_1Sel2Spin.cxx \ @@ -84,42 +54,9 @@ dist_libDlgRef_la_SOURCES = \ DlgRef_3Spin.cxx \ DlgRef_3Spin1Check.cxx \ DlgRef_3Sel1Spin.cxx \ - DlgRef_3Check_QTD.cxx \ - DlgRef_6Sel_QTD.cxx \ - DlgRef_4Sel1Spin2Check.cxx \ - DlgRef_3Sel1Check_QTD.cxx + DlgRef_4Sel1Spin2Check.cxx MOC_FILES = \ - DlgRef_Skeleton_QTD_moc.cxx \ - DlgRef_1Sel_QTD_moc.cxx \ - DlgRef_2Sel_QTD_moc.cxx \ - DlgRef_3Sel_QTD_moc.cxx \ - DlgRef_1Sel1Check_QTD_moc.cxx \ - DlgRef_1Sel3Check_QTD_moc.cxx \ - DlgRef_1Sel1Check1List_QTD_moc.cxx \ - DlgRef_1Sel1Spin_QTD_moc.cxx \ - DlgRef_1Sel2Spin_QTD_moc.cxx \ - DlgRef_1Sel3Spin_QTD_moc.cxx \ - DlgRef_1Sel4Spin_QTD_moc.cxx \ - DlgRef_1Sel5Spin_QTD_moc.cxx \ - DlgRef_2Sel1Spin_QTD_moc.cxx \ - DlgRef_2Sel2Spin_QTD_moc.cxx \ - DlgRef_2Sel3Spin_QTD_moc.cxx \ - DlgRef_1Sel1Spin1Check_QTD_moc.cxx \ - DlgRef_2Sel1Spin2Check_QTD_moc.cxx \ - DlgRef_2Sel2Spin1Check_QTD_moc.cxx \ - DlgRef_2Sel4Spin1Check_QTD_moc.cxx \ - DlgRef_3Sel4Spin2Check_QTD_moc.cxx \ - DlgRef_4Sel1List_QTD_moc.cxx \ - DlgRef_2Sel1List_QTD_moc.cxx \ - DlgRef_1List1Spin1Btn_QTD_moc.cxx \ - DlgRef_4Sel1List1Check_QTD_moc.cxx \ - DlgRef_1Spin_QTD_moc.cxx \ - DlgRef_2Spin_QTD_moc.cxx \ - DlgRef_3Spin_QTD_moc.cxx \ - DlgRef_3Spin1Check_QTD_moc.cxx \ - DlgRef_3Sel3Spin1Check_QTD_moc.cxx \ - DlgRef_4Sel1Spin2Check_QTD_moc.cxx \ DlgRef_SpinBox_moc.cxx \ DlgRef_1Sel1Spin_moc.cxx \ DlgRef_1Sel2Spin_moc.cxx \ @@ -141,10 +78,7 @@ MOC_FILES = \ DlgRef_3Spin1Check_moc.cxx \ DlgRef_3Sel1Spin_moc.cxx \ DlgRef_1Sel_Ext_moc.cxx \ - DlgRef_3Check_QTD_moc.cxx \ - DlgRef_6Sel_QTD_moc.cxx \ - DlgRef_4Sel1Spin2Check_moc.cxx \ - DlgRef_3Sel1Check_QTD_moc.cxx + DlgRef_4Sel1Spin2Check_moc.cxx # header files salomeinclude_HEADERS = \ diff --git a/src/DlgRef/UIFiles/DlgRef_1List1Spin1Btn_QTD.ui b/src/DlgRef/UIFiles/DlgRef_1List1Spin1Btn_QTD.ui index 6366a74a7..833bbfd2c 100644 --- a/src/DlgRef/UIFiles/DlgRef_1List1Spin1Btn_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_1List1Spin1Btn_QTD.ui @@ -1,93 +1,83 @@ - -DlgRef_1List1Spin1Btn_QTD - - - DlgRef_1List1Spin1Btn_QTD + + + + + DlgRef_1List1Spin1Btn_QTD + + + + 0 + 0 + 204 + 148 + - - - 0 - 0 - 204 - 148 - + + DlgRef_3Sel4Spin2Check_QTD - - DlgRef_3Sel4Spin2Check_QTD - - - - unnamed - - - 11 - - - 6 - - - - GroupBox1 + + + 11 + + + 6 + + + + + + + + + 11 - - + + 6 - - - unnamed + + + + + 0 + 23 + + + + Expanding + + + Vertical + + + + + + + + + + TL1 - - 11 + + false - - 6 + + + + + + + + + - - - Spacer1 - - - Vertical - - - Expanding - - - - 0 - 23 - - - - - - ListView1 - - - - - TextLabel1 - - - TL1 - - - - - SpinBox1 - - - - - PushButton1 - - - - - - + + + - - - - + + + + + qPixmapFromMimeSource + diff --git a/src/DlgRef/UIFiles/DlgRef_1Sel1Check1List_QTD.ui b/src/DlgRef/UIFiles/DlgRef_1Sel1Check1List_QTD.ui index 677fe88ff..7403ca8b0 100644 --- a/src/DlgRef/UIFiles/DlgRef_1Sel1Check1List_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_1Sel1Check1List_QTD.ui @@ -1,157 +1,143 @@ - -DlgRef_1Sel1Check1List_QTD - - - DlgRef_1Sel1Check1List_QTD + + + + + DlgRef_1Sel1Check1List_QTD + + + + 0 + 0 + 129 + 104 + - - - 0 - 0 - 129 - 104 - + + DlgRef_1Sel1Check1List_QTD - - DlgRef_1Sel1Check1List_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 + + + 0 + + + 6 + + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 0 - - 6 + + 6 - - - Layout1 + + + + + 0 + 166 + + + + Expanding + + + Vertical + + + + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL2 + + + false + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + - - - unnamed - - - 0 - - - 6 - - - - Spacer5 - - - Vertical - - - Expanding - - - - 0 - 166 - - - - - - CheckButton1 - - - - - - - - TextLabel2 - - - - 0 - 0 - 0 - 0 - - - - TL2 - - - - - ComboBox1 - - - - 7 - 0 - 0 - 0 - - - - - - LineEdit1 - - - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - PushButton1 - - - - 0 - 0 - 0 - 0 - - - - - - - - - + + + + + - - - - + + + + + qPixmapFromMimeSource + diff --git a/src/DlgRef/UIFiles/DlgRef_1Sel1Check_QTD.ui b/src/DlgRef/UIFiles/DlgRef_1Sel1Check_QTD.ui index f86081355..f900f155e 100644 --- a/src/DlgRef/UIFiles/DlgRef_1Sel1Check_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_1Sel1Check_QTD.ui @@ -1,133 +1,118 @@ - -DlgRef_1Sel1Check_QTD - - - DlgRef_1Sel1Check_QTD + + + + + DlgRef_1Sel1Check_QTD + + + + 0 + 0 + 382 + 219 + - - - 0 - 0 - 382 - 219 - + + DlgRef_1Sel1Check_QTD - - DlgRef_1Sel1Check_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 + + + 0 + + + 6 + + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 0 - - 6 + + 6 - - - Layout3 + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + + + + + + + + 0 + 16 + + + + Expanding + + + Vertical - - - unnamed - - - 0 - - - 6 - - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - PushButton1 - - - - 0 - 0 - 0 - 0 - - - - - - - - - CheckButton1 - - - - - - - - Spacer5 - - - Vertical - - - Expanding - - - - 0 - 16 - - - - - - LineEdit1 - - - - - + + + + + + + + - - - + + + + + qPixmapFromMimeSource + PushButton1 LineEdit1 CheckButton1 - - - + + diff --git a/src/DlgRef/UIFiles/DlgRef_1Sel1Spin1Check_QTD.ui b/src/DlgRef/UIFiles/DlgRef_1Sel1Spin1Check_QTD.ui index c90e9c67e..ebeda4473 100644 --- a/src/DlgRef/UIFiles/DlgRef_1Sel1Spin1Check_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_1Sel1Spin1Check_QTD.ui @@ -1,179 +1,159 @@ - -DlgRef_1Sel1Spin1Check_QTD - - - DlgRef_1Sel1Spin1Check_QTD + + + + + DlgRef_1Sel1Spin1Check_QTD + + + + 0 + 0 + 163 + 109 + - - - 0 - 0 - 163 - 109 - + + DlgRef_1Sel1Spin1Check_QTD - - DlgRef_1Sel1Spin1Check_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 + + + 0 + + + 6 + + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 0 - - 6 + + 6 - - - Layout8 + + + + 0 - - - unnamed + + 6 + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + 0 + - - 0 + + TL2 - - 6 + + false - - - Layout2 - - - - unnamed - - - 0 - - - 6 - - - - SpinBox1 - - - - 7 - 0 - 0 - 0 - - - - - - TextLabel2 - - - - 0 - 0 - 0 - 0 - - - - TL2 - - - - - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - LineEdit1 - - - - - PushButton1 - - - - 0 - 0 - 0 - 0 - - - - - - - - - CheckButton1 - - - - - - - - Spacer5 - - - Vertical - - - Expanding - - - - 0 - 16 - - - - - - + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + + + + + + + + 0 + 16 + + + + Expanding + + + Vertical + + + + + + - - - + + + + + qPixmapFromMimeSource + PushButton1 LineEdit1 SpinBox1 CheckButton1 - - - + + diff --git a/src/DlgRef/UIFiles/DlgRef_1Sel1Spin_QTD.ui b/src/DlgRef/UIFiles/DlgRef_1Sel1Spin_QTD.ui index e3551d166..f68606a6b 100644 --- a/src/DlgRef/UIFiles/DlgRef_1Sel1Spin_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_1Sel1Spin_QTD.ui @@ -1,165 +1,146 @@ - -DlgRef_1Sel1Spin_QTD - - - DlgRef_1Sel1Spin_QTD + + + + + DlgRef_1Sel1Spin_QTD + + + + 0 + 0 + 129 + 87 + - - - 0 - 0 - 129 - 87 - + + DlgRef_1Sel1Spin_QTD - - DlgRef_1Sel1Spin_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 + + + 0 + + + 6 + + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 0 - - 6 + + 6 - - - Layout1 + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false - - - unnamed + + + + + + + + + 0 + + + 6 + + + + + + 0 + 0 + 0 + 0 + + + + TL2 - - 0 + + false - - 6 + + + + + + + 7 + 0 + 0 + 0 + - - - PushButton1 - - - - 0 - 0 - 0 - 0 - - - - - - - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - LineEdit1 - - - - - Layout2 - - - - unnamed - - - 0 - - - 6 - - - - TextLabel2 - - - - 0 - 0 - 0 - 0 - - - - TL2 - - - - - SpinBox1 - - - - 7 - 0 - 0 - 0 - - - - - - - - Spacer7 - - - Vertical - - - Expanding - - - - 0 - 16 - - - - - - + + + + + + + + + 0 + 16 + + + + Expanding + + + Vertical + + + + + + - - - - + + + + + qPixmapFromMimeSource + diff --git a/src/DlgRef/UIFiles/DlgRef_1Sel2Spin_QTD.ui b/src/DlgRef/UIFiles/DlgRef_1Sel2Spin_QTD.ui index 641264bb6..6bb4d0839 100644 --- a/src/DlgRef/UIFiles/DlgRef_1Sel2Spin_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_1Sel2Spin_QTD.ui @@ -1,194 +1,176 @@ - -DlgRef_1Sel2Spin_QTD - - - DlgRef_1Sel2Spin_QTD + + + + + DlgRef_1Sel2Spin_QTD + + + + 0 + 0 + 129 + 115 + - - - 0 - 0 - 129 - 115 - + + DlgRef_1Sel2Spin_QTD - - DlgRef_1Sel2Spin_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 + + + 0 + + + 6 + + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 0 - - 6 + + 6 - - - Layout1 + + + + 0 - - - unnamed + + 6 + + + + + + 0 + 0 + 0 + 0 + + + + TL3 + + + false + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL2 - - 0 + + false - - 6 + + + + + + + 7 + 0 + 0 + 0 + - - - Layout2 - - - - unnamed - - - 0 - - - 6 - - - - TextLabel3 - - - - 0 - 0 - 0 - 0 - - - - TL3 - - - - - SpinBox1 - - - - 7 - 0 - 0 - 0 - - - - - - TextLabel2 - - - - 0 - 0 - 0 - 0 - - - - TL2 - - - - - SpinBox2 - - - - 7 - 0 - 0 - 0 - - - - - - - - LineEdit1 - - - - - Spacer7 - - - Vertical - - - Expanding - - - - 0 - 30 - - - - - - PushButton1 - - - - 0 - 0 - 0 - 0 - - - - - - - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - + + + + + + + + + + + + 0 + 30 + + + + Expanding + + + Vertical + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false + + + + + + - - - - + + + + + qPixmapFromMimeSource + diff --git a/src/DlgRef/UIFiles/DlgRef_1Sel3Check_QTD.ui b/src/DlgRef/UIFiles/DlgRef_1Sel3Check_QTD.ui index c2e482a23..bd0f0f7ed 100644 --- a/src/DlgRef/UIFiles/DlgRef_1Sel3Check_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_1Sel3Check_QTD.ui @@ -1,151 +1,134 @@ - -DlgRef_1Sel3Check_QTD - - - DlgRef_1Sel3Check_QTD + + + + + DlgRef_1Sel3Check_QTD + + + + 0 + 0 + 163 + 116 + - - - 0 - 0 - 163 - 116 - + + DlgRef_1Sel3Check_QTD - - DlgRef_1Sel3Check_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 + + + 0 + + + 6 + + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 0 - - 6 + + 6 - - - Layout6 + + + + + 0 + 16 + + + + Expanding + + + Vertical + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false - - - unnamed - - - 0 - - - 6 - - - - Spacer5 - - - Vertical - - - Expanding - - - - 0 - 16 - - - - - - LineEdit1 - - - - - CheckButton2 - - - - - - - - CheckButton1 - - - - - - - - CheckButton3 - - - - - - - - PushButton1 - - - - 0 - 0 - 0 - 0 - - - - - - - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - + + + + + - - - + + + + + qPixmapFromMimeSource + PushButton1 LineEdit1 CheckButton1 CheckButton2 CheckButton3 - - - + + diff --git a/src/DlgRef/UIFiles/DlgRef_1Sel3Spin_QTD.ui b/src/DlgRef/UIFiles/DlgRef_1Sel3Spin_QTD.ui index de8d35e33..fef75917d 100644 --- a/src/DlgRef/UIFiles/DlgRef_1Sel3Spin_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_1Sel3Spin_QTD.ui @@ -1,223 +1,206 @@ - -DlgRef_1Sel3Spin_QTD - - - DlgRef_1Sel3Spin_QTD + + + + + DlgRef_1Sel3Spin_QTD + + + + 0 + 0 + 129 + 143 + - - - 0 - 0 - 129 - 143 - + + DlgRef_1Sel3Spin_QTD - - DlgRef_1Sel3Spin_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 + + + 0 + + + 6 + + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 0 - - 6 + + 6 - - - Layout1 + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + + + + 0 + 150 + + + + Expanding + + + Vertical + + + + + + + 0 - - - unnamed + + 6 + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL3 + + + false + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL4 + + + false + + + + + + + + 0 + 0 + 0 + 0 + - - 0 + + TL2 - - 6 + + false - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - PushButton1 - - - - 0 - 0 - 0 - 0 - - - - - - - - - LineEdit1 - - - - - Spacer6 - - - Vertical - - - Expanding - - - - 0 - 150 - - - - - - Layout2 - - - - unnamed - - - 0 - - - 6 - - - - SpinBox2 - - - - 7 - 0 - 0 - 0 - - - - - - TextLabel3 - - - - 0 - 0 - 0 - 0 - - - - TL3 - - - - - SpinBox3 - - - - 7 - 0 - 0 - 0 - - - - - - SpinBox1 - - - - 7 - 0 - 0 - 0 - - - - - - TextLabel4 - - - - 0 - 0 - 0 - 0 - - - - TL4 - - - - - TextLabel2 - - - - 0 - 0 - 0 - 0 - - - - TL2 - - - - - - - + + + + + + + - - - - + + + + + qPixmapFromMimeSource + diff --git a/src/DlgRef/UIFiles/DlgRef_1Sel4Spin_QTD.ui b/src/DlgRef/UIFiles/DlgRef_1Sel4Spin_QTD.ui index 49a0cd1c2..03eab67d5 100644 --- a/src/DlgRef/UIFiles/DlgRef_1Sel4Spin_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_1Sel4Spin_QTD.ui @@ -1,292 +1,265 @@ - -DlgRef_1Sel4Spin_QTD - - - DlgRef_1Sel4Spin_QTD + + + + + DlgRef_1Sel4Spin_QTD + + + + 0 + 0 + 284 + 119 + - - - 0 - 0 - 284 - 119 - + + DlgRef_1Sel4Spin_QTD - - DlgRef_1Sel4Spin_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 + + + 0 + + + 6 + + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 0 - - 6 + + 6 - - - Layout1 + + + + 0 + + + 6 + + + + + + 0 + 0 + 0 + 0 + + + + TL5 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + TL3 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + TL4 + + + false + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL2 + + + false + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + + + 0 + 16 + + + + Expanding + + + Vertical + + + + + + + 0 + + + 6 - - - unnamed + + + + + 0 + 0 + 0 + 0 + + + + TL6 + + + false + + + + + + + + + + + + 0 + + + 6 + + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false - - 0 + + + + + + + 0 + 0 + 0 + 0 + - - 6 + + - - - Layout3 - - - - unnamed - - - 0 - - - 6 - - - - TextLabel5 - - - - 0 - 0 - 0 - 0 - - - - TL5 - - - - - TextLabel3 - - - - 0 - 0 - 0 - 0 - - - - TL3 - - - - - TextLabel4 - - - - 0 - 0 - 0 - 0 - - - - TL4 - - - - - SpinBox3 - - - - 7 - 0 - 0 - 0 - - - - - - SpinBox1 - - - - 7 - 0 - 0 - 0 - - - - - - TextLabel2 - - - - 0 - 0 - 0 - 0 - - - - TL2 - - - - - SpinBox2 - - - - 7 - 0 - 0 - 0 - - - - - - - - Spacer6 - - - Vertical - - - Expanding - - - - 0 - 16 - - - - - - Layout4 - - - - unnamed - - - 0 - - - 6 - - - - TextLabel6 - - - - 0 - 0 - 0 - 0 - - - - TL6 - - - - - SpinBox4 - - - - - - - Layout2 - - - - unnamed - - - 0 - - - 6 - - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - PushButton1 - - - - 0 - 0 - 0 - 0 - - - - - - - - - LineEdit1 - - - - - - - + + + + + + + + + + - - - - + + + + + qPixmapFromMimeSource + diff --git a/src/DlgRef/UIFiles/DlgRef_1Sel5Spin_QTD.ui b/src/DlgRef/UIFiles/DlgRef_1Sel5Spin_QTD.ui index c1bca88db..fcd28af38 100644 --- a/src/DlgRef/UIFiles/DlgRef_1Sel5Spin_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_1Sel5Spin_QTD.ui @@ -1,281 +1,266 @@ - -DlgRef_1Sel5Spin_QTD - - - DlgRef_1Sel5Spin_QTD + + + + + DlgRef_1Sel5Spin_QTD + + + + 0 + 0 + 162 + 143 + - - - 0 - 0 - 162 - 143 - + + DlgRef_1Sel5Spin_QTD - - DlgRef_1Sel5Spin_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 + + + 0 + + + 6 + + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 0 - - 6 + + 6 - - - Layout1 + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + 0 - - - unnamed + + 6 + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL5 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + TL3 - - 0 + + false - - 6 + + + + + + + 0 + 0 + 0 + 0 + - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - PushButton1 - - - - 0 - 0 - 0 - 0 - - - - - - - - - Layout2 - - - - unnamed - - - 0 - - - 6 - - - - SpinBox2 - - - - 7 - 0 - 0 - 0 - - - - - - SpinBox3 - - - - 7 - 0 - 0 - 0 - - - - - - TextLabel5 - - - - 0 - 0 - 0 - 0 - - - - TL5 - - - - - TextLabel3 - - - - 0 - 0 - 0 - 0 - - - - TL3 - - - - - TextLabel4 - - - - 0 - 0 - 0 - 0 - - - - TL4 - - - - - SpinBox4 - - - - 7 - 0 - 0 - 0 - - - - - - SpinBox1 - - - - 7 - 0 - 0 - 0 - - - - - - TextLabel6 - - - - 0 - 0 - 0 - 0 - - - - TL6 - - - - - TextLabel2 - - - - 0 - 0 - 0 - 0 - - - - TL2 - - - - - SpinBox5 - - - - 7 - 0 - 0 - 0 - - - - - - - - Spacer6 - - - Vertical - - - Expanding - - - - 0 - 120 - - - - - - LineEdit1 - - - - - + + TL4 + + + false + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL6 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + TL2 + + + false + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + + + 0 + 120 + + + + Expanding + + + Vertical + + + + + + + + + - - - - + + + + + qPixmapFromMimeSource + diff --git a/src/DlgRef/UIFiles/DlgRef_1Sel_QTD.ui b/src/DlgRef/UIFiles/DlgRef_1Sel_QTD.ui index 3816fd110..9b28ca4c3 100644 --- a/src/DlgRef/UIFiles/DlgRef_1Sel_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_1Sel_QTD.ui @@ -1,128 +1,114 @@ - -DlgRef_1Sel_QTD - - - DlgRef_1Sel_QTD + + + + + DlgRef_1Sel_QTD + + + + 0 + 0 + 129 + 57 + - - - 0 - 0 - 129 - 57 - + + DlgRef_1Sel_QTD - - DlgRef_1Sel_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 - - - - 7 - 7 - 0 - 0 - + + + 0 + + + 6 + + + + + + 7 + 7 + 0 + 0 + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 0 - - 6 + + 6 - - - Layout1 + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 16 + + + + Expanding + + + Vertical + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false - - - unnamed - - - 0 - - - 6 - - - - PushButton1 - - - - 0 - 0 - 0 - 0 - - - - - - - - - Spacer8 - - - Vertical - - - Expanding - - - - 0 - 16 - - - - - - LineEdit1 - - - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - + + + + + - - - - + + + + + qPixmapFromMimeSource + diff --git a/src/DlgRef/UIFiles/DlgRef_1Spin_QTD.ui b/src/DlgRef/UIFiles/DlgRef_1Spin_QTD.ui index ddeca8757..98b425c5b 100644 --- a/src/DlgRef/UIFiles/DlgRef_1Spin_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_1Spin_QTD.ui @@ -1,112 +1,100 @@ - -DlgRef_1Spin_QTD - - - DlgRef_1Spin_QTD + + + + + DlgRef_1Spin_QTD + + + + 0 + 0 + 124 + 55 + - - - 0 - 0 - 124 - 55 - + + DlgRef_1Spin_QTD - - DlgRef_1Spin_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 + + + 0 + + + 6 + + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 0 - - 6 + + 6 - - - Layout1 + + + + + 0 + 16 + + + + Expanding + + + Vertical + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false - - - unnamed - - - 0 - - - 6 - - - - Spacer1 - - - Vertical - - - Expanding - - - - 0 - 16 - - - - - - SpinBox1 - - - - 7 - 0 - 0 - 0 - - - - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - + + + + + - - - - + + + + + qPixmapFromMimeSource + diff --git a/src/DlgRef/UIFiles/DlgRef_2Sel1List_QTD.ui b/src/DlgRef/UIFiles/DlgRef_2Sel1List_QTD.ui new file mode 100644 index 000000000..fc72ae095 --- /dev/null +++ b/src/DlgRef/UIFiles/DlgRef_2Sel1List_QTD.ui @@ -0,0 +1,172 @@ + + + + + DlgRef_2Sel1List_QTD + + + + 0 + 0 + 129 + 175 + + + + DlgRef_2Sel1List_QTD + + + + 0 + + + 6 + + + + + + + + + 11 + + + 6 + + + + + 0 + + + 6 + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false + + + + + + + + 0 + 80 + + + + Expanding + + + Vertical + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL2 + + + false + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL3 + + + false + + + + + + + + + + + + qPixmapFromMimeSource + diff --git a/src/DlgRef/UIFiles/DlgRef_2Sel1Spin2Check_QTD.ui b/src/DlgRef/UIFiles/DlgRef_2Sel1Spin2Check_QTD.ui index a2e4e0ace..02c81c66a 100644 --- a/src/DlgRef/UIFiles/DlgRef_2Sel1Spin2Check_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_2Sel1Spin2Check_QTD.ui @@ -1,204 +1,189 @@ - -DlgRef_2Sel1Spin2Check_QTD - - - DlgRef_2Sel1Spin2Check_QTD + + + + + DlgRef_2Sel1Spin2Check_QTD + + + + 0 + 0 + 256 + 139 + - - - 0 - 0 - 256 - 139 - + + DlgRef_2Sel1Spin2Check_QTD - - DlgRef_2Sel1Spin2Check_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 + + + 0 + + + 6 + + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 0 - - 6 + + 6 - - - Layout1 - - - - unnamed - - - 0 - - - 6 - - - - TextLabel2 - - - - 0 - 0 - 0 - 0 - - - - TL2 - - - - - PushButton1 - - - - 0 - 0 - 0 - 0 - - - - - - - - - TextLabel3 - - - - 0 - 0 - 0 - 0 - - - - TL3 - - - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - Spacer5 - - - Vertical - - - Expanding - - - - 0 - 316 - - - - - - CheckButton2 - - - - - - - - LineEdit2 - - - - - PushButton2 - - - - 0 - 0 - 0 - 0 - - - - - - - - - LineEdit1 - - - - - CheckButton1 - - - - - - - - SpinBox1 - - - - 7 - 0 - 0 - 0 - - - - - - + + + + + 0 + 0 + 0 + 0 + + + + TL2 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL3 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false + + + + + + + + 0 + 316 + + + + Expanding + + + Vertical + + + + + + + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + + + + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + - - - + + + + + qPixmapFromMimeSource + PushButton1 LineEdit1 PushButton2 @@ -206,6 +191,5 @@ SpinBox1 CheckButton2 CheckButton1 - - - + + diff --git a/src/DlgRef/UIFiles/DlgRef_2Sel1Spin_QTD.ui b/src/DlgRef/UIFiles/DlgRef_2Sel1Spin_QTD.ui index df952819a..6b6a3f4cd 100644 --- a/src/DlgRef/UIFiles/DlgRef_2Sel1Spin_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_2Sel1Spin_QTD.ui @@ -1,215 +1,195 @@ - -DlgRef_2Sel1Spin_QTD - - - DlgRef_2Sel1Spin_QTD + + + + + DlgRef_2Sel1Spin_QTD + + + + 0 + 0 + 163 + 122 + - - - 0 - 0 - 163 - 122 - + + DlgRef_2Sel1Spin_QTD - - DlgRef_2Sel1Spin_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 + + + 0 + + + 6 + + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 0 - - 6 + + 6 - - - Layout1 + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + QFrame::NoFrame - - - unnamed + + QFrame::Plain + + + TL2 + + + false + + + + + + + 0 + + + 6 + + + + + + 7 + 0 + 0 + 0 + - - 0 + + + + + + + 0 + 0 + 0 + 0 + - - 6 + + TL3 - - - LineEdit1 - - - - - PushButton2 - - - - 0 - 0 - 0 - 0 - - - - - - - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - LineEdit2 - - - - - PushButton1 - - - - 0 - 0 - 0 - 0 - - - - - - - - - TextLabel2 - - - - 0 - 0 - 0 - 0 - - - - NoFrame - - - Plain - - - TL2 - - - - - Layout2 - - - - unnamed - - - 0 - - - 6 - - - - SpinBox1 - - - - 7 - 0 - 0 - 0 - - - - - - TextLabel3 - - - - 0 - 0 - 0 - 0 - - - - TL3 - - - - - - - Spacer5 - - - Vertical - - - Expanding - - - - 0 - 16 - - - - - - + + false + + + + + + + + + + 0 + 16 + + + + Expanding + + + Vertical + + + + + + - - - + + + + + qPixmapFromMimeSource + PushButton1 LineEdit1 PushButton2 LineEdit2 SpinBox1 - - - + + diff --git a/src/DlgRef/UIFiles/DlgRef_2Sel2Spin1Check_QTD.ui b/src/DlgRef/UIFiles/DlgRef_2Sel2Spin1Check_QTD.ui index 1a97c8724..dd82f093e 100644 --- a/src/DlgRef/UIFiles/DlgRef_2Sel2Spin1Check_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_2Sel2Spin1Check_QTD.ui @@ -1,241 +1,222 @@ - -DlgRef_2Sel2Spin1Check_QTD - - - DlgRef_2Sel2Spin1Check_QTD + + + + + DlgRef_2Sel2Spin1Check_QTD + + + + 0 + 0 + 163 + 170 + - - - 0 - 0 - 163 - 170 - + + DlgRef_2Sel2Spin1Check_QTD - - DlgRef_2Sel2Spin1Check_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 + + + 0 + + + 6 + + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 0 - - 6 + + 6 - - - Layout1 + + + + + 0 + 0 + 0 + 0 + + + + TL2 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + TL1 - - - unnamed + + false + + + + + + + 0 + + + 6 + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL3 - - 0 + + false - - 6 + + + + + + + 0 + 0 + 0 + 0 + - - - TextLabel2 - - - - 0 - 0 - 0 - 0 - - - - TL2 - - - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - Layout2 - - - - unnamed - - - 0 - - - 6 - - - - SpinBox1 - - - - 7 - 0 - 0 - 0 - - - - - - TextLabel3 - - - - 0 - 0 - 0 - 0 - - - - TL3 - - - - - TextLabel4 - - - - 0 - 0 - 0 - 0 - - - - TL4 - - - - - SpinBox2 - - - - 7 - 0 - 0 - 0 - - - - - - - - LineEdit1 - - - - - Spacer1 - - - Vertical - - - Expanding - - - - 0 - 16 - - - - - - CheckButton1 - - - - - - - - LineEdit2 - - - - - PushButton2 - - - - 0 - 0 - 0 - 0 - - - - - - - - - PushButton1 - - - - 0 - 0 - 0 - 0 - - - - - - - - - + + TL4 + + + false + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + + + + + + 0 + 16 + + + + Expanding + + + Vertical + + + + + + + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + - - - + + + + + qPixmapFromMimeSource + PushButton1 LineEdit1 PushButton2 @@ -243,6 +224,5 @@ SpinBox1 SpinBox2 CheckButton1 - - - + + diff --git a/src/DlgRef/UIFiles/DlgRef_2Sel2Spin_QTD.ui b/src/DlgRef/UIFiles/DlgRef_2Sel2Spin_QTD.ui index b935dc89a..4f2d749ad 100644 --- a/src/DlgRef/UIFiles/DlgRef_2Sel2Spin_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_2Sel2Spin_QTD.ui @@ -1,231 +1,212 @@ - -DlgRef_2Sel2Spin_QTD - - - DlgRef_2Sel2Spin_QTD + + + + + DlgRef_2Sel2Spin_QTD + + + + 0 + 0 + 129 + 145 + - - - 0 - 0 - 129 - 145 - + + DlgRef_2Sel2Spin_QTD - - DlgRef_2Sel2Spin_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 + + + 0 + + + 6 + + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 0 - - 6 + + 6 - - - Layout1 + + + + + + + 0 + + + 6 - - - unnamed + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL4 + + + false - - 0 + + + + + + + 0 + 0 + 0 + 0 + - - 6 + + TL3 - - - LineEdit1 - - - - - Layout2 - - - - unnamed - - - 0 - - - 6 - - - - SpinBox2 - - - - 7 - 0 - 0 - 0 - - - - - - TextLabel4 - - - - 0 - 0 - 0 - 0 - - - - TL4 - - - - - TextLabel3 - - - - 0 - 0 - 0 - 0 - - - - TL3 - - - - - SpinBox1 - - - - 7 - 0 - 0 - 0 - - - - - - - - PushButton2 - - - - 0 - 0 - 0 - 0 - - - - - - - - - TextLabel2 - - - - 0 - 0 - 0 - 0 - - - - TL2 - - - - - Spacer5 - - - Vertical - - - Expanding - - - - 0 - 20 - - - - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - PushButton1 - - - - 0 - 0 - 0 - 0 - - - - - - - - - LineEdit2 - - - - - + + false + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL2 + + + false + + + + + + + + 0 + 20 + + + + Expanding + + + Vertical + + + + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + + - - - - + + + + + qPixmapFromMimeSource + diff --git a/src/DlgRef/UIFiles/DlgRef_2Sel3Spin_QTD.ui b/src/DlgRef/UIFiles/DlgRef_2Sel3Spin_QTD.ui index e51bd758a..7ac5809fb 100644 --- a/src/DlgRef/UIFiles/DlgRef_2Sel3Spin_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_2Sel3Spin_QTD.ui @@ -1,260 +1,242 @@ - -DlgRef_2Sel3Spin_QTD - - - DlgRef_2Sel3Spin_QTD + + + + + DlgRef_2Sel3Spin_QTD + + + + 0 + 0 + 129 + 173 + - - - 0 - 0 - 129 - 173 - + + DlgRef_2Sel3Spin_QTD - - DlgRef_2Sel3Spin_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 + + + 0 + + + 6 + + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 0 - - 6 + + 6 - - - Layout1 + + + + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + TL2 + + + false - - - unnamed + + + + + + 0 + + + 6 + + + + + + 0 + 0 + 0 + 0 + + + + TL3 + + + false + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + 0 + - - 0 + + TL4 - - 6 + + false - - - LineEdit1 - - - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - TextLabel2 - - - - 0 - 0 - 0 - 0 - - - - TL2 - - - - - Layout2 - - - - unnamed - - - 0 - - - 6 - - - - TextLabel3 - - - - 0 - 0 - 0 - 0 - - - - TL3 - - - - - SpinBox2 - - - - 7 - 0 - 0 - 0 - - - - - - TextLabel4 - - - - 0 - 0 - 0 - 0 - - - - TL4 - - - - - TextLabel5 - - - - 0 - 0 - 0 - 0 - - - - TL4 - - - - - SpinBox1 - - - - 7 - 0 - 0 - 0 - - - - - - SpinBox3 - - - - 7 - 0 - 0 - 0 - - - - - - - - PushButton1 - - - - 0 - 0 - 0 - 0 - - - - - - - - - Spacer5 - - - Vertical - - - Expanding - - - - 0 - 20 - - - - - - LineEdit2 - - - - - PushButton2 - - - - 0 - 0 - 0 - 0 - - - - - - - - - + + + + + + + 0 + 0 + 0 + 0 + + + + TL4 + + + false + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 20 + + + + Expanding + + + Vertical + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + - - - - + + + + + qPixmapFromMimeSource + diff --git a/src/DlgRef/UIFiles/DlgRef_2Sel4Spin1Check_QTD.ui b/src/DlgRef/UIFiles/DlgRef_2Sel4Spin1Check_QTD.ui index f148e2c89..849422cb8 100644 --- a/src/DlgRef/UIFiles/DlgRef_2Sel4Spin1Check_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_2Sel4Spin1Check_QTD.ui @@ -1,315 +1,292 @@ - -DlgRef_2Sel4Spin1Check_QTD - - - DlgRef_2Sel4Spin1Check_QTD + + + + + DlgRef_2Sel4Spin1Check_QTD + + + + 0 + 0 + 262 + 230 + - - - 0 - 0 - 262 - 230 - + + DlgRef_2Sel4Spin1Check_QTD - - DlgRef_2Sel4Spin1Check_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 + + + 0 + + + 6 + + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 0 - - 6 + + 6 - - - Layout5 + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + + + + + + + 0 + + + 6 + + + + + + 0 + 0 + 0 + 0 + + + + TL3 + + + false + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL4 + + + false + + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL1 - - - unnamed + + false + + + + + + + + + + + 0 + 16 + + + + Expanding + + + Vertical + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL2 + + + false + + + + + + + 0 + + + 6 + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL5 + + + false + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + 0 + - - 0 + + TL6 - - 6 + + false - - - PushButton1 - - - - 0 - 0 - 0 - 0 - - - - - - - - - CheckButton1 - - - - - - - - Layout2 - - - - unnamed - - - 0 - - - 6 - - - - TextLabel3 - - - - 0 - 0 - 0 - 0 - - - - TL3 - - - - - SpinBox1 - - - - 7 - 0 - 0 - 0 - - - - - - SpinBox2 - - - - 7 - 0 - 0 - 0 - - - - - - TextLabel4 - - - - 0 - 0 - 0 - 0 - - - - TL4 - - - - - - - LineEdit2 - - - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - LineEdit1 - - - - - Spacer1 - - - Vertical - - - Expanding - - - - 0 - 16 - - - - - - PushButton2 - - - - 0 - 0 - 0 - 0 - - - - - - - - - TextLabel2 - - - - 0 - 0 - 0 - 0 - - - - TL2 - - - - - Layout3 - - - - unnamed - - - 0 - - - 6 - - - - SpinBox4 - - - - 7 - 0 - 0 - 0 - - - - - - TextLabel5 - - - - 0 - 0 - 0 - 0 - - - - TL5 - - - - - SpinBox3 - - - - 7 - 0 - 0 - 0 - - - - - - TextLabel6 - - - - 0 - 0 - 0 - 0 - - - - TL6 - - - - - - - + + + + + + + - - - + + + + + qPixmapFromMimeSource + PushButton1 LineEdit1 PushButton2 @@ -319,6 +296,5 @@ CheckButton1 SpinBox3 SpinBox4 - - - + + diff --git a/src/DlgRef/UIFiles/DlgRef_2Sel_QTD.ui b/src/DlgRef/UIFiles/DlgRef_2Sel_QTD.ui index 46e7f5b7e..d34411687 100644 --- a/src/DlgRef/UIFiles/DlgRef_2Sel_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_2Sel_QTD.ui @@ -1,165 +1,150 @@ - -DlgRef_2Sel_QTD - - - DlgRef_2Sel_QTD + + + + + DlgRef_2Sel_QTD + + + + 0 + 0 + 129 + 87 + - - - 0 - 0 - 129 - 87 - + + + 5 + 7 + 0 + 0 + - - - 5 - 7 - 0 - 0 - + + DlgRef_2Sel_QTD - - DlgRef_2Sel_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 + + + 0 + + + 6 + + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 0 - - 6 + + 6 - - - Layout1 + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 16 + + + + Expanding + + + Vertical + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + TL2 + + + false - - - unnamed - - - 0 - - - 6 - - - - PushButton1 - - - - 0 - 0 - 0 - 0 - - - - - - - - - Spacer3 - - - Vertical - - - Expanding - - - - 0 - 16 - - - - - - LineEdit2 - - - - - PushButton2 - - - - 0 - 0 - 0 - 0 - - - - - - - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - TextLabel2 - - - - 0 - 0 - 0 - 0 - - - - TL2 - - - - - LineEdit1 - - - - - + + + + + + + + - - - - + + + + + qPixmapFromMimeSource + diff --git a/src/DlgRef/UIFiles/DlgRef_2Spin_QTD.ui b/src/DlgRef/UIFiles/DlgRef_2Spin_QTD.ui index 3fe8a9fe0..20f254c65 100644 --- a/src/DlgRef/UIFiles/DlgRef_2Spin_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_2Spin_QTD.ui @@ -1,141 +1,130 @@ - -DlgRef_2Spin_QTD - - - DlgRef_2Spin_QTD + + + + + DlgRef_2Spin_QTD + + + + 0 + 0 + 124 + 83 + - - - 0 - 0 - 124 - 83 - + + DlgRef_2Spin_QTD - - DlgRef_2Spin_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 + + + 0 + + + 6 + + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 0 - - 6 + + 6 - - - Layout1 + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 0 + 16 + + + + Expanding + + + Vertical + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + TL2 + + + false - - - unnamed - - - 0 - - - 6 - - - - SpinBox2 - - - - 7 - 0 - 0 - 0 - - - - - - Spacer1 - - - Vertical - - - Expanding - - - - 0 - 16 - - - - - - SpinBox1 - - - - 7 - 0 - 0 - 0 - - - - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - TextLabel2 - - - - 0 - 0 - 0 - 0 - - - - TL2 - - - - - + + + + + - - - - + + + + + qPixmapFromMimeSource + diff --git a/src/DlgRef/UIFiles/DlgRef_3Check_QTD.ui b/src/DlgRef/UIFiles/DlgRef_3Check_QTD.ui index 9573bb295..de3959a6d 100644 --- a/src/DlgRef/UIFiles/DlgRef_3Check_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_3Check_QTD.ui @@ -1,112 +1,96 @@ - -DlgRef_3Check_QTD - - - DlgRef_3Check_QTD + + + + + DlgRef_3Check_QTD + + + + 0 + 0 + 135 + 108 + - - - 0 - 0 - 135 - 108 - + + DlgRef_3Check_QTD - - DlgRef_3Check_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 + + + 0 + + + 6 + + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 0 - - 6 + + 6 - - - Layout1 + + + + RadioButton3 + + + + + + + RadioButton1 + + + + + + + RadioButton2 + + + + + + + + 0 + 91 + + + + Expanding + + + Vertical - - - unnamed - - - 0 - - - 6 - - - - RadioButton3 - - - RadioButton3 - - - - - RadioButton1 - - - RadioButton1 - - - - - RadioButton2 - - - RadioButton2 - - - - - Spacer1 - - - Vertical - - - Expanding - - - - 0 - 91 - - - - - - + + + + + - - - + + + + + qPixmapFromMimeSource + RadioButton1 RadioButton2 RadioButton3 - - - + + diff --git a/src/DlgRef/UIFiles/DlgRef_3Sel1Check_QTD.ui b/src/DlgRef/UIFiles/DlgRef_3Sel1Check_QTD.ui index 6f9ef127c..8a15ff4ce 100644 --- a/src/DlgRef/UIFiles/DlgRef_3Sel1Check_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_3Sel1Check_QTD.ui @@ -1,210 +1,199 @@ - -DlgRef_3Sel1Check_QTD - - - DlgRef_3Sel1Check_QTD + + + + + DlgRef_3Sel1Check_QTD + + + + 0 + 0 + 490 + 878 + - - - 0 - 0 - 490 - 878 - + + + 5 + 5 + 0 + 0 + - - - 5 - 5 - 0 - 0 - + + DlgRef_3Sel3Spin1Check_QTD - - DlgRef_3Sel3Spin1Check_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 + + + 0 + + + 6 + + + + + + 5 + 5 + 0 + 0 + + + + + + + + 11 + + + 6 - - - 5 - 5 + + + + + 0 + 0 0 0 - - - - - - - - unnamed - - - 11 - - - 6 - - - - PushButton1 - - - - 0 - 0 - 0 - 0 - - - - - - - - - LineEdit1 - - - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - PushButton2 - - - - 0 - 0 - 0 - 0 - - - - - - - - - LineEdit2 - - - - - TextLabel2 - - - - 0 - 0 - 0 - 0 - - - - TL2 - - - - - PushButton3 - - - - 0 - 0 - 0 - 0 - - - - - - - - - LineEdit3 - - - - - TextLabel3 - - - - 0 - 0 - 0 - 0 - - - - TL3 - - - - - radioButton4 - - - radioButton4 - - - - - Spacer3 - - - Vertical - - - Expanding - - - - 16 - 721 - - - - + + + + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL2 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL3 + + + false + + + + + + + radioButton4 + + + + + + + + 16 + 721 + + + + Expanding + + + Vertical + + + + - - - + + + + + qPixmapFromMimeSource + PushButton1 LineEdit1 PushButton2 LineEdit2 PushButton3 LineEdit3 - - - + + diff --git a/src/DlgRef/UIFiles/DlgRef_3Sel3Spin1Check_QTD.ui b/src/DlgRef/UIFiles/DlgRef_3Sel3Spin1Check_QTD.ui index c48cc30c3..55c9f89e6 100644 --- a/src/DlgRef/UIFiles/DlgRef_3Sel3Spin1Check_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_3Sel3Spin1Check_QTD.ui @@ -1,307 +1,294 @@ - -DlgRef_3Sel3Spin1Check_QTD - - - DlgRef_3Sel3Spin1Check_QTD + + + + + DlgRef_3Sel3Spin1Check_QTD + + + + 0 + 0 + 380 + 229 + - - - 0 - 0 - 380 - 229 - + + + 5 + 5 + 0 + 0 + - - - 5 - 5 - 0 - 0 - + + DlgRef_3Sel3Spin1Check_QTD - - DlgRef_3Sel3Spin1Check_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 - - - - 5 - 5 - 0 - 0 - + + + 0 + + + 6 + + + + + + 5 + 5 + 0 + 0 + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 0 - - 6 + + 6 - - - Layout1 + + + + + 7 + 0 + 0 + 0 + + + + + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + TL3 + + + false + + + + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL4 + + + false + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL6 + + + false + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL5 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + TL2 + + + false + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 250 + + + + Expanding + + + Vertical - - - unnamed - - - 0 - - - 6 - - - - SpinBox_2 - - - - 7 - 0 - 0 - 0 - - - - - - LineEdit3 - - - - - SpinBox_3 - - - - 7 - 0 - 0 - 0 - - - - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - TextLabel3 - - - - 0 - 0 - 0 - 0 - - - - TL3 - - - - - CheckBox1 - - - - - - - - PushButton1 - - - - 0 - 0 - 0 - 0 - - - - - - - - - TextLabel4 - - - - 0 - 0 - 0 - 0 - - - - TL4 - - - - - LineEdit2 - - - - - PushButton3 - - - - 0 - 0 - 0 - 0 - - - - - - - - - TextLabel6 - - - - 0 - 0 - 0 - 0 - - - - TL6 - - - - - SpinBox_1 - - - - 7 - 0 - 0 - 0 - - - - - - TextLabel5 - - - - 0 - 0 - 0 - 0 - - - - TL5 - - - - - TextLabel2 - - - - 0 - 0 - 0 - 0 - - - - TL2 - - - - - LineEdit1 - - - - - PushButton2 - - - - 0 - 0 - 0 - 0 - - - - - - - - - Spacer3 - - - Vertical - - - Expanding - - - - 0 - 250 - - - - - - + + + + + - - - + + + + + qPixmapFromMimeSource + PushButton1 LineEdit1 PushButton2 @@ -312,6 +299,5 @@ SpinBox_2 SpinBox_3 CheckBox1 - - - + + diff --git a/src/DlgRef/UIFiles/DlgRef_3Sel4Spin2Check_QTD.ui b/src/DlgRef/UIFiles/DlgRef_3Sel4Spin2Check_QTD.ui index 441a99a72..d8dab0af6 100644 --- a/src/DlgRef/UIFiles/DlgRef_3Sel4Spin2Check_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_3Sel4Spin2Check_QTD.ui @@ -1,360 +1,335 @@ - -DlgRef_3Sel4Spin2Check_QTD - - - DlgRef_3Sel4Spin2Check_QTD + + + + + DlgRef_3Sel4Spin2Check_QTD + + + + 0 + 0 + 269 + 281 + - - - 0 - 0 - 269 - 281 - + + DlgRef_3Sel4Spin2Check_QTD - - DlgRef_3Sel4Spin2Check_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 + + + 0 + + + 6 + + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 0 - - 6 + + 6 - - - Layout1 + + + + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL3 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + 0 + + + 6 + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL7 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + TL6 + + + false + + + + + + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false + + + + + + + + 0 + 16 + + + + Expanding + + + Vertical + + + + + + + + + + 0 - - - unnamed + + 6 + + + + + + 0 + 0 + 0 + 0 + + + + TL5 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + TL4 - - 0 + + false - - 6 + + + + + + + 7 + 0 + 0 + 0 + - - - CheckButton2 - - - - - - - - LineEdit1 - - - - - TextLabel3 - - - - 0 - 0 - 0 - 0 - - - - TL3 - - - - - PushButton2 - - - - 0 - 0 - 0 - 0 - - - - - - - - - LineEdit3 - - - - - PushButton1 - - - - 0 - 0 - 0 - 0 - - - - - - - - - Layout3 - - - - unnamed - - - 0 - - - 6 - - - - SpinBox4 - - - - 7 - 0 - 0 - 0 - - - - - - SpinBox3 - - - - 7 - 0 - 0 - 0 - - - - - - TextLabel7 - - - - 0 - 0 - 0 - 0 - - - - TL7 - - - - - TextLabel6 - - - - 0 - 0 - 0 - 0 - - - - TL6 - - - - - - - CheckButton1 - - - - - - - - PushButton3 - - - - 0 - 0 - 0 - 0 - - - - - - - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - Spacer1 - - - Vertical - - - Expanding - - - - 0 - 16 - - - - - - LineEdit2 - - - - - Layout2 - - - - unnamed - - - 0 - - - 6 - - - - TextLabel5 - - - - 0 - 0 - 0 - 0 - - - - TL5 - - - - - TextLabel4 - - - - 0 - 0 - 0 - 0 - - - - TL4 - - - - - SpinBox1 - - - - 7 - 0 - 0 - 0 - - - - - - SpinBox2 - - - - 7 - 0 - 0 - 0 - - - - - - - - TextLabel2 - - - - 0 - 0 - 0 - 0 - - - - TL2 - - - - - + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL2 + + + false + + + + + + - - - + + + + + qPixmapFromMimeSource + PushButton1 LineEdit1 PushButton2 @@ -367,6 +342,5 @@ SpinBox3 SpinBox4 CheckButton2 - - - + + diff --git a/src/DlgRef/UIFiles/DlgRef_3Sel_QTD.ui b/src/DlgRef/UIFiles/DlgRef_3Sel_QTD.ui index 0fe998827..077e60e89 100644 --- a/src/DlgRef/UIFiles/DlgRef_3Sel_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_3Sel_QTD.ui @@ -1,202 +1,186 @@ - -DlgRef_3Sel_QTD - - - DlgRef_3Sel_QTD + + + + + DlgRef_3Sel_QTD + + + + 0 + 0 + 129 + 117 + - - - 0 - 0 - 129 - 117 - + + + 5 + 7 + 0 + 0 + - - - 5 - 7 - 0 - 0 - + + DlgRef_3Sel_QTD - - DlgRef_3Sel_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 + + + 0 + + + 6 + + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 0 - - 6 + + 6 - - - Layout1 - - - - unnamed - - - 0 - - - 6 - - - - LineEdit3 - - - - - PushButton1 - - - - 0 - 0 - 0 - 0 - - - - - - - - - LineEdit2 - - - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - TextLabel3 - - - - 0 - 0 - 0 - 0 - - - - TL3 - - - - - LineEdit1 - - - - - Spacer3 - - - Vertical - - - Expanding - - - - 0 - 159 - - - - - - TextLabel2 - - - - 0 - 0 - 0 - 0 - - - - TL2 - - - - - PushButton3 - - - - 0 - 0 - 0 - 0 - - - - - - - - - PushButton2 - - - - 0 - 0 - 0 - 0 - - - - - - - - - + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + TL3 + + + false + + + + + + + + + + + 0 + 159 + + + + Expanding + + + Vertical + + + + + + + + 0 + 0 + 0 + 0 + + + + TL2 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + - - - - + + + + + qPixmapFromMimeSource + diff --git a/src/DlgRef/UIFiles/DlgRef_3Spin1Check_QTD.ui b/src/DlgRef/UIFiles/DlgRef_3Spin1Check_QTD.ui index fd3317f2d..bc6936e56 100644 --- a/src/DlgRef/UIFiles/DlgRef_3Spin1Check_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_3Spin1Check_QTD.ui @@ -1,178 +1,167 @@ - -DlgRef_3Spin1Check_QTD - - - DlgRef_3Spin1Check_QTD + + + + + DlgRef_3Spin1Check_QTD + + + + 0 + 0 + 124 + 130 + - - - 0 - 0 - 124 - 130 - + + DlgRef_3Spin1Check_QTD - - DlgRef_3Spin1Check_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 + + + 0 + + + 6 + + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 0 - - 6 + + 6 - - - Layout1 - - - - unnamed - - - 0 - - - 6 - - - - CheckBox1 - - - - - - - - Spacer1 - - - Vertical - - - Expanding - - - - 0 - 20 - - - - - - SpinBox2 - - - - 7 - 0 - 0 - 0 - - - - - - TextLabel3 - - - - 0 - 0 - 0 - 0 - - - - TL3 - - - - - SpinBox3 - - - - 7 - 0 - 0 - 0 - - - - - - SpinBox1 - - - - 7 - 0 - 0 - 0 - - - - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - TextLabel2 - - - - 0 - 0 - 0 - 0 - - - - TL2 - - - - - + + + + + + + + + + + + 0 + 20 + + + + Expanding + + + Vertical + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL3 + + + false + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + TL2 + + + false + + + + + + - - - - + + + + + qPixmapFromMimeSource + diff --git a/src/DlgRef/UIFiles/DlgRef_3Spin_QTD.ui b/src/DlgRef/UIFiles/DlgRef_3Spin_QTD.ui index 96f6b4dfb..d5a53489d 100644 --- a/src/DlgRef/UIFiles/DlgRef_3Spin_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_3Spin_QTD.ui @@ -1,170 +1,160 @@ - -DlgRef_3Spin_QTD - - - DlgRef_3Spin_QTD + + + + + DlgRef_3Spin_QTD + + + + 0 + 0 + 124 + 111 + - - - 0 - 0 - 124 - 111 - + + DlgRef_3Spin_QTD - - DlgRef_3Spin_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 + + + 0 + + + 6 + + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 0 - - 6 + + 6 - - - Layout1 + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 0 + 16 + + + + Expanding + + + Vertical + + + + + + + + 0 + 0 + 0 + 0 + + + + TL3 + + + false + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + TL2 + + + false - - - unnamed - - - 0 - - - 6 - - - - SpinBox2 - - - - 7 - 0 - 0 - 0 - - - - - - Spacer1 - - - Vertical - - - Expanding - - - - 0 - 16 - - - - - - TextLabel3 - - - - 0 - 0 - 0 - 0 - - - - TL3 - - - - - SpinBox1 - - - - 7 - 0 - 0 - 0 - - - - - - SpinBox3 - - - - 7 - 0 - 0 - 0 - - - - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - TextLabel2 - - - - 0 - 0 - 0 - 0 - - - - TL2 - - - - - + + + + + - - - - + + + + + qPixmapFromMimeSource + diff --git a/src/DlgRef/UIFiles/DlgRef_4Sel1List1Check_QTD.ui b/src/DlgRef/UIFiles/DlgRef_4Sel1List1Check_QTD.ui new file mode 100644 index 000000000..bef0ae06a --- /dev/null +++ b/src/DlgRef/UIFiles/DlgRef_4Sel1List1Check_QTD.ui @@ -0,0 +1,271 @@ + + + + + DlgRef_4Sel1List_QTD + + + + 0 + 0 + 129 + 175 + + + + DlgRef_4Sel1List_QTD + + + + 0 + + + 6 + + + + + + + + + 11 + + + 6 + + + + + 0 + + + 6 + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + TL4 + + + false + + + + + + + + 0 + 80 + + + + Expanding + + + Vertical + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL5 + + + false + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL2 + + + false + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL3 + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + qPixmapFromMimeSource + + PushButton1 + LineEdit1 + PushButton2 + LineEdit2 + ComboBox1 + CheckBox1 + PushButton5 + PushButton3 + LineEdit3 + PushButton4 + LineEdit4 + + diff --git a/src/DlgRef/UIFiles/DlgRef_4Sel1List_QTD.ui b/src/DlgRef/UIFiles/DlgRef_4Sel1List_QTD.ui index 831768d79..4092f9921 100644 --- a/src/DlgRef/UIFiles/DlgRef_4Sel1List_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_4Sel1List_QTD.ui @@ -1,260 +1,244 @@ - -DlgRef_4Sel1List_QTD - - - DlgRef_4Sel1List_QTD + + + + + DlgRef_4Sel1List_QTD + + + + 0 + 0 + 129 + 175 + - - - 0 - 0 - 129 - 175 - + + DlgRef_4Sel1List_QTD - - DlgRef_4Sel1List_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 + + + 0 + + + 6 + + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 0 - - 6 + + 6 - - - Layout1 + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + TL4 + + + false + + + + + + + + 0 + 80 + + + + Expanding + + + Vertical + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL5 + + + false + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL2 + + + false + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL3 + + + false - - - unnamed - - - 0 - - - 6 - - - - LineEdit2 - - - - - PushButton4 - - - - 0 - 0 - 0 - 0 - - - - - - - - - PushButton1 - - - - 0 - 0 - 0 - 0 - - - - - - - - - LineEdit4 - - - - - PushButton3 - - - - 0 - 0 - 0 - 0 - - - - - - - - - PushButton2 - - - - 0 - 0 - 0 - 0 - - - - - - - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - TextLabel4 - - - - 0 - 0 - 0 - 0 - - - - TL4 - - - - - Spacer5 - - - Vertical - - - Expanding - - - - 0 - 80 - - - - - - LineEdit1 - - - - - TextLabel5 - - - - 0 - 0 - 0 - 0 - - - - TL5 - - - - - LineEdit3 - - - - - TextLabel2 - - - - 0 - 0 - 0 - 0 - - - - TL2 - - - - - ComboBox1 - - - - 7 - 0 - 0 - 0 - - - - - - TextLabel3 - - - - 0 - 0 - 0 - 0 - - - - TL3 - - - - - + + + + + - - - - + + + + + qPixmapFromMimeSource + diff --git a/src/DlgRef/UIFiles/DlgRef_4Sel1Spin2Check_QTD.ui b/src/DlgRef/UIFiles/DlgRef_4Sel1Spin2Check_QTD.ui index 2d23f60c5..1f8156971 100644 --- a/src/DlgRef/UIFiles/DlgRef_4Sel1Spin2Check_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_4Sel1Spin2Check_QTD.ui @@ -1,264 +1,247 @@ - -DlgRef_4Sel1Spin2Check_QTD - - - DlgRef_4Sel1Spin2Check_QTD + + + + + DlgRef_4Sel1Spin2Check_QTD + + + + 0 + 0 + 261 + 198 + - - - 0 - 0 - 261 - 198 - + + DlgRef_4Sel1Spin2Check_QTD - - DlgRef_4Sel1Spin2Check_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 + + + 0 + + + 6 + + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 6 - - 6 - - - - Layout1 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL5 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false + + + + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL2 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL4 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + TL3 + + + false - - - unnamed - - - 6 - - - - CheckButton2 - - - - - - - - PushButton2 - - - - 0 - 0 - 0 - 0 - - - - - - - - - LineEdit5 - - - - - TextLabel5 - - - - 0 - 0 - 0 - 0 - - - - TL5 - - - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - LineEdit1 - - - - - SpinBox1 - - - - 7 - 0 - 0 - 0 - - - - - - CheckButton1 - - - - - - - - TextLabel2 - - - - 0 - 0 - 0 - 0 - - - - TL2 - - - - - PushButton5 - - - - 0 - 0 - 0 - 0 - - - - - - - - - PushButton4 - - - - 0 - 0 - 0 - 0 - - - - - - - - - TextLabel4 - - - - 0 - 0 - 0 - 0 - - - - TL4 - - - - - PushButton1 - - - - 0 - 0 - 0 - 0 - - - - - - - - - LineEdit4 - - - - - LineEdit2 - - - - - TextLabel3 - - - - 0 - 0 - 0 - 0 - - - - TL3 - - - - - + + + + + - - - + + + + + qPixmapFromMimeSource + PushButton1 LineEdit1 PushButton2 LineEdit2 SpinBox1 CheckButton2 - - - + + diff --git a/src/DlgRef/UIFiles/DlgRef_6Sel_QTD.ui b/src/DlgRef/UIFiles/DlgRef_6Sel_QTD.ui index c5ff40649..79812a0b4 100644 --- a/src/DlgRef/UIFiles/DlgRef_6Sel_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_6Sel_QTD.ui @@ -1,296 +1,278 @@ - -DlgRef_6Sel_QTD - - - DlgRef_6Sel_QTD + + + + + DlgRef_6Sel_QTD + + + + 0 + 0 + 235 + 196 + - - - 0 - 0 - 235 - 196 - + + + 5 + 7 + 0 + 0 + - - - 5 - 7 - 0 - 0 - + + DlgRef_6Sel_QTD - - DlgRef_6Sel_QTD - - - - unnamed - - - 0 - - - 6 - - - - GroupBox1 + + + 0 + + + 6 + + + + + + + + + 11 - - + + 6 - - - unnamed - - - 11 + + + + 0 - - 6 + + 6 - - - Layout1 + + + + + 0 + 0 + 0 + 0 + + + + TL1 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + TL2 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + TL3 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + TL4 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + TL5 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + TL6 + + + false + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + + + - - - unnamed - - - 0 - - - 6 - - - - TextLabel1 - - - - 0 - 0 - 0 - 0 - - - - TL1 - - - - - TextLabel2 - - - - 0 - 0 - 0 - 0 - - - - TL2 - - - - - TextLabel3 - - - - 0 - 0 - 0 - 0 - - - - TL3 - - - - - TextLabel4 - - - - 0 - 0 - 0 - 0 - - - - TL4 - - - - - TextLabel5 - - - - 0 - 0 - 0 - 0 - - - - TL5 - - - - - TextLabel6 - - - - 0 - 0 - 0 - 0 - - - - TL6 - - - - - PushButton1 - - - - 0 - 0 - 0 - 0 - - - - - - - - - PushButton2 - - - - 0 - 0 - 0 - 0 - - - - - - - - - PushButton3 - - - - 0 - 0 - 0 - 0 - - - - - - - - - PushButton4 - - - - 0 - 0 - 0 - 0 - - - - - - - - - PushButton5 - - - - 0 - 0 - 0 - 0 - - - - - - - - - PushButton6 - - - - 0 - 0 - 0 - 0 - - - - - - - - - LineEdit1 - - - - - LineEdit2 - - - - - LineEdit3 - - - - - LineEdit4 - - - - - LineEdit5 - - - - - LineEdit6 - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + qPixmapFromMimeSource + diff --git a/src/DlgRef/UIFiles/DlgRef_Skeleton_QTD.ui b/src/DlgRef/UIFiles/DlgRef_Skeleton_QTD.ui index b675f277c..0c9f246b4 100644 --- a/src/DlgRef/UIFiles/DlgRef_Skeleton_QTD.ui +++ b/src/DlgRef/UIFiles/DlgRef_Skeleton_QTD.ui @@ -1,289 +1,241 @@ - -DlgRef_Skeleton_QTD - - - DlgRef_Skeleton_QTD + + + + + DlgRef_Skeleton_QTD + + + + 0 + 0 + 307 + 378 + - - - 0 - 0 - 307 - 378 - + + + 5 + 7 + 0 + 0 + - - - 5 - 7 - 0 - 0 - + + DlgRef_Skeleton_QTD - - DlgRef_Skeleton_QTD + + true - - true - - - - unnamed - - - 11 - - + + + 11 + + + 6 + + + + + 0 + + 6 - - - - Layout1 - - - - unnamed - - - 0 + + + + + + 7 + 7 + 0 + 0 + + + + + + + + + + + + 7 + 0 + 0 + 0 + + + + + + + + 11 - - 6 + + 6 - - - GroupMedium - - - - 7 - 7 - 0 - 0 - - - - - - - - - GroupButtons + + + + 0 - - - 7 - 0 - 0 - 0 - + + 6 - - - - - - unnamed + + + + &Ok - - 11 + + + + + + &Apply - - 6 + + + + + + + 91 + 0 + - - - Layout3 - - - - unnamed - - - 0 - - - 6 - - - - buttonOk - - - &Ok - - - - - buttonApply - - - &Apply - - - - - Spacer1 - - - Horizontal - - - Expanding - - - - 91 - 0 - - - - - - buttonCancel - - - &Cancel - - - - - buttonHelp - - - &Help - - - - - - - - - GroupConstructors - - - - 5 - 0 - 0 - 0 - + + Expanding + + + Horizontal + + + + + + + &Cancel + + + + + + + &Help + + + + + + + + + + + + + 5 + 0 + 0 + 0 + + + + + + + + 11 + + + 6 + + + + + 0 - - + + 6 - - - unnamed + + + + - - 11 + + + + + + - - 6 + + + + + + - - - Layout2 - - - - unnamed - - - 0 - - - 6 - - - - RadioButton1 - - - - - - - - RadioButton2 - - - - - - - - RadioButton3 - - - - - - - - RadioButton4 - - - - - - - - - - - - GroupBoxName + + + + + + + + + + + + + + + + + + Result name + + + + 11 + + + 6 + + + + + 0 - - Result name + + 6 - - - unnamed - - - 11 + + + + + + + Name - - 6 + + false - - - Layout66 - - - - unnamed - - - 0 - - - 6 - - - - ResultName - - - - - NameLabel - - - Name - - - - - - - - - - - - + + + + + + + + + + + + + qPixmapFromMimeSource + diff --git a/src/DlgRef/UIFiles/ui_to_cxx b/src/DlgRef/UIFiles/ui_to_cxx index bd1f907c1..82cdb9036 100755 --- a/src/DlgRef/UIFiles/ui_to_cxx +++ b/src/DlgRef/UIFiles/ui_to_cxx @@ -18,89 +18,68 @@ # #!/bin/sh -#uic -o DlgRef_Skeleton_QTD.h DlgRef_Skeleton_QTD.ui -#uic -o DlgRef_Skeleton_QTD.cxx -impl DlgRef_Skeleton_QTD.h DlgRef_Skeleton_QTD.ui +#uic -o ../../DlgRef_Skeleton_QTD.h ../../UIFiles/DlgRef_Skeleton_QTD.ui -#uic -o DlgRef_1Sel_QTD.h DlgRef_1Sel_QTD.ui -#uic -o DlgRef_1Sel_QTD.cxx -impl DlgRef_1Sel_QTD.h DlgRef_1Sel_QTD.ui +#uic -o ../../DlgRef_1List1Spin1Btn_QTD.h ../../UIFiles/DlgRef_1List1Spin1Btn_QTD.ui -#uic -o DlgRef_1Sel1Spin_QTD.h DlgRef_1Sel1Spin_QTD.ui -#uic -o DlgRef_1Sel1Spin_QTD.cxx -impl DlgRef_1Sel1Spin_QTD.h DlgRef_1Sel1Spin_QTD.ui +#uic -o ../../DlgRef_1Sel_QTD.h ../../UIFiles/DlgRef_1Sel_QTD.ui -#uic -o DlgRef_1Sel1Spin1Check_QTD.h DlgRef_1Sel1Spin1Check_QTD.ui -#uic -o DlgRef_1Sel1Spin1Check_QTD.cxx -impl DlgRef_1Sel1Spin1Check_QTD.h DlgRef_1Sel1Spin1Check_QTD.ui +#uic -o ../../DlgRef_1Sel1Spin_QTD.h ../../UIFiles/DlgRef_1Sel1Spin_QTD.ui -#uic -o DlgRef_1Sel2Spin_QTD.h DlgRef_1Sel2Spin_QTD.ui -#uic -o DlgRef_1Sel2Spin_QTD.cxx -impl DlgRef_1Sel2Spin_QTD.h DlgRef_1Sel2Spin_QTD.ui +#uic -o ../../DlgRef_1Sel1Spin1Check_QTD.h ../../UIFiles/DlgRef_1Sel1Spin1Check_QTD.ui -#uic -o DlgRef_1Sel3Spin_QTD.h DlgRef_1Sel3Spin_QTD.ui -#uic -o DlgRef_1Sel3Spin_QTD.cxx -impl DlgRef_1Sel3Spin_QTD.h DlgRef_1Sel3Spin_QTD.ui +#uic -o ../../DlgRef_1Sel2Spin_QTD.h ../../UIFiles/DlgRef_1Sel2Spin_QTD.ui -#uic -o DlgRef_1Sel4Spin_QTD.h DlgRef_1Sel4Spin_QTD.ui -#uic -o DlgRef_1Sel4Spin_QTD.cxx -impl DlgRef_1Sel4Spin_QTD.h DlgRef_1Sel4Spin_QTD.ui +#uic -o ../../DlgRef_1Sel3Spin_QTD.h ../../UIFiles/DlgRef_1Sel3Spin_QTD.ui -#uic -o DlgRef_1Sel5Spin_QTD.h DlgRef_1Sel5Spin_QTD.ui -#uic -o DlgRef_1Sel5Spin_QTD.cxx -impl DlgRef_1Sel5Spin_QTD.h DlgRef_1Sel5Spin_QTD.ui +#uic -o ../../DlgRef_1Sel4Spin_QTD.h ../../UIFiles/DlgRef_1Sel4Spin_QTD.ui -#uic -o DlgRef_1Sel1Check_QTD.h DlgRef_1Sel1Check_QTD.ui -#uic -o DlgRef_1Sel1Check_QTD.cxx -impl DlgRef_1Sel1Check_QTD.h DlgRef_1Sel1Check_QTD.ui +#uic -o ../../DlgRef_1Sel5Spin_QTD.h ../../UIFiles/DlgRef_1Sel5Spin_QTD.ui -#uic -o DlgRef_1Sel3Check_QTD.h DlgRef_1Sel3Check_QTD.ui -#uic -o DlgRef_1Sel3Check_QTD.cxx -impl DlgRef_1Sel3Check_QTD.h DlgRef_1Sel3Check_QTD.ui +#uic -o ../../DlgRef_1Sel1Check_QTD.h ../../UIFiles/DlgRef_1Sel1Check_QTD.ui -#uic -o DlgRef_1Sel1Check1List_QTD.h DlgRef_1Sel1Check1List_QTD.ui -#uic -o DlgRef_1Sel1Check1List_QTD.cxx -impl DlgRef_1Sel1Check1List_QTD.h DlgRef_1Sel1Check1List_QTD.ui +#uic -o ../../DlgRef_1Sel3Check_QTD.h ../../UIFiles/DlgRef_1Sel3Check_QTD.ui -#uic -o DlgRef_2Sel_QTD.h DlgRef_2Sel_QTD.ui -#uic -o DlgRef_2Sel_QTD.cxx -impl DlgRef_2Sel_QTD.h DlgRef_2Sel_QTD.ui +#uic -o ../../DlgRef_1Sel1Check1List_QTD.h ../../UIFiles/DlgRef_1Sel1Check1List_QTD.ui -#uic -o DlgRef_2Sel1Spin_QTD.h DlgRef_2Sel1Spin_QTD.ui -#uic -o DlgRef_2Sel1Spin_QTD.cxx -impl DlgRef_2Sel1Spin_QTD.h DlgRef_2Sel1Spin_QTD.ui +#uic -o ../../DlgRef_2Sel_QTD.h ../../UIFiles/DlgRef_2Sel_QTD.ui -#uic -o DlgRef_2Sel1Spin2Check_QTD.h DlgRef_2Sel1Spin2Check_QTD.ui -#uic -o DlgRef_2Sel1Spin2Check_QTD.cxx -impl DlgRef_2Sel1Spin2Check_QTD.h DlgRef_2Sel1Spin2Check_QTD.ui +#uic -o ../../DlgRef_2Sel1List_QTD.h ../../UIFiles/DlgRef_2Sel1List_QTD.ui -#uic -o DlgRef_2Sel2Spin_QTD.h DlgRef_2Sel2Spin_QTD.ui -#uic -o DlgRef_2Sel2Spin_QTD.cxx -impl DlgRef_2Sel2Spin_QTD.h DlgRef_2Sel2Spin_QTD.ui +#uic -o ../../DlgRef_2Sel1Spin_QTD.h ../../UIFiles/DlgRef_2Sel1Spin_QTD.ui -#uic -o DlgRef_2Sel2Spin1Check_QTD.h DlgRef_2Sel2Spin1Check_QTD.ui -#uic -o DlgRef_2Sel2Spin1Check_QTD.cxx -impl DlgRef_2Sel2Spin1Check_QTD.h DlgRef_2Sel2Spin1Check_QTD.ui +#uic -o ../../DlgRef_2Sel1Spin2Check_QTD.h ../../UIFiles/DlgRef_2Sel1Spin2Check_QTD.ui -#uic -o DlgRef_2Sel3Spin_QTD.h DlgRef_2Sel3Spin_QTD.ui -#uic -o DlgRef_2Sel3Spin_QTD.cxx -impl DlgRef_2Sel3Spin_QTD.h DlgRef_2Sel3Spin_QTD.ui +#uic -o ../../DlgRef_2Sel2Spin_QTD.h ../../UIFiles/DlgRef_2Sel2Spin_QTD.ui -#uic -o DlgRef_2Sel4Spin1Check_QTD.h DlgRef_2Sel4Spin1Check_QTD.ui -#uic -o DlgRef_2Sel4Spin1Check_QTD.cxx -impl DlgRef_2Sel4Spin1Check_QTD.h DlgRef_2Sel4Spin1Check_QTD.ui +#uic -o ../../DlgRef_2Sel2Spin1Check_QTD.h ../../UIFiles/DlgRef_2Sel2Spin1Check_QTD.ui -#uic -o DlgRef_4Sel1List_QTD.h DlgRef_4Sel1List_QTD.ui -#uic -o DlgRef_4Sel1List_QTD.cxx -impl DlgRef_4Sel1List_QTD.h DlgRef_4Sel1List_QTD.ui +#uic -o ../../DlgRef_2Sel3Spin_QTD.h ../../UIFiles/DlgRef_2Sel3Spin_QTD.ui -#uic -o DlgRef_3Sel_QTD.h DlgRef_3Sel_QTD.ui -#uic -o DlgRef_3Sel_QTD.cxx -impl DlgRef_3Sel_QTD.h DlgRef_3Sel_QTD.ui +#uic -o ../../DlgRef_2Sel4Spin1Check_QTD.h ../../UIFiles/DlgRef_2Sel4Spin1Check_QTD.ui -#uic -o DlgRef_3Sel4Spin2Check_QTD.h DlgRef_3Sel4Spin2Check_QTD.ui -#uic -o DlgRef_3Sel4Spin2Check_QTD.cxx -impl DlgRef_3Sel4Spin2Check_QTD.h DlgRef_3Sel4Spin2Check_QTD.ui +#uic -o ../../DlgRef_4Sel1List_QTD.h ../../UIFiles/DlgRef_4Sel1List_QTD.ui -#uic -o DlgRef_1Spin_QTD.h DlgRef_1Spin_QTD.ui -#uic -o DlgRef_1Spin_QTD.cxx -impl DlgRef_1Spin_QTD.h DlgRef_1Spin_QTD.ui +#uic -o ../../DlgRef_4Sel1List1Check_QTD.h ../../UIFiles/DlgRef_4Sel1List1Check_QTD.ui -#uic -o DlgRef_2Spin_QTD.h DlgRef_2Spin_QTD.ui -#uic -o DlgRef_2Spin_QTD.cxx -impl DlgRef_2Spin_QTD.h DlgRef_2Spin_QTD.ui +#uic -o ../../DlgRef_3Sel_QTD.h ../../UIFiles/DlgRef_3Sel_QTD.ui -#uic -o DlgRef_3Spin_QTD.h DlgRef_3Spin_QTD.ui -#uic -o DlgRef_3Spin_QTD.cxx -impl DlgRef_3Spin_QTD.h DlgRef_3Spin_QTD.ui +#uic -o ../../DlgRef_3Sel1Check_QTD.h ../../UIFiles/DlgRef_3Sel1Check_QTD.ui -#uic -o DlgRef_3Spin1Check_QTD.h DlgRef_3Spin1Check_QTD.ui -#uic -o DlgRef_3Spin1Check_QTD.cxx -impl DlgRef_3Spin1Check_QTD.h DlgRef_3Spin1Check_QTD.ui +#uic -o ../../DlgRef_3Sel4Spin2Check_QTD.h ../../UIFiles/DlgRef_3Sel4Spin2Check_QTD.ui -#uic -o DlgRef_3Sel3Spin1Check_QTD.h DlgRef_3Sel3Spin1Check_QTD.ui -#uic -o DlgRef_3Sel3Spin1Check_QTD.cxx -impl DlgRef_3Sel3Spin1Check_QTD.h DlgRef_3Sel3Spin1Check_QTD.ui +#uic -o ../../DlgRef_1Spin_QTD.h ../../UIFiles/DlgRef_1Spin_QTD.ui -#uic -o DlgRef_6Sel_QTD.h DlgRef_6Sel_QTD.ui -#uic -o DlgRef_6Sel_QTD.cxx -impl DlgRef_6Sel_QTD.h DlgRef_6Sel_QTD.ui +#uic -o ../../DlgRef_2Spin_QTD.h ../../UIFiles/DlgRef_2Spin_QTD.ui -#uic -o DlgRef_3Check_QTD.h DlgRef_3Check_QTD.ui -#uic -o DlgRef_3Check_QTD.cxx -impl DlgRef_3Check_QTD.h DlgRef_3Check_QTD.ui +#uic -o ../../DlgRef_3Spin_QTD.h ../../UIFiles/DlgRef_3Spin_QTD.ui -uic -o DlgRef_4Sel1Spin2Check_QTD.h DlgRef_4Sel1Spin2Check_QTD.ui -uic -o DlgRef_4Sel1Spin2Check_QTD.cxx -impl DlgRef_4Sel1Spin2Check_QTD.h DlgRef_4Sel1Spin2Check_QTD.ui +#uic -o ../../DlgRef_3Spin1Check_QTD.h ../../UIFiles/DlgRef_3Spin1Check_QTD.ui + +#uic -o ../../DlgRef_3Sel3Spin1Check_QTD.h ../../UIFiles/DlgRef_3Sel3Spin1Check_QTD.ui + +#uic -o ../../DlgRef_6Sel_QTD.h ../../UIFiles/DlgRef_6Sel_QTD.ui + +#uic -o ../../DlgRef_3Check_QTD.h ../../UIFiles/DlgRef_3Check_QTD.ui + +#uic -o ../../DlgRef_4Sel1Spin2Check_QTD.h ../../UIFiles/DlgRef_4Sel1Spin2Check_QTD.ui diff --git a/src/src.pro b/src/src.pro index 8136fb720..82cfb647b 100644 --- a/src/src.pro +++ b/src/src.pro @@ -20,7 +20,7 @@ SUBDIRS += ShHealOper SUBDIRS += GEOMImpl SUBDIRS += GEOM_I SUBDIRS += GEOMClient -#SUBDIRS += DlgRef +SUBDIRS += DlgRef #SUBDIRS += GEOMFiltersSelection #SUBDIRS += GEOMGUI #SUBDIRS += GEOMBase