/****************************************************************************
** Form implementation generated from reading ui file 'sqlformwizard.ui'
**
** Created by: The TQt user interface compiler (TQt 3.5.0)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#include "sqlformwizard.h"

#include <ntqvariant.h>
#include <ntqpushbutton.h>
#include <ntqwidget.h>
#include <ntqlabel.h>
#include <ntqlistbox.h>
#include <ntqcheckbox.h>
#include <ntqgroupbox.h>
#include <ntqmultilineedit.h>
#include <ntqbuttongroup.h>
#include <ntqradiobutton.h>
#include <ntqspinbox.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>
#include <ntqimage.h>
#include <ntqpixmap.h>

/*
 *  Constructs a SqlFormWizardBase as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 *
 *  The qwizard will by default be modeless, unless you set 'modal' to
 *  true to construct a modal qwizard.
 */
SqlFormWizardBase::SqlFormWizardBase( TQWidget* parent, const char* name, bool modal, WFlags fl )
    : TQWizard( parent, name, modal, fl )
{
    if ( !name )
	setName( "SqlFormWizardBase" );
    setIcon( TQPixmap::fromMimeSource( "" ) );

    databasePage = new TQWidget( this, "databasePage" );
    databasePageLayout = new TQHBoxLayout( databasePage, 0, 6, "databasePageLayout"); 

    TextLabel4 = new TQLabel( databasePage, "TextLabel4" );
    TextLabel4->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)7, 0, 0, TextLabel4->sizePolicy().hasHeightForWidth() ) );
    TextLabel4->setPixmap( TQPixmap::fromMimeSource( "qtwizards_table_1.png" ) );
    databasePageLayout->addWidget( TextLabel4 );

    Layout5 = new TQGridLayout( 0, 1, 1, 0, 6, "Layout5"); 

    TextLabel3_2 = new TQLabel( databasePage, "TextLabel3_2" );

    Layout5->addWidget( TextLabel3_2, 1, 1 );

    Layout4 = new TQHBoxLayout( 0, 0, 6, "Layout4"); 

    PushButton5 = new TQPushButton( databasePage, "PushButton5" );
    Layout4->addWidget( PushButton5 );
    Spacer1_2 = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    Layout4->addItem( Spacer1_2 );

    Layout5->addMultiCellLayout( Layout4, 4, 4, 0, 1 );

    TextLabel3_3 = new TQLabel( databasePage, "TextLabel3_3" );

    Layout5->addWidget( TextLabel3_3, 1, 0 );

    listBoxTable = new TQListBox( databasePage, "listBoxTable" );

    Layout5->addWidget( listBoxTable, 2, 1 );

    listBoxConnection = new TQListBox( databasePage, "listBoxConnection" );

    Layout5->addWidget( listBoxConnection, 2, 0 );
    databasePageLayout->addLayout( Layout5 );
    addPage( databasePage, TQString("") );

    populatePage = new TQWidget( this, "populatePage" );
    populatePageLayout = new TQGridLayout( populatePage, 1, 1, 0, 6, "populatePageLayout"); 

    TextLabel4_2 = new TQLabel( populatePage, "TextLabel4_2" );
    TextLabel4_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)7, 0, 0, TextLabel4_2->sizePolicy().hasHeightForWidth() ) );
    TextLabel4_2->setPixmap( TQPixmap::fromMimeSource( "qtwizards_table_2.png" ) );

    populatePageLayout->addMultiCellWidget( TextLabel4_2, 0, 1, 0, 0 );

    Layout11 = new TQGridLayout( 0, 1, 1, 0, 6, "Layout11"); 
    Spacer1_10 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    Layout11->addItem( Spacer1_10, 4, 1 );

    buttonAddField_2 = new TQPushButton( populatePage, "buttonAddField_2" );
    buttonAddField_2->setPixmap( TQPixmap::fromMimeSource( "designer_right.png" ) );

    Layout11->addWidget( buttonAddField_2, 2, 1 );

    buttonRemoveField_2 = new TQPushButton( populatePage, "buttonRemoveField_2" );
    buttonRemoveField_2->setPixmap( TQPixmap::fromMimeSource( "designer_left.png" ) );

    Layout11->addWidget( buttonRemoveField_2, 3, 1 );
    Spacer2_5 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    Layout11->addItem( Spacer2_5, 1, 1 );

    buttonFieldUp_2 = new TQPushButton( populatePage, "buttonFieldUp_2" );
    buttonFieldUp_2->setPixmap( TQPixmap::fromMimeSource( "designer_up.png" ) );

    Layout11->addWidget( buttonFieldUp_2, 5, 1 );
    Spacer3_3 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    Layout11->addItem( Spacer3_3, 7, 1 );

    listBoxField = new TQListBox( populatePage, "listBoxField" );

    Layout11->addMultiCellWidget( listBoxField, 1, 7, 0, 0 );

    buttonFieldDown_2 = new TQPushButton( populatePage, "buttonFieldDown_2" );
    buttonFieldDown_2->setPixmap( TQPixmap::fromMimeSource( "designer_down.png" ) );

    Layout11->addWidget( buttonFieldDown_2, 6, 1 );

    listBoxSelectedField = new TQListBox( populatePage, "listBoxSelectedField" );

    Layout11->addMultiCellWidget( listBoxSelectedField, 1, 7, 2, 2 );

    TextLabel2_3 = new TQLabel( populatePage, "TextLabel2_3" );

    Layout11->addWidget( TextLabel2_3, 0, 2 );

    TextLabel1_7 = new TQLabel( populatePage, "TextLabel1_7" );

    Layout11->addWidget( TextLabel1_7, 0, 0 );

    populatePageLayout->addLayout( Layout11, 1, 1 );
    addPage( populatePage, TQString("") );

    navigPage = new TQWidget( this, "navigPage" );
    navigPageLayout = new TQHBoxLayout( navigPage, 0, 6, "navigPageLayout"); 

    TextLabel4_2_2 = new TQLabel( navigPage, "TextLabel4_2_2" );
    TextLabel4_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)7, 0, 0, TextLabel4_2_2->sizePolicy().hasHeightForWidth() ) );
    TextLabel4_2_2->setPixmap( TQPixmap::fromMimeSource( "qtwizards_table_3.png" ) );
    navigPageLayout->addWidget( TextLabel4_2_2 );

    Layout6 = new TQVBoxLayout( 0, 0, 6, "Layout6"); 

    checkBoxNavig = new TQCheckBox( navigPage, "checkBoxNavig" );
    checkBoxNavig->setChecked( true );
    Layout6->addWidget( checkBoxNavig );

    GroupBox2 = new TQGroupBox( navigPage, "GroupBox2" );
    GroupBox2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)7, 0, 0, GroupBox2->sizePolicy().hasHeightForWidth() ) );
    GroupBox2->setColumnLayout(0, TQt::Vertical );
    GroupBox2->layout()->setSpacing( 6 );
    GroupBox2->layout()->setMargin( 11 );
    GroupBox2Layout = new TQGridLayout( GroupBox2->layout() );
    GroupBox2Layout->setAlignment( TQt::AlignTop );

    checkBoxPrev = new TQCheckBox( GroupBox2, "checkBoxPrev" );
    checkBoxPrev->setChecked( true );

    GroupBox2Layout->addWidget( checkBoxPrev, 0, 0 );

    checkBoxNext = new TQCheckBox( GroupBox2, "checkBoxNext" );
    checkBoxNext->setChecked( true );

    GroupBox2Layout->addWidget( checkBoxNext, 1, 0 );

    checkBoxFirst = new TQCheckBox( GroupBox2, "checkBoxFirst" );
    checkBoxFirst->setChecked( true );

    GroupBox2Layout->addWidget( checkBoxFirst, 0, 1 );

    checkBoxLast = new TQCheckBox( GroupBox2, "checkBoxLast" );
    checkBoxLast->setChecked( true );

    GroupBox2Layout->addWidget( checkBoxLast, 1, 1 );
    Layout6->addWidget( GroupBox2 );

    checkBoxEdit = new TQCheckBox( navigPage, "checkBoxEdit" );
    checkBoxEdit->setChecked( true );
    Layout6->addWidget( checkBoxEdit );

    GroupBox3 = new TQGroupBox( navigPage, "GroupBox3" );
    GroupBox3->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)7, 0, 0, GroupBox3->sizePolicy().hasHeightForWidth() ) );
    GroupBox3->setColumnLayout(0, TQt::Vertical );
    GroupBox3->layout()->setSpacing( 6 );
    GroupBox3->layout()->setMargin( 11 );
    GroupBox3Layout = new TQGridLayout( GroupBox3->layout() );
    GroupBox3Layout->setAlignment( TQt::AlignTop );

    checkBoxInsert = new TQCheckBox( GroupBox3, "checkBoxInsert" );
    checkBoxInsert->setChecked( true );

    GroupBox3Layout->addWidget( checkBoxInsert, 0, 0 );

    checkBoxUpdate = new TQCheckBox( GroupBox3, "checkBoxUpdate" );
    checkBoxUpdate->setChecked( true );

    GroupBox3Layout->addWidget( checkBoxUpdate, 1, 0 );

    checkBoxDelete = new TQCheckBox( GroupBox3, "checkBoxDelete" );
    checkBoxDelete->setChecked( true );

    GroupBox3Layout->addWidget( checkBoxDelete, 0, 1 );
    Layout6->addWidget( GroupBox3 );
    Spacer1_3 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    Layout6->addItem( Spacer1_3 );
    navigPageLayout->addLayout( Layout6 );
    addPage( navigPage, TQString("") );

    tablePropertiesPage = new TQWidget( this, "tablePropertiesPage" );
    tablePropertiesPageLayout = new TQGridLayout( tablePropertiesPage, 1, 1, 0, 6, "tablePropertiesPageLayout"); 

    TextLabel4_2_2_2_2 = new TQLabel( tablePropertiesPage, "TextLabel4_2_2_2_2" );
    TextLabel4_2_2_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)7, 0, 0, TextLabel4_2_2_2_2->sizePolicy().hasHeightForWidth() ) );
    TextLabel4_2_2_2_2->setPixmap( TQPixmap::fromMimeSource( "qtwizards_table_4.png" ) );

    tablePropertiesPageLayout->addMultiCellWidget( TextLabel4_2_2_2_2, 0, 3, 0, 0 );
    Spacer1_7 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    tablePropertiesPageLayout->addItem( Spacer1_7, 3, 1 );

    GroupBox5 = new TQGroupBox( tablePropertiesPage, "GroupBox5" );
    GroupBox5->setColumnLayout(0, TQt::Vertical );
    GroupBox5->layout()->setSpacing( 6 );
    GroupBox5->layout()->setMargin( 11 );
    GroupBox5Layout = new TQVBoxLayout( GroupBox5->layout() );
    GroupBox5Layout->setAlignment( TQt::AlignTop );

    checkBoxReadOnly = new TQCheckBox( GroupBox5, "checkBoxReadOnly" );
    GroupBox5Layout->addWidget( checkBoxReadOnly );

    GroupBox4 = new TQGroupBox( GroupBox5, "GroupBox4" );
    GroupBox4->setColumnLayout(0, TQt::Vertical );
    GroupBox4->layout()->setSpacing( 6 );
    GroupBox4->layout()->setMargin( 11 );
    GroupBox4Layout = new TQGridLayout( GroupBox4->layout() );
    GroupBox4Layout->setAlignment( TQt::AlignTop );

    checkBoxConfirmInserts = new TQCheckBox( GroupBox4, "checkBoxConfirmInserts" );

    GroupBox4Layout->addWidget( checkBoxConfirmInserts, 0, 0 );

    checkBoxConfirmUpdates = new TQCheckBox( GroupBox4, "checkBoxConfirmUpdates" );

    GroupBox4Layout->addWidget( checkBoxConfirmUpdates, 1, 0 );

    checkBoxConfirmCancels = new TQCheckBox( GroupBox4, "checkBoxConfirmCancels" );

    GroupBox4Layout->addWidget( checkBoxConfirmCancels, 3, 0 );

    checkBoxConfirmDeletes = new TQCheckBox( GroupBox4, "checkBoxConfirmDeletes" );
    checkBoxConfirmDeletes->setChecked( true );

    GroupBox4Layout->addWidget( checkBoxConfirmDeletes, 2, 0 );
    GroupBox5Layout->addWidget( GroupBox4 );

    tablePropertiesPageLayout->addWidget( GroupBox5, 1, 1 );

    checkBoxSorting = new TQCheckBox( tablePropertiesPage, "checkBoxSorting" );
    checkBoxSorting->setChecked( true );

    tablePropertiesPageLayout->addWidget( checkBoxSorting, 2, 1 );
    addPage( tablePropertiesPage, TQString("") );

    sqlPage = new TQWidget( this, "sqlPage" );
    sqlPageLayout = new TQGridLayout( sqlPage, 1, 1, 0, 6, "sqlPageLayout"); 

    TextLabel4_2_2_2 = new TQLabel( sqlPage, "TextLabel4_2_2_2" );
    TextLabel4_2_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)7, 0, 0, TextLabel4_2_2_2->sizePolicy().hasHeightForWidth() ) );
    TextLabel4_2_2_2->setPixmap( TQPixmap::fromMimeSource( "qtwizards_table_2.png" ) );

    sqlPageLayout->addMultiCellWidget( TextLabel4_2_2_2, 0, 1, 0, 0 );

    Layout8 = new TQVBoxLayout( 0, 0, 6, "Layout8"); 

    TextLabel3_2_2_2 = new TQLabel( sqlPage, "TextLabel3_2_2_2" );
    Layout8->addWidget( TextLabel3_2_2_2 );
    Spacer1_5 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    Layout8->addItem( Spacer1_5 );

    sqlPageLayout->addLayout( Layout8, 1, 1 );

    Layout10 = new TQVBoxLayout( 0, 0, 6, "Layout10"); 

    TextLabel3_2_2 = new TQLabel( sqlPage, "TextLabel3_2_2" );
    Layout10->addWidget( TextLabel3_2_2 );
    Spacer1_4 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    Layout10->addItem( Spacer1_4 );

    sqlPageLayout->addLayout( Layout10, 0, 1 );

    Layout13 = new TQVBoxLayout( 0, 0, 6, "Layout13"); 

    TextLabel1_3 = new TQLabel( sqlPage, "TextLabel1_3" );
    Layout13->addWidget( TextLabel1_3 );

    editFilter = new TQMultiLineEdit( sqlPage, "editFilter" );
    Layout13->addWidget( editFilter );

    sqlPageLayout->addMultiCellLayout( Layout13, 0, 0, 2, 4 );

    Layout10_2 = new TQVBoxLayout( 0, 0, 6, "Layout10_2"); 

    TextLabel2 = new TQLabel( sqlPage, "TextLabel2" );
    Layout10_2->addWidget( TextLabel2 );

    listBoxSortedField = new TQListBox( sqlPage, "listBoxSortedField" );
    Layout10_2->addWidget( listBoxSortedField );

    sqlPageLayout->addLayout( Layout10_2, 1, 4 );

    Layout11_2 = new TQVBoxLayout( 0, 0, 6, "Layout11_2"); 
    Spacer2_2 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    Layout11_2->addItem( Spacer2_2 );

    buttonAddSortField = new TQPushButton( sqlPage, "buttonAddSortField" );
    buttonAddSortField->setPixmap( TQPixmap::fromMimeSource( "designer_right.png" ) );
    Layout11_2->addWidget( buttonAddSortField );

    buttonRemoveSortField = new TQPushButton( sqlPage, "buttonRemoveSortField" );
    buttonRemoveSortField->setPixmap( TQPixmap::fromMimeSource( "designer_left.png" ) );
    Layout11_2->addWidget( buttonRemoveSortField );
    Spacer1_6 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    Layout11_2->addItem( Spacer1_6 );

    buttonUpSortField = new TQPushButton( sqlPage, "buttonUpSortField" );
    buttonUpSortField->setPixmap( TQPixmap::fromMimeSource( "designer_up.png" ) );
    Layout11_2->addWidget( buttonUpSortField );

    buttonDownSortField = new TQPushButton( sqlPage, "buttonDownSortField" );
    buttonDownSortField->setPixmap( TQPixmap::fromMimeSource( "designer_down.png" ) );
    Layout11_2->addWidget( buttonDownSortField );
    Spacer2_3 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    Layout11_2->addItem( Spacer2_3 );

    buttonReSortField = new TQPushButton( sqlPage, "buttonReSortField" );
    buttonReSortField->setPixmap( TQPixmap::fromMimeSource( "re-sort.png" ) );
    Layout11_2->addWidget( buttonReSortField );

    sqlPageLayout->addLayout( Layout11_2, 1, 3 );

    Layout12 = new TQVBoxLayout( 0, 0, 6, "Layout12"); 

    TextLabel1_4 = new TQLabel( sqlPage, "TextLabel1_4" );
    Layout12->addWidget( TextLabel1_4 );

    listBoxSortField = new TQListBox( sqlPage, "listBoxSortField" );
    Layout12->addWidget( listBoxSortField );

    sqlPageLayout->addLayout( Layout12, 1, 2 );
    addPage( sqlPage, TQString("") );

    layoutPage = new TQWidget( this, "layoutPage" );
    layoutPageLayout = new TQGridLayout( layoutPage, 1, 1, 0, 6, "layoutPageLayout"); 

    TextLabel4_2_2_2_3_2 = new TQLabel( layoutPage, "TextLabel4_2_2_2_3_2" );
    TextLabel4_2_2_2_3_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)7, 0, 0, TextLabel4_2_2_2_3_2->sizePolicy().hasHeightForWidth() ) );
    TextLabel4_2_2_2_3_2->setPixmap( TQPixmap::fromMimeSource( "qtwizards_table_3.png" ) );

    layoutPageLayout->addMultiCellWidget( TextLabel4_2_2_2_3_2, 0, 5, 0, 0 );
    Spacer1_9 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    layoutPageLayout->addItem( Spacer1_9, 5, 5 );

    ButtonGroup1 = new TQButtonGroup( layoutPage, "ButtonGroup1" );
    ButtonGroup1->setColumnLayout(0, TQt::Vertical );
    ButtonGroup1->layout()->setSpacing( 6 );
    ButtonGroup1->layout()->setMargin( 11 );
    ButtonGroup1Layout = new TQGridLayout( ButtonGroup1->layout() );
    ButtonGroup1Layout->setAlignment( TQt::AlignTop );

    radioLabelsLeft = new TQRadioButton( ButtonGroup1, "radioLabelsLeft" );
    radioLabelsLeft->setEnabled( true );
    radioLabelsLeft->setChecked( true );

    ButtonGroup1Layout->addMultiCellWidget( radioLabelsLeft, 0, 0, 0, 1 );

    TextLabel3 = new TQLabel( ButtonGroup1, "TextLabel3" );
    TextLabel3->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)1, 0, 0, TextLabel3->sizePolicy().hasHeightForWidth() ) );

    ButtonGroup1Layout->addWidget( TextLabel3, 3, 1 );

    TextLabel2_2 = new TQLabel( ButtonGroup1, "TextLabel2_2" );
    TextLabel2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)1, 0, 0, TextLabel2_2->sizePolicy().hasHeightForWidth() ) );

    ButtonGroup1Layout->addWidget( TextLabel2_2, 1, 1 );
    Spacer4 = new TQSpacerItem( 20, 20, TQSizePolicy::Maximum, TQSizePolicy::Minimum );
    ButtonGroup1Layout->addItem( Spacer4, 1, 0 );
    Spacer5 = new TQSpacerItem( 16, 20, TQSizePolicy::Maximum, TQSizePolicy::Minimum );
    ButtonGroup1Layout->addItem( Spacer5, 3, 0 );

    radioLabelsTop = new TQRadioButton( ButtonGroup1, "radioLabelsTop" );

    ButtonGroup1Layout->addMultiCellWidget( radioLabelsTop, 2, 2, 0, 1 );

    layoutPageLayout->addMultiCellWidget( ButtonGroup1, 1, 1, 1, 5 );

    checkCreateLayouts = new TQCheckBox( layoutPage, "checkCreateLayouts" );
    checkCreateLayouts->setChecked( true );

    layoutPageLayout->addMultiCellWidget( checkCreateLayouts, 4, 4, 1, 2 );

    checkCreateButtonLayout = new TQCheckBox( layoutPage, "checkCreateButtonLayout" );
    checkCreateButtonLayout->setChecked( true );

    layoutPageLayout->addMultiCellWidget( checkCreateButtonLayout, 3, 3, 1, 2 );

    checkCreateFieldLayout = new TQCheckBox( layoutPage, "checkCreateFieldLayout" );
    checkCreateFieldLayout->setChecked( true );

    layoutPageLayout->addMultiCellWidget( checkCreateFieldLayout, 2, 2, 1, 4 );

    spinNumberOfColumns = new TQSpinBox( layoutPage, "spinNumberOfColumns" );
    spinNumberOfColumns->setMaxValue( 20 );
    spinNumberOfColumns->setValue( 2 );

    layoutPageLayout->addWidget( spinNumberOfColumns, 0, 2 );

    TextLabel1_6 = new TQLabel( layoutPage, "TextLabel1_6" );

    layoutPageLayout->addWidget( TextLabel1_6, 0, 1 );
    Spacer3_2 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    layoutPageLayout->addItem( Spacer3_2, 0, 3 );
    addPage( layoutPage, TQString("") );

    finishPage = new TQWidget( this, "finishPage" );
    finishPageLayout = new TQGridLayout( finishPage, 1, 1, 0, 6, "finishPageLayout"); 

    TextLabel4_2_2_2_3 = new TQLabel( finishPage, "TextLabel4_2_2_2_3" );
    TextLabel4_2_2_2_3->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)7, 0, 0, TextLabel4_2_2_2_3->sizePolicy().hasHeightForWidth() ) );
    TextLabel4_2_2_2_3->setPixmap( TQPixmap::fromMimeSource( "qtwizards_table_1.png" ) );

    finishPageLayout->addMultiCellWidget( TextLabel4_2_2_2_3, 0, 4, 0, 0 );

    TextLabel1_5 = new TQLabel( finishPage, "TextLabel1_5" );

    finishPageLayout->addMultiCellWidget( TextLabel1_5, 3, 3, 1, 3 );
    Spacer2_4 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    finishPageLayout->addItem( Spacer2_4, 4, 3 );
    Spacer1 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    finishPageLayout->addMultiCell( Spacer1, 2, 2, 2, 3 );
    Spacer2 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    finishPageLayout->addItem( Spacer2, 0, 2 );

    checkBoxAutoEdit = new TQCheckBox( finishPage, "checkBoxAutoEdit" );

    finishPageLayout->addWidget( checkBoxAutoEdit, 1, 1 );
    addPage( finishPage, TQString("") );
    languageChange();
    resize( TQSize(577, 570).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( PushButton5, TQ_SIGNAL( clicked() ), this, TQ_SLOT( setupDatabaseConnections() ) );
    connect( checkBoxNavig, TQ_SIGNAL( toggled(bool) ), GroupBox2, TQ_SLOT( setEnabled(bool) ) );
    connect( checkBoxEdit, TQ_SIGNAL( toggled(bool) ), GroupBox3, TQ_SLOT( setEnabled(bool) ) );
    connect( buttonReSortField, TQ_SIGNAL( clicked() ), this, TQ_SLOT( reSortSortField() ) );
    connect( buttonRemoveSortField, TQ_SIGNAL( clicked() ), this, TQ_SLOT( removeSortField() ) );
    connect( buttonAddSortField, TQ_SIGNAL( clicked() ), this, TQ_SLOT( addSortField() ) );
    connect( buttonUpSortField, TQ_SIGNAL( clicked() ), this, TQ_SLOT( sortFieldUp() ) );
    connect( buttonDownSortField, TQ_SIGNAL( clicked() ), this, TQ_SLOT( sortFieldDown() ) );
    connect( listBoxSortField, TQ_SIGNAL( doubleClicked(TQListBoxItem*) ), this, TQ_SLOT( addSortField() ) );
    connect( listBoxSortedField, TQ_SIGNAL( doubleClicked(TQListBoxItem*) ), this, TQ_SLOT( removeSortField() ) );
    connect( listBoxSortedField, TQ_SIGNAL( rightButtonClicked(TQListBoxItem*,const TQPoint&) ), this, TQ_SLOT( reSortSortField() ) );
    connect( checkBoxReadOnly, TQ_SIGNAL( toggled(bool) ), GroupBox4, TQ_SLOT( setDisabled(bool) ) );
    connect( listBoxConnection, TQ_SIGNAL( highlighted(const TQString&) ), this, TQ_SLOT( connectionSelected(const TQString&) ) );
    connect( listBoxTable, TQ_SIGNAL( highlighted(const TQString&) ), this, TQ_SLOT( tableSelected(const TQString&) ) );
    connect( buttonAddField_2, TQ_SIGNAL( released() ), this, TQ_SLOT( addField() ) );
    connect( buttonRemoveField_2, TQ_SIGNAL( clicked() ), this, TQ_SLOT( removeField() ) );
    connect( buttonFieldUp_2, TQ_SIGNAL( clicked() ), this, TQ_SLOT( fieldUp() ) );
    connect( buttonFieldDown_2, TQ_SIGNAL( clicked() ), this, TQ_SLOT( fieldDown() ) );

    // tab order
    setTabOrder( PushButton5, listBoxConnection );
    setTabOrder( listBoxConnection, listBoxTable );
    setTabOrder( listBoxTable, checkBoxNavig );
    setTabOrder( checkBoxNavig, checkBoxPrev );
    setTabOrder( checkBoxPrev, checkBoxNext );
    setTabOrder( checkBoxNext, checkBoxFirst );
    setTabOrder( checkBoxFirst, checkBoxLast );
    setTabOrder( checkBoxLast, checkBoxEdit );
    setTabOrder( checkBoxEdit, checkBoxInsert );
    setTabOrder( checkBoxInsert, checkBoxUpdate );
    setTabOrder( checkBoxUpdate, checkBoxDelete );
    setTabOrder( checkBoxDelete, checkBoxReadOnly );
    setTabOrder( checkBoxReadOnly, checkBoxConfirmInserts );
    setTabOrder( checkBoxConfirmInserts, checkBoxConfirmUpdates );
    setTabOrder( checkBoxConfirmUpdates, checkBoxConfirmDeletes );
    setTabOrder( checkBoxConfirmDeletes, checkBoxConfirmCancels );
    setTabOrder( checkBoxConfirmCancels, checkBoxSorting );
    setTabOrder( checkBoxSorting, editFilter );
    setTabOrder( editFilter, listBoxSortField );
    setTabOrder( listBoxSortField, buttonAddSortField );
    setTabOrder( buttonAddSortField, buttonRemoveSortField );
    setTabOrder( buttonRemoveSortField, buttonUpSortField );
    setTabOrder( buttonUpSortField, buttonDownSortField );
    setTabOrder( buttonDownSortField, buttonReSortField );
    setTabOrder( buttonReSortField, listBoxSortedField );
    setTabOrder( listBoxSortedField, spinNumberOfColumns );
    setTabOrder( spinNumberOfColumns, radioLabelsLeft );
    setTabOrder( radioLabelsLeft, radioLabelsTop );
    setTabOrder( radioLabelsTop, checkCreateFieldLayout );
    setTabOrder( checkCreateFieldLayout, checkCreateButtonLayout );
    setTabOrder( checkCreateButtonLayout, checkCreateLayouts );

    // buddies
    TextLabel3_2->setBuddy( listBoxTable );
    TextLabel3_3->setBuddy( listBoxConnection );
    TextLabel3_2_2_2->setBuddy( listBoxTable );
    TextLabel3_2_2->setBuddy( listBoxTable );
    init();
}

