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.
tdewebdev/kommander/editor/connectioneditor.ui

413 lines
16 KiB

<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>ConnectionEditorBase</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>ConnectionEditorBase</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>780</width>
<height>538</height>
</rect>
</property>
<property name="caption">
<string>Edit Connections</string>
</property>
<property name="sizeGripEnabled">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>&lt;b&gt;Edit Connections&lt;/b&gt;&lt;p&gt;Add and remove connections in the current form .&lt;/p&gt;&lt;p&gt;Select a signal and a corresponding slot then press the &lt;b&gt;Connect&lt;/b&gt;-button to create a connection.&lt;/p&gt;&lt;p&gt;Select a connection from the list then press the &lt;b&gt;Disconnect&lt;/b&gt;-button to delete the connection.&lt;/p&gt;</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="TDEListView" row="3" column="0" rowspan="1" colspan="2">
<column>
<property name="text">
<string>Sender</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Signal</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Receiver</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Slot</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<property name="name">
<cstring>connectionView</cstring>
</property>
<property name="allColumnsShowFocus">
<bool>true</bool>
</property>
<property name="showSortIndicator">
<bool>true</bool>
</property>
<property name="fullWidth">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>Displays the connections between the sender and the receiver.</string>
</property>
</widget>
<widget class="TDEListBox" row="1" column="1">
<property name="name">
<cstring>slotBox</cstring>
</property>
<property name="whatsThis" stdset="0">
<string>&lt;b&gt;A list of slots for the receiver.&lt;/b&gt;&lt;p&gt;The slots that are displayed are only those which have arguments that correspond with the arguments of the signal that is currently selected in the Signal-list.&lt;/b&gt;</string>
</property>
</widget>
<widget class="TDEListBox" row="1" column="0">
<property name="name">
<cstring>signalBox</cstring>
</property>
<property name="whatsThis" stdset="0">
<string>Displays the list of signals that the widget emits.</string>
</property>
</widget>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>labelSignal</cstring>
</property>
<property name="text">
<string>Si&amp;gnals:</string>
</property>
<property name="buddy" stdset="0">
<cstring>signalBox</cstring>
</property>
</widget>
<widget class="KComboBox">
<property name="name">
<cstring>comboSender</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</hbox>
</widget>
<widget class="TQLayoutWidget" row="0" column="1">
<property name="name">
<cstring>Layout3</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>labelSlot</cstring>
</property>
<property name="text">
<string>&amp;Slots:</string>
</property>
<property name="buddy" stdset="0">
<cstring>slotBox</cstring>
</property>
</widget>
<widget class="KComboBox">
<property name="name">
<cstring>comboReceiver</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</hbox>
</widget>
<widget class="TQLayoutWidget" row="4" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout7</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="KPushButton">
<property name="name">
<cstring>disconnectButton</cstring>
</property>
<property name="text">
<string>&amp;Disconnect</string>
</property>
<property name="accel">
<string>Alt+D</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Remove the selected connection</string>
</property>
<property name="whatsThis" stdset="0">
<string>Remove the selected connection.</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer5</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>71</width>
<height>21</height>
</size>
</property>
</spacer>
<widget class="KPushButton">
<property name="name">
<cstring>okButton</cstring>
</property>
<property name="text">
<string>&amp;OK</string>
</property>
<property name="accel">
<string>Alt+O</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="KPushButton">
<property name="name">
<cstring>cancelButton</cstring>
</property>
<property name="text">
<string>&amp;Cancel</string>
</property>
<property name="accel">
<string>Alt+C</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>
<spacer>
<property name="name">
<cstring>spacer4</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>230</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout8</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
<property name="text">
<string>Connec&amp;tions:</string>
</property>
<property name="buddy" stdset="0">
<cstring>connectionView</cstring>
</property>
</widget>
<spacer>
<property name="name">
<cstring>Spacer2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>231</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="KPushButton">
<property name="name">
<cstring>connectButton</cstring>
</property>
<property name="text">
<string>Co&amp;nnect</string>
</property>
<property name="accel">
<string>Alt+N</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Create connection</string>
</property>
<property name="whatsThis" stdset="0">
<string>Create a connection between a signal and a slot.</string>
</property>
</widget>
<spacer>
<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>211</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
</grid>
</widget>
<tabstops>
<tabstop>comboSender</tabstop>
<tabstop>signalBox</tabstop>
<tabstop>comboReceiver</tabstop>
<tabstop>slotBox</tabstop>
<tabstop>connectButton</tabstop>
<tabstop>connectionView</tabstop>
<tabstop>disconnectButton</tabstop>
<tabstop>okButton</tabstop>
<tabstop>cancelButton</tabstop>
</tabstops>
<Q_SLOTS>
<slot access="protected">init()</slot>
<slot access="protected">destroy()</slot>
<slot>addSlotClicked()</slot>
<slot access="protected">connectClicked()</slot>
<slot access="protected">connectionsChanged()</slot>
<slot access="protected">disconnectClicked()</slot>
<slot access="protected">receiverChanged( const TQString &amp; )</slot>
<slot access="protected">okClicked()</slot>
<slot access="protected">signalChanged()</slot>
<slot access="protected">Q_SLOTSChanged()</slot>
<slot access="protected">cancelClicked()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">tdelistview.h</include>
<include location="global" impldecl="in implementation">kcombobox.h</include>
<include location="global" impldecl="in implementation">kpushbutton.h</include>
</includes>
</UI>