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.
451 lines
20 KiB
451 lines
20 KiB
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
|
|
<class>IconViewEditorBase</class>
|
|
<comment>*********************************************************************
|
|
** Copyright (C) 2000 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.
|
|
**
|
|
** 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.
|
|
**
|
|
** Contact info@trolltech.com if any conditions of this licensing are
|
|
** not clear to you.
|
|
**
|
|
*********************************************************************</comment>
|
|
<widget class="TQDialog">
|
|
<property name="name">
|
|
<cstring>IconViewEditorBase</cstring>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>567</width>
|
|
<height>321</height>
|
|
</rect>
|
|
</property>
|
|
<property name="caption">
|
|
<string>Edit Iconview</string>
|
|
</property>
|
|
<property name="sizeGripEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string><b>Edit Iconview</b><p>Add, edit or delete items in the icon view.</p><p>Click the <b>New Item</b>-button to create a new item, then enter text and choose a pixmap.</p><p>Select an item from the view and click the <b>Delete Item</b>-button to remove the item from the iconview.</p></string>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>11</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<widget class="TQLayoutWidget">
|
|
<property name="name">
|
|
<cstring>Layout6</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="TQIconView">
|
|
<property name="name">
|
|
<cstring>preview</cstring>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>All items in the iconview.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLayoutWidget">
|
|
<property name="name">
|
|
<cstring>Layout5</cstring>
|
|
</property>
|
|
<vbox>
|
|
<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>itemNew</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&New Item</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Add an item</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>Create a new item for the iconview.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton">
|
|
<property name="name">
|
|
<cstring>itemDelete</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Delete Item</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Delete item</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>Delete the selected item.</string>
|
|
</property>
|
|
</widget>
|
|
<spacer>
|
|
<property name="name">
|
|
<cstring>Vertical Spacing1</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Vertical</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="tqsizeHint">
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</vbox>
|
|
</widget>
|
|
<widget class="TQGroupBox">
|
|
<property name="name">
|
|
<cstring>GroupBox1</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>0</hsizetype>
|
|
<vsizetype>5</vsizetype>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="title">
|
|
<string>&Item Properties</string>
|
|
</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="TQLabel" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>Label1</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Text:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>itemText</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLineEdit" row="0" column="1">
|
|
<property name="name">
|
|
<cstring>itemText</cstring>
|
|
</property>
|
|
<property name="tqminimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Change text</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>Change the text for the selected item.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="1" 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="TQLayoutWidget" row="1" column="1">
|
|
<property name="name">
|
|
<cstring>Layout4</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>itemPixmap</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Label4</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton">
|
|
<property name="name">
|
|
<cstring>itemDeletePixmap</cstring>
|
|
</property>
|
|
<property name="tqmaximumSize">
|
|
<size>
|
|
<width>30</width>
|
|
<height>22</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string></string>
|
|
</property>
|
|
<property name="pixmap">
|
|
<pixmap>image0</pixmap>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Delete Pixmap</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>Delete the selected item's pixmap.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton">
|
|
<property name="name">
|
|
<cstring>itemChoosePixmap</cstring>
|
|
</property>
|
|
<property name="tqmaximumSize">
|
|
<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>Select a pixmap file for the current item.</string>
|
|
</property>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
<widget class="TQLayoutWidget">
|
|
<property name="name">
|
|
<cstring>Layout1</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>&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="tqsizeHint">
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
<widget class="TQPushButton">
|
|
<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="TQPushButton">
|
|
<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="TQPushButton">
|
|
<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>
|
|
</vbox>
|
|
</widget>
|
|
<images>
|
|
<image name="image0">
|
|
<data format="XPM.GZ" length="409">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523234530022630543251d2e253d856405bffcbc54105b19c856360003103711c6b53006ab440370316528264b4c198450c5808a94d1ed00aac214832b43124b544ec414d34b4c4c441103f11341120831309758313d0cf3b0840b7258d55a73010092c14eca</data>
|
|
</image>
|
|
</images>
|
|
<connections>
|
|
<connection>
|
|
<sender>itemNew</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>IconViewEditorBase</receiver>
|
|
<slot>insertNewItem()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>itemDelete</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>IconViewEditorBase</receiver>
|
|
<slot>deleteCurrentItem()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>itemText</sender>
|
|
<signal>textChanged( const QString & )</signal>
|
|
<receiver>IconViewEditorBase</receiver>
|
|
<slot>currentTextChanged(const QString&)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonOk</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>IconViewEditorBase</receiver>
|
|
<slot>okClicked()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonApply</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>IconViewEditorBase</receiver>
|
|
<slot>applyClicked()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonCancel</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>IconViewEditorBase</receiver>
|
|
<slot>cancelClicked()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>itemChoosePixmap</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>IconViewEditorBase</receiver>
|
|
<slot>choosePixmap()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>preview</sender>
|
|
<signal>selectionChanged(TQIconViewItem*)</signal>
|
|
<receiver>IconViewEditorBase</receiver>
|
|
<slot>currentItemChanged(TQIconViewItem*)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>preview</sender>
|
|
<signal>currentChanged(TQIconViewItem*)</signal>
|
|
<receiver>IconViewEditorBase</receiver>
|
|
<slot>currentItemChanged(TQIconViewItem*)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>itemDeletePixmap</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>IconViewEditorBase</receiver>
|
|
<slot>deletePixmap()</slot>
|
|
</connection>
|
|
<slot access="protected" language="C++" returnType="void">init()</slot>
|
|
<slot access="protected" language="C++" returnType="void">destroy()</slot>
|
|
<slot access="protected" language="C++" returnType="void">applyClicked()</slot>
|
|
<slot access="protected" language="C++" returnType="void">cancelClicked()</slot>
|
|
<slot access="protected" language="C++" returnType="void">choosePixmap()</slot>
|
|
<slot access="protected" language="C++" returnType="void">currentItemChanged( TQIconViewItem * )</slot>
|
|
<slot access="protected" language="C++" returnType="void">currentTextChanged( const QString & )</slot>
|
|
<slot access="protected" language="C++" returnType="void">deleteCurrentItem()</slot>
|
|
<slot access="protected" language="C++" returnType="void">insertNewItem()</slot>
|
|
<slot access="protected" language="C++" returnType="void">deletePixmap()</slot>
|
|
<slot access="protected" language="C++" returnType="void">okClicked()</slot>
|
|
</connections>
|
|
<tabstops>
|
|
<tabstop>buttonOk</tabstop>
|
|
<tabstop>buttonCancel</tabstop>
|
|
<tabstop>preview</tabstop>
|
|
<tabstop>itemNew</tabstop>
|
|
<tabstop>itemDelete</tabstop>
|
|
<tabstop>itemText</tabstop>
|
|
<tabstop>itemDeletePixmap</tabstop>
|
|
<tabstop>itemChoosePixmap</tabstop>
|
|
<tabstop>buttonHelp</tabstop>
|
|
<tabstop>buttonApply</tabstop>
|
|
</tabstops>
|
|
</UI>
|