/*
 *  Destroys the object and frees any allocated resources
 */
SqlFormWizardBase::~SqlFormWizardBase()
{
    destroy();
    // no need to delete child widgets, TQt does it all for us
}

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void SqlFormWizardBase::languageChange()
{
    setCaption( tr( "Sql Wizard" ) );
    TextLabel4->setText( TQString::null );
    TextLabel3_2->setText( tr( "&Table:" ) );
    PushButton5->setText( tr( "&Setup Database Connections..." ) );
    TQToolTip::add( PushButton5, tr( "Click here to manage your database connections" ) );
    TQWhatsThis::add( PushButton5, tr( "Here you can add, modify and delete your database connections" ) );
    TextLabel3_3->setText( tr( "Database &Connection:" ) );
    TQWhatsThis::add( listBoxTable, tr( "Displays all tables inside the selected Database" ) );
    TQWhatsThis::add( listBoxConnection, tr( "Displays a list of available connections on your system" ) );
    setTitle( databasePage, tr( "Choose the Database and Table" ) );
    TextLabel4_2->setText( TQString::null );
    buttonAddField_2->setText( TQString::null );
    TQToolTip::add( buttonAddField_2, tr( "Move field to list of displayed fields" ) );
    TQWhatsThis::add( buttonAddField_2, tr( "Click here to add the selected field to the list of fields that will be displayed." ) );
    buttonRemoveField_2->setText( TQString::null );
    TQToolTip::add( buttonRemoveField_2, tr( "remove field from list of displayed fields" ) );
    TQWhatsThis::add( buttonRemoveField_2, tr( "Click here to remove the selected field from the list of fields that will be displayed." ) );
    buttonFieldUp_2->setText( TQString::null );
    TQToolTip::add( buttonFieldUp_2, tr( "Move Field up" ) );
    TQWhatsThis::add( buttonFieldUp_2, tr( "Click here to move the selected field in the displayed fields list up." ) );
    TQWhatsThis::add( listBoxField, tr( "This is a list of all available fields in your selected table. Fields in this list will not be displayed." ) );
    buttonFieldDown_2->setText( TQString::null );
    TQToolTip::add( buttonFieldDown_2, tr( "Move field down" ) );
    TQWhatsThis::add( buttonFieldDown_2, tr( "Click here to move the selected field in the displayed fields list down." ) );
    TQWhatsThis::add( listBoxSelectedField, tr( "All fields in this list will be displayed." ) );
    TextLabel2_3->setText( tr( "Displayed Fields:" ) );
    TextLabel1_7->setText( tr( "Available Fields:" ) );
    setTitle( populatePage, tr( "Displayed Fields" ) );
    TextLabel4_2_2->setText( TQString::null );
    checkBoxNavig->setText( tr( "&Include Navigation Buttons" ) );
    TQToolTip::add( checkBoxNavig, tr( "Activates the navigation bar" ) );
    TQWhatsThis::add( checkBoxNavig, tr( "Activates the navigation bar" ) );
    GroupBox2->setTitle( tr( "&Navigation" ) );
    checkBoxPrev->setText( tr( "&Previous" ) );
    TQToolTip::add( checkBoxPrev, tr( "Toggles whether the \"Previous\" button will be displayed" ) );
    TQWhatsThis::add( checkBoxPrev, tr( "Toggles whether the \"Previous\" button will be displayed" ) );
    checkBoxNext->setText( tr( "&Next" ) );
    TQToolTip::add( checkBoxNext, tr( "Toggles whether the \"Next\" button will be displayed" ) );
    TQWhatsThis::add( checkBoxNext, tr( "Toggles whether the \"Next\" button will be displayed" ) );
    checkBoxFirst->setText( tr( "&First" ) );
    TQToolTip::add( checkBoxFirst, tr( "Toggles whether the \"First\" button will be displayed" ) );
    TQWhatsThis::add( checkBoxFirst, tr( "Toggles whether the \"First\" button will be displayed" ) );
    checkBoxLast->setText( tr( "&Last" ) );
    TQToolTip::add( checkBoxLast, tr( "Toggles whether the \"Last\" button will be displayed" ) );
    TQWhatsThis::add( checkBoxLast, tr( "Toggles whether the \"Last\" button will be displayed" ) );
    checkBoxEdit->setText( tr( "In&clude Edit Buttons" ) );
    TQToolTip::add( checkBoxEdit, tr( "Activates the edit bar" ) );
    TQWhatsThis::add( checkBoxEdit, tr( "Activates the edit bar" ) );
    GroupBox3->setTitle( tr( "&Editing" ) );
    checkBoxInsert->setText( tr( "&Insert" ) );
    TQToolTip::add( checkBoxInsert, tr( "User can insert new rows" ) );
    TQWhatsThis::add( checkBoxInsert, tr( "User can insert new rows" ) );
    checkBoxUpdate->setText( tr( "&Update" ) );
    TQToolTip::add( checkBoxUpdate, tr( "user can edit existing rows" ) );
    TQWhatsThis::add( checkBoxUpdate, tr( "user can edit existing rows" ) );
    checkBoxDelete->setText( tr( "&Delete" ) );
    TQToolTip::add( checkBoxDelete, tr( "user can delete rows" ) );
    TQWhatsThis::add( checkBoxDelete, tr( "user can delete rows" ) );
    setTitle( navigPage, tr( "Navigation and Editing" ) );
    TextLabel4_2_2_2_2->setText( TQString::null );
    GroupBox5->setTitle( tr( "Editing" ) );
    checkBoxReadOnly->setText( tr( "&Read-Only" ) );
    TQToolTip::add( checkBoxReadOnly, tr( "Table will be read-only" ) );
    TQWhatsThis::add( checkBoxReadOnly, tr( "Activate this to prevent editing, deleting and adding of rows" ) );
    GroupBox4->setTitle( tr( "Confirmations" ) );
    checkBoxConfirmInserts->setText( tr( "Confirm &Inserts" ) );
    TQToolTip::add( checkBoxConfirmInserts, tr( "Query user on inserting rows" ) );
    TQWhatsThis::add( checkBoxConfirmInserts, tr( "User will be asked for confirmation if he inserts a new row" ) );
    checkBoxConfirmUpdates->setText( tr( "Confirm &Updates" ) );
    TQToolTip::add( checkBoxConfirmUpdates, tr( "Query user on editing rows" ) );
    TQWhatsThis::add( checkBoxConfirmUpdates, tr( "User will be asked for confirmation if he edits a row" ) );
    checkBoxConfirmCancels->setText( tr( "Confirm &Cancels" ) );
    TQToolTip::add( checkBoxConfirmCancels, tr( "Query user on canceling" ) );
    TQWhatsThis::add( checkBoxConfirmCancels, tr( "User will be asked for confirmation if he cancels an action" ) );
    checkBoxConfirmDeletes->setText( tr( "Confirm &Deletes" ) );
    TQToolTip::add( checkBoxConfirmDeletes, tr( "Query user on deleting rows" ) );
    TQWhatsThis::add( checkBoxConfirmDeletes, tr( "User will be asked for confirmation if he deletes a row" ) );
    checkBoxSorting->setText( tr( "Allow column &sorting" ) );
    TQToolTip::add( checkBoxSorting, tr( "User may change sorting" ) );
    TQWhatsThis::add( checkBoxSorting, tr( "User may change sorting of data by clicking on a field in the top row of the table" ) );
    setTitle( tablePropertiesPage, tr( "Table Properties" ) );
    TextLabel4_2_2_2->setText( TQString::null );
    TextLabel3_2_2_2->setText( tr( "&Sort:" ) );
    TextLabel3_2_2->setText( tr( "&Filter:" ) );
    TextLabel1_3->setText( tr( "(a valid WHERE clause, e.g. id > 100)" ) );
    TQWhatsThis::add( editFilter, tr( "Enter a valid SQL WHERE statement, for example:\n"
"name like \"qt%\"\n"
"(name like \"q%\") and (version > 3)\n"
"((version > 3) and (price > 1000)) or (name like \"%embed%\")" ) );
    TextLabel2->setText( tr( "Sort By" ) );
    TQWhatsThis::add( listBoxSortedField, tr( "Data will be sorted according to the selected fields." ) );
    buttonAddSortField->setText( TQString::null );
    TQToolTip::add( buttonAddSortField, tr( "Move field to the right list" ) );
    TQWhatsThis::add( buttonAddSortField, tr( "Klick here to add the currently selected field from the available fields list to the sorting criteria" ) );
    buttonRemoveSortField->setText( TQString::null );
    TQToolTip::add( buttonRemoveSortField, tr( "remove field from the right list" ) );
    TQWhatsThis::add( buttonRemoveSortField, tr( "Klick here to remove the currently selected field from the sorting criteria" ) );
    buttonUpSortField->setText( TQString::null );
    TQToolTip::add( buttonUpSortField, tr( "move field up" ) );
    TQWhatsThis::add( buttonUpSortField, tr( "Move selected field in the sort by list up" ) );
    buttonDownSortField->setText( TQString::null );
    TQToolTip::add( buttonDownSortField, tr( "move field down" ) );
    TQWhatsThis::add( buttonDownSortField, tr( "Move selected field in the sort by list down" ) );
    buttonReSortField->setText( TQString::null );
    TQToolTip::add( buttonReSortField, tr( "Change field sort from ASC to DESC and back" ) );
    TQWhatsThis::add( buttonReSortField, tr( "Changes the field sort order from ascending to descending for the selected field in the sort by list." ) );
    TextLabel1_4->setText( tr( "Available Fields" ) );
    TQWhatsThis::add( listBoxSortField, tr( "This is the list of all available fields in the selected table" ) );
    setTitle( sqlPage, tr( "SQL" ) );
    TextLabel4_2_2_2_3_2->setText( TQString::null );
    ButtonGroup1->setTitle( tr( "&Labels" ) );
    radioLabelsLeft->setText( tr( "Labels to &left" ) );
    TQWhatsThis::add( radioLabelsLeft, tr( "Create labels to the left of data entry fields." ) );
    TextLabel3->setText( tr( "Create labels above data entry fields." ) );
    TextLabel2_2->setText( tr( "Create labels to the left of data entry fields." ) );
    radioLabelsTop->setText( tr( "Labels on &top" ) );
    TQWhatsThis::add( radioLabelsTop, tr( "Create labels above data entry fields." ) );
    checkCreateLayouts->setText( tr( "&Create layout for all" ) );
    TQToolTip::add( checkCreateLayouts, tr( "Create a BoxLayout around the whole widget" ) );
    TQWhatsThis::add( checkCreateLayouts, tr( "If you select this a BoxLayout will be created for the whole widget" ) );
    checkCreateButtonLayout->setText( tr( "Create layout for &buttons" ) );
    TQToolTip::add( checkCreateButtonLayout, tr( "Create a BoxLayout around the buttons" ) );
    TQWhatsThis::add( checkCreateButtonLayout, tr( "If you select this the designer will arrange all buttons inside an BoxLayout" ) );
    checkCreateFieldLayout->setText( tr( "Create layout for &fields" ) );
    TQToolTip::add( checkCreateFieldLayout, tr( "Create a BoxLayout around the fields" ) );
    TQWhatsThis::add( checkCreateFieldLayout, tr( "If you select this the designer will arrange all fields inside an BoxLayout" ) );
    TQToolTip::add( spinNumberOfColumns, tr( "Enter the number of desired columns" ) );
    TQWhatsThis::add( spinNumberOfColumns, tr( "Enter the number of desired columns" ) );
    TextLabel1_6->setText( tr( "Number of Columns:" ) );
    setTitle( layoutPage, tr( "Layout" ) );
    TextLabel4_2_2_2_3->setText( TQString::null );
    TextLabel1_5->setText( tr( "Press Finish to create the widget." ) );
    checkBoxAutoEdit->setText( tr( "&AutoEditing" ) );
    TQToolTip::add( checkBoxAutoEdit, tr( "Discard changes when user klicks into another row" ) );
    TQWhatsThis::add( checkBoxAutoEdit, tr( "This property holds whether the table automatically applies edits. When the user begins an insert or update in the table there are two possible outcomes when they navigate to another record\n"
"1.the insert or update is is performed -- this occurs if AutoEditing is on\n"
"2.the insert or update is abandoned -- this occurs if AutoEditing is off" ) );
    setTitle( finishPage, tr( "Finish" ) );
}

