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.
545 lines
22 KiB
545 lines
22 KiB
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
|
|
<class>AddServiceDialogBase</class>
|
|
<widget class="TQDialog">
|
|
<property name="name">
|
|
<cstring>add_service_dialog</cstring>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>602</width>
|
|
<height>422</height>
|
|
</rect>
|
|
</property>
|
|
<property name="caption">
|
|
<string>Add New Service</string>
|
|
</property>
|
|
<property name="sizeGripEnabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
|
|
<widget class="TQGroupBox">
|
|
<property name="name">
|
|
<cstring>GroupBox1</cstring>
|
|
</property>
|
|
<property name="title">
|
|
<string>&Service File</string>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
|
|
<widget class="KLineEdit" row="0" column="1">
|
|
<property name="name">
|
|
<cstring>filename_edit</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string></string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="1" column="2">
|
|
<property name="name">
|
|
<cstring>icon_label</cstring>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Icon:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>AlignVCenter|AlignRight</set>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>icon_button</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLayoutWidget" row="1" column="3">
|
|
<property name="name">
|
|
<cstring>Layout2</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
|
|
<widget class="TQPushButton">
|
|
<property name="name">
|
|
<cstring>icon_button</cstring>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>24</width>
|
|
<height>24</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string></string>
|
|
</property>
|
|
<property name="autoDefault">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
<spacer>
|
|
<property name="name">
|
|
<cstring>Spacer1</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>
|
|
</hbox>
|
|
</widget>
|
|
<widget class="KLineEdit" row="2" column="1" rowspan="1" colspan="3">
|
|
<property name="name">
|
|
<cstring>comment_edit</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="KLineEdit" row="1" column="1">
|
|
<property name="name">
|
|
<cstring>name_edit</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQComboBox" row="0" column="3">
|
|
<property name="name">
|
|
<cstring>library_combo</cstring>
|
|
</property>
|
|
<property name="editable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="0" column="2">
|
|
<property name="name">
|
|
<cstring>library_label</cstring>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Library:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>AlignVCenter|AlignRight</set>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>library_combo</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>filename_label</cstring>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>&File name:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>AlignVCenter|AlignRight</set>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>filename_edit</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>name_label</cstring>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Name:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>AlignVCenter|AlignRight</set>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>name_edit</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="2" column="0">
|
|
<property name="name">
|
|
<cstring>comment_label</cstring>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Co&mment:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>AlignVCenter|AlignRight</set>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>comment_edit</cstring>
|
|
</property>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<widget class="TQGroupBox">
|
|
<property name="name">
|
|
<cstring>GroupBox2</cstring>
|
|
</property>
|
|
<property name="title">
|
|
<string>Service &Types</string>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
|
|
<widget class="TQLayoutWidget" row="0" column="0" rowspan="1" colspan="2">
|
|
<property name="name">
|
|
<cstring>Layout5</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
|
|
<widget class="TQListView">
|
|
<column>
|
|
<property name="text">
|
|
<string></string>
|
|
</property>
|
|
<property name="clickable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="resizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</column>
|
|
<property name="name">
|
|
<cstring>chosentypes_listview</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>7</hsizetype>
|
|
<vsizetype>7</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="resizeMode">
|
|
<enum>LastColumn</enum>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLayoutWidget">
|
|
<property name="name">
|
|
<cstring>Layout3</cstring>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
|
|
<spacer>
|
|
<property name="name">
|
|
<cstring>Spacer4</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="TQPushButton">
|
|
<property name="name">
|
|
<cstring>add_button</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string><-</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton">
|
|
<property name="name">
|
|
<cstring>remove_button</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>-></string>
|
|
</property>
|
|
</widget>
|
|
<spacer>
|
|
<property name="name">
|
|
<cstring>Spacer5</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>
|
|
</vbox>
|
|
</widget>
|
|
<widget class="TQListView">
|
|
<column>
|
|
<property name="text">
|
|
<string></string>
|
|
</property>
|
|
<property name="clickable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="resizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</column>
|
|
<property name="name">
|
|
<cstring>availtypes_listview</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>7</hsizetype>
|
|
<vsizetype>7</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="resizeMode">
|
|
<enum>LastColumn</enum>
|
|
</property>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
<widget class="TQListView" row="1" column="1">
|
|
<column>
|
|
<property name="text">
|
|
<string>Property</string>
|
|
</property>
|
|
<property name="clickable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="resizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Value</string>
|
|
</property>
|
|
<property name="clickable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="resizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</column>
|
|
<property name="name">
|
|
<cstring>properties_listview</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>7</hsizetype>
|
|
<vsizetype>5</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="allColumnsShowFocus">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="resizeMode">
|
|
<enum>AllColumns</enum>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>properties_label</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>5</hsizetype>
|
|
<vsizetype>5</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Properties:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>AlignTop|AlignRight</set>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>properties_listview</cstring>
|
|
</property>
|
|
</widget>
|
|
</grid>
|
|
</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>
|
|
|
|
<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="TQPushButton">
|
|
<property name="name">
|
|
<cstring>okbutton</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&OK</string>
|
|
</property>
|
|
<property name="autoDefault">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="default">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton">
|
|
<property name="name">
|
|
<cstring>cancelbutton</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Cancel</string>
|
|
</property>
|
|
<property name="autoDefault">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
<connections>
|
|
<connection>
|
|
<sender>okbutton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>add_service_dialog</receiver>
|
|
<slot>accept()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>cancelbutton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>add_service_dialog</receiver>
|
|
<slot>reject()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>remove_button</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>add_service_dialog</receiver>
|
|
<slot>removeTypeClicked()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>properties_listview</sender>
|
|
<signal>doubleClicked(TQListViewItem*)</signal>
|
|
<receiver>add_service_dialog</receiver>
|
|
<slot>propertyExecuted(TQListViewItem*)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>properties_listview</sender>
|
|
<signal>returnPressed(TQListViewItem*)</signal>
|
|
<receiver>add_service_dialog</receiver>
|
|
<slot>propertyExecuted(TQListViewItem*)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>icon_button</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>add_service_dialog</receiver>
|
|
<slot>iconClicked()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>add_button</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>add_service_dialog</receiver>
|
|
<slot>addTypeClicked()</slot>
|
|
</connection>
|
|
</connections>
|
|
<tabstops>
|
|
<tabstop>filename_edit</tabstop>
|
|
<tabstop>library_combo</tabstop>
|
|
<tabstop>name_edit</tabstop>
|
|
<tabstop>icon_button</tabstop>
|
|
<tabstop>comment_edit</tabstop>
|
|
<tabstop>chosentypes_listview</tabstop>
|
|
<tabstop>add_button</tabstop>
|
|
<tabstop>remove_button</tabstop>
|
|
<tabstop>availtypes_listview</tabstop>
|
|
<tabstop>properties_listview</tabstop>
|
|
<tabstop>okbutton</tabstop>
|
|
<tabstop>cancelbutton</tabstop>
|
|
</tabstops>
|
|
<Q_SLOTS>
|
|
<slot access="protected">iconClicked()</slot>
|
|
<slot access="protected">addTypeClicked()</slot>
|
|
<slot access="protected">propertyExecuted(TQListViewItem*)</slot>
|
|
<slot access="protected">removeTypeClicked()</slot>
|
|
</Q_SLOTS>
|
|
<includes>
|
|
<include location="global" impldecl="in implementation">kdialog.h</include>
|
|
</includes>
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
|
|
</UI>
|