diff options
Diffstat (limited to 'kdevdesigner/designer/tableeditor.ui')
-rw-r--r-- | kdevdesigner/designer/tableeditor.ui | 828 |
1 files changed, 828 insertions, 0 deletions
diff --git a/kdevdesigner/designer/tableeditor.ui b/kdevdesigner/designer/tableeditor.ui new file mode 100644 index 00000000..a6f10312 --- /dev/null +++ b/kdevdesigner/designer/tableeditor.ui @@ -0,0 +1,828 @@ +<!DOCTYPE UI><UI version="3.1" stdsetdef="1"> +<class>TableEditorBase</class> +<comment>********************************************************************* +** Copyright (C) 2001 Trolltech AS. All rights reserved. +** +** This file is part of Qt Designer. +** +** This file may be distributed and/or modified under the terms of the +** GNU General Public License version 2 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. +** +** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition +** licenses may use this file in accordance with the Qt Commercial License +** Agreement provided with the Software. +** +** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +** +** See http://www.trolltech.com/gpl/ for GPL licensing information. +** See http://www.trolltech.com/pricing.html or email [email protected] for +** information about Qt Commercial License Agreements. +** +** Contact [email protected] if any conditions of this licensing are +** not clear to you. +** +*********************************************************************</comment> +<widget class="QDialog"> + <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="QTable" 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="QLayoutWidget" 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="QPushButton"> + <property name="name"> + <cstring>buttonHelp</cstring> + </property> + <property name="text"> + <string>&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="QPushButton"> + <property name="name"> + <cstring>buttonOk</cstring> + </property> + <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> + <widget class="QPushButton"> + <property name="name"> + <cstring>buttonApply</cstring> + </property> + <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> + <widget class="QPushButton"> + <property name="name"> + <cstring>buttonCancel</cstring> + </property> + <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> + </hbox> + </widget> + <widget class="QTabWidget" row="0" column="1"> + <property name="name"> + <cstring>TabWidget</cstring> + </property> + <widget class="QWidget"> + <property name="name"> + <cstring>columns_tab</cstring> + </property> + <attribute name="title"> + <string>Co&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="QListBox" 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="QPushButton" 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><b>Move the selected item up.</b><p>The top-most column will be the first column of the list.</p></string> + </property> + </widget> + <widget class="QPushButton" 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><b>Move the selected item down.</b><p>The top-most column will be the first column of the list.</p></string> + </property> + </widget> + <widget class="QPushButton" row="1" column="1"> + <property name="name"> + <cstring>buttonDeleteColumn</cstring> + </property> + <property name="text"> + <string>&Delete Column</string> + </property> + </widget> + <widget class="QPushButton" row="0" column="1"> + <property name="name"> + <cstring>buttonNewColumn</cstring> + </property> + <property name="text"> + <string>&New Column</string> + </property> + </widget> + <widget class="QLayoutWidget" 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="QLabel" row="0" column="0"> + <property name="name"> + <cstring>labelTable</cstring> + </property> + <property name="text"> + <string>Table:</string> + </property> + </widget> + <widget class="QLayoutWidget" 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="QLabel"> + <property name="name"> + <cstring>labelColumnPixmap</cstring> + </property> + <property name="text"> + <string>Label4</string> + </property> + </widget> + <widget class="QPushButton"> + <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><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> + <widget class="QPushButton"> + <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><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> + </hbox> + </widget> + <widget class="QLabel" row="2" column="0"> + <property name="name"> + <cstring>TextLabel2</cstring> + </property> + <property name="text"> + <string>&Label:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>editColumnText</cstring> + </property> + </widget> + <widget class="QLabel" 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="QLabel" row="1" column="0"> + <property name="name"> + <cstring>labelFields</cstring> + </property> + <property name="text"> + <string>&Field:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>comboFields</cstring> + </property> + </widget> + <widget class="KLineEdit" row="2" column="1"> + <property name="name"> + <cstring>editColumnText</cstring> + </property> + </widget> + <widget class="QComboBox" row="1" column="1"> + <property name="name"> + <cstring>comboFields</cstring> + </property> + <property name="editable"> + <bool>true</bool> + </property> + </widget> + <widget class="QLabel" row="0" column="1"> + <property name="name"> + <cstring>labelTableValue</cstring> + </property> + <property name="text"> + <string><no table></string> + </property> + </widget> + </grid> + </widget> + </grid> + </widget> + <widget class="QWidget"> + <property name="name"> + <cstring>rows_tab</cstring> + </property> + <attribute name="title"> + <string>&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="QPushButton" 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><b>Move the selected item up.</b><p>The top-most column will be the first column of the list.</p></string> + </property> + </widget> + <widget class="QListBox" row="0" column="0" rowspan="6" colspan="1"> + <property name="name"> + <cstring>listRows</cstring> + </property> + </widget> + <widget class="QPushButton" 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><b>Move the selected item down.</b><p>The top-most column will be the first column of the list.</p></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="QPushButton" row="0" column="1"> + <property name="name"> + <cstring>buttonNewRow</cstring> + </property> + <property name="text"> + <string>&New Row</string> + </property> + </widget> + <widget class="QPushButton" row="1" column="1"> + <property name="name"> + <cstring>buttonDeleteRow</cstring> + </property> + <property name="text"> + <string>&Delete Row</string> + </property> + </widget> + <widget class="QLayoutWidget" 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="QLabel" row="0" column="0"> + <property name="name"> + <cstring>TextLabel2_3</cstring> + </property> + <property name="text"> + <string>&Label:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>editRowText</cstring> + </property> + </widget> + <widget class="QLabel" 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="QLayoutWidget" 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="QLabel"> + <property name="name"> + <cstring>labelRowPixmap</cstring> + </property> + <property name="text"> + <string>Label4</string> + </property> + </widget> + <widget class="QPushButton"> + <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><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> + <widget class="QPushButton"> + <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><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> + </hbox> + </widget> + <widget class="KLineEdit" 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(QListBoxItem*)</signal> + <receiver>TableEditorBase</receiver> + <slot>currentColumnChanged(QListBoxItem*)</slot> + </connection> + <connection> + <sender>listColumns</sender> + <signal>selectionChanged(QListBoxItem*)</signal> + <receiver>TableEditorBase</receiver> + <slot>currentColumnChanged(QListBoxItem*)</slot> + </connection> + <connection> + <sender>editColumnText</sender> + <signal>textChanged(const QString&)</signal> + <receiver>TableEditorBase</receiver> + <slot>columnTextChanged(const 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(const QString&)</signal> + <receiver>TableEditorBase</receiver> + <slot>currentFieldChanged(const QString&)</slot> + </connection> + <connection> + <sender>listRows</sender> + <signal>selectionChanged(QListBoxItem*)</signal> + <receiver>TableEditorBase</receiver> + <slot>currentRowChanged(QListBoxItem*)</slot> + </connection> + <connection> + <sender>listRows</sender> + <signal>currentChanged(QListBoxItem*)</signal> + <receiver>TableEditorBase</receiver> + <slot>currentRowChanged(QListBoxItem*)</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 QString&)</signal> + <receiver>TableEditorBase</receiver> + <slot>rowTextChanged(const 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> +<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">qtable.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 QString & )</slot> + <slot access="protected">columnUpClicked()</slot> + <slot access="protected">currentColumnChanged( QListBoxItem * )</slot> + <slot access="protected">currentFieldChanged( const QString & )</slot> + <slot access="protected">currentRowChanged( QListBoxItem * )</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 QString & )</slot> + <slot access="protected">rowUpClicked()</slot> + <slot access="protected">columnDownClicked()</slot> +</slots> +<includes> + <include location="local" impldecl="in implementation">myiconloader.h</include> +</includes> +<pixmapfunction>BarIcon2</pixmapfunction> + +<layoutdefaults spacing="6" margin="11"/> +</UI> |