void SqlFormWizardBase::init()
{
}

void SqlFormWizardBase::destroy()
{
}

void SqlFormWizardBase::addField()
{
    tqWarning( "SqlFormWizardBase::addField(): Not implemented yet" );
}

void SqlFormWizardBase::addSortField()
{
    tqWarning( "SqlFormWizardBase::addSortField(): Not implemented yet" );
}

void SqlFormWizardBase::fieldDown()
{
    tqWarning( "SqlFormWizardBase::fieldDown(): Not implemented yet" );
}

void SqlFormWizardBase::fieldUp()
{
    tqWarning( "SqlFormWizardBase::fieldUp(): Not implemented yet" );
}

void SqlFormWizardBase::reSortSortField()
{
    tqWarning( "SqlFormWizardBase::reSortSortField(): Not implemented yet" );
}

void SqlFormWizardBase::removeField()
{
    tqWarning( "SqlFormWizardBase::removeField(): Not implemented yet" );
}

void SqlFormWizardBase::removeSortField()
{
    tqWarning( "SqlFormWizardBase::removeSortField(): Not implemented yet" );
}

void SqlFormWizardBase::setupDatabaseConnections()
{
    tqWarning( "SqlFormWizardBase::setupDatabaseConnections(): Not implemented yet" );
}

void SqlFormWizardBase::sortFieldDown()
{
    tqWarning( "SqlFormWizardBase::sortFieldDown(): Not implemented yet" );
}

void SqlFormWizardBase::sortFieldUp()
{
    tqWarning( "SqlFormWizardBase::sortFieldUp(): Not implemented yet" );
}

void SqlFormWizardBase::connectionSelected(const TQString&)
{
    tqWarning( "SqlFormWizardBase::connectionSelected(const TQString&): Not implemented yet" );
}

void SqlFormWizardBase::tableSelected(const TQString&)
{
    tqWarning( "SqlFormWizardBase::tableSelected(const TQString&): Not implemented yet" );
}

