1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
|
/****************************************************************************
** Form implementation generated from reading ui file 'tostorageprefsui.ui'
**
** Created by: The User Interface Compiler ($Id: qt/main.cpp 3.3.6 edited Aug 31 2005 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#include "tostorageprefsui.h"
#include <qvariant.h>
#include <qpushbutton.h>
#include <qbuttongroup.h>
#include <qcheckbox.h>
#include <qlayout.h>
#include <qtooltip.h>
#include <qwhatsthis.h>
/*
* Constructs a toStoragePrefsUI as a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*/
toStoragePrefsUI::toStoragePrefsUI( QWidget* parent, const char* name, WFlags fl )
: QWidget( parent, name, fl )
{
if ( !name )
setName( "toStoragePrefsUI" );
toStoragePrefsUILayout = new QGridLayout( this, 1, 1, 11, 6, "toStoragePrefsUILayout");
ButtonGroup1 = new QButtonGroup( this, "ButtonGroup1" );
ButtonGroup1->setColumnLayout(0, Qt::Vertical );
ButtonGroup1->layout()->setSpacing( 6 );
ButtonGroup1->layout()->setMargin( 11 );
ButtonGroup1Layout = new QGridLayout( ButtonGroup1->layout() );
ButtonGroup1Layout->setAlignment( Qt::AlignTop );
DispCoalesced = new QCheckBox( ButtonGroup1, "DispCoalesced" );
ButtonGroup1Layout->addWidget( DispCoalesced, 0, 0 );
DispExtents = new QCheckBox( ButtonGroup1, "DispExtents" );
ButtonGroup1Layout->addWidget( DispExtents, 1, 0 );
DispTablespaces = new QCheckBox( ButtonGroup1, "DispTablespaces" );
ButtonGroup1Layout->addWidget( DispTablespaces, 2, 0 );
Spacer1 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
ButtonGroup1Layout->addItem( Spacer1, 4, 0 );
DispAvailableGraph = new QCheckBox( ButtonGroup1, "DispAvailableGraph" );
ButtonGroup1Layout->addWidget( DispAvailableGraph, 3, 0 );
toStoragePrefsUILayout->addWidget( ButtonGroup1, 0, 0 );
languageChange();
resize( QSize(588, 480).expandedTo(minimumSizeHint()) );
clearWState( WState_Polished );
}
/*
* Destroys the object and frees any allocated resources
*/
toStoragePrefsUI::~toStoragePrefsUI()
{
// no need to delete child widgets, Qt does it all for us
}
/*
* Sets the strings of the subwidgets using the current
* language.
*/
void toStoragePrefsUI::languageChange()
{
setCaption( tr( "Form1" ) );
ButtonGroup1->setTitle( tr( "Storage Manager" ) );
DispCoalesced->setText( tr( "&Display coalesced column" ) );
DispExtents->setText( tr( "Display object &extents" ) );
QToolTip::add( DispExtents, tr( "Display object and extent list on startup." ) );
DispTablespaces->setText( tr( "Display tablespaces or just datafiles." ) );
QToolTip::add( DispTablespaces, tr( "Display tablespaces or just datafiles." ) );
DispAvailableGraph->setText( tr( "Display graph of autoextend information instead of just free space." ) );
}
|