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.
183 lines
6.1 KiB
183 lines
6.1 KiB
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
|
|
<class>ListEditor</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>ListEditor</cstring>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>331</width>
|
|
<height>301</height>
|
|
</rect>
|
|
</property>
|
|
<property name="caption">
|
|
<string>Edit...</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="TQListView" row="0" column="0" rowspan="5" colspan="1">
|
|
<column>
|
|
<property name="text">
|
|
<string>Column 1</string>
|
|
</property>
|
|
<property name="clickable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="resizeable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</column>
|
|
<property name="name">
|
|
<cstring>listview</cstring>
|
|
</property>
|
|
<property name="selectionMode">
|
|
<enum>Extended</enum>
|
|
</property>
|
|
<property name="resizeMode">
|
|
<enum>AllColumns</enum>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton" row="0" column="1">
|
|
<property name="name">
|
|
<cstring>PushButton1</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Add</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton" row="1" column="1">
|
|
<property name="name">
|
|
<cstring>PushButton2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Remove</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton" row="2" column="1">
|
|
<property name="name">
|
|
<cstring>PushButton3</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Re&name</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton" row="4" column="1">
|
|
<property name="name">
|
|
<cstring>PushButton4</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Close</string>
|
|
</property>
|
|
</widget>
|
|
<spacer row="3" column="1">
|
|
<property name="name">
|
|
<cstring>Spacer1</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>
|
|
</grid>
|
|
</widget>
|
|
<connections>
|
|
<connection>
|
|
<sender>PushButton1</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>ListEditor</receiver>
|
|
<slot>addItem()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>PushButton2</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>ListEditor</receiver>
|
|
<slot>removeItems()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>PushButton4</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>ListEditor</receiver>
|
|
<slot>accept()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>listview</sender>
|
|
<signal>itemRenamed(TQListViewItem*,int)</signal>
|
|
<receiver>ListEditor</receiver>
|
|
<slot>renamed(TQListViewItem*)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>PushButton3</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>ListEditor</receiver>
|
|
<slot>renameItem()</slot>
|
|
</connection>
|
|
</connections>
|
|
<includes>
|
|
<include location="local" impldecl="in implementation">listeditor.ui.h</include>
|
|
</includes>
|
|
<forwards>
|
|
<forward>class TQStringList;</forward>
|
|
</forwards>
|
|
<slots>
|
|
<slot>init()</slot>
|
|
<slot>setList( const TQStringList & l )</slot>
|
|
<slot>addItem()</slot>
|
|
<slot>renamed( TQListViewItem * i )</slot>
|
|
<slot>removeItems()</slot>
|
|
<slot returnType="TQStringList">items()</slot>
|
|
<slot>renameItem()</slot>
|
|
</slots>
|
|
<pixmapinproject/>
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
</UI>
|