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.
tdevelop/kdevdesigner/designer/listeditor.ui

180 lines
5.8 KiB

<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
<class>ListEditor</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 sales@trolltech.com for
** information about Qt Commercial License Agreements.
**
** Contact info@trolltech.com if any conditions of this licensing are
** not clear to you.
**
*********************************************************************</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>&amp;Add</string>
</property>
</widget>
<widget class="TQPushButton" row="1" column="1">
<property name="name">
<cstring>PushButton2</cstring>
</property>
<property name="text">
<string>&amp;Remove</string>
</property>
</widget>
<widget class="TQPushButton" row="2" column="1">
<property name="name">
<cstring>PushButton3</cstring>
</property>
<property name="text">
<string>Re&amp;name</string>
</property>
</widget>
<widget class="TQPushButton" row="4" column="1">
<property name="name">
<cstring>PushButton4</cstring>
</property>
<property name="text">
<string>&amp;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>
<Q_SLOTS>
<slot>init()</slot>
<slot>setList( const TQStringList &amp; l )</slot>
<slot>addItem()</slot>
<slot>renamed( TQListViewItem * i )</slot>
<slot>removeItems()</slot>
<slot returnType="TQStringList">items()</slot>
<slot>renameItem()</slot>
</Q_SLOTS>
<includes>
<include location="local" impldecl="in implementation">myiconloader.h</include>
</includes>
<pixmapfunction>BarIcon2</pixmapfunction>
<layoutdefaults spacing="6" margin="11"/>
</UI>