Salome HOME
NPAL17269: Performance pb. when creating a group with GUI.
[modules/geom.git] / src / DlgRef / DlgRef_1Sel3Check_QTD.cxx
index 3778dd33e8eae145673033ea01cf26a2c38e9d25..db0cb79ec98e03a40cef77322cf85011f7172ba3 100644 (file)
@@ -1,7 +1,26 @@
+// 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: lun nov 17 11:32:21 2003
+** 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 <qradiobutton.h>
 #include <qlayout.h>
 #include <qtooltip.h>
 #include <qwhatsthis.h>
@@ -27,7 +46,7 @@ DlgRef_1Sel3Check_QTD::DlgRef_1Sel3Check_QTD( QWidget* parent,  const char* name
 {
     if ( !name )
        setName( "DlgRef_1Sel3Check_QTD" );
-    resize( 129, 114 ); 
+    resize( 163, 116 ); 
     setCaption( trUtf8( "DlgRef_1Sel3Check_QTD" ) );
     DlgRef_1Sel3Check_QTDLayout = new QGridLayout( this, 1, 1, 0, 6, "DlgRef_1Sel3Check_QTDLayout"); 
 
@@ -39,44 +58,50 @@ DlgRef_1Sel3Check_QTD::DlgRef_1Sel3Check_QTD( QWidget* parent,  const char* name
     GroupBox1Layout = new QGridLayout( GroupBox1->layout() );
     GroupBox1Layout->setAlignment( Qt::AlignTop );
 
-    Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
+    Layout6 = new QGridLayout( 0, 1, 1, 0, 6, "Layout6"); 
+    QSpacerItem* spacer = new QSpacerItem( 0, 16, QSizePolicy::Minimum, QSizePolicy::Expanding );
+    Layout6->addItem( spacer, 4, 2 );
 
-    CheckButton2 = new QRadioButton( GroupBox1, "CheckButton2" );
-    CheckButton2->setText( trUtf8( "" ) );
+    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
 
-    Layout1->addMultiCellWidget( CheckButton2, 2, 2, 0, 2 );
+    Layout6->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" ) );
+    CheckButton2 = new QCheckBox( GroupBox1, "CheckButton2" );
+    CheckButton2->setText( trUtf8( "" ) );
 
-    Layout1->addWidget( TextLabel1, 0, 0 );
+    Layout6->addMultiCellWidget( CheckButton2, 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( "" ) );
+    CheckButton1 = new QCheckBox( GroupBox1, "CheckButton1" );
+    CheckButton1->setText( trUtf8( "" ) );
 
-    Layout1->addWidget( PushButton1, 0, 1 );
-    QSpacerItem* spacer = new QSpacerItem( 0, 60, QSizePolicy::Minimum, QSizePolicy::Expanding );
-    Layout1->addItem( spacer, 4, 2 );
+    Layout6->addMultiCellWidget( CheckButton1, 1, 1, 0, 2 );
 
-    CheckButton3 = new QRadioButton( GroupBox1, "CheckButton3" );
+    CheckButton3 = new QCheckBox( GroupBox1, "CheckButton3" );
     CheckButton3->setText( trUtf8( "" ) );
 
-    Layout1->addMultiCellWidget( CheckButton3, 3, 3, 0, 2 );
+    Layout6->addMultiCellWidget( CheckButton3, 3, 3, 0, 2 );
 
-    CheckButton1 = new QRadioButton( GroupBox1, "CheckButton1" );
-    CheckButton1->setText( trUtf8( "" ) );
+    PushButton1 = new QPushButton( GroupBox1, "PushButton1" );
+    PushButton1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, PushButton1->sizePolicy().hasHeightForWidth() ) );
+    PushButton1->setText( trUtf8( "" ) );
 
-    Layout1->addMultiCellWidget( CheckButton1, 1, 1, 0, 2 );
+    Layout6->addWidget( PushButton1, 0, 1 );
 
-    LineEdit1 = new QLineEdit( GroupBox1, "LineEdit1" );
+    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( LineEdit1, 0, 2 );
+    Layout6->addWidget( TextLabel1, 0, 0 );
 
-    GroupBox1Layout->addLayout( Layout1, 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 );
 }
 
 /*