<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0" stdsetdef="1">
<author></author>
<comment>*********************************************************************
**
** Copyright (C) 2010 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$
** No Commercial Usage
** This file contains pre-release code and may not be distributed.
** You may use this file in accordance with the terms and conditions
** contained in the Technology Preview License Agreement accompanying
** this package.
**
** GNU Lesser General Public License Usage
** Alternatively, 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.
**
** If you have questions regarding the use of this file, please contact
** Nokia at qt-info@nokia.com.
**
**
**
**
**
**
**
**
** $QT_END_LICENSE$
**
*********************************************************************</comment>
<exportmacro></exportmacro>
<class>TableEditorBase</class>
<widget class="QDialog" name="TableEditorBase">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>484</width>
<height>406</height>
</rect>
</property>
<property name="windowTitle">
<string>Edit Table</string>
</property>
<property name="sizeGripEnabled">
<bool>true</bool>
</property>
<layout class="QGridLayout">
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="0" column="0">
<widget class="Q3Table" name="table">
<property name="numRows">
<number>1</number>
</property>
<property name="numCols">
<number>1</number>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0" rowspan="1" colspan="2">
<layout class="QHBoxLayout">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item>
<widget class="QPushButton" name="buttonHelp">
<property name="text">
<string>&Help</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer name="Horizontal Spacing2">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="buttonApply">
<property name="text">
<string>&Apply</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>Apply all changes.</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="buttonOk">
<property name="text">
<string>&OK</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
<property name="default">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>Close the dialog and apply all the changes.</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="buttonCancel">
<property name="text">
<string>&Cancel</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>Close the dialog and discard any changes.</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="1">
<widget class="QTabWidget" name="TabWidget">
<widget class="QWidget" name="columns_tab">
<attribute name="title">
<string>Co&lumns</string>
</attribute>
<layout class="QGridLayout">
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="4" column="2">
<spacer name="Spacer3">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</spacer>
</item>
<item row="0" column="0" rowspan="6" colspan="1">
<widget class="Q3ListBox" name="listColumns"/>
</item>
<item row="3" column="1">
<spacer name="Spacer2">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</spacer>
</item>
<item row="4" column="1">
<widget class="QPushButton" name="buttonColumnUp">
<property name="text">
<string/>
</property>
<property name="icon">
<pixmap>designer_s_up.png</pixmap>
</property>
<property name="toolTip" stdset="0">
<string>Move up</string>
</property>
<property name="whatsThis" stdset="0">
<string><b>Move the selected item up.</b><p>The top-most column will be the first column of the list.</p></string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QPushButton" name="buttonColumnDown">
<property name="text">
<string/>
</property>
<property name="icon">
<pixmap>designer_s_down.png</pixmap>
</property>
<property name="toolTip" stdset="0">
<string>Move down</string>
</property>
<property name="whatsThis" stdset="0">
<string><b>Move the selected item down.</b><p>The top-most column will be the first column of the list.</p></string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="buttonDeleteColumn">
<property name="text">
<string>&Delete Column</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QPushButton" name="buttonNewColumn">
<property name="text">
<string>&New Column</string>
</property>
</widget>
</item>
<item row="2" column="1" rowspan="1" colspan="2">
<layout class="QGridLayout">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="labelTable">
<property name="text">
<string>Table:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="3" column="1">
<layout class="QHBoxLayout">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item>
<widget class="QLabel" name="labelColumnPixmap">
<property name="text">
<string>Label4</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="buttonDeleteColPixmap">
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<pixmap>designer_s_editcut.png</pixmap>
</property>
<property name="toolTip" stdset="0">
<string>Delete Pixmap</string>
</property>
<property name="whatsThis" stdset="0">
<string><b>Delete the selected item's pixmap.</b><p>The pixmap in the current column of the selected item will be deleted.</p></string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="buttonChooseColPixmap">
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="text">
<string>...</string>
</property>
<property name="toolTip" stdset="0">
<string>Select a Pixmap</string>
</property>
<property name="whatsThis" stdset="0">
<string><b>Select a pixmap file for the item.</b><p>The pixmap will be changed in the current column of the selected item.</p></string>
</property>
</widget>
</item>
</layout>
</item>
<item row="2" column="0">
<widget class="QLabel" name="TextLabel2">
<property name="text">
<string>&Label:</string>
</property>
<property name="buddy" stdset="0">
<cstring>editColumnText</cstring>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="Label2">
<property name="text">
<string>Pixmap:</string>
</property>
<property name="buddy" stdset="0">
<cstring>itemChoosePixmap</cstring>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="labelFields">
<property name="text">
<string>&Field:</string>
</property>
<property name="buddy" stdset="0">
<cstring>comboFields</cstring>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="editColumnText"/>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="comboFields">
<property name="editable">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="labelTableValue">
<property name="text">
<string><no table></string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QWidget" name="rows_tab">
<attribute name="title">
<string>&Rows</string>
</attribute>
<layout class="QGridLayout">
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="4" column="2">
<spacer name="Spacer3_2">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</spacer>
</item>
<item row="4" column="1">
<widget class="QPushButton" name="buttonRowUp">
<property name="text">
<string/>
</property>
<property name="icon">
<pixmap>designer_s_up.png</pixmap>
</property>
<property name="toolTip" stdset="0">
<string>Move up</string>
</property>
<property name="whatsThis" stdset="0">
<string><b>Move the selected item up.</b><p>The top-most column will be the first column of the list.</p></string>
</property>
</widget>
</item>
<item row="0" column="0" rowspan="6" colspan="1">
<widget class="Q3ListBox" name="listRows"/>
</item>
<item row="5" column="1">
<widget class="QPushButton" name="buttonRowDown">
<property name="text">
<string/>
</property>
<property name="icon">
<pixmap>designer_s_down.png</pixmap>
</property>
<property name="toolTip" stdset="0">
<string>Move down</string>
</property>
<property name="whatsThis" stdset="0">
<string><b>Move the selected item down.</b><p>The top-most column will be the first column of the list.</p></string>
</property>
</widget>
</item>
<item row="3" column="1">
<spacer name="Spacer2_2">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</spacer>
</item>
<item row="0" column="1">
<widget class="QPushButton" name="buttonNewRow">
<property name="text">
<string>&New Row</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="buttonDeleteRow">
<property name="text">
<string>&Delete Row</string>
</property>
</widget>
</item>
<item row="2" column="1" rowspan="1" colspan="2">
<layout class="QGridLayout">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="TextLabel2_3">
<property name="text">
<string>&Label:</string>
</property>
<property name="buddy" stdset="0">
<cstring>editRowText</cstring>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="Label2_2">
<property name="text">
<string>Pixmap:</string>
</property>
<property name="buddy" stdset="0">
<cstring>itemChoosePixmap</cstring>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="1" column="1">
<layout class="QHBoxLayout">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item>
<widget class="QLabel" name="labelRowPixmap">
<property name="text">
<string>Label4</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="buttonDeleteRowPixmap">
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<pixmap>designer_s_editcut.png</pixmap>
</property>
<property name="toolTip" stdset="0">
<string>Delete Pixmap</string>
</property>
<property name="whatsThis" stdset="0">
<string><b>Delete the selected item's pixmap.</b><p>The pixmap in the current column of the selected item will be deleted.</p></string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="buttonChooseRowPixmap">
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="text">
<string>...</string>
</property>
<property name="toolTip" stdset="0">
<string>Select a Pixmap</string>
</property>
<property name="whatsThis" stdset="0">
<string><b>Select a pixmap file for the item.</b><p>The pixmap will be changed in the current column of the selected item.</p></string>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="editRowText"/>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
<tabstops>
<tabstop>buttonOk</tabstop>
<tabstop>buttonCancel</tabstop>
<tabstop>table</tabstop>
<tabstop>TabWidget</tabstop>
<tabstop>listColumns</tabstop>
<tabstop>buttonNewColumn</tabstop>
<tabstop>buttonDeleteColumn</tabstop>
<tabstop>comboFields</tabstop>
<tabstop>editColumnText</tabstop>
<tabstop>buttonDeleteColPixmap</tabstop>
<tabstop>buttonChooseColPixmap</tabstop>
<tabstop>buttonColumnUp</tabstop>
<tabstop>buttonColumnDown</tabstop>
<tabstop>buttonApply</tabstop>
<tabstop>listRows</tabstop>
<tabstop>buttonNewRow</tabstop>
<tabstop>buttonDeleteRow</tabstop>
<tabstop>editRowText</tabstop>
<tabstop>buttonDeleteRowPixmap</tabstop>
<tabstop>buttonChooseRowPixmap</tabstop>
<tabstop>buttonRowUp</tabstop>
<tabstop>buttonRowDown</tabstop>
<tabstop>buttonHelp</tabstop>
</tabstops>
<connections>
<connection>
<sender>buttonApply</sender>
<signal>clicked()</signal>
<receiver>TableEditorBase</receiver>
<slot>applyClicked()</slot>
</connection>
<connection>
<sender>buttonOk</sender>
<signal>clicked()</signal>
<receiver>TableEditorBase</receiver>
<slot>okClicked()</slot>
</connection>
<connection>
<sender>listColumns</sender>
<signal>currentChanged(Q3ListBoxItem*)</signal>
<receiver>TableEditorBase</receiver>
<slot>currentColumnChanged(Q3ListBoxItem*)</slot>
</connection>
<connection>
<sender>listColumns</sender>
<signal>selectionChanged(Q3ListBoxItem*)</signal>
<receiver>TableEditorBase</receiver>
<slot>currentColumnChanged(Q3ListBoxItem*)</slot>
</connection>
<connection>
<sender>editColumnText</sender>
<signal>textChanged(QString)</signal>
<receiver>TableEditorBase</receiver>
<slot>columnTextChanged(QString)</slot>
</connection>
<connection>
<sender>buttonNewColumn</sender>
<signal>clicked()</signal>
<receiver>TableEditorBase</receiver>
<slot>newColumnClicked()</slot>
</connection>
<connection>
<sender>buttonDeleteColumn</sender>
<signal>clicked()</signal>
<receiver>TableEditorBase</receiver>
<slot>deleteColumnClicked()</slot>
</connection>
<connection>
<sender>buttonColumnUp</sender>
<signal>clicked()</signal>
<receiver>TableEditorBase</receiver>
<slot>columnUpClicked()</slot>
</connection>
<connection>
<sender>buttonColumnDown</sender>
<signal>clicked()</signal>
<receiver>TableEditorBase</receiver>
<slot>columnDownClicked()</slot>
</connection>
<connection>
<sender>comboFields</sender>
<signal>activated(QString)</signal>
<receiver>TableEditorBase</receiver>
<slot>currentFieldChanged(QString)</slot>
</connection>
<connection>
<sender>listRows</sender>
<signal>selectionChanged(Q3ListBoxItem*)</signal>
<receiver>TableEditorBase</receiver>
<slot>currentRowChanged(Q3ListBoxItem*)</slot>
</connection>
<connection>
<sender>listRows</sender>
<signal>currentChanged(Q3ListBoxItem*)</signal>
<receiver>TableEditorBase</receiver>
<slot>currentRowChanged(Q3ListBoxItem*)</slot>
</connection>
<connection>
<sender>buttonNewRow</sender>
<signal>clicked()</signal>
<receiver>TableEditorBase</receiver>
<slot>newRowClicked()</slot>
</connection>
<connection>
<sender>buttonDeleteRow</sender>
<signal>clicked()</signal>
<receiver>TableEditorBase</receiver>
<slot>deleteRowClicked()</slot>
</connection>
<connection>
<sender>buttonRowUp</sender>
<signal>clicked()</signal>
<receiver>TableEditorBase</receiver>
<slot>rowUpClicked()</slot>
</connection>
<connection>
<sender>buttonRowDown</sender>
<signal>clicked()</signal>
<receiver>TableEditorBase</receiver>
<slot>rowDownClicked()</slot>
</connection>
<connection>
<sender>buttonChooseRowPixmap</sender>
<signal>clicked()</signal>
<receiver>TableEditorBase</receiver>
<slot>chooseRowPixmapClicked()</slot>
</connection>
<connection>
<sender>buttonDeleteColPixmap</sender>
<signal>clicked()</signal>
<receiver>TableEditorBase</receiver>
<slot>deleteColPixmapClicked()</slot>
</connection>
<connection>
<sender>editRowText</sender>
<signal>textChanged(QString)</signal>
<receiver>TableEditorBase</receiver>
<slot>rowTextChanged(QString)</slot>
</connection>
<connection>
<sender>buttonCancel</sender>
<signal>clicked()</signal>
<receiver>TableEditorBase</receiver>
<slot>reject()</slot>
</connection>
<connection>
<sender>buttonChooseColPixmap</sender>
<signal>clicked()</signal>
<receiver>TableEditorBase</receiver>
<slot>chooseColPixmapClicked()</slot>
</connection>
<connection>
<sender>buttonDeleteRowPixmap</sender>
<signal>clicked()</signal>
<receiver>TableEditorBase</receiver>
<slot>deleteRowPixmapClicked()</slot>
</connection>
</connections>
</ui>