********************************************************************* ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the autotests of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** GNU Lesser General Public License Usage ** This file may be used under the terms of the GNU Lesser General Public ** License version 2.1 as published by the Free Software Foundation and ** appearing in the file LICENSE.LGPL included in the packaging of this ** file. Please review the following information to ensure the GNU Lesser ** General Public License version 2.1 requirements will be met: ** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** In addition, as a special exception, Nokia gives you certain additional ** rights. These rights are described in the Nokia Qt LGPL Exception ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. ** ** GNU General Public License Usage ** Alternatively, this file may be used under the terms of the GNU General ** Public License version 3.0 as published by the Free Software Foundation ** and appearing in the file LICENSE.GPL included in the packaging of this ** file. Please review the following information to ensure the GNU General ** Public License version 3.0 requirements will be met: ** http://www.gnu.org/copyleft/gpl.html. ** ** Other Usage ** Alternatively, this file may be used in accordance with the terms and ** conditions contained in a signed written agreement between you and Nokia. ** ** ** ** ** ** $QT_END_LICENSE$ ** ********************************************************************* SqlFormWizardBase 0 0 577 570 Sql Wizard Choose the Database and Table 0 6 0 7 0 0 qtwizards_table_1.png false 0 6 &Table: listBoxTable false 0 6 &Setup Database Connections... Click here to manage your database connections Here you can add, modify and delete your database connections 20 20 QSizePolicy::Expanding Qt::Horizontal Database &Connection: listBoxConnection false Displays all tables inside the selected Database Displays a list of available connections on your system Displayed Fields 0 6 0 7 0 0 qtwizards_table_2.png false 0 6 20 20 QSizePolicy::Expanding Qt::Vertical designer_right.png Move field to list of displayed fields Click here to add the selected field to the list of fields that will be displayed. designer_left.png remove field from list of displayed fields Click here to remove the selected field from the list of fields that will be displayed. 20 20 QSizePolicy::Expanding Qt::Vertical designer_up.png Move Field up Click here to move the selected field in the displayed fields list up. 20 20 QSizePolicy::Expanding Qt::Vertical This is a list of all available fields in your selected table. Fields in this list will not be displayed. designer_down.png Move field down Click here to move the selected field in the displayed fields list down. All fields in this list will be displayed. Displayed Fields: false Available Fields: false Navigation and Editing 0 6 0 7 0 0 qtwizards_table_3.png false 0 6 &Include Navigation Buttons true Activates the navigation bar Activates the navigation bar 5 7 0 0 &Navigation 11 6 &Previous true Toggles whether the "Previous" button will be displayed Toggles whether the "Previous" button will be displayed &Next true Toggles whether the "Next" button will be displayed Toggles whether the "Next" button will be displayed &First true Toggles whether the "First" button will be displayed Toggles whether the "First" button will be displayed &Last true Toggles whether the "Last" button will be displayed Toggles whether the "Last" button will be displayed In&clude Edit Buttons true Activates the edit bar Activates the edit bar 5 7 0 0 &Editing 11 6 &Insert true User can insert new rows User can insert new rows &Update true user can edit existing rows user can edit existing rows &Delete true user can delete rows user can delete rows 20 20 QSizePolicy::Expanding Qt::Vertical Table Properties 0 6 0 7 0 0 qtwizards_table_4.png false 20 20 QSizePolicy::Expanding Qt::Vertical Editing 11 6 &Read-Only Table will be read-only Activate this to prevent editing, deleting and adding of rows Confirmations 11 6 Confirm &Inserts Query user on inserting rows User will be asked for confirmation if he inserts a new row Confirm &Updates Query user on editing rows User will be asked for confirmation if he edits a row Confirm &Cancels Query user on canceling User will be asked for confirmation if he cancels an action Confirm &Deletes true Query user on deleting rows User will be asked for confirmation if he deletes a row Allow column &sorting true User may change sorting User may change sorting of data by clicking on a field in the top row of the table SQL 0 6 0 7 0 0 qtwizards_table_2.png false 0 6 &Sort: listBoxTable false 20 20 QSizePolicy::Expanding Qt::Vertical 0 6 &Filter: listBoxTable false 20 20 QSizePolicy::Expanding Qt::Vertical 0 6 (a valid WHERE clause, e.g. id > 100) false Enter a valid SQL WHERE statement, for example: name like "qt%" (name like "q%") and (version > 3) ((version > 3) and (price > 1000)) or (name like "%embed%") 0 6 Sort By false Data will be sorted according to the selected fields. 0 6 20 20 QSizePolicy::Expanding Qt::Vertical designer_right.png Move field to the right list Klick here to add the currently selected field from the available fields list to the sorting criteria designer_left.png remove field from the right list Klick here to remove the currently selected field from the sorting criteria 20 20 QSizePolicy::Expanding Qt::Vertical designer_up.png move field up Move selected field in the sort by list up designer_down.png move field down Move selected field in the sort by list down 20 20 QSizePolicy::Expanding Qt::Vertical re-sort.png Change field sort from ASC to DESC and back Changes the field sort order from ascending to descending for the selected field in the sort by list. 0 6 Available Fields false This is the list of all available fields in the selected table Layout 0 6 0 7 0 0 qtwizards_table_3.png false 20 20 QSizePolicy::Expanding Qt::Vertical &Labels 11 6 true Labels to &left true Create labels to the left of data entry fields. 3 1 0 0 Create labels above data entry fields. false 3 1 0 0 Create labels to the left of data entry fields. false 20 20 QSizePolicy::Maximum Qt::Horizontal 16 20 QSizePolicy::Maximum Qt::Horizontal Labels on &top Create labels above data entry fields. &Create layout for all true Create a BoxLayout around the whole widget If you select this a BoxLayout will be created for the whole widget Create layout for &buttons true Create a BoxLayout around the buttons If you select this the designer will arrange all buttons inside an BoxLayout Create layout for &fields true Create a BoxLayout around the fields If you select this the designer will arrange all fields inside an BoxLayout 20 2 Enter the number of desired columns Enter the number of desired columns Number of Columns: false 20 20 QSizePolicy::Expanding Qt::Vertical Finish 0 6 0 7 0 0 qtwizards_table_1.png false Press Finish to create the widget. false 20 20 QSizePolicy::Expanding Qt::Vertical 20 20 QSizePolicy::Expanding Qt::Vertical 20 20 QSizePolicy::Expanding Qt::Vertical &AutoEditing Discard changes when user klicks into another row 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 1.the insert or update is is performed -- this occurs if AutoEditing is on 2.the insert or update is abandoned -- this occurs if AutoEditing is off qPixmapFromMimeSource PushButton5 listBoxConnection listBoxTable checkBoxNavig checkBoxPrev checkBoxNext checkBoxFirst checkBoxLast checkBoxEdit checkBoxInsert checkBoxUpdate checkBoxDelete checkBoxReadOnly checkBoxConfirmInserts checkBoxConfirmUpdates checkBoxConfirmDeletes checkBoxConfirmCancels checkBoxSorting editFilter listBoxSortField buttonAddSortField buttonRemoveSortField buttonUpSortField buttonDownSortField buttonReSortField listBoxSortedField spinNumberOfColumns radioLabelsLeft radioLabelsTop checkCreateFieldLayout checkCreateButtonLayout checkCreateLayouts PushButton5 clicked() SqlFormWizardBase setupDatabaseConnections() checkBoxNavig toggled(bool) GroupBox2 setEnabled(bool) checkBoxEdit toggled(bool) GroupBox3 setEnabled(bool) buttonReSortField clicked() SqlFormWizardBase reSortSortField() buttonRemoveSortField clicked() SqlFormWizardBase removeSortField() buttonAddSortField clicked() SqlFormWizardBase addSortField() buttonUpSortField clicked() SqlFormWizardBase sortFieldUp() buttonDownSortField clicked() SqlFormWizardBase sortFieldDown() listBoxSortField doubleClicked(Q3ListBoxItem*) SqlFormWizardBase addSortField() listBoxSortedField doubleClicked(Q3ListBoxItem*) SqlFormWizardBase removeSortField() listBoxSortedField rightButtonClicked(Q3ListBoxItem*,QPoint) SqlFormWizardBase reSortSortField() checkBoxReadOnly toggled(bool) GroupBox4 setDisabled(bool) listBoxConnection highlighted(QString) SqlFormWizardBase connectionSelected(QString) listBoxTable highlighted(QString) SqlFormWizardBase tableSelected(QString) buttonAddField_2 released() SqlFormWizardBase addField() buttonRemoveField_2 clicked() SqlFormWizardBase removeField() buttonFieldUp_2 clicked() SqlFormWizardBase fieldUp() buttonFieldDown_2 clicked() SqlFormWizardBase fieldDown()