Back to index

salome-geom  6.5.0
EntityGUI_Widgets.cxx
Go to the documentation of this file.
00001 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
00002 //
00003 // This library is free software; you can redistribute it and/or
00004 // modify it under the terms of the GNU Lesser General Public
00005 // License as published by the Free Software Foundation; either
00006 // version 2.1 of the License.
00007 //
00008 // This library is distributed in the hope that it will be useful,
00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011 // Lesser General Public License for more details.
00012 //
00013 // You should have received a copy of the GNU Lesser General Public
00014 // License along with this library; if not, write to the Free Software
00015 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00016 //
00017 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00018 //
00019 
00020 // File   : EntityGUI_Widgets.cxx
00021 // Author : Vadim SANDLER, Open CASCADE S.A.S. (vadim.sandler@opencascade.com)
00022 //
00023 #include "EntityGUI_Widgets.h"
00024 #include <QButtonGroup>
00025 
00027 // EntityGUI_1Sel
00029 
00030 EntityGUI_1Sel::EntityGUI_1Sel( QWidget* parent, Qt::WindowFlags f )
00031 : QWidget( parent, f )
00032 {
00033   setupUi( this );
00034 }
00035 
00036 EntityGUI_1Sel::~EntityGUI_1Sel()
00037 {
00038 }
00039 
00041 // EntityGUI_2Sel1Check
00043 
00044 EntityGUI_2Sel1Check::EntityGUI_2Sel1Check( QWidget* parent, Qt::WindowFlags f )
00045 : QWidget( parent, f )
00046 {
00047   setupUi( this );
00048 }
00049 
00050 EntityGUI_2Sel1Check::~EntityGUI_2Sel1Check()
00051 {
00052 }
00053 
00054 
00056 // EntityGUI_1Sel1Spin1Check
00058 
00059 EntityGUI_1Sel1Spin1Check::EntityGUI_1Sel1Spin1Check( QWidget* parent, Qt::WindowFlags f )
00060 : QWidget( parent, f )
00061 {
00062   setupUi( this );
00063 }
00064 
00065 EntityGUI_1Sel1Spin1Check::~EntityGUI_1Sel1Spin1Check()
00066 {
00067 }
00068 
00070 // EntityGUI_1Spin
00072 
00073 EntityGUI_1Spin::EntityGUI_1Spin( QWidget* parent, Qt::WindowFlags f )
00074 : QWidget( parent, f )
00075 {
00076   setupUi( this );
00077 }
00078 
00079 EntityGUI_1Spin::~EntityGUI_1Spin()
00080 {
00081 }
00082 
00084 // EntityGUI_2Spin
00086 
00087 EntityGUI_2Spin::EntityGUI_2Spin( QWidget* parent, Qt::WindowFlags f )
00088 : QWidget( parent, f )
00089 {
00090   setupUi( this );
00091 }
00092 
00093 EntityGUI_2Spin::~EntityGUI_2Spin()
00094 {
00095 }
00096 
00098 // EntityGUI_3Spin
00100 
00101 EntityGUI_3Spin::EntityGUI_3Spin( QWidget* parent, Qt::WindowFlags f )
00102 : QWidget( parent, f )
00103 {
00104   setupUi( this );
00105 }
00106 
00107 EntityGUI_3Spin::~EntityGUI_3Spin()
00108 {
00109 }
00110 
00111 
00113 // EntityGUI_3Spin1Check
00115 
00116 EntityGUI_3Spin1Check::EntityGUI_3Spin1Check( QWidget* parent, Qt::WindowFlags f )
00117 : QWidget( parent, f )
00118 {
00119   setupUi( this );
00120 }
00121 
00122 EntityGUI_3Spin1Check::~EntityGUI_3Spin1Check()
00123 {
00124 }
00125 
00127 // EntityGUI_4Spin
00129 
00130 EntityGUI_4Spin::EntityGUI_4Spin( QWidget* parent, Qt::WindowFlags f )
00131 : QWidget( parent, f )
00132 {
00133   setupUi( this );
00134 }
00135 
00136 EntityGUI_4Spin::~EntityGUI_4Spin()
00137 {
00138 }
00139 
00140 
00142 // EntityGUI_4Spin1Check
00144 
00145 EntityGUI_4Spin1Check::EntityGUI_4Spin1Check( QWidget* parent, Qt::WindowFlags f )
00146 : QWidget( parent, f )
00147 {
00148   setupUi( this );
00149 }
00150 
00151 EntityGUI_4Spin1Check::~EntityGUI_4Spin1Check()
00152 {
00153 }
00154 
00156 // EntityGUI_Dir1
00158 
00159 EntityGUI_Dir1::EntityGUI_Dir1( QWidget* parent, Qt::WindowFlags f )
00160 : QWidget( parent, f )
00161 {
00162   setupUi( this );
00163 
00164   ButtonGroup = new QButtonGroup( this );
00165   ButtonGroup->addButton( RB_Dir11, 2 );
00166   ButtonGroup->addButton( RB_Dir12, 0 );
00167   ButtonGroup->addButton( RB_Dir13, 1 );
00168   ButtonGroup->addButton( RB_Dir14, 3 );
00169 }
00170 
00171 EntityGUI_Dir1::~EntityGUI_Dir1()
00172 {
00173 }
00174 
00176 // EntityGUI_Dir2
00178 
00179 EntityGUI_Dir2::EntityGUI_Dir2( QWidget* parent, Qt::WindowFlags f )
00180 : QWidget( parent, f )
00181 {
00182   setupUi( this );
00183 
00184   ButtonGroup = new QButtonGroup( this );
00185   ButtonGroup->addButton( RB_Dir21, 2 );
00186   ButtonGroup->addButton( RB_Dir22, 0 );
00187   ButtonGroup->addButton( RB_Dir23, 1 );
00188 }
00189 
00190 EntityGUI_Dir2::~EntityGUI_Dir2()
00191 {
00192 }
00193 
00195 // EntityGUI_Point
00197 
00198 EntityGUI_Point::EntityGUI_Point( QWidget* parent, Qt::WindowFlags f )
00199 : QWidget( parent, f )
00200 {
00201   setupUi( this );
00202 
00203   ButtonGroup = new QButtonGroup( this );
00204   ButtonGroup->addButton( RB_Point1, 1 );
00205   ButtonGroup->addButton( RB_Point2, 0 );
00206   ButtonGroup->addButton( RB_Point3, 2 );
00207 }
00208 
00209 EntityGUI_Point::~EntityGUI_Point()
00210 {
00211 }
00212 
00214 // EntityGUI_Skeleton
00216 
00217 EntityGUI_Skeleton::EntityGUI_Skeleton( QWidget* parent, Qt::WindowFlags f )
00218 : QWidget( parent, f )
00219 {
00220   setupUi( this );
00221 
00222   ButtonGroup = new QButtonGroup( this );
00223   ButtonGroup->addButton( RadioButton1, 0 );
00224   ButtonGroup->addButton( RadioButton2, 1 );
00225   ButtonGroup->addButton( RadioButton3, 2 );
00226 }
00227 
00228 EntityGUI_Skeleton::~EntityGUI_Skeleton()
00229 {
00230 }
00231