1
/****************************************************************************
2
** Form implementation generated from reading ui file 'totuningsettingui.ui'
4
** Created: Mon Feb 20 12:46:42 2006
5
** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.4 edited Nov 24 2003 $)
7
** WARNING! All changes made in this file will be lost!
8
****************************************************************************/
10
#include "totuningsettingui.h"
13
#include <qpushbutton.h>
14
#include <qgroupbox.h>
16
#include <qlistview.h>
20
#include <qwhatsthis.h>
23
* Constructs a toTuningSettingUI as a child of 'parent', with the
24
* name 'name' and widget flags set to 'f'.
26
toTuningSettingUI::toTuningSettingUI( QWidget* parent, const char* name, WFlags fl )
27
: QWidget( parent, name, fl )
30
setName( "toTuningSettingUI" );
31
toTuningSettingUILayout = new QGridLayout( this, 1, 1, 0, 6, "toTuningSettingUILayout");
33
ServerTuning = new QGroupBox( this, "ServerTuning" );
34
ServerTuning->setColumnLayout(0, Qt::Vertical );
35
ServerTuning->layout()->setSpacing( 6 );
36
ServerTuning->layout()->setMargin( 11 );
37
ServerTuningLayout = new QGridLayout( ServerTuning->layout() );
38
ServerTuningLayout->setAlignment( Qt::AlignTop );
40
EnabledTabs = new QListView( ServerTuning, "EnabledTabs" );
41
EnabledTabs->addColumn( tr( "Available tabs" ) );
42
EnabledTabs->setSelectionMode( QListView::Multi );
44
ServerTuningLayout->addWidget( EnabledTabs, 1, 0 );
46
TextLabel1 = new QLabel( ServerTuning, "TextLabel1" );
48
ServerTuningLayout->addWidget( TextLabel1, 0, 0 );
50
toTuningSettingUILayout->addWidget( ServerTuning, 0, 0 );
52
resize( QSize(588, 480).expandedTo(minimumSizeHint()) );
53
clearWState( WState_Polished );
56
TextLabel1->setBuddy( EnabledTabs );
60
* Destroys the object and frees any allocated resources
62
toTuningSettingUI::~toTuningSettingUI()
64
// no need to delete child widgets, Qt does it all for us
68
* Sets the strings of the subwidgets using the current
71
void toTuningSettingUI::languageChange()
73
setCaption( tr( "Form1" ) );
74
ServerTuning->setTitle( tr( "Server tuning" ) );
75
EnabledTabs->header()->setLabel( 0, tr( "Available tabs" ) );
76
TextLabel1->setText( tr( "&Enabled background views" ) );
77
QToolTip::add( TextLabel1, tr( "Select which views collect data in the background that should be run." ) );