You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tqt3/tools/designer/designer/tableeditor.ui

832 lines
38 KiB

<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<class>TableEditorBase</class>
<comment>*********************************************************************
** Copyright (C) 2001-2008 Trolltech ASA. All rights reserved.
**
** This file is part of TQt Designer.
**
** This file may be used under the terms of the GNU General
** Public License versions 2.0 or 3.0 as published by the Free
** Software Foundation and appearing in the files LICENSE.GPL2
** and LICENSE.GPL3 included in the packaging of this file.
** Alternatively you may (at your option) use any later version
** of the GNU General Public License if such license has been
** publicly approved by Trolltech ASA (or its successors, if any)
** and the KDE Free TQt Foundation.
**
** Please review the following information to ensure GNU General
** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please
** review the following information:
** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
** or contact the sales department at sales@trolltech.com.
**
** Licensees holding valid TQt Commercial licenses may use this file in
** accordance with the TQt Commercial License Agreement provided with
** the Software.
**
** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
** herein.
**
*********************************************************************</comment>
<widget class="TQDialog">
<property name="name">
<cstring>TableEditorBase</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>484</width>
<height>406</height>
</rect>
</property>
<property name="caption">
<string>Edit Table</string>
</property>
<property name="sizeGripEnabled">
<bool>true</bool>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQTable" row="0" column="0">
<property name="name">
<cstring>table</cstring>
</property>
<property name="numRows">
<number>1</number>
</property>
<property name="numCols">
<number>1</number>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="TQLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>Layout11</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQPushButton">
<property name="name">
<cstring>buttonHelp</cstring>
</property>
<property name="text">
<string>&amp;Help</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
</widget>
<spacer>
<property name="name">
<cstring>Horizontal Spacing2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQPushButton">
<property name="name">
<cstring>buttonApply</cstring>
</property>
<property name="text">
<string>&amp;Apply</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>Apply all changes.</string>
</property>
</widget>
<widget class="TQPushButton">
<property name="name">
<cstring>buttonOk</cstring>
</property>
<property name="text">
<string>&amp;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>
<widget class="TQPushButton">
<property name="name">
<cstring>buttonCancel</cstring>
</property>
<property name="text">
<string>&amp;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>
</hbox>
</widget>
<widget class="TQTabWidget" row="0" column="1">
<property name="name">
<cstring>TabWidget</cstring>
</property>
<widget class="TQWidget">
<property name="name">
<cstring>columns_tab</cstring>
</property>
<attribute name="title">
<string>Co&amp;lumns</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<spacer row="4" column="2">
<property name="name">
<cstring>Spacer3</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQListBox" row="0" column="0" rowspan="6" colspan="1">
<property name="name">
<cstring>listColumns</cstring>
</property>
</widget>
<spacer row="3" column="1">
<property name="name">
<cstring>Spacer2</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQPushButton" row="4" column="1">
<property name="name">
<cstring>buttonColumnUp</cstring>
</property>
<property name="text">
<string></string>
</property>
<property name="pixmap">
<pixmap>designer_s_up.png</pixmap>
</property>
<property name="toolTip" stdset="0">
<string>Move up</string>
</property>
<property name="whatsThis" stdset="0">
<string>&lt;b&gt;Move the selected item up.&lt;/b&gt;&lt;p&gt;The top-most column will be the first column of the list.&lt;/p&gt;</string>
</property>
</widget>
<widget class="TQPushButton" row="5" column="1">
<property name="name">
<cstring>buttonColumnDown</cstring>
</property>
<property name="text">
<string></string>
</property>
<property name="pixmap">
<pixmap>designer_s_down.png</pixmap>
</property>
<property name="toolTip" stdset="0">
<string>Move down</string>
</property>
<property name="whatsThis" stdset="0">
<string>&lt;b&gt;Move the selected item down.&lt;/b&gt;&lt;p&gt;The top-most column will be the first column of the list.&lt;/p&gt;</string>
</property>
</widget>
<widget class="TQPushButton" row="1" column="1">
<property name="name">
<cstring>buttonDeleteColumn</cstring>
</property>
<property name="text">
<string>&amp;Delete Column</string>
</property>
</widget>
<widget class="TQPushButton" row="0" column="1">
<property name="name">
<cstring>buttonNewColumn</cstring>
</property>
<property name="text">
<string>&amp;New Column</string>
</property>
</widget>
<widget class="TQLayoutWidget" row="2" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>Layout6</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>labelTable</cstring>
</property>
<property name="text">
<string>Table:</string>
</property>
</widget>
<widget class="TQLayoutWidget" row="3" column="1">
<property name="name">
<cstring>Layout2</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>labelColumnPixmap</cstring>
</property>
<property name="text">
<string>Label4</string>
</property>
</widget>
<widget class="TQPushButton">
<property name="name">
<cstring>buttonDeleteColPixmap</cstring>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="text">
<string></string>
</property>
<property name="pixmap">
<pixmap>designer_s_editcut.png</pixmap>
</property>
<property name="toolTip" stdset="0">
<string>Delete Pixmap</string>
</property>
<property name="whatsThis" stdset="0">
<string>&lt;b&gt;Delete the selected item's pixmap.&lt;/b&gt;&lt;p&gt;The pixmap in the current column of the selected item will be deleted.&lt;/p&gt;</string>
</property>
</widget>
<widget class="TQPushButton">
<property name="name">
<cstring>buttonChooseColPixmap</cstring>
</property>
<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>&lt;b&gt;Select a pixmap file for the item.&lt;/b&gt;&lt;p&gt;The pixmap will be changed in the current column of the selected item.&lt;/p&gt;</string>
</property>
</widget>
</hbox>
</widget>
<widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>TextLabel2</cstring>
</property>
<property name="text">
<string>&amp;Label:</string>
</property>
<property name="buddy" stdset="0">
<cstring>editColumnText</cstring>
</property>
</widget>
<widget class="TQLabel" row="3" column="0">
<property name="name">
<cstring>Label2</cstring>
</property>
<property name="text">
<string>Pixmap:</string>
</property>
<property name="buddy" stdset="0">
<cstring>itemChoosePixmap</cstring>
</property>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>labelFields</cstring>
</property>
<property name="text">
<string>&amp;Field:</string>
</property>
<property name="buddy" stdset="0">
<cstring>comboFields</cstring>
</property>
</widget>
<widget class="TQLineEdit" row="2" column="1">
<property name="name">
<cstring>editColumnText</cstring>
</property>
</widget>
<widget class="TQComboBox" row="1" column="1">
<property name="name">
<cstring>comboFields</cstring>
</property>
<property name="editable">
<bool>true</bool>
</property>
</widget>
<widget class="TQLabel" row="0" column="1">
<property name="name">
<cstring>labelTableValue</cstring>
</property>
<property name="text">
<string>&lt;no table&gt;</string>
</property>
</widget>
</grid>
</widget>
</grid>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>rows_tab</cstring>
</property>
<attribute name="title">
<string>&amp;Rows</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<spacer row="4" column="2">
<property name="name">
<cstring>Spacer3_2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQPushButton" row="4" column="1">
<property name="name">
<cstring>buttonRowUp</cstring>
</property>
<property name="text">
<string></string>
</property>
<property name="pixmap">
<pixmap>designer_s_up.png</pixmap>
</property>
<property name="toolTip" stdset="0">
<string>Move up</string>
</property>
<property name="whatsThis" stdset="0">
<string>&lt;b&gt;Move the selected item up.&lt;/b&gt;&lt;p&gt;The top-most column will be the first column of the list.&lt;/p&gt;</string>
</property>
</widget>
<widget class="TQListBox" row="0" column="0" rowspan="6" colspan="1">
<property name="name">
<cstring>listRows</cstring>
</property>
</widget>
<widget class="TQPushButton" row="5" column="1">
<property name="name">
<cstring>buttonRowDown</cstring>
</property>
<property name="text">
<string></string>
</property>
<property name="pixmap">
<pixmap>designer_s_down.png</pixmap>
</property>
<property name="toolTip" stdset="0">
<string>Move down</string>
</property>
<property name="whatsThis" stdset="0">
<string>&lt;b&gt;Move the selected item down.&lt;/b&gt;&lt;p&gt;The top-most column will be the first column of the list.&lt;/p&gt;</string>
</property>
</widget>
<spacer row="3" column="1">
<property name="name">
<cstring>Spacer2_2</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQPushButton" row="0" column="1">
<property name="name">
<cstring>buttonNewRow</cstring>
</property>
<property name="text">
<string>&amp;New Row</string>
</property>
</widget>
<widget class="TQPushButton" row="1" column="1">
<property name="name">
<cstring>buttonDeleteRow</cstring>
</property>
<property name="text">
<string>&amp;Delete Row</string>
</property>
</widget>
<widget class="TQLayoutWidget" row="2" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>Layout7_2</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>TextLabel2_3</cstring>
</property>
<property name="text">
<string>&amp;Label:</string>
</property>
<property name="buddy" stdset="0">
<cstring>editRowText</cstring>
</property>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>Label2_2</cstring>
</property>
<property name="text">
<string>Pixmap:</string>
</property>
<property name="buddy" stdset="0">
<cstring>itemChoosePixmap</cstring>
</property>
</widget>
<widget class="TQLayoutWidget" row="1" column="1">
<property name="name">
<cstring>Layout2_2</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>labelRowPixmap</cstring>
</property>
<property name="text">
<string>Label4</string>
</property>
</widget>
<widget class="TQPushButton">
<property name="name">
<cstring>buttonDeleteRowPixmap</cstring>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="text">
<string></string>
</property>
<property name="pixmap">
<pixmap>designer_s_editcut.png</pixmap>
</property>
<property name="toolTip" stdset="0">
<string>Delete Pixmap</string>
</property>
<property name="whatsThis" stdset="0">
<string>&lt;b&gt;Delete the selected item's pixmap.&lt;/b&gt;&lt;p&gt;The pixmap in the current column of the selected item will be deleted.&lt;/p&gt;</string>
</property>
</widget>
<widget class="TQPushButton">
<property name="name">
<cstring>buttonChooseRowPixmap</cstring>
</property>
<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>&lt;b&gt;Select a pixmap file for the item.&lt;/b&gt;&lt;p&gt;The pixmap will be changed in the current column of the selected item.&lt;/p&gt;</string>
</property>
</widget>
</hbox>
</widget>
<widget class="TQLineEdit" row="0" column="1">
<property name="name">
<cstring>editRowText</cstring>
</property>
</widget>
</grid>
</widget>
</grid>
</widget>
</widget>
</grid>
</widget>
<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(TQListBoxItem*)</signal>
<receiver>TableEditorBase</receiver>
<slot>currentColumnChanged(TQListBoxItem*)</slot>
</connection>
<connection>
<sender>listColumns</sender>
<signal>selectionChanged(TQListBoxItem*)</signal>
<receiver>TableEditorBase</receiver>
<slot>currentColumnChanged(TQListBoxItem*)</slot>
</connection>
<connection>
<sender>editColumnText</sender>
<signal>textChanged(const TQString&amp;)</signal>
<receiver>TableEditorBase</receiver>
<slot>columnTextChanged(const TQString&amp;)</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(const TQString&amp;)</signal>
<receiver>TableEditorBase</receiver>
<slot>currentFieldChanged(const TQString&amp;)</slot>
</connection>
<connection>
<sender>listRows</sender>
<signal>selectionChanged(TQListBoxItem*)</signal>
<receiver>TableEditorBase</receiver>
<slot>currentRowChanged(TQListBoxItem*)</slot>
</connection>
<connection>
<sender>listRows</sender>
<signal>currentChanged(TQListBoxItem*)</signal>
<receiver>TableEditorBase</receiver>
<slot>currentRowChanged(TQListBoxItem*)</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(const TQString&amp;)</signal>
<receiver>TableEditorBase</receiver>
<slot>rowTextChanged(const TQString&amp;)</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>
<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>
<includes>
<include location="global" impldecl="in implementation">ntqtable.h</include>
</includes>
<slots>
<slot access="protected">init()</slot>
<slot access="protected">destroy()</slot>
<slot access="protected">applyClicked()</slot>
<slot access="protected">chooseRowPixmapClicked()</slot>
<slot access="protected">columnTextChanged( const TQString &amp; )</slot>
<slot access="protected">columnUpClicked()</slot>
<slot access="protected">currentColumnChanged( TQListBoxItem * )</slot>
<slot access="protected">currentFieldChanged( const TQString &amp; )</slot>
<slot access="protected">currentRowChanged( TQListBoxItem * )</slot>
<slot access="protected">deleteColPixmapClicked()</slot>
<slot access="protected">deleteColumnClicked()</slot>
<slot access="protected">deleteRowClicked()</slot>
<slot access="protected">deleteRowPixmapClicked()</slot>
<slot access="protected">newColumnClicked()</slot>
<slot access="protected">newRowClicked()</slot>
<slot access="protected">chooseColPixmapClicked()</slot>
<slot access="protected">okClicked()</slot>
<slot access="protected">rowDownClicked()</slot>
<slot access="protected">rowTextChanged( const TQString &amp; )</slot>
<slot access="protected">rowUpClicked()</slot>
<slot access="protected">columnDownClicked()</slot>
</slots>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
</UI>