/****************************************************************************
** Form implementation generated from reading ui file 'tostorageprefsui.ui'
**
** Created: Tue Sep 18 08:21:25 2007
**      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.8   edited Jan 11 14:47 $)
**
** 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." ) );
}

