00001
00002
00003
00004
00005
00006
00007
00008 #include "Qt/ui/SceneSettingsDialog.h"
00009
00010 #include <qvariant.h>
00011 #include <qpushbutton.h>
00012 #include <qgroupbox.h>
00013 #include <qlineedit.h>
00014 #include <qcombobox.h>
00015 #include <qlabel.h>
00016 #include <qlayout.h>
00017 #include <qtooltip.h>
00018 #include <qwhatsthis.h>
00019 #include "Qt/SceneSettingsDialog.ui.h"
00020
00021
00022
00023
00024
00025
00026
00027
00028 SceneSettingsDialog::SceneSettingsDialog( QWidget* parent, const char* name, bool modal, WFlags fl )
00029 : QDialog( parent, name, modal, fl )
00030 {
00031 if ( !name )
00032 setName( "SceneSettingsDialog" );
00033 setSizeGripEnabled( TRUE );
00034 SceneSettingsDialogLayout = new QGridLayout( this, 1, 1, 11, 6, "SceneSettingsDialogLayout");
00035
00036 groupBox1 = new QGroupBox( this, "groupBox1" );
00037 groupBox1->setColumnLayout(0, Qt::Vertical );
00038 groupBox1->layout()->setSpacing( 6 );
00039 groupBox1->layout()->setMargin( 11 );
00040 groupBox1Layout = new QGridLayout( groupBox1->layout() );
00041 groupBox1Layout->setAlignment( Qt::AlignTop );
00042
00043 itsTrainingTargetObject = new QLineEdit( groupBox1, "itsTrainingTargetObject" );
00044
00045 groupBox1Layout->addMultiCellWidget( itsTrainingTargetObject, 1, 1, 1, 6 );
00046
00047 itsTrainingSceneType = new QComboBox( FALSE, groupBox1, "itsTrainingSceneType" );
00048
00049 groupBox1Layout->addMultiCellWidget( itsTrainingSceneType, 0, 0, 1, 6 );
00050
00051 textLabel1 = new QLabel( groupBox1, "textLabel1" );
00052
00053 groupBox1Layout->addWidget( textLabel1, 0, 0 );
00054
00055 textLabel2 = new QLabel( groupBox1, "textLabel2" );
00056
00057 groupBox1Layout->addWidget( textLabel2, 1, 0 );
00058
00059 textLabel7 = new QLabel( groupBox1, "textLabel7" );
00060
00061 groupBox1Layout->addWidget( textLabel7, 2, 0 );
00062
00063 textLabel4 = new QLabel( groupBox1, "textLabel4" );
00064
00065 groupBox1Layout->addWidget( textLabel4, 3, 0 );
00066
00067 itsTrainingRotation = new QLineEdit( groupBox1, "itsTrainingRotation" );
00068 itsTrainingRotation->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, itsTrainingRotation->sizePolicy().hasHeightForWidth() ) );
00069 itsTrainingRotation->setMaximumSize( QSize( 30, 23 ) );
00070 itsTrainingRotation->setMaxLength( 3 );
00071
00072 groupBox1Layout->addWidget( itsTrainingRotation, 6, 2 );
00073
00074 textLabel5_2 = new QLabel( groupBox1, "textLabel5_2" );
00075
00076 groupBox1Layout->addWidget( textLabel5_2, 6, 0 );
00077
00078 textLabel5 = new QLabel( groupBox1, "textLabel5" );
00079
00080 groupBox1Layout->addWidget( textLabel5, 7, 0 );
00081
00082 itsTrainingNoise = new QLineEdit( groupBox1, "itsTrainingNoise" );
00083 itsTrainingNoise->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, itsTrainingNoise->sizePolicy().hasHeightForWidth() ) );
00084 itsTrainingNoise->setMaximumSize( QSize( 30, 23 ) );
00085 itsTrainingNoise->setMaxLength( 3 );
00086
00087 groupBox1Layout->addWidget( itsTrainingNoise, 7, 2 );
00088
00089 textLabel6 = new QLabel( groupBox1, "textLabel6" );
00090
00091 groupBox1Layout->addWidget( textLabel6, 4, 0 );
00092
00093 textLabel3 = new QLabel( groupBox1, "textLabel3" );
00094
00095 groupBox1Layout->addWidget( textLabel3, 5, 0 );
00096
00097 textLabel10 = new QLabel( groupBox1, "textLabel10" );
00098
00099 groupBox1Layout->addWidget( textLabel10, 2, 5 );
00100
00101 itsTrainingColorB = new QLineEdit( groupBox1, "itsTrainingColorB" );
00102 itsTrainingColorB->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, itsTrainingColorB->sizePolicy().hasHeightForWidth() ) );
00103 itsTrainingColorB->setMaximumSize( QSize( 30, 23 ) );
00104 itsTrainingColorB->setMaxLength( 3 );
00105
00106 groupBox1Layout->addWidget( itsTrainingColorB, 3, 6 );
00107
00108 textLabel10_2 = new QLabel( groupBox1, "textLabel10_2" );
00109
00110 groupBox1Layout->addWidget( textLabel10_2, 3, 5 );
00111
00112 textLabel8_2 = new QLabel( groupBox1, "textLabel8_2" );
00113
00114 groupBox1Layout->addWidget( textLabel8_2, 3, 1 );
00115
00116 textLabel9_2_2 = new QLabel( groupBox1, "textLabel9_2_2" );
00117
00118 groupBox1Layout->addWidget( textLabel9_2_2, 4, 3 );
00119
00120 textLabel9_2 = new QLabel( groupBox1, "textLabel9_2" );
00121
00122 groupBox1Layout->addWidget( textLabel9_2, 3, 3 );
00123
00124 itsTrainingBackColorG = new QLineEdit( groupBox1, "itsTrainingBackColorG" );
00125 itsTrainingBackColorG->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, itsTrainingBackColorG->sizePolicy().hasHeightForWidth() ) );
00126 itsTrainingBackColorG->setMaximumSize( QSize( 30, 23 ) );
00127 itsTrainingBackColorG->setMaxLength( 3 );
00128
00129 groupBox1Layout->addWidget( itsTrainingBackColorG, 4, 4 );
00130
00131 textLabel9 = new QLabel( groupBox1, "textLabel9" );
00132
00133 groupBox1Layout->addWidget( textLabel9, 2, 3 );
00134
00135 itsTrainingTargetColorG = new QLineEdit( groupBox1, "itsTrainingTargetColorG" );
00136 itsTrainingTargetColorG->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, itsTrainingTargetColorG->sizePolicy().hasHeightForWidth() ) );
00137 itsTrainingTargetColorG->setMaximumSize( QSize( 30, 23 ) );
00138 itsTrainingTargetColorG->setMaxLength( 3 );
00139
00140 groupBox1Layout->addWidget( itsTrainingTargetColorG, 2, 4 );
00141
00142 itsTrainingColorG = new QLineEdit( groupBox1, "itsTrainingColorG" );
00143 itsTrainingColorG->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, itsTrainingColorG->sizePolicy().hasHeightForWidth() ) );
00144 itsTrainingColorG->setMaximumSize( QSize( 30, 23 ) );
00145 itsTrainingColorG->setMaxLength( 3 );
00146
00147 groupBox1Layout->addWidget( itsTrainingColorG, 3, 4 );
00148
00149 textLabel10_2_2 = new QLabel( groupBox1, "textLabel10_2_2" );
00150
00151 groupBox1Layout->addWidget( textLabel10_2_2, 4, 5 );
00152
00153 itsTrainingTargetColorB = new QLineEdit( groupBox1, "itsTrainingTargetColorB" );
00154 itsTrainingTargetColorB->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, itsTrainingTargetColorB->sizePolicy().hasHeightForWidth() ) );
00155 itsTrainingTargetColorB->setMaximumSize( QSize( 30, 23 ) );
00156 itsTrainingTargetColorB->setMaxLength( 3 );
00157
00158 groupBox1Layout->addWidget( itsTrainingTargetColorB, 2, 6 );
00159
00160 itsTrainingBackColorR = new QLineEdit( groupBox1, "itsTrainingBackColorR" );
00161 itsTrainingBackColorR->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, itsTrainingBackColorR->sizePolicy().hasHeightForWidth() ) );
00162 itsTrainingBackColorR->setMaximumSize( QSize( 30, 23 ) );
00163 itsTrainingBackColorR->setMaxLength( 3 );
00164
00165 groupBox1Layout->addWidget( itsTrainingBackColorR, 4, 2 );
00166
00167 textLabel8_2_2 = new QLabel( groupBox1, "textLabel8_2_2" );
00168
00169 groupBox1Layout->addWidget( textLabel8_2_2, 4, 1 );
00170
00171 itsTrainingBackColorB = new QLineEdit( groupBox1, "itsTrainingBackColorB" );
00172 itsTrainingBackColorB->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, itsTrainingBackColorB->sizePolicy().hasHeightForWidth() ) );
00173 itsTrainingBackColorB->setMaximumSize( QSize( 30, 23 ) );
00174 itsTrainingBackColorB->setMaxLength( 3 );
00175
00176 groupBox1Layout->addWidget( itsTrainingBackColorB, 4, 6 );
00177
00178 itsTrainingColorR = new QLineEdit( groupBox1, "itsTrainingColorR" );
00179 itsTrainingColorR->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, itsTrainingColorR->sizePolicy().hasHeightForWidth() ) );
00180 itsTrainingColorR->setMaximumSize( QSize( 30, 23 ) );
00181 itsTrainingColorR->setMaxLength( 3 );
00182
00183 groupBox1Layout->addWidget( itsTrainingColorR, 3, 2 );
00184
00185 textLabel8 = new QLabel( groupBox1, "textLabel8" );
00186
00187 groupBox1Layout->addWidget( textLabel8, 2, 1 );
00188
00189 itsTrainingLum = new QLineEdit( groupBox1, "itsTrainingLum" );
00190 itsTrainingLum->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, itsTrainingLum->sizePolicy().hasHeightForWidth() ) );
00191 itsTrainingLum->setMaximumSize( QSize( 30, 23 ) );
00192 itsTrainingLum->setMaxLength( 3 );
00193
00194 groupBox1Layout->addWidget( itsTrainingLum, 5, 2 );
00195
00196 itsTrainingTargetColorR = new QLineEdit( groupBox1, "itsTrainingTargetColorR" );
00197 itsTrainingTargetColorR->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, itsTrainingTargetColorR->sizePolicy().hasHeightForWidth() ) );
00198 itsTrainingTargetColorR->setMaximumSize( QSize( 30, 23 ) );
00199 itsTrainingTargetColorR->setMaxLength( 3 );
00200
00201 groupBox1Layout->addWidget( itsTrainingTargetColorR, 2, 2 );
00202
00203 SceneSettingsDialogLayout->addWidget( groupBox1, 0, 0 );
00204
00205 groupBox1_2 = new QGroupBox( this, "groupBox1_2" );
00206 groupBox1_2->setColumnLayout(0, Qt::Vertical );
00207 groupBox1_2->layout()->setSpacing( 6 );
00208 groupBox1_2->layout()->setMargin( 11 );
00209 groupBox1_2Layout = new QGridLayout( groupBox1_2->layout() );
00210 groupBox1_2Layout->setAlignment( Qt::AlignTop );
00211
00212 itsTestingTargetObject = new QLineEdit( groupBox1_2, "itsTestingTargetObject" );
00213
00214 groupBox1_2Layout->addMultiCellWidget( itsTestingTargetObject, 1, 1, 1, 6 );
00215
00216 itsTestingSceneType = new QComboBox( FALSE, groupBox1_2, "itsTestingSceneType" );
00217
00218 groupBox1_2Layout->addMultiCellWidget( itsTestingSceneType, 0, 0, 1, 6 );
00219
00220 textLabel1_2 = new QLabel( groupBox1_2, "textLabel1_2" );
00221
00222 groupBox1_2Layout->addWidget( textLabel1_2, 0, 0 );
00223
00224 textLabel2_2 = new QLabel( groupBox1_2, "textLabel2_2" );
00225
00226 groupBox1_2Layout->addWidget( textLabel2_2, 1, 0 );
00227
00228 textLabel7_2 = new QLabel( groupBox1_2, "textLabel7_2" );
00229
00230 groupBox1_2Layout->addWidget( textLabel7_2, 2, 0 );
00231
00232 textLabel4_2 = new QLabel( groupBox1_2, "textLabel4_2" );
00233
00234 groupBox1_2Layout->addWidget( textLabel4_2, 3, 0 );
00235
00236 itsTestingRotation = new QLineEdit( groupBox1_2, "itsTestingRotation" );
00237 itsTestingRotation->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, itsTestingRotation->sizePolicy().hasHeightForWidth() ) );
00238 itsTestingRotation->setMaximumSize( QSize( 30, 23 ) );
00239 itsTestingRotation->setMaxLength( 3 );
00240
00241 groupBox1_2Layout->addWidget( itsTestingRotation, 6, 2 );
00242
00243 textLabel5_2_2 = new QLabel( groupBox1_2, "textLabel5_2_2" );
00244
00245 groupBox1_2Layout->addWidget( textLabel5_2_2, 6, 0 );
00246
00247 textLabel5_3 = new QLabel( groupBox1_2, "textLabel5_3" );
00248
00249 groupBox1_2Layout->addWidget( textLabel5_3, 7, 0 );
00250
00251 itsTestingNoise = new QLineEdit( groupBox1_2, "itsTestingNoise" );
00252 itsTestingNoise->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, itsTestingNoise->sizePolicy().hasHeightForWidth() ) );
00253 itsTestingNoise->setMaximumSize( QSize( 30, 23 ) );
00254 itsTestingNoise->setMaxLength( 3 );
00255
00256 groupBox1_2Layout->addWidget( itsTestingNoise, 7, 2 );
00257
00258 textLabel6_2 = new QLabel( groupBox1_2, "textLabel6_2" );
00259
00260 groupBox1_2Layout->addWidget( textLabel6_2, 4, 0 );
00261
00262 textLabel3_2 = new QLabel( groupBox1_2, "textLabel3_2" );
00263
00264 groupBox1_2Layout->addWidget( textLabel3_2, 5, 0 );
00265
00266 textLabel10_3 = new QLabel( groupBox1_2, "textLabel10_3" );
00267
00268 groupBox1_2Layout->addWidget( textLabel10_3, 2, 5 );
00269
00270 itsTestingColorB = new QLineEdit( groupBox1_2, "itsTestingColorB" );
00271 itsTestingColorB->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, itsTestingColorB->sizePolicy().hasHeightForWidth() ) );
00272 itsTestingColorB->setMaximumSize( QSize( 30, 23 ) );
00273 itsTestingColorB->setMaxLength( 3 );
00274
00275 groupBox1_2Layout->addWidget( itsTestingColorB, 3, 6 );
00276
00277 textLabel10_2_3 = new QLabel( groupBox1_2, "textLabel10_2_3" );
00278
00279 groupBox1_2Layout->addWidget( textLabel10_2_3, 3, 5 );
00280
00281 textLabel8_2_3 = new QLabel( groupBox1_2, "textLabel8_2_3" );
00282
00283 groupBox1_2Layout->addWidget( textLabel8_2_3, 3, 1 );
00284
00285 textLabel9_2_2_2 = new QLabel( groupBox1_2, "textLabel9_2_2_2" );
00286
00287 groupBox1_2Layout->addWidget( textLabel9_2_2_2, 4, 3 );
00288
00289 textLabel9_2_3 = new QLabel( groupBox1_2, "textLabel9_2_3" );
00290
00291 groupBox1_2Layout->addWidget( textLabel9_2_3, 3, 3 );
00292
00293 itsTestingBackColorG = new QLineEdit( groupBox1_2, "itsTestingBackColorG" );
00294 itsTestingBackColorG->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, itsTestingBackColorG->sizePolicy().hasHeightForWidth() ) );
00295 itsTestingBackColorG->setMaximumSize( QSize( 30, 23 ) );
00296 itsTestingBackColorG->setMaxLength( 3 );
00297
00298 groupBox1_2Layout->addWidget( itsTestingBackColorG, 4, 4 );
00299
00300 textLabel9_3 = new QLabel( groupBox1_2, "textLabel9_3" );
00301
00302 groupBox1_2Layout->addWidget( textLabel9_3, 2, 3 );
00303
00304 itsTestingTargetColorG = new QLineEdit( groupBox1_2, "itsTestingTargetColorG" );
00305 itsTestingTargetColorG->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, itsTestingTargetColorG->sizePolicy().hasHeightForWidth() ) );
00306 itsTestingTargetColorG->setMaximumSize( QSize( 30, 23 ) );
00307 itsTestingTargetColorG->setMaxLength( 3 );
00308
00309 groupBox1_2Layout->addWidget( itsTestingTargetColorG, 2, 4 );
00310
00311 itsTestingColorG = new QLineEdit( groupBox1_2, "itsTestingColorG" );
00312 itsTestingColorG->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, itsTestingColorG->sizePolicy().hasHeightForWidth() ) );
00313 itsTestingColorG->setMaximumSize( QSize( 30, 23 ) );
00314 itsTestingColorG->setMaxLength( 3 );
00315
00316 groupBox1_2Layout->addWidget( itsTestingColorG, 3, 4 );
00317
00318 textLabel10_2_2_2 = new QLabel( groupBox1_2, "textLabel10_2_2_2" );
00319
00320 groupBox1_2Layout->addWidget( textLabel10_2_2_2, 4, 5 );
00321
00322 itsTestingTargetColorB = new QLineEdit( groupBox1_2, "itsTestingTargetColorB" );
00323 itsTestingTargetColorB->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, itsTestingTargetColorB->sizePolicy().hasHeightForWidth() ) );
00324 itsTestingTargetColorB->setMaximumSize( QSize( 30, 23 ) );
00325 itsTestingTargetColorB->setMaxLength( 3 );
00326
00327 groupBox1_2Layout->addWidget( itsTestingTargetColorB, 2, 6 );
00328
00329 itsTestingBackColorR = new QLineEdit( groupBox1_2, "itsTestingBackColorR" );
00330 itsTestingBackColorR->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, itsTestingBackColorR->sizePolicy().hasHeightForWidth() ) );
00331 itsTestingBackColorR->setMaximumSize( QSize( 30, 23 ) );
00332 itsTestingBackColorR->setMaxLength( 3 );
00333
00334 groupBox1_2Layout->addWidget( itsTestingBackColorR, 4, 2 );
00335
00336 textLabel8_2_2_2 = new QLabel( groupBox1_2, "textLabel8_2_2_2" );
00337
00338 groupBox1_2Layout->addWidget( textLabel8_2_2_2, 4, 1 );
00339
00340 itsTestingBackColorB = new QLineEdit( groupBox1_2, "itsTestingBackColorB" );
00341 itsTestingBackColorB->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, itsTestingBackColorB->sizePolicy().hasHeightForWidth() ) );
00342 itsTestingBackColorB->setMaximumSize( QSize( 30, 23 ) );
00343 itsTestingBackColorB->setMaxLength( 3 );
00344
00345 groupBox1_2Layout->addWidget( itsTestingBackColorB, 4, 6 );
00346
00347 itsTestingColorR = new QLineEdit( groupBox1_2, "itsTestingColorR" );
00348 itsTestingColorR->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, itsTestingColorR->sizePolicy().hasHeightForWidth() ) );
00349 itsTestingColorR->setMaximumSize( QSize( 30, 23 ) );
00350 itsTestingColorR->setMaxLength( 3 );
00351
00352 groupBox1_2Layout->addWidget( itsTestingColorR, 3, 2 );
00353
00354 textLabel8_3 = new QLabel( groupBox1_2, "textLabel8_3" );
00355
00356 groupBox1_2Layout->addWidget( textLabel8_3, 2, 1 );
00357
00358 itsTestingLum = new QLineEdit( groupBox1_2, "itsTestingLum" );
00359 itsTestingLum->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, itsTestingLum->sizePolicy().hasHeightForWidth() ) );
00360 itsTestingLum->setMaximumSize( QSize( 30, 23 ) );
00361 itsTestingLum->setMaxLength( 3 );
00362
00363 groupBox1_2Layout->addWidget( itsTestingLum, 5, 2 );
00364
00365 itsTestingTargetColorR = new QLineEdit( groupBox1_2, "itsTestingTargetColorR" );
00366 itsTestingTargetColorR->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, itsTestingTargetColorR->sizePolicy().hasHeightForWidth() ) );
00367 itsTestingTargetColorR->setMaximumSize( QSize( 30, 23 ) );
00368 itsTestingTargetColorR->setMaxLength( 3 );
00369
00370 groupBox1_2Layout->addWidget( itsTestingTargetColorR, 2, 2 );
00371
00372 SceneSettingsDialogLayout->addWidget( groupBox1_2, 0, 1 );
00373
00374 Layout1 = new QHBoxLayout( 0, 0, 6, "Layout1");
00375 Horizontal_Spacing2 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
00376 Layout1->addItem( Horizontal_Spacing2 );
00377
00378 buttonOk = new QPushButton( this, "buttonOk" );
00379 buttonOk->setAutoDefault( TRUE );
00380 buttonOk->setDefault( TRUE );
00381 Layout1->addWidget( buttonOk );
00382
00383 buttonCancel = new QPushButton( this, "buttonCancel" );
00384 buttonCancel->setAutoDefault( TRUE );
00385 Layout1->addWidget( buttonCancel );
00386
00387 SceneSettingsDialogLayout->addMultiCellLayout( Layout1, 1, 1, 0, 1 );
00388 languageChange();
00389 resize( QSize(550, 324).expandedTo(minimumSizeHint()) );
00390 clearWState( WState_Polished );
00391
00392
00393 connect( buttonOk, SIGNAL( clicked() ), this, SLOT( accept() ) );
00394 connect( buttonCancel, SIGNAL( clicked() ), this, SLOT( reject() ) );
00395
00396
00397 setTabOrder( itsTrainingSceneType, itsTrainingTargetObject );
00398 setTabOrder( itsTrainingTargetObject, itsTrainingTargetColorR );
00399 setTabOrder( itsTrainingTargetColorR, itsTrainingTargetColorG );
00400 setTabOrder( itsTrainingTargetColorG, itsTrainingTargetColorB );
00401 setTabOrder( itsTrainingTargetColorB, itsTrainingLum );
00402 setTabOrder( itsTrainingLum, itsTrainingColorR );
00403 setTabOrder( itsTrainingColorR, itsTrainingColorG );
00404 setTabOrder( itsTrainingColorG, itsTrainingColorB );
00405 setTabOrder( itsTrainingColorB, itsTrainingRotation );
00406 setTabOrder( itsTrainingRotation, itsTrainingNoise );
00407 setTabOrder( itsTrainingNoise, itsTrainingBackColorR );
00408 setTabOrder( itsTrainingBackColorR, itsTrainingBackColorG );
00409 setTabOrder( itsTrainingBackColorG, itsTrainingBackColorB );
00410 setTabOrder( itsTrainingBackColorB, buttonOk );
00411 setTabOrder( buttonOk, buttonCancel );
00412 }
00413
00414
00415
00416
00417 SceneSettingsDialog::~SceneSettingsDialog()
00418 {
00419
00420 }
00421
00422
00423
00424
00425
00426 void SceneSettingsDialog::languageChange()
00427 {
00428 setCaption( tr( "Scene Settings" ) );
00429 groupBox1->setTitle( tr( "Training Scene Settings" ) );
00430 textLabel1->setText( tr( "Scene Type:" ) );
00431 textLabel2->setText( tr( "Target Object:" ) );
00432 textLabel7->setText( tr( "Target Color:" ) );
00433 textLabel4->setText( tr( "Color:" ) );
00434 itsTrainingRotation->setInputMask( tr( "###; " ) );
00435 textLabel5_2->setText( tr( "Rotation:" ) );
00436 textLabel5->setText( tr( "Pixel Noise:" ) );
00437 itsTrainingNoise->setInputMask( tr( "###; " ) );
00438 textLabel6->setText( tr( "Background Color:" ) );
00439 textLabel3->setText( tr( "Illumination:" ) );
00440 textLabel10->setText( tr( "B:" ) );
00441 itsTrainingColorB->setInputMask( tr( "###; " ) );
00442 textLabel10_2->setText( tr( "B:" ) );
00443 textLabel8_2->setText( tr( "R:" ) );
00444 textLabel9_2_2->setText( tr( "G:" ) );
00445 textLabel9_2->setText( tr( "G:" ) );
00446 itsTrainingBackColorG->setInputMask( tr( "###; " ) );
00447 textLabel9->setText( tr( "G:" ) );
00448 itsTrainingTargetColorG->setInputMask( tr( "###; " ) );
00449 itsTrainingColorG->setInputMask( tr( "###; " ) );
00450 textLabel10_2_2->setText( tr( "B:" ) );
00451 itsTrainingTargetColorB->setInputMask( tr( "###; " ) );
00452 itsTrainingBackColorR->setInputMask( tr( "###; " ) );
00453 textLabel8_2_2->setText( tr( "R:" ) );
00454 itsTrainingBackColorB->setInputMask( tr( "###; " ) );
00455 itsTrainingColorR->setInputMask( tr( "###; " ) );
00456 textLabel8->setText( tr( "R:" ) );
00457 itsTrainingLum->setInputMask( tr( "###; " ) );
00458 itsTrainingTargetColorR->setInputMask( tr( "###; " ) );
00459 groupBox1_2->setTitle( tr( "Testing Scene Settings" ) );
00460 textLabel1_2->setText( tr( "Scene Type:" ) );
00461 textLabel2_2->setText( tr( "Target Object:" ) );
00462 textLabel7_2->setText( tr( "Target Color:" ) );
00463 textLabel4_2->setText( tr( "Color:" ) );
00464 itsTestingRotation->setInputMask( tr( "###; " ) );
00465 textLabel5_2_2->setText( tr( "Rotation:" ) );
00466 textLabel5_3->setText( tr( "Pixel Noise:" ) );
00467 itsTestingNoise->setInputMask( tr( "###; " ) );
00468 textLabel6_2->setText( tr( "Background Color:" ) );
00469 textLabel3_2->setText( tr( "Illumination:" ) );
00470 textLabel10_3->setText( tr( "B:" ) );
00471 itsTestingColorB->setInputMask( tr( "###; " ) );
00472 textLabel10_2_3->setText( tr( "B:" ) );
00473 textLabel8_2_3->setText( tr( "R:" ) );
00474 textLabel9_2_2_2->setText( tr( "G:" ) );
00475 textLabel9_2_3->setText( tr( "G:" ) );
00476 itsTestingBackColorG->setInputMask( tr( "###; " ) );
00477 textLabel9_3->setText( tr( "G:" ) );
00478 itsTestingTargetColorG->setInputMask( tr( "###; " ) );
00479 itsTestingColorG->setInputMask( tr( "###; " ) );
00480 textLabel10_2_2_2->setText( tr( "B:" ) );
00481 itsTestingTargetColorB->setInputMask( tr( "###; " ) );
00482 itsTestingBackColorR->setInputMask( tr( "###; " ) );
00483 textLabel8_2_2_2->setText( tr( "R:" ) );
00484 itsTestingBackColorB->setInputMask( tr( "###; " ) );
00485 itsTestingColorR->setInputMask( tr( "###; " ) );
00486 textLabel8_3->setText( tr( "R:" ) );
00487 itsTestingLum->setInputMask( tr( "###; " ) );
00488 itsTestingTargetColorR->setInputMask( tr( "###; " ) );
00489 buttonOk->setText( tr( "&OK" ) );
00490 buttonOk->setAccel( QKeySequence( QString::null ) );
00491 buttonCancel->setText( tr( "&Cancel" ) );
00492 buttonCancel->setAccel( QKeySequence( QString::null ) );
00493 }
00494