00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #include <qfile.h>
00019 #include <qfiledialog.h>
00020 #include <qinputdialog.h>
00021 #include <qlistbox.h>
00022 #include <qhostaddress.h>
00023 #include <qhbox.h>
00024
00025 #include "../include/ConfigureWindow.h"
00026
00027 #include "ConfigData.h"
00028
00029
00030
00031 ConfigureWindow::ConfigureWindow( QWidget* parent, ConfigData * data )
00032 : QDialog( parent, "frm_configure", true )
00033 {
00034 configData = data;
00035 this->parent = parent;
00036
00037 #ifndef USE_QT_GRID
00038
00039
00040 setModal( true );
00041 #endif
00042
00043 setCaption( "Configure RIO" );
00044
00045 layout = new QVBoxLayout( this, 10, 10 );
00046
00047
00048 tab_options = new QTabWidget ( this, "tab_option" );
00049 layout->addWidget( tab_options );
00050
00051
00052 QHGroupBox * group_button = new QHGroupBox( this );
00053 group_button->setFrameStyle( QFrame::NoFrame );
00054 layout->addWidget( group_button );
00055
00056 but_ok = new QPushButton( group_button, "but_ok" );
00057 but_ok->setDefault( true );
00058
00059 but_cancel = new QPushButton( group_button, "but_cancel" );
00060
00061
00062 connect( but_ok, SIGNAL( clicked() ),
00063 this, SLOT( submit() ) );
00064 connect( but_cancel, SIGNAL( clicked() ),
00065 this, SLOT( reject() ) );
00066
00067
00068
00069
00070 but_ok->setText( "OK" );
00071 but_cancel->setText( "Cancel" );
00072
00073
00074 initRioshFrame();
00075 initRioMMClientFrame();
00076
00077 frm_actual = frm_riosh;
00078
00079
00080 setFixedSize( sizeHint() );
00081 }
00082
00083
00084
00085
00086 ConfigureWindow::~ConfigureWindow()
00087 {
00088
00089 }
00090
00091
00092
00093
00094 void ConfigureWindow::initRioMMClientFrame( void )
00095 {
00096 frm_riommclient = new QFrame( this, "frm_riommclient" );
00097 riommclient_layout = new QGridLayout( frm_riommclient, 1, 1, 0, 0 );
00098
00099 riommclient_tabs = new QTabWidget ( frm_riommclient, "riommclient_tab" );
00100
00101 tab_general = new QFrame( this, "tab_general" );
00102 riommclient_tabs->addTab( tab_general, tr( "General" ) );
00103
00104 tab_video = new QFrame( this, "tab_video" );
00105 riommclient_tabs->addTab( tab_video, tr( "Video" ) );
00106
00107 tab_browser = new QFrame( this, "tab_browser" );
00108 riommclient_tabs->addTab( tab_browser, tr( "Browser" ) );
00109
00110 tab_tgif = new QFrame( this, "tab_tgif" );
00111 riommclient_tabs->addTab( tab_tgif, tr( "Tgif" ) );
00112
00113 riommclient_layout_general = new QGridLayout( tab_general, 10, 2, 10, 5 );
00114 riommclient_layout_video = new QGridLayout( tab_video, 11, 1, 10, 5 );
00115 riommclient_layout_browser = new QGridLayout( tab_browser, 10, 1, 10, 5 );
00116 riommclient_layout_tgif = new QGridLayout( tab_tgif, 10, 1, 10, 5 );
00117
00118 riommclient_layout->addMultiCellWidget( riommclient_tabs, 0, 8, 0, 2 );
00119
00120
00121
00122
00123
00124 cb_sync = new QCheckBox( tr( "Synchronize" ),
00125 tab_general, "cb_sync" );
00126 cb_sync->setChecked( configData->getRioMMSync() );
00127
00128 riommclient_layout_general->addMultiCellWidget( cb_sync, 0, 0, 0, 0 );
00129
00130
00131
00132 cb_use_cache = new QCheckBox( tr( "Use Cache" ),
00133 tab_general, "cb_use_cache" );
00134 cb_use_cache->setChecked( configData->getRioMMUseCache() );
00135
00136 riommclient_layout_general->addMultiCellWidget( cb_use_cache, 0, 0, 1, 1 );
00137
00138
00139
00140 cb_use_plugins = new QCheckBox( tr( "Use Plugins" ),
00141 tab_general, "cb_use_plugins" );
00142 cb_use_plugins->setChecked( configData->getRioMMUsePlugins() );
00143
00144 riommclient_layout_general->addMultiCellWidget( cb_use_plugins,
00145 0, 0, 2, 2 );
00146
00147
00148
00149 QHBox * buffergroup = new QHBox ( tab_general, "buffers" );
00150
00151 new QLabel ( "Buffer Size:", buffergroup );
00152
00153 sb_buffers = new QSpinBox( 1, 100, 1, buffergroup );
00154 sb_buffers->setValue( configData->getRioMMBuffers() );
00155 sb_buffers->setFixedWidth( 80 );
00156
00157 riommclient_layout_general->addMultiCellWidget( buffergroup, 1, 1, 0, 2 );
00158
00159
00160
00161 QHBox * mainwindowgroup = new QHBox ( tab_general, "main_window" );
00162
00163 new QLabel ( "Main Window:", mainwindowgroup );
00164
00165 sb_main_window = new QSpinBox( 0, 10, 1, mainwindowgroup );
00166 sb_main_window->setValue( configData->getRioMMMainWindow() );
00167 sb_main_window->setFixedWidth( 80 );
00168
00169 riommclient_layout_general->addMultiCellWidget( mainwindowgroup,
00170 2, 2, 0, 2 );
00171
00172
00173
00174 QHBox * pluginportgroup = new QHBox ( tab_general, "plugin_port" );
00175
00176 new QLabel ( "Plugin Port:", pluginportgroup );
00177
00178 sb_plugin_port = new QSpinBox( 0, 10, 1, pluginportgroup );
00179 sb_plugin_port->setValue( configData->getRioMMPluginPort() );
00180 sb_plugin_port->setFixedWidth( 80 );
00181
00182 riommclient_layout_general->addMultiCellWidget( pluginportgroup,
00183 3, 3, 0, 2 );
00184
00185
00186
00187 QHBox * tgifwindowgroup = new QHBox ( tab_general, "tgif_window" );
00188
00189 new QLabel ( "Tgif Window:", tgifwindowgroup );
00190
00191 sb_tgif_window = new QSpinBox( 0, 10, 1, tgifwindowgroup );
00192 sb_tgif_window->setValue( configData->getRioMMTgifWindow() );
00193 sb_tgif_window->setFixedWidth( 80 );
00194
00195 riommclient_layout_general->addMultiCellWidget( tgifwindowgroup,
00196 4, 4, 0, 2 );
00197
00198
00199
00200 QHBox * videowindowgroup = new QHBox ( tab_general, "video_window" );
00201
00202 new QLabel ( "Video Window:", videowindowgroup );
00203
00204 sb_video_window = new QSpinBox( 0, 10, 1, videowindowgroup );
00205 sb_video_window->setValue( configData->getRioMMVideoWindow() );
00206 sb_video_window->setFixedWidth( 80 );
00207
00208 riommclient_layout_general->addMultiCellWidget( videowindowgroup,
00209 5, 5, 0, 2 );
00210
00211
00212
00213 QHBox * usergroup = new QHBox ( tab_general, "user" );
00214 usergroup->setSpacing( 53 );
00215
00216 new QLabel ( "User:", usergroup );
00217
00218 le_user = new QLineEdit( usergroup );
00219 le_user->setText( configData->getRioMMUser() );
00220
00221 riommclient_layout_general->addMultiCellWidget( usergroup, 6, 6, 0, 2 );
00222
00223
00224
00225 QHBox * versiongroup = new QHBox ( tab_general, "version" );
00226 versiongroup->setSpacing( 35 );
00227
00228 new QLabel ( "Version:", versiongroup );
00229
00230 le_version = new QLineEdit( versiongroup );
00231 le_version->setText( configData->getRioMMVersion() );
00232 le_version->setReadOnly( true );
00233
00234 riommclient_layout_general->addMultiCellWidget( versiongroup, 7, 7, 0, 2 );
00235
00236 QHBox * pihostgroup = new QHBox ( tab_general, "connectpi" );
00237 pihostgroup->setSpacing( 43 );
00238
00239 new QLabel ( "PIHost:", pihostgroup );
00240
00241 le_pihost = new QLineEdit( pihostgroup );
00242 le_pihost->setText( configData->getRioMMPIHost() );
00243
00244 riommclient_layout_general->addMultiCellWidget( pihostgroup, 8, 8, 0, 2 );
00245
00246
00247
00248 cb_makelog = new QCheckBox( tr( "Make Log" ),
00249 tab_video, "cb_makelog" );
00250 cb_makelog->setChecked( configData->getRioMMVMakelog() );
00251
00252 riommclient_layout_video->addMultiCellWidget( cb_makelog, 0, 0, 0, 0 );
00253
00254
00255
00256 QHBox * vplayergroup = new QHBox ( tab_video, "vplayer" );
00257 vplayergroup->setSpacing( 49 );
00258
00259 new QLabel ( "Video Player:", vplayergroup );
00260
00261 le_vplayer = new QLineEdit( vplayergroup );
00262 le_vplayer->setText( configData->getRioMMVPlayer() );
00263
00264 riommclient_layout_video->addMultiCellWidget( vplayergroup, 1, 1, 0, 1 );
00265
00266
00267
00268 QHBox * vversiongroup = new QHBox ( tab_video, "vversion" );
00269 vversiongroup->setSpacing( 40 );
00270
00271 new QLabel ( "Video Version:", vversiongroup );
00272
00273 le_vversion = new QLineEdit( vversiongroup );
00274 le_vversion->setText( configData->getRioMMVVersion() );
00275 le_vversion->setReadOnly( true );
00276
00277 riommclient_layout_video->addMultiCellWidget( vversiongroup, 2, 2, 0, 1 );
00278
00279
00280
00281 QHBox * mplayer_argumentsgroup = new QHBox ( tab_video,
00282 "mplayer_arguments" );
00283 mplayer_argumentsgroup->setSpacing( 9 );
00284
00285 new QLabel ( "MPlayer Arguments:", mplayer_argumentsgroup );
00286
00287 le_mplayer_arguments = new QLineEdit( mplayer_argumentsgroup );
00288 le_mplayer_arguments->setText( configData->getRioMMVMPlayerArguments() );
00289 le_mplayer_arguments->setCursorPosition ( 0 );
00290
00291 riommclient_layout_video->addMultiCellWidget( mplayer_argumentsgroup,
00292 3, 3, 0, 1 );
00293
00294
00295
00296 QHBox * mplayer_binarygroup = new QHBox ( tab_video, "mplayer_binary" );
00297 mplayer_binarygroup->setSpacing( 37 );
00298
00299 new QLabel ( "MPlayer Binary:", mplayer_binarygroup );
00300
00301 le_mplayer_binary = new QLineEdit( mplayer_binarygroup );
00302 le_mplayer_binary->setText( configData->getRioMMVMPlayerBinary() );
00303
00304 riommclient_layout_video->addMultiCellWidget( mplayer_binarygroup,
00305 4, 4, 0, 1 );
00306
00307
00308
00309 QHBox * mplayer_embededgroup = new QHBox ( tab_video, "mplayer_embeded" );
00310 mplayer_embededgroup->setSpacing( 17 );
00311
00312 new QLabel ( "MPlayer Embeded:", mplayer_embededgroup );
00313
00314 le_mplayer_embeded = new QLineEdit( mplayer_embededgroup );
00315 le_mplayer_embeded->setText( configData->getRioMMVMPlayerEmbeded() );
00316
00317 riommclient_layout_video->addMultiCellWidget( mplayer_embededgroup,
00318 5, 5, 0, 1 );
00319
00320
00321
00322 QHBox * mplayer_subtitlegroup = new QHBox ( tab_video, "mplayer_subtitle" );
00323 mplayer_subtitlegroup->setSpacing( 30 );
00324
00325 new QLabel ( "MPlayer Subtitle:", mplayer_subtitlegroup );
00326
00327 le_mplayer_subtitle = new QLineEdit( mplayer_subtitlegroup );
00328 le_mplayer_subtitle->setText( configData->getRioMMVMPlayerSubtitle() );
00329
00330 riommclient_layout_video->addMultiCellWidget( mplayer_subtitlegroup,
00331 6, 6, 0, 1 );
00332
00333
00334
00335 QHBox * rioxine_argumentsgroup = new QHBox ( tab_video,
00336 "rioxine_arguments" );
00337 rioxine_argumentsgroup->setSpacing( 9 );
00338
00339 new QLabel ( "RIOxine Arguments:", rioxine_argumentsgroup );
00340
00341 le_rioxine_arguments = new QLineEdit( rioxine_argumentsgroup );
00342 le_rioxine_arguments->setText( configData->getRioMMVRIOxineArguments() );
00343 le_rioxine_arguments->setCursorPosition ( 0 );
00344
00345 riommclient_layout_video->addMultiCellWidget( rioxine_argumentsgroup,
00346 7, 7, 0, 1 );
00347
00348
00349
00350 QHBox * rioxine_binarygroup = new QHBox ( tab_video, "rioxine_binary" );
00351 rioxine_binarygroup->setSpacing( 37 );
00352
00353 new QLabel ( "RIOxine Binary:", rioxine_binarygroup );
00354
00355 le_rioxine_binary = new QLineEdit( rioxine_binarygroup );
00356 le_rioxine_binary->setText( configData->getRioMMVRIOxineBinary() );
00357
00358 riommclient_layout_video->addMultiCellWidget( rioxine_binarygroup,
00359 8, 8, 0, 1 );
00360
00361
00362
00363 QHBox * rioxine_embededgroup = new QHBox ( tab_video, "rioxine_embeded" );
00364 rioxine_embededgroup->setSpacing( 17 );
00365
00366 new QLabel ( "RIOxine Embeded:", rioxine_embededgroup );
00367
00368 le_rioxine_embeded = new QLineEdit( rioxine_embededgroup );
00369 le_rioxine_embeded->setText( configData->getRioMMVRIOxineEmbeded() );
00370
00371 riommclient_layout_video->addMultiCellWidget( rioxine_embededgroup,
00372 9, 9, 0, 1 );
00373
00374
00375 QHBox * rioxine_subtitlegroup = new QHBox ( tab_video, "rioxine_subtitle" );
00376 rioxine_subtitlegroup->setSpacing( 30 );
00377
00378 new QLabel ( "RIOxine Subtitle:", rioxine_subtitlegroup );
00379
00380 le_rioxine_subtitle = new QLineEdit( rioxine_subtitlegroup );
00381 le_rioxine_subtitle->setText( configData->getRioMMVRIOxineSubtitle() );
00382
00383 riommclient_layout_video->addMultiCellWidget( rioxine_subtitlegroup,
00384 10, 10, 0, 1 );
00385
00386
00387
00388
00389
00390 QHBox * browsergroup = new QHBox ( tab_browser, "browser" );
00391 browsergroup->setSpacing( 50 );
00392
00393 new QLabel ( "Browser:", browsergroup );
00394
00395 le_browser = new QLineEdit( browsergroup );
00396 le_browser->setText( configData->getRioMMBBrowser() );
00397
00398 riommclient_layout_browser->addMultiCellWidget( browsergroup, 0, 0, 0, 1 );
00399
00400
00401
00402 QHBox * bversiongroup = new QHBox ( tab_browser, "bversion" );
00403 bversiongroup->setSpacing( 3 );
00404
00405 new QLabel ( "Browser version:", bversiongroup );
00406
00407 le_bversion = new QLineEdit( bversiongroup );
00408 le_bversion->setText( configData->getRioMMBVersion() );
00409 le_bversion->setReadOnly( true );
00410
00411 riommclient_layout_browser->addMultiCellWidget( bversiongroup, 1, 1, 0, 1 );
00412
00413
00414
00415 QHBox * argumentsgroup = new QHBox ( tab_browser, "arguments" );
00416 argumentsgroup->setSpacing( 34 );
00417
00418 new QLabel ( "Arguments:", argumentsgroup );
00419
00420 le_arguments = new QLineEdit( argumentsgroup );
00421 le_arguments->setText( configData->getRioMMBArguments() );
00422
00423 riommclient_layout_browser->addMultiCellWidget( argumentsgroup,
00424 2, 2, 0, 1 );
00425
00426
00427
00428 QHBox * binarygroup = new QHBox ( tab_browser, "binary" );
00429 binarygroup->setSpacing( 62 );
00430
00431 new QLabel ( "Binary:", binarygroup );
00432
00433 le_binary = new QLineEdit( binarygroup );
00434 le_binary->setText( configData->getRioMMBBinary() );
00435
00436 riommclient_layout_browser->addMultiCellWidget( binarygroup, 3, 3, 0, 1 );
00437
00438
00439
00440 QHBox * tversiongroup = new QHBox ( tab_tgif, "tversion" );
00441 tversiongroup->setSpacing( 28 );
00442
00443 new QLabel ( "Tgif version:", tversiongroup );
00444
00445 le_tversion = new QLineEdit( tversiongroup );
00446 le_tversion->setText( configData->getRioMMTVersion() );
00447 le_tversion->setReadOnly( true );
00448
00449 riommclient_layout_tgif->addMultiCellWidget( tversiongroup, 0, 0, 0, 1 );
00450
00451
00452
00453 QHBox * targumentsgroup = new QHBox ( tab_tgif, "targuments" );
00454 targumentsgroup->setSpacing( 34 );
00455
00456 new QLabel ( "Arguments:", targumentsgroup );
00457
00458 le_targuments = new QLineEdit( targumentsgroup );
00459 le_targuments->setText( configData->getRioMMTArguments() );
00460 le_targuments->setCursorPosition ( 0 );
00461
00462 riommclient_layout_tgif->addMultiCellWidget( targumentsgroup,
00463 1, 1, 0, 1 );
00464
00465
00466
00467 QHBox * tbinarygroup = new QHBox ( tab_tgif, "tbinary" );
00468 tbinarygroup->setSpacing( 62 );
00469
00470 new QLabel ( "Binary:", tbinarygroup );
00471
00472 le_tbinary = new QLineEdit( tbinarygroup );
00473 le_tbinary->setText( configData->getRioMMTBinary() );
00474
00475 riommclient_layout_tgif->addMultiCellWidget( tbinarygroup, 2, 2, 0, 1 );
00476
00477
00478 tab_options->addTab( frm_riommclient, tr( "RioMMClient" ) );
00479 }
00480
00481
00482
00483
00484 void ConfigureWindow::initRioshFrame( void )
00485 {
00486 frm_riosh = new QFrame( this, "frm_riosh" );
00487 riosh_layout = new QGridLayout( frm_riosh, 9, 1, 10, 10 );
00488
00489
00490 gb_text_editor = new QGroupBox( 2, Qt::Vertical, "Text Editor Options",
00491 frm_riosh, "gb_text_editor" );
00492
00493 riosh_layout->addMultiCellWidget( gb_text_editor, 0, 0, 0, 0,
00494 Qt::AlignTop);
00495
00496 QHBox * editorgroup = new QHBox ( gb_text_editor, "editor" );
00497 editorgroup->setSpacing( 14 );
00498
00499 new QLabel ( "Text Editor:", editorgroup );
00500
00501 riosh_editor = new QLineEdit( editorgroup );
00502 riosh_editor->setText( configData->getEditor() );
00503
00504
00505 QHBox * argumentgroup = new QHBox ( gb_text_editor, "arguments" );
00506 argumentgroup->setSpacing( 16 );
00507
00508 new QLabel ( "Arguments:", argumentgroup );
00509
00510 riosh_editor_arguments = new QLineEdit( argumentgroup );
00511 riosh_editor_arguments->setText( configData->getEditorArguments() );
00512
00513
00514 gb_monitor_connection = new QGroupBox( 2, Qt::Vertical,
00515 "Monitor Connection Options",
00516 frm_riosh, "gb_monitor_connection" );
00517
00518 riosh_layout->addMultiCellWidget( gb_monitor_connection, 1, 1, 0, 0,
00519 Qt::AlignTop);
00520
00521 QHBox * monitorgroup = new QHBox ( gb_monitor_connection, "monitor" );
00522 editorgroup->setSpacing( 14 );
00523
00524 new QLabel ( "Default Update Interval (miliseconds): ", monitorgroup );
00525
00526 riosh_monitor_connection = new QLineEdit( monitorgroup );
00527 riosh_monitor_connection->setText( QString::number(
00528 configData->getUpIntMonConnection() ) );
00529
00530
00531 cb_show_hidden_files = new QCheckBox( tr( "Show Hidden Files" ),
00532 frm_riosh, "cb_show_hidden_files" );
00533 cb_show_hidden_files->setChecked( configData->getRioshShowHiddenFiles() );
00534
00535 riosh_layout->addMultiCellWidget( cb_show_hidden_files, 2, 2, 0, 0 );
00536
00537 cb_show_md5sum_local = new QCheckBox( tr( "Show Md5sum to Local Files" ),
00538 frm_riosh, "cb_show_md5sum_local" );
00539 cb_show_md5sum_local->setChecked( configData->getRioshShowMd5sumLocal() );
00540
00541 riosh_layout->addMultiCellWidget( cb_show_md5sum_local, 3, 3, 0, 0 );
00542
00543
00544 cb_show_md5sum_RIO = new QCheckBox( tr( "Show Md5sum to RIO Files" ),
00545 frm_riosh, "cb_show_md5sum_RIO" );
00546 cb_show_md5sum_RIO->setChecked( configData->getRioshShowMd5sumRIO() );
00547
00548 riosh_layout->addMultiCellWidget( cb_show_md5sum_RIO, 4, 4, 0, 0 );
00549
00550 QHBox * arrangementgroup = new QHBox ( frm_riosh, "arrangement" );
00551 arrangementgroup->setSpacing( 15 );
00552
00553 new QLabel ( "Default Window Arrangement:", arrangementgroup );
00554
00555 riosh_window_arrangement = new QComboBox( false, arrangementgroup );
00556 riosh_window_arrangement->insertItem( "Tile Horizontally", 0 );
00557 riosh_window_arrangement->insertItem( "Tile Vertically", 1 );
00558 riosh_window_arrangement->insertItem( "Cascade", 2 );
00559 riosh_window_arrangement->setCurrentItem(
00560 configData->getRioshWindowArrangement() );
00561
00562 riosh_layout->addMultiCellWidget( arrangementgroup, 5, 5, 0, 0,
00563 Qt::AlignTop);
00564
00565
00566 tab_options->addTab( frm_riosh, tr( "Riosh" ) );
00567
00568 frm_riosh->setHidden( true );
00569 }
00570
00571
00572
00573
00574 void ConfigureWindow::submit( void )
00575 {
00576
00577 apply();
00578 }
00579
00580
00581
00582
00583 void ConfigureWindow::apply( void )
00584 {
00585
00586 configData->setEditor( riosh_editor->text() );
00587 configData->setEditorArguments( riosh_editor_arguments->text() );
00588 configData->setRioshShowHiddenFiles( cb_show_hidden_files->isChecked() );
00589 configData->setRioshShowMd5sumLocal( cb_show_md5sum_local->isChecked() );
00590 configData->setRioshShowMd5sumRIO( cb_show_md5sum_RIO->isChecked() );
00591 configData->setRioshWindowArrangement(
00592 riosh_window_arrangement->currentItem() );
00593
00594 bool ConvOk;
00595 int UpIntMonConnection;
00596 UpIntMonConnection = riosh_monitor_connection->text().toInt( &ConvOk );
00597 if( ConvOk )
00598 configData->setUpIntMonConnection( UpIntMonConnection );
00599 else
00600 QMessageBox::warning( this, "Erro",
00601 "Valor invalido da opcao Update Interval ignorado",
00602 QMessageBox::Ok, QMessageBox::NoButton );
00603
00604
00605 configData->setRioMMBuffers( sb_buffers->value() );
00606 configData->setRioMMMainWindow( sb_main_window->value() );
00607 configData->setRioMMPluginPort( sb_plugin_port->value() );
00608 configData->setRioMMTgifWindow( sb_tgif_window->value() );
00609 configData->setRioMMVideoWindow( sb_video_window->value() );
00610 configData->setRioMMSync( cb_sync->isChecked() );
00611 configData->setRioMMUseCache( cb_use_cache->isChecked() );
00612 configData->setRioMMUsePlugins( cb_use_plugins->isChecked() );
00613 configData->setRioMMUser( le_user->text() );
00614 configData->setRioMMVersion( le_version->text() );
00615 configData->setRioMMPIHost( le_pihost->text() );
00616
00617
00618 configData->setRioMMVMakelog( cb_makelog->isChecked() );
00619 configData->setRioMMVPlayer( le_vplayer->text() );
00620 configData->setRioMMVVersion( le_vversion->text() );
00621 configData->setRioMMVMPlayerArguments( le_mplayer_arguments->text() );
00622 configData->setRioMMVMPlayerBinary( le_mplayer_binary->text() );
00623 configData->setRioMMVMPlayerEmbeded( le_mplayer_embeded->text() );
00624 configData->setRioMMVMPlayerSubtitle( le_mplayer_subtitle->text() );
00625 configData->setRioMMVRIOxineArguments( le_rioxine_arguments->text() );
00626 configData->setRioMMVRIOxineBinary( le_rioxine_binary->text() );
00627 configData->setRioMMVRIOxineEmbeded( le_rioxine_embeded->text() );
00628 configData->setRioMMVRIOxineSubtitle( le_rioxine_subtitle->text() );
00629
00630
00631 configData->setRioMMTVersion( le_tversion->text() );
00632 configData->setRioMMTArguments( le_targuments->text() );
00633 configData->setRioMMTBinary( le_tbinary->text() );
00634
00635
00636 configData->setRioMMBBrowser( le_browser->text() );
00637 configData->setRioMMBVersion( le_bversion->text() );
00638 configData->setRioMMBArguments( le_arguments->text() );
00639 configData->setRioMMBBinary( le_binary->text() );
00640
00641
00642 configData->writeSettings();
00643 accept();
00644 }
00645
00646
00647
00648
00649 bool ConfigureWindow::isFormOk()
00650 {
00651
00652 return true;
00653 }