mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-28 18:30:36 +05:00
Porting to Qt4.
This commit is contained in:
parent
7b05ea0ae6
commit
3ffc5a5de6
111
src/DlgRef/DlgRef.pro
Normal file
111
src/DlgRef/DlgRef.pro
Normal file
@ -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
|
@ -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 <qvariant.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qheader.h>
|
||||
#include <qlabel.h>
|
||||
#include <qlistview.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QListView;
|
||||
class QListViewItem;
|
||||
class QPushButton;
|
||||
class QSpinBox;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_1List1Spin1Btn_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QListView>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QSpinBox>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_1List1Spin1Btn_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_1List1Spin1Btn_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_1List1Spin1Btn_QTD();
|
||||
QGridLayout *gridLayout;
|
||||
QGroupBox *GroupBox1;
|
||||
QGridLayout *gridLayout1;
|
||||
QSpacerItem *spacerItem;
|
||||
QListView *ListView1;
|
||||
QLabel *TextLabel1;
|
||||
QSpinBox *SpinBox1;
|
||||
QPushButton *PushButton1;
|
||||
|
||||
QGroupBox* GroupBox1;
|
||||
QListView* ListView1;
|
||||
QLabel* TextLabel1;
|
||||
QSpinBox* SpinBox1;
|
||||
QPushButton* PushButton1;
|
||||
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);
|
||||
|
||||
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);
|
||||
|
||||
PushButton1 = new QPushButton(GroupBox1);
|
||||
PushButton1->setObjectName(QString::fromUtf8("PushButton1"));
|
||||
|
||||
gridLayout1->addWidget(PushButton1, 2, 1, 1, 1);
|
||||
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_1List1Spin1Btn_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
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
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DlgRef_1List1Spin1Btn_QTD: public Ui_DlgRef_1List1Spin1Btn_QTD {};
|
||||
} // namespace Ui
|
||||
|
||||
#endif // DLGREF_1LIST1SPIN1BTN_QTD_H
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qcombobox.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qradiobutton.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QComboBox;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QPushButton;
|
||||
class QRadioButton;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_1Sel1Check1List_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QComboBox>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QRadioButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_1Sel1Check1List_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_1Sel1Check1List_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_1Sel1Check1List_QTD();
|
||||
QGridLayout *gridLayout;
|
||||
QGroupBox *GroupBox1;
|
||||
QGridLayout *gridLayout1;
|
||||
QGridLayout *gridLayout2;
|
||||
QSpacerItem *spacerItem;
|
||||
QRadioButton *CheckButton1;
|
||||
QLabel *TextLabel2;
|
||||
QComboBox *ComboBox1;
|
||||
QLineEdit *LineEdit1;
|
||||
QLabel *TextLabel1;
|
||||
QPushButton *PushButton1;
|
||||
|
||||
QGroupBox* GroupBox1;
|
||||
QRadioButton* CheckButton1;
|
||||
QLabel* TextLabel2;
|
||||
QComboBox* ComboBox1;
|
||||
QLineEdit* LineEdit1;
|
||||
QLabel* TextLabel1;
|
||||
QPushButton* PushButton1;
|
||||
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);
|
||||
|
||||
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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0));
|
||||
sizePolicy3.setHorizontalStretch(0);
|
||||
sizePolicy3.setVerticalStretch(0);
|
||||
sizePolicy3.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth());
|
||||
PushButton1->setSizePolicy(sizePolicy3);
|
||||
|
||||
gridLayout2->addWidget(PushButton1, 0, 1, 1, 1);
|
||||
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_1Sel1Check1List_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
QGridLayout* Layout1;
|
||||
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
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DlgRef_1Sel1Check1List_QTD: public Ui_DlgRef_1Sel1Check1List_QTD {};
|
||||
} // namespace Ui
|
||||
|
||||
#endif // DLGREF_1SEL1CHECK1LIST_QTD_H
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qcheckbox.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QCheckBox;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QPushButton;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_1Sel1Check_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QCheckBox>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_1Sel1Check_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_1Sel1Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_1Sel1Check_QTD();
|
||||
QGridLayout *gridLayout;
|
||||
QGroupBox *GroupBox1;
|
||||
QGridLayout *gridLayout1;
|
||||
QGridLayout *gridLayout2;
|
||||
QLabel *TextLabel1;
|
||||
QPushButton *PushButton1;
|
||||
QCheckBox *CheckButton1;
|
||||
QSpacerItem *spacerItem;
|
||||
QLineEdit *LineEdit1;
|
||||
|
||||
QGroupBox* GroupBox1;
|
||||
QLabel* TextLabel1;
|
||||
QPushButton* PushButton1;
|
||||
QCheckBox* CheckButton1;
|
||||
QLineEdit* LineEdit1;
|
||||
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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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"));
|
||||
|
||||
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
|
||||
|
@ -27,21 +27,23 @@
|
||||
// $Header:
|
||||
|
||||
#include "DlgRef_1Sel1Spin.h"
|
||||
|
||||
#include <qlayout.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qgroupbox.h>
|
||||
#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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
@ -27,21 +27,23 @@
|
||||
// $Header:
|
||||
|
||||
#include "DlgRef_1Sel1Spin1Check.h"
|
||||
|
||||
#include <qlayout.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qgroupbox.h>
|
||||
#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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qcheckbox.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QCheckBox;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QPushButton;
|
||||
class QSpinBox;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_1Sel1Spin1Check_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QCheckBox>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QSpinBox>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_1Sel1Spin1Check_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_1Sel1Spin1Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_1Sel1Spin1Check_QTD();
|
||||
QGridLayout *gridLayout;
|
||||
QGroupBox *GroupBox1;
|
||||
QGridLayout *gridLayout1;
|
||||
QGridLayout *gridLayout2;
|
||||
QGridLayout *gridLayout3;
|
||||
QSpinBox *SpinBox1;
|
||||
QLabel *TextLabel2;
|
||||
QLabel *TextLabel1;
|
||||
QLineEdit *LineEdit1;
|
||||
QPushButton *PushButton1;
|
||||
QCheckBox *CheckButton1;
|
||||
QSpacerItem *spacerItem;
|
||||
|
||||
QGroupBox* GroupBox1;
|
||||
QSpinBox* SpinBox1;
|
||||
QLabel* TextLabel2;
|
||||
QLabel* TextLabel1;
|
||||
QLineEdit* LineEdit1;
|
||||
QPushButton* PushButton1;
|
||||
QCheckBox* CheckButton1;
|
||||
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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
|
||||
sizePolicy.setHorizontalStretch(0);
|
||||
sizePolicy.setVerticalStretch(0);
|
||||
sizePolicy.setHeightForWidth(SpinBox1->sizePolicy().hasHeightForWidth());
|
||||
SpinBox1->setSizePolicy(sizePolicy);
|
||||
|
||||
gridLayout3->addWidget(SpinBox1, 0, 1, 1, 1);
|
||||
|
||||
TextLabel2 = new QLabel(GroupBox1);
|
||||
TextLabel2->setObjectName(QString::fromUtf8("TextLabel2"));
|
||||
QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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);
|
||||
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_1Sel1Spin1Check_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
QGridLayout* Layout8;
|
||||
QGridLayout* Layout2;
|
||||
gridLayout2->addLayout(gridLayout3, 1, 0, 1, 3);
|
||||
|
||||
TextLabel1 = new QLabel(GroupBox1);
|
||||
TextLabel1->setObjectName(QString::fromUtf8("TextLabel1"));
|
||||
QSizePolicy sizePolicy2(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DlgRef_1Sel1Spin1Check_QTD: public Ui_DlgRef_1Sel1Spin1Check_QTD {};
|
||||
} // namespace Ui
|
||||
|
||||
#endif // DLGREF_1SEL1SPIN1CHECK_QTD_H
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QPushButton;
|
||||
class QSpinBox;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_1Sel1Spin_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QSpinBox>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_1Sel1Spin_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_1Sel1Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_1Sel1Spin_QTD();
|
||||
QGridLayout *gridLayout;
|
||||
QGroupBox *GroupBox1;
|
||||
QGridLayout *gridLayout1;
|
||||
QGridLayout *gridLayout2;
|
||||
QPushButton *PushButton1;
|
||||
QLabel *TextLabel1;
|
||||
QLineEdit *LineEdit1;
|
||||
QGridLayout *gridLayout3;
|
||||
QLabel *TextLabel2;
|
||||
QSpinBox *SpinBox1;
|
||||
QSpacerItem *spacerItem;
|
||||
|
||||
QGroupBox* GroupBox1;
|
||||
QPushButton* PushButton1;
|
||||
QLabel* TextLabel1;
|
||||
QLineEdit* LineEdit1;
|
||||
QLabel* TextLabel2;
|
||||
QSpinBox* SpinBox1;
|
||||
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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
|
||||
sizePolicy3.setHorizontalStretch(0);
|
||||
sizePolicy3.setVerticalStretch(0);
|
||||
sizePolicy3.setHeightForWidth(SpinBox1->sizePolicy().hasHeightForWidth());
|
||||
SpinBox1->setSizePolicy(sizePolicy3);
|
||||
|
||||
gridLayout3->addWidget(SpinBox1, 0, 1, 1, 1);
|
||||
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_1Sel1Spin_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
QGridLayout* Layout1;
|
||||
QGridLayout* Layout2;
|
||||
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
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DlgRef_1Sel1Spin_QTD: public Ui_DlgRef_1Sel1Spin_QTD {};
|
||||
} // namespace Ui
|
||||
|
||||
#endif // DLGREF_1SEL1SPIN_QTD_H
|
||||
|
@ -27,26 +27,29 @@
|
||||
// $Header:
|
||||
|
||||
#include "DlgRef_1Sel2Spin.h"
|
||||
|
||||
#include <qlayout.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qgroupbox.h>
|
||||
#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);
|
||||
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QPushButton;
|
||||
class QSpinBox;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_1Sel2Spin_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QSpinBox>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_1Sel2Spin_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_1Sel2Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_1Sel2Spin_QTD();
|
||||
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;
|
||||
|
||||
QGroupBox* GroupBox1;
|
||||
QLabel* TextLabel3;
|
||||
QSpinBox* SpinBox1;
|
||||
QLabel* TextLabel2;
|
||||
QSpinBox* SpinBox2;
|
||||
QLineEdit* LineEdit1;
|
||||
QPushButton* PushButton1;
|
||||
QLabel* TextLabel1;
|
||||
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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0));
|
||||
sizePolicy.setHorizontalStretch(0);
|
||||
sizePolicy.setVerticalStretch(0);
|
||||
sizePolicy.setHeightForWidth(TextLabel3->sizePolicy().hasHeightForWidth());
|
||||
TextLabel3->setSizePolicy(sizePolicy);
|
||||
TextLabel3->setWordWrap(false);
|
||||
|
||||
gridLayout3->addWidget(TextLabel3, 1, 0, 1, 1);
|
||||
|
||||
SpinBox1 = new QSpinBox(GroupBox1);
|
||||
SpinBox1->setObjectName(QString::fromUtf8("SpinBox1"));
|
||||
QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
|
||||
sizePolicy3.setHorizontalStretch(0);
|
||||
sizePolicy3.setVerticalStretch(0);
|
||||
sizePolicy3.setHeightForWidth(SpinBox2->sizePolicy().hasHeightForWidth());
|
||||
SpinBox2->setSizePolicy(sizePolicy3);
|
||||
|
||||
gridLayout3->addWidget(SpinBox2, 1, 1, 1, 1);
|
||||
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_1Sel2Spin_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
QGridLayout* Layout1;
|
||||
QGridLayout* Layout2;
|
||||
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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DlgRef_1Sel2Spin_QTD: public Ui_DlgRef_1Sel2Spin_QTD {};
|
||||
} // namespace Ui
|
||||
|
||||
#endif // DLGREF_1SEL2SPIN_QTD_H
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qcheckbox.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QCheckBox;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QPushButton;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_1Sel3Check_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QCheckBox>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_1Sel3Check_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_1Sel3Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_1Sel3Check_QTD();
|
||||
QGridLayout *gridLayout;
|
||||
QGroupBox *GroupBox1;
|
||||
QGridLayout *gridLayout1;
|
||||
QGridLayout *gridLayout2;
|
||||
QSpacerItem *spacerItem;
|
||||
QLineEdit *LineEdit1;
|
||||
QCheckBox *CheckButton2;
|
||||
QCheckBox *CheckButton1;
|
||||
QCheckBox *CheckButton3;
|
||||
QPushButton *PushButton1;
|
||||
QLabel *TextLabel1;
|
||||
|
||||
QGroupBox* GroupBox1;
|
||||
QLineEdit* LineEdit1;
|
||||
QCheckBox* CheckButton2;
|
||||
QCheckBox* CheckButton1;
|
||||
QCheckBox* CheckButton3;
|
||||
QPushButton* PushButton1;
|
||||
QLabel* TextLabel1;
|
||||
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);
|
||||
|
||||
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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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);
|
||||
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_1Sel3Check_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
QGridLayout* Layout6;
|
||||
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
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DlgRef_1Sel3Check_QTD: public Ui_DlgRef_1Sel3Check_QTD {};
|
||||
} // namespace Ui
|
||||
|
||||
#endif // DLGREF_1SEL3CHECK_QTD_H
|
||||
|
@ -27,30 +27,36 @@
|
||||
// $Header:
|
||||
|
||||
#include "DlgRef_1Sel3Spin.h"
|
||||
|
||||
#include <qlayout.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qgroupbox.h>
|
||||
#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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QPushButton;
|
||||
class QSpinBox;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_1Sel3Spin_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QSpinBox>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_1Sel3Spin_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_1Sel3Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_1Sel3Spin_QTD();
|
||||
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;
|
||||
|
||||
QGroupBox* GroupBox1;
|
||||
QLabel* TextLabel1;
|
||||
QPushButton* PushButton1;
|
||||
QLineEdit* LineEdit1;
|
||||
QSpinBox* SpinBox2;
|
||||
QLabel* TextLabel3;
|
||||
QSpinBox* SpinBox3;
|
||||
QSpinBox* SpinBox1;
|
||||
QLabel* TextLabel4;
|
||||
QLabel* TextLabel2;
|
||||
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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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);
|
||||
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_1Sel3Spin_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
QGridLayout* Layout1;
|
||||
QGridLayout* Layout2;
|
||||
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
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DlgRef_1Sel3Spin_QTD: public Ui_DlgRef_1Sel3Spin_QTD {};
|
||||
} // namespace Ui
|
||||
|
||||
#endif // DLGREF_1SEL3SPIN_QTD_H
|
||||
|
@ -27,34 +27,42 @@
|
||||
// $Header:
|
||||
|
||||
#include "DlgRef_1Sel4Spin.h"
|
||||
|
||||
#include <qlayout.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qgroupbox.h>
|
||||
#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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QPushButton;
|
||||
class QSpinBox;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_1Sel4Spin_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QHBoxLayout>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QSpinBox>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_1Sel4Spin_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_1Sel4Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_1Sel4Spin_QTD();
|
||||
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;
|
||||
|
||||
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;
|
||||
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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
|
||||
sizePolicy6.setHorizontalStretch(0);
|
||||
sizePolicy6.setVerticalStretch(0);
|
||||
sizePolicy6.setHeightForWidth(SpinBox2->sizePolicy().hasHeightForWidth());
|
||||
SpinBox2->setSizePolicy(sizePolicy6);
|
||||
|
||||
gridLayout3->addWidget(SpinBox2, 0, 4, 1, 1);
|
||||
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_1Sel4Spin_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
QGridLayout* Layout1;
|
||||
QGridLayout* Layout3;
|
||||
QGridLayout* Layout4;
|
||||
QHBoxLayout* Layout2;
|
||||
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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DlgRef_1Sel4Spin_QTD: public Ui_DlgRef_1Sel4Spin_QTD {};
|
||||
} // namespace Ui
|
||||
|
||||
#endif // DLGREF_1SEL4SPIN_QTD_H
|
||||
|
@ -27,38 +27,48 @@
|
||||
// $Header:
|
||||
|
||||
#include "DlgRef_1Sel5Spin.h"
|
||||
|
||||
#include <qlayout.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qgroupbox.h>
|
||||
#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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QPushButton;
|
||||
class QSpinBox;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_1Sel5Spin_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QSpinBox>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_1Sel5Spin_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_1Sel5Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_1Sel5Spin_QTD();
|
||||
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;
|
||||
|
||||
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;
|
||||
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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
|
||||
sizePolicy11.setHorizontalStretch(0);
|
||||
sizePolicy11.setVerticalStretch(0);
|
||||
sizePolicy11.setHeightForWidth(SpinBox5->sizePolicy().hasHeightForWidth());
|
||||
SpinBox5->setSizePolicy(sizePolicy11);
|
||||
|
||||
gridLayout3->addWidget(SpinBox5, 1, 3, 1, 1);
|
||||
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_1Sel5Spin_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
QGridLayout* Layout1;
|
||||
QGridLayout* Layout2;
|
||||
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
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DlgRef_1Sel5Spin_QTD: public Ui_DlgRef_1Sel5Spin_QTD {};
|
||||
} // namespace Ui
|
||||
|
||||
#endif // DLGREF_1SEL5SPIN_QTD_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
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QPushButton;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_1Sel_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_1Sel_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_1Sel_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_1Sel_QTD();
|
||||
QGridLayout *gridLayout;
|
||||
QGroupBox *GroupBox1;
|
||||
QGridLayout *gridLayout1;
|
||||
QGridLayout *gridLayout2;
|
||||
QPushButton *PushButton1;
|
||||
QSpacerItem *spacerItem;
|
||||
QLineEdit *LineEdit1;
|
||||
QLabel *TextLabel1;
|
||||
|
||||
QGroupBox* GroupBox1;
|
||||
QPushButton* PushButton1;
|
||||
QLineEdit* LineEdit1;
|
||||
QLabel* TextLabel1;
|
||||
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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0));
|
||||
sizePolicy1.setHorizontalStretch(0);
|
||||
sizePolicy1.setVerticalStretch(0);
|
||||
sizePolicy1.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth());
|
||||
PushButton1->setSizePolicy(sizePolicy1);
|
||||
|
||||
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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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);
|
||||
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_1Sel_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
QGridLayout* Layout1;
|
||||
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
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DlgRef_1Sel_QTD: public Ui_DlgRef_1Sel_QTD {};
|
||||
} // namespace Ui
|
||||
|
||||
#endif // DLGREF_1SEL_QTD_H
|
||||
|
@ -27,22 +27,24 @@
|
||||
// $Header:
|
||||
|
||||
#include "DlgRef_1Spin.h"
|
||||
|
||||
#include <qlayout.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qgroupbox.h>
|
||||
#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);
|
||||
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QSpinBox;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_1Spin_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QSpinBox>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_1Spin_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_1Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_1Spin_QTD();
|
||||
QGridLayout *gridLayout;
|
||||
QGroupBox *GroupBox1;
|
||||
QGridLayout *gridLayout1;
|
||||
QGridLayout *gridLayout2;
|
||||
QSpacerItem *spacerItem;
|
||||
QSpinBox *SpinBox1;
|
||||
QLabel *TextLabel1;
|
||||
|
||||
QGroupBox* GroupBox1;
|
||||
QSpinBox* SpinBox1;
|
||||
QLabel* TextLabel1;
|
||||
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);
|
||||
|
||||
gridLayout2->addItem(spacerItem, 3, 1, 1, 1);
|
||||
|
||||
SpinBox1 = new QSpinBox(GroupBox1);
|
||||
SpinBox1->setObjectName(QString::fromUtf8("SpinBox1"));
|
||||
QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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);
|
||||
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_1Spin_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
QGridLayout* Layout1;
|
||||
gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1);
|
||||
|
||||
|
||||
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
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qcombobox.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QComboBox;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QPushButton;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_2Sel1List_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QComboBox>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_2Sel1List_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_2Sel1List_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_2Sel1List_QTD();
|
||||
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;
|
||||
|
||||
QGroupBox* GroupBox1;
|
||||
QLineEdit* LineEdit2;
|
||||
QPushButton* PushButton1;
|
||||
QPushButton* PushButton2;
|
||||
QLabel* TextLabel1;
|
||||
QLineEdit* LineEdit1;
|
||||
QLabel* TextLabel2;
|
||||
QComboBox* ComboBox1;
|
||||
QLabel* TextLabel3;
|
||||
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"));
|
||||
|
||||
gridLayout2->addWidget(LineEdit2, 1, 2, 1, 1);
|
||||
|
||||
PushButton1 = new QPushButton(GroupBox1);
|
||||
PushButton1->setObjectName(QString::fromUtf8("PushButton1"));
|
||||
QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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);
|
||||
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_2Sel1List_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
QGridLayout* Layout1;
|
||||
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
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DlgRef_2Sel1List_QTD: public Ui_DlgRef_2Sel1List_QTD {};
|
||||
} // namespace Ui
|
||||
|
||||
#endif // DLGREF_2SEL1LIST_QTD_H
|
||||
|
@ -27,22 +27,23 @@
|
||||
// $Header:
|
||||
|
||||
#include "DlgRef_2Sel1Spin.h"
|
||||
|
||||
#include <qlayout.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qpushbutton.h>
|
||||
#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 );
|
||||
|
@ -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;
|
||||
|
@ -27,21 +27,23 @@
|
||||
// $Header:
|
||||
|
||||
#include "DlgRef_2Sel1Spin2Check.h"
|
||||
|
||||
#include <qlayout.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qgroupbox.h>
|
||||
#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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qcheckbox.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QCheckBox;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QPushButton;
|
||||
class QSpinBox;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_2Sel1Spin2Check_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QCheckBox>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QSpinBox>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_2Sel1Spin2Check_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_2Sel1Spin2Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_2Sel1Spin2Check_QTD();
|
||||
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;
|
||||
|
||||
QGroupBox* GroupBox1;
|
||||
QLabel* TextLabel2;
|
||||
QPushButton* PushButton1;
|
||||
QLabel* TextLabel3;
|
||||
QLabel* TextLabel1;
|
||||
QCheckBox* CheckButton2;
|
||||
QLineEdit* LineEdit2;
|
||||
QPushButton* PushButton2;
|
||||
QLineEdit* LineEdit1;
|
||||
QCheckBox* CheckButton1;
|
||||
QSpinBox* SpinBox1;
|
||||
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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
|
||||
sizePolicy5.setHorizontalStretch(0);
|
||||
sizePolicy5.setVerticalStretch(0);
|
||||
sizePolicy5.setHeightForWidth(SpinBox1->sizePolicy().hasHeightForWidth());
|
||||
SpinBox1->setSizePolicy(sizePolicy5);
|
||||
|
||||
gridLayout2->addWidget(SpinBox1, 2, 2, 1, 1);
|
||||
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_2Sel1Spin2Check_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
QGridLayout* Layout1;
|
||||
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
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DlgRef_2Sel1Spin2Check_QTD: public Ui_DlgRef_2Sel1Spin2Check_QTD {};
|
||||
} // namespace Ui
|
||||
|
||||
#endif // DLGREF_2SEL1SPIN2CHECK_QTD_H
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QPushButton;
|
||||
class QSpinBox;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_2Sel1Spin_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QSpinBox>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_2Sel1Spin_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_2Sel1Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_2Sel1Spin_QTD();
|
||||
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;
|
||||
|
||||
QGroupBox* GroupBox1;
|
||||
QLineEdit* LineEdit1;
|
||||
QPushButton* PushButton2;
|
||||
QLabel* TextLabel1;
|
||||
QLineEdit* LineEdit2;
|
||||
QPushButton* PushButton1;
|
||||
QLabel* TextLabel2;
|
||||
QSpinBox* SpinBox1;
|
||||
QLabel* TextLabel3;
|
||||
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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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);
|
||||
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_2Sel1Spin_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
QGridLayout* Layout1;
|
||||
QGridLayout* Layout2;
|
||||
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
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DlgRef_2Sel1Spin_QTD: public Ui_DlgRef_2Sel1Spin_QTD {};
|
||||
} // namespace Ui
|
||||
|
||||
#endif // DLGREF_2SEL1SPIN_QTD_H
|
||||
|
@ -27,24 +27,29 @@
|
||||
// $Header:
|
||||
|
||||
#include "DlgRef_2Sel2Spin.h"
|
||||
|
||||
#include <qlayout.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qgroupbox.h>
|
||||
#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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
@ -27,25 +27,29 @@
|
||||
// $Header:
|
||||
|
||||
#include "DlgRef_2Sel2Spin1Check.h"
|
||||
|
||||
#include <qlayout.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qpushbutton.h>
|
||||
#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 );
|
||||
|
@ -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;
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qcheckbox.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QCheckBox;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QPushButton;
|
||||
class QSpinBox;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_2Sel2Spin1Check_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QCheckBox>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QSpinBox>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_2Sel2Spin1Check_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_2Sel2Spin1Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_2Sel2Spin1Check_QTD();
|
||||
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;
|
||||
|
||||
QGroupBox* GroupBox1;
|
||||
QLabel* TextLabel2;
|
||||
QLabel* TextLabel1;
|
||||
QSpinBox* SpinBox1;
|
||||
QLabel* TextLabel3;
|
||||
QLabel* TextLabel4;
|
||||
QSpinBox* SpinBox2;
|
||||
QLineEdit* LineEdit1;
|
||||
QCheckBox* CheckButton1;
|
||||
QLineEdit* LineEdit2;
|
||||
QPushButton* PushButton2;
|
||||
QPushButton* PushButton1;
|
||||
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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
|
||||
sizePolicy5.setHorizontalStretch(0);
|
||||
sizePolicy5.setVerticalStretch(0);
|
||||
sizePolicy5.setHeightForWidth(SpinBox2->sizePolicy().hasHeightForWidth());
|
||||
SpinBox2->setSizePolicy(sizePolicy5);
|
||||
|
||||
gridLayout3->addWidget(SpinBox2, 1, 1, 1, 1);
|
||||
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_2Sel2Spin1Check_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
QGridLayout* Layout1;
|
||||
QGridLayout* Layout2;
|
||||
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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DlgRef_2Sel2Spin1Check_QTD: public Ui_DlgRef_2Sel2Spin1Check_QTD {};
|
||||
} // namespace Ui
|
||||
|
||||
#endif // DLGREF_2SEL2SPIN1CHECK_QTD_H
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QPushButton;
|
||||
class QSpinBox;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_2Sel2Spin_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QSpinBox>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_2Sel2Spin_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_2Sel2Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_2Sel2Spin_QTD();
|
||||
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;
|
||||
|
||||
QGroupBox* GroupBox1;
|
||||
QLineEdit* LineEdit1;
|
||||
QSpinBox* SpinBox2;
|
||||
QLabel* TextLabel4;
|
||||
QLabel* TextLabel3;
|
||||
QSpinBox* SpinBox1;
|
||||
QPushButton* PushButton2;
|
||||
QLabel* TextLabel2;
|
||||
QLabel* TextLabel1;
|
||||
QPushButton* PushButton1;
|
||||
QLineEdit* LineEdit2;
|
||||
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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
|
||||
sizePolicy3.setHorizontalStretch(0);
|
||||
sizePolicy3.setVerticalStretch(0);
|
||||
sizePolicy3.setHeightForWidth(SpinBox1->sizePolicy().hasHeightForWidth());
|
||||
SpinBox1->setSizePolicy(sizePolicy3);
|
||||
|
||||
gridLayout3->addWidget(SpinBox1, 0, 1, 1, 1);
|
||||
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_2Sel2Spin_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
QGridLayout* Layout1;
|
||||
QGridLayout* Layout2;
|
||||
gridLayout2->addLayout(gridLayout3, 2, 0, 1, 3);
|
||||
|
||||
PushButton2 = new QPushButton(GroupBox1);
|
||||
PushButton2->setObjectName(QString::fromUtf8("PushButton2"));
|
||||
QSizePolicy sizePolicy4(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DlgRef_2Sel2Spin_QTD: public Ui_DlgRef_2Sel2Spin_QTD {};
|
||||
} // namespace Ui
|
||||
|
||||
#endif // DLGREF_2SEL2SPIN_QTD_H
|
||||
|
@ -27,27 +27,34 @@
|
||||
// $Header:
|
||||
|
||||
#include "DlgRef_2Sel3Spin.h"
|
||||
|
||||
#include <qlayout.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qgroupbox.h>
|
||||
#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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QPushButton;
|
||||
class QSpinBox;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_2Sel3Spin_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QSpinBox>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_2Sel3Spin_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_2Sel3Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_2Sel3Spin_QTD();
|
||||
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;
|
||||
|
||||
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;
|
||||
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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
|
||||
sizePolicy7.setHorizontalStretch(0);
|
||||
sizePolicy7.setVerticalStretch(0);
|
||||
sizePolicy7.setHeightForWidth(SpinBox3->sizePolicy().hasHeightForWidth());
|
||||
SpinBox3->setSizePolicy(sizePolicy7);
|
||||
|
||||
gridLayout3->addWidget(SpinBox3, 2, 1, 1, 1);
|
||||
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_2Sel3Spin_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
QGridLayout* Layout1;
|
||||
QGridLayout* Layout2;
|
||||
gridLayout2->addLayout(gridLayout3, 2, 0, 1, 3);
|
||||
|
||||
PushButton1 = new QPushButton(GroupBox1);
|
||||
PushButton1->setObjectName(QString::fromUtf8("PushButton1"));
|
||||
QSizePolicy sizePolicy8(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DlgRef_2Sel3Spin_QTD: public Ui_DlgRef_2Sel3Spin_QTD {};
|
||||
} // namespace Ui
|
||||
|
||||
#endif // DLGREF_2SEL3SPIN_QTD_H
|
||||
|
@ -27,31 +27,39 @@
|
||||
// $Header:
|
||||
|
||||
#include "DlgRef_2Sel4Spin1Check.h"
|
||||
|
||||
#include <qlayout.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qpushbutton.h>
|
||||
#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 );
|
||||
|
@ -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;
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qcheckbox.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QCheckBox;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QPushButton;
|
||||
class QSpinBox;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_2Sel4Spin1Check_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QCheckBox>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QSpinBox>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_2Sel4Spin1Check_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_2Sel4Spin1Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_2Sel4Spin1Check_QTD();
|
||||
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;
|
||||
|
||||
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;
|
||||
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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0));
|
||||
sizePolicy.setHorizontalStretch(0);
|
||||
sizePolicy.setVerticalStretch(0);
|
||||
sizePolicy.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth());
|
||||
PushButton1->setSizePolicy(sizePolicy);
|
||||
|
||||
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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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);
|
||||
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_2Sel4Spin1Check_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
QGridLayout* Layout5;
|
||||
QGridLayout* Layout2;
|
||||
QGridLayout* Layout3;
|
||||
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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DlgRef_2Sel4Spin1Check_QTD: public Ui_DlgRef_2Sel4Spin1Check_QTD {};
|
||||
} // namespace Ui
|
||||
|
||||
#endif // DLGREF_2SEL4SPIN1CHECK_QTD_H
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QPushButton;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_2Sel_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_2Sel_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_2Sel_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_2Sel_QTD();
|
||||
QGridLayout *gridLayout;
|
||||
QGroupBox *GroupBox1;
|
||||
QGridLayout *gridLayout1;
|
||||
QGridLayout *gridLayout2;
|
||||
QPushButton *PushButton1;
|
||||
QSpacerItem *spacerItem;
|
||||
QLineEdit *LineEdit2;
|
||||
QPushButton *PushButton2;
|
||||
QLabel *TextLabel1;
|
||||
QLabel *TextLabel2;
|
||||
QLineEdit *LineEdit1;
|
||||
|
||||
QGroupBox* GroupBox1;
|
||||
QPushButton* PushButton1;
|
||||
QLineEdit* LineEdit2;
|
||||
QPushButton* PushButton2;
|
||||
QLabel* TextLabel1;
|
||||
QLabel* TextLabel2;
|
||||
QLineEdit* LineEdit1;
|
||||
void setupUi(QWidget *DlgRef_2Sel_QTD)
|
||||
{
|
||||
DlgRef_2Sel_QTD->setObjectName(QString::fromUtf8("DlgRef_2Sel_QTD"));
|
||||
QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0));
|
||||
sizePolicy1.setHorizontalStretch(0);
|
||||
sizePolicy1.setVerticalStretch(0);
|
||||
sizePolicy1.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth());
|
||||
PushButton1->setSizePolicy(sizePolicy1);
|
||||
|
||||
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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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);
|
||||
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_2Sel_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
QGridLayout* Layout1;
|
||||
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
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DlgRef_2Sel_QTD: public Ui_DlgRef_2Sel_QTD {};
|
||||
} // namespace Ui
|
||||
|
||||
#endif // DLGREF_2SEL_QTD_H
|
||||
|
@ -27,26 +27,30 @@
|
||||
// $Header:
|
||||
|
||||
#include "DlgRef_2Spin.h"
|
||||
|
||||
#include <qlayout.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qgroupbox.h>
|
||||
#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);
|
||||
|
||||
}
|
||||
|
||||
|
@ -29,17 +29,18 @@
|
||||
#ifndef DLGREF_2SPIN_H
|
||||
#define DLGREF_2SPIN_H
|
||||
|
||||
#include "DlgRef_2Spin_QTD.h"
|
||||
#include "DlgRef_SpinBox.h"
|
||||
|
||||
#include "GEOM_DlgRef.hxx"
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_2Spin : public DlgRef_2Spin_QTD
|
||||
#include "DlgRef_2Spin_QTD.h"
|
||||
|
||||
class DlgRef_SpinBox;
|
||||
|
||||
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;
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QSpinBox;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_2Spin_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QSpinBox>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_2Spin_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_2Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_2Spin_QTD();
|
||||
QGridLayout *gridLayout;
|
||||
QGroupBox *GroupBox1;
|
||||
QGridLayout *gridLayout1;
|
||||
QGridLayout *gridLayout2;
|
||||
QSpinBox *SpinBox2;
|
||||
QSpacerItem *spacerItem;
|
||||
QSpinBox *SpinBox1;
|
||||
QLabel *TextLabel1;
|
||||
QLabel *TextLabel2;
|
||||
|
||||
QGroupBox* GroupBox1;
|
||||
QSpinBox* SpinBox2;
|
||||
QSpinBox* SpinBox1;
|
||||
QLabel* TextLabel1;
|
||||
QLabel* TextLabel2;
|
||||
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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
|
||||
sizePolicy.setHorizontalStretch(0);
|
||||
sizePolicy.setVerticalStretch(0);
|
||||
sizePolicy.setHeightForWidth(SpinBox2->sizePolicy().hasHeightForWidth());
|
||||
SpinBox2->setSizePolicy(sizePolicy);
|
||||
|
||||
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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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);
|
||||
|
||||
|
||||
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
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qbuttongroup.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qradiobutton.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QButtonGroup;
|
||||
class QRadioButton;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_3Check_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QRadioButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_3Check_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_3Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_3Check_QTD();
|
||||
QGridLayout *gridLayout;
|
||||
QButtonGroup *GroupBox1;
|
||||
QGridLayout *gridLayout1;
|
||||
QGridLayout *gridLayout2;
|
||||
QRadioButton *RadioButton3;
|
||||
QRadioButton *RadioButton1;
|
||||
QRadioButton *RadioButton2;
|
||||
QSpacerItem *spacerItem;
|
||||
|
||||
QButtonGroup* GroupBox1;
|
||||
QRadioButton* RadioButton3;
|
||||
QRadioButton* RadioButton1;
|
||||
QRadioButton* RadioButton2;
|
||||
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"));
|
||||
|
||||
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);
|
||||
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_3Check_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
QGridLayout* Layout1;
|
||||
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
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DlgRef_3Check_QTD: public Ui_DlgRef_3Check_QTD {};
|
||||
} // namespace Ui
|
||||
|
||||
#endif // DLGREF_3CHECK_QTD_H
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qlabel.h>
|
||||
#include <qradiobutton.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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" ) );
|
||||
}
|
||||
|
@ -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 <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QRadioButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
#include <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QSpacerItem;
|
||||
class QGroupBox;
|
||||
class QPushButton;
|
||||
class QLineEdit;
|
||||
class QLabel;
|
||||
class QRadioButton;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_3Sel1Check_QTD : public QWidget
|
||||
class Ui_DlgRef_3Sel1Check_QTD
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
DlgRef_3Sel1Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_3Sel1Check_QTD();
|
||||
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;
|
||||
|
||||
QGroupBox* GroupBox1;
|
||||
QPushButton* PushButton1;
|
||||
QLineEdit* LineEdit1;
|
||||
QLabel* TextLabel1;
|
||||
QPushButton* PushButton2;
|
||||
QLineEdit* LineEdit2;
|
||||
QLabel* TextLabel2;
|
||||
QPushButton* PushButton3;
|
||||
QLineEdit* LineEdit3;
|
||||
QLabel* TextLabel3;
|
||||
QRadioButton* radioButton4;
|
||||
void setupUi(QWidget *DlgRef_3Sel1Check_QTD)
|
||||
{
|
||||
DlgRef_3Sel1Check_QTD->setObjectName(QString::fromUtf8("DlgRef_3Sel1Check_QTD"));
|
||||
QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0));
|
||||
sizePolicy2.setHorizontalStretch(0);
|
||||
sizePolicy2.setVerticalStretch(0);
|
||||
sizePolicy2.setHeightForWidth(PushButton1->sizePolicy().hasHeightForWidth());
|
||||
PushButton1->setSizePolicy(sizePolicy2);
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_3Sel1Check_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
QSpacerItem* Spacer3;
|
||||
gridLayout1->addWidget(PushButton1, 0, 1, 1, 1);
|
||||
|
||||
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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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
|
||||
|
@ -28,26 +28,43 @@
|
||||
|
||||
|
||||
#include "DlgRef_3Sel1Spin.h"
|
||||
#include "DlgRef_SpinBox.h"
|
||||
|
||||
#include <QGridLayout>
|
||||
#include <QLabel>
|
||||
|
||||
|
||||
//=================================================================================
|
||||
// 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);
|
||||
|
||||
TextLabel4 = new QLabel( (QWidget*)GroupBox1, "TextLabel4" );
|
||||
TextLabel4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );
|
||||
setObjectName(name);
|
||||
|
||||
Layout2 = new QGridLayout(0);
|
||||
Layout2->setMargin(0);
|
||||
Layout2->setSpacing(6);
|
||||
Layout2->setObjectName("Layout2");
|
||||
|
||||
TextLabel4 = new QLabel( (QWidget*)GroupBox1 );
|
||||
TextLabel4->setObjectName( "TextLabel4" );
|
||||
QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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()
|
||||
|
@ -32,20 +32,21 @@
|
||||
#include "GEOM_DlgRef.hxx"
|
||||
|
||||
#include "DlgRef_3Sel_QTD.h"
|
||||
#include "DlgRef_SpinBox.h"
|
||||
#include <qlayout.h>
|
||||
#include <qlabel.h>
|
||||
|
||||
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;
|
||||
|
@ -27,31 +27,34 @@
|
||||
// $Header:
|
||||
|
||||
#include <DlgRef_3Sel3Spin1Check.h>
|
||||
#include <qlabel.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qcheckbox.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qlayout.h>
|
||||
#include <qgroupbox.h>
|
||||
|
||||
#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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qcheckbox.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QCheckBox;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QPushButton;
|
||||
class QSpinBox;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_3Sel3Spin1Check_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QCheckBox>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QSpinBox>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_3Sel3Spin1Check_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_3Sel3Spin1Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_3Sel3Spin1Check_QTD();
|
||||
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;
|
||||
|
||||
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;
|
||||
void setupUi(QWidget *DlgRef_3Sel3Spin1Check_QTD)
|
||||
{
|
||||
DlgRef_3Sel3Spin1Check_QTD->setObjectName(QString::fromUtf8("DlgRef_3Sel3Spin1Check_QTD"));
|
||||
QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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);
|
||||
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_3Sel3Spin1Check_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
QGridLayout* Layout1;
|
||||
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
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DlgRef_3Sel3Spin1Check_QTD: public Ui_DlgRef_3Sel3Spin1Check_QTD {};
|
||||
} // namespace Ui
|
||||
|
||||
#endif // DLGREF_3SEL3SPIN1CHECK_QTD_H
|
||||
|
@ -27,31 +27,39 @@
|
||||
// $Header:
|
||||
|
||||
#include "DlgRef_3Sel4Spin2Check.h"
|
||||
|
||||
#include <qlayout.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qpushbutton.h>
|
||||
#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 );
|
||||
|
@ -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;
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qcheckbox.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QCheckBox;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QPushButton;
|
||||
class QSpinBox;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_3Sel4Spin2Check_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QCheckBox>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QSpinBox>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_3Sel4Spin2Check_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_3Sel4Spin2Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_3Sel4Spin2Check_QTD();
|
||||
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;
|
||||
|
||||
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;
|
||||
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"));
|
||||
|
||||
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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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);
|
||||
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_3Sel4Spin2Check_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
QGridLayout* Layout1;
|
||||
QGridLayout* Layout3;
|
||||
QGridLayout* Layout2;
|
||||
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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DlgRef_3Sel4Spin2Check_QTD: public Ui_DlgRef_3Sel4Spin2Check_QTD {};
|
||||
} // namespace Ui
|
||||
|
||||
#endif // DLGREF_3SEL4SPIN2CHECK_QTD_H
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QPushButton;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_3Sel_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_3Sel_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_3Sel_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_3Sel_QTD();
|
||||
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;
|
||||
|
||||
QGroupBox* GroupBox1;
|
||||
QLineEdit* LineEdit3;
|
||||
QPushButton* PushButton1;
|
||||
QLineEdit* LineEdit2;
|
||||
QLabel* TextLabel1;
|
||||
QLabel* TextLabel3;
|
||||
QLineEdit* LineEdit1;
|
||||
QLabel* TextLabel2;
|
||||
QPushButton* PushButton3;
|
||||
QPushButton* PushButton2;
|
||||
void setupUi(QWidget *DlgRef_3Sel_QTD)
|
||||
{
|
||||
DlgRef_3Sel_QTD->setObjectName(QString::fromUtf8("DlgRef_3Sel_QTD"));
|
||||
QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0));
|
||||
sizePolicy6.setHorizontalStretch(0);
|
||||
sizePolicy6.setVerticalStretch(0);
|
||||
sizePolicy6.setHeightForWidth(PushButton2->sizePolicy().hasHeightForWidth());
|
||||
PushButton2->setSizePolicy(sizePolicy6);
|
||||
|
||||
gridLayout2->addWidget(PushButton2, 1, 1, 1, 1);
|
||||
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_3Sel_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
QGridLayout* Layout1;
|
||||
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
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DlgRef_3Sel_QTD: public Ui_DlgRef_3Sel_QTD {};
|
||||
} // namespace Ui
|
||||
|
||||
#endif // DLGREF_3SEL_QTD_H
|
||||
|
@ -27,30 +27,36 @@
|
||||
// $Header:
|
||||
|
||||
#include "DlgRef_3Spin.h"
|
||||
|
||||
#include <qlayout.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qgroupbox.h>
|
||||
#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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
@ -27,30 +27,36 @@
|
||||
// $Header:
|
||||
|
||||
#include "DlgRef_3Spin1Check.h"
|
||||
|
||||
#include <qlayout.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qgroupbox.h>
|
||||
#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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qradiobutton.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QRadioButton;
|
||||
class QSpinBox;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_3Spin1Check_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QRadioButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QSpinBox>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_3Spin1Check_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_3Spin1Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_3Spin1Check_QTD();
|
||||
QGridLayout *gridLayout;
|
||||
QGroupBox *GroupBox1;
|
||||
QGridLayout *gridLayout1;
|
||||
QGridLayout *gridLayout2;
|
||||
QRadioButton *CheckBox1;
|
||||
QSpacerItem *spacerItem;
|
||||
QSpinBox *SpinBox2;
|
||||
QLabel *TextLabel3;
|
||||
QSpinBox *SpinBox3;
|
||||
QSpinBox *SpinBox1;
|
||||
QLabel *TextLabel1;
|
||||
QLabel *TextLabel2;
|
||||
|
||||
QGroupBox* GroupBox1;
|
||||
QRadioButton* CheckBox1;
|
||||
QSpinBox* SpinBox2;
|
||||
QLabel* TextLabel3;
|
||||
QSpinBox* SpinBox3;
|
||||
QSpinBox* SpinBox1;
|
||||
QLabel* TextLabel1;
|
||||
QLabel* TextLabel2;
|
||||
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"));
|
||||
|
||||
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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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);
|
||||
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_3Spin1Check_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
QGridLayout* Layout1;
|
||||
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
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DlgRef_3Spin1Check_QTD: public Ui_DlgRef_3Spin1Check_QTD {};
|
||||
} // namespace Ui
|
||||
|
||||
#endif // DLGREF_3SPIN1CHECK_QTD_H
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QSpinBox;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_3Spin_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QSpinBox>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_3Spin_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_3Spin_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_3Spin_QTD();
|
||||
QGridLayout *gridLayout;
|
||||
QGroupBox *GroupBox1;
|
||||
QGridLayout *gridLayout1;
|
||||
QGridLayout *gridLayout2;
|
||||
QSpinBox *SpinBox2;
|
||||
QSpacerItem *spacerItem;
|
||||
QLabel *TextLabel3;
|
||||
QSpinBox *SpinBox1;
|
||||
QSpinBox *SpinBox3;
|
||||
QLabel *TextLabel1;
|
||||
QLabel *TextLabel2;
|
||||
|
||||
QGroupBox* GroupBox1;
|
||||
QSpinBox* SpinBox2;
|
||||
QLabel* TextLabel3;
|
||||
QSpinBox* SpinBox1;
|
||||
QSpinBox* SpinBox3;
|
||||
QLabel* TextLabel1;
|
||||
QLabel* TextLabel2;
|
||||
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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
|
||||
sizePolicy.setHorizontalStretch(0);
|
||||
sizePolicy.setVerticalStretch(0);
|
||||
sizePolicy.setHeightForWidth(SpinBox2->sizePolicy().hasHeightForWidth());
|
||||
SpinBox2->setSizePolicy(sizePolicy);
|
||||
|
||||
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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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);
|
||||
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_3Spin_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
QGridLayout* Layout1;
|
||||
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
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DlgRef_3Spin_QTD: public Ui_DlgRef_3Spin_QTD {};
|
||||
} // namespace Ui
|
||||
|
||||
#endif // DLGREF_3SPIN_QTD_H
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qcombobox.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
#include <qcheckbox.h>
|
||||
#include <qpushbutton.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
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 <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QCheckBox>
|
||||
#include <QtGui/QComboBox>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_4Sel1List_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_4Sel1List1Check_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_4Sel1List1Check_QTD();
|
||||
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;
|
||||
|
||||
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;
|
||||
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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_4Sel1List1Check_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
QGridLayout* GroupBox2Layout;
|
||||
QGridLayout* Layout1;
|
||||
QGridLayout* Layout2;
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DlgRef_4Sel1List_QTD: public Ui_DlgRef_4Sel1List_QTD {};
|
||||
} // namespace Ui
|
||||
|
||||
#endif // DLGREF_4SEL1LIST1CHECK_QTD_H
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qcombobox.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* 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
|
||||
}
|
||||
|
@ -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 <qvariant.h>
|
||||
#include <qwidget.h>
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QGridLayout;
|
||||
class QComboBox;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QPushButton;
|
||||
|
||||
class GEOM_DLGREF_EXPORT DlgRef_4Sel1List_QTD : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QComboBox>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QGroupBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QWidget>
|
||||
#include <Qt3Support/Q3MimeSourceFactory>
|
||||
|
||||
class Ui_DlgRef_4Sel1List_QTD
|
||||
{
|
||||
public:
|
||||
DlgRef_4Sel1List_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
|
||||
~DlgRef_4Sel1List_QTD();
|
||||
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;
|
||||
|
||||
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;
|
||||
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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(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<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(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);
|
||||
|
||||
|
||||
protected:
|
||||
QGridLayout* DlgRef_4Sel1List_QTDLayout;
|
||||
QGridLayout* GroupBox1Layout;
|
||||
QGridLayout* GroupBox2Layout;
|
||||
QGridLayout* Layout1;
|
||||
QGridLayout* Layout2;
|
||||
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
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DlgRef_4Sel1List_QTD: public Ui_DlgRef_4Sel1List_QTD {};
|
||||
} // namespace Ui
|
||||
|
||||
#endif // DLGREF_4SEL1LIST_QTD_H
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user