Salome HOME
[SALOME platform 0019880]: EDF GEM SMESH 728: SIGSEV while dumping the study
[modules/geom.git] / src / DlgRef / DlgRef_Skeleton_QTD.cxx
index dddb3e08729486b330af5085dacf29c6445a3eb8..c548cc2220adf0aeaad59c674acb1909f1473f66 100644 (file)
@@ -1,26 +1,7 @@
-// Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-// 
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either 
-// version 2.1 of the License.
-// 
-// This library is distributed in the hope that it will be useful 
-// but WITHOUT ANY WARRANTY; without even the implied warranty of 
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public  
-// License along with this library; if not, write to the Free Software 
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-//
-// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-//
 /****************************************************************************
 ** Form implementation generated from reading ui file 'DlgRef_Skeleton_QTD.ui'
 **
-** Created: Fri Mar 17 11:18:06 2006
+** Created: Wed May 7 11:21:32 2008
 **      by: The User Interface Compiler ($Id$)
 **
 ** WARNING! All changes made in this file will be lost!
 
 #include <qvariant.h>
 #include <qpushbutton.h>
-#include <qgroupbox.h>
 #include <qbuttongroup.h>
 #include <qradiobutton.h>
-#include <qlineedit.h>
+#include <qgroupbox.h>
 #include <qlabel.h>
+#include <qlineedit.h>
+#include <qcheckbox.h>
 #include <qlayout.h>
 #include <qtooltip.h>
 #include <qwhatsthis.h>
@@ -57,38 +39,6 @@ DlgRef_Skeleton_QTD::DlgRef_Skeleton_QTD( QWidget* parent, const char* name, boo
 
     Layout1 = new QGridLayout( 0, 1, 1, 0, 6, "Layout1"); 
 
-    GroupMedium = new QGroupBox( this, "GroupMedium" );
-    GroupMedium->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, GroupMedium->sizePolicy().hasHeightForWidth() ) );
-
-    Layout1->addWidget( GroupMedium, 2, 0 );
-
-    GroupButtons = new QGroupBox( this, "GroupButtons" );
-    GroupButtons->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, GroupButtons->sizePolicy().hasHeightForWidth() ) );
-    GroupButtons->setColumnLayout(0, Qt::Vertical );
-    GroupButtons->layout()->setSpacing( 6 );
-    GroupButtons->layout()->setMargin( 11 );
-    GroupButtonsLayout = new QHBoxLayout( GroupButtons->layout() );
-    GroupButtonsLayout->setAlignment( Qt::AlignTop );
-
-    Layout3 = new QHBoxLayout( 0, 0, 6, "Layout3"); 
-
-    buttonOk = new QPushButton( GroupButtons, "buttonOk" );
-    Layout3->addWidget( buttonOk );
-
-    buttonApply = new QPushButton( GroupButtons, "buttonApply" );
-    Layout3->addWidget( buttonApply );
-    Spacer1 = new QSpacerItem( 91, 0, QSizePolicy::Expanding, QSizePolicy::Minimum );
-    Layout3->addItem( Spacer1 );
-
-    buttonCancel = new QPushButton( GroupButtons, "buttonCancel" );
-    Layout3->addWidget( buttonCancel );
-
-    buttonHelp = new QPushButton( GroupButtons, "buttonHelp" );
-    Layout3->addWidget( buttonHelp );
-    GroupButtonsLayout->addLayout( Layout3 );
-
-    Layout1->addWidget( GroupButtons, 3, 0 );
-
     GroupConstructors = new QButtonGroup( this, "GroupConstructors" );
     GroupConstructors->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)0, 0, 0, GroupConstructors->sizePolicy().hasHeightForWidth() ) );
     GroupConstructors->setColumnLayout(0, Qt::Vertical );
@@ -110,6 +60,9 @@ DlgRef_Skeleton_QTD::DlgRef_Skeleton_QTD( QWidget* parent, const char* name, boo
 
     RadioButton4 = new QRadioButton( GroupConstructors, "RadioButton4" );
     Layout2->addWidget( RadioButton4 );
+
+    RadioButton5 = new QRadioButton( GroupConstructors, "RadioButton5" );
+    Layout2->addWidget( RadioButton5 );
     GroupConstructorsLayout->addLayout( Layout2 );
 
     Layout1->addWidget( GroupConstructors, 0, 0 );
@@ -121,23 +74,71 @@ DlgRef_Skeleton_QTD::DlgRef_Skeleton_QTD( QWidget* parent, const char* name, boo
     GroupBoxNameLayout = new QGridLayout( GroupBoxName->layout() );
     GroupBoxNameLayout->setAlignment( Qt::AlignTop );
 
-    Layout66 = new QGridLayout( 0, 1, 1, 0, 6, "Layout66"); 
+    Layout4 = new QGridLayout( 0, 1, 1, 0, 6, "Layout4"); 
 
-    ResultName = new QLineEdit( GroupBoxName, "ResultName" );
+    NameLabel = new QLabel( GroupBoxName, "NameLabel" );
 
-    Layout66->addWidget( ResultName, 0, 1 );
+    Layout4->addWidget( NameLabel, 0, 0 );
 
-    NameLabel = new QLabel( GroupBoxName, "NameLabel" );
+    ResultName = new QLineEdit( GroupBoxName, "ResultName" );
 
-    Layout66->addWidget( NameLabel, 0, 0 );
+    Layout4->addWidget( ResultName, 0, 1 );
 
-    GroupBoxNameLayout->addLayout( Layout66, 0, 0 );
+    GroupBoxNameLayout->addLayout( Layout4, 0, 0 );
 
     Layout1->addWidget( GroupBoxName, 1, 0 );
 
+    GroupBoxPublish = new QGroupBox( this, "GroupBoxPublish" );
+    GroupBoxPublish->setColumnLayout(0, Qt::Vertical );
+    GroupBoxPublish->layout()->setSpacing( 6 );
+    GroupBoxPublish->layout()->setMargin( 11 );
+    GroupBoxPublishLayout = new QGridLayout( GroupBoxPublish->layout() );
+    GroupBoxPublishLayout->setAlignment( Qt::AlignTop );
+
+    Layout5 = new QGridLayout( 0, 1, 1, 0, 6, "Layout5"); 
+
+    CheckBoxRestoreSS = new QCheckBox( GroupBoxPublish, "CheckBoxRestoreSS" );
+
+    Layout5->addWidget( CheckBoxRestoreSS, 0, 0 );
+
+    GroupBoxPublishLayout->addLayout( Layout5, 0, 0 );
+
+    Layout1->addWidget( GroupBoxPublish, 3, 0 );
+
+    GroupButtons = new QGroupBox( this, "GroupButtons" );
+    GroupButtons->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, GroupButtons->sizePolicy().hasHeightForWidth() ) );
+    GroupButtons->setColumnLayout(0, Qt::Vertical );
+    GroupButtons->layout()->setSpacing( 6 );
+    GroupButtons->layout()->setMargin( 11 );
+    GroupButtonsLayout = new QVBoxLayout( GroupButtons->layout() );
+    GroupButtonsLayout->setAlignment( Qt::AlignTop );
+
+    Layout3 = new QGridLayout( 0, 1, 1, 0, 6, "Layout3"); 
+
+    buttonOk = new QPushButton( GroupButtons, "buttonOk" );
+
+    Layout3->addWidget( buttonOk, 0, 0 );
+
+    buttonApply = new QPushButton( GroupButtons, "buttonApply" );
+
+    Layout3->addWidget( buttonApply, 0, 1 );
+
+    buttonCancel = new QPushButton( GroupButtons, "buttonCancel" );
+
+    Layout3->addWidget( buttonCancel, 0, 3 );
+    Spacer1 = new QSpacerItem( 90, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
+    Layout3->addItem( Spacer1, 0, 2 );
+
+    buttonHelp = new QPushButton( GroupButtons, "buttonHelp" );
+
+    Layout3->addWidget( buttonHelp, 0, 4 );
+    GroupButtonsLayout->addLayout( Layout3 );
+
+    Layout1->addWidget( GroupButtons, 4, 0 );
+
     DlgRef_Skeleton_QTDLayout->addLayout( Layout1, 0, 0 );
     languageChange();
-    resize( QSize(307, 378).expandedTo(minimumSizeHint()) );
+    resize( QSize(615, 682).expandedTo(minimumSizeHint()) );
     clearWState( WState_Polished );
 }
 
@@ -155,19 +156,5 @@ DlgRef_Skeleton_QTD::~DlgRef_Skeleton_QTD()
  */
 void DlgRef_Skeleton_QTD::languageChange()
 {
-    setCaption( tr( "DlgRef_Skeleton_QTD" ) );
-    GroupMedium->setTitle( QString::null );
-    GroupButtons->setTitle( QString::null );
-    buttonOk->setText( tr( "&Ok" ) );
-    buttonApply->setText( tr( "&Apply" ) );
-    buttonCancel->setText( tr( "&Cancel" ) );
-    buttonHelp->setText( tr( "&Help" ) );
-    GroupConstructors->setTitle( QString::null );
-    RadioButton1->setText( QString::null );
-    RadioButton2->setText( QString::null );
-    RadioButton3->setText( QString::null );
-    RadioButton4->setText( QString::null );
-    GroupBoxName->setTitle( tr( "Result name" ) );
-    NameLabel->setText( tr( "Name" ) );
 }