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.
246 lines
12 KiB
246 lines
12 KiB
15 years ago
|
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
|
||
|
<class>AddToolDialog</class>
|
||
|
<widget class="QDialog">
|
||
|
<property name="name">
|
||
|
<cstring>add_tool_dialog</cstring>
|
||
|
</property>
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>314</width>
|
||
|
<height>514</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="caption">
|
||
|
<string>Add Tool</string>
|
||
|
</property>
|
||
|
<grid>
|
||
|
<property name="name">
|
||
|
<cstring>unnamed</cstring>
|
||
|
</property>
|
||
|
<widget class="QLabel" row="3" column="0">
|
||
|
<property name="name">
|
||
|
<cstring>cmdlineLabel_2</cstring>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>&Parameters:</string>
|
||
|
</property>
|
||
|
<property name="buddy" stdset="0">
|
||
|
<cstring>paramEdit</cstring>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QCheckBox" row="4" column="0" rowspan="1" colspan="2">
|
||
|
<property name="name">
|
||
|
<cstring>capturedBox</cstring>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>C&apture output</string>
|
||
|
</property>
|
||
|
<property name="whatsThis" stdset="0">
|
||
|
<string>If this is checked, the output of the application will be shown in the application output view; otherwise, all output will be ignored.</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QLabel" row="2" column="0">
|
||
|
<property name="name">
|
||
|
<cstring>cmdlineLabel</cstring>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>&Executable:</string>
|
||
|
</property>
|
||
|
<property name="buddy" stdset="0">
|
||
|
<cstring>execEdit</cstring>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="Line" row="5" column="0" rowspan="1" colspan="2">
|
||
|
<property name="name">
|
||
|
<cstring>Line1</cstring>
|
||
|
</property>
|
||
|
<property name="frameShape">
|
||
|
<enum>HLine</enum>
|
||
|
</property>
|
||
|
<property name="frameShadow">
|
||
|
<enum>Sunken</enum>
|
||
|
</property>
|
||
|
<property name="orientation">
|
||
|
<enum>Horizontal</enum>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QLabel" row="1" column="0">
|
||
|
<property name="name">
|
||
|
<cstring>menutextLabel</cstring>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>&Menu text:</string>
|
||
|
</property>
|
||
|
<property name="buddy" stdset="0">
|
||
|
<cstring>menutextEdit</cstring>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="KLineEdit" row="3" column="1">
|
||
|
<property name="name">
|
||
|
<cstring>paramEdit</cstring>
|
||
|
</property>
|
||
|
<property name="whatsThis" stdset="0">
|
||
|
<string><p>The following placeholders can be used:</p>
|
||
|
<p>
|
||
|
<b>%D</b> - The project directory<br>
|
||
|
<b>%S</b> - The current filename<br>
|
||
|
<b>%T</b> - The current selection<br>
|
||
|
<b>%W</b> - The current word under the cursor<br>
|
||
|
</p>
|
||
|
<p>If any of the used placeholders cannot be evaluated (for example
|
||
|
if you use %T but there is no current selection), the tool will not be
|
||
|
executed.</p></string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="KLineEdit" row="1" column="1">
|
||
|
<property name="name">
|
||
|
<cstring>menutextEdit</cstring>
|
||
|
</property>
|
||
|
<property name="whatsThis" stdset="0">
|
||
|
<string>The text that appears in the Tools-Menu</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QLayoutWidget" row="6" column="0" rowspan="1" colspan="2">
|
||
|
<property name="name">
|
||
|
<cstring>Layout2</cstring>
|
||
|
</property>
|
||
|
<hbox>
|
||
|
<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>Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeType">
|
||
|
<enum>Expanding</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint">
|
||
|
<size>
|
||
|
<width>20</width>
|
||
|
<height>0</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
<widget class="QPushButton">
|
||
|
<property name="name">
|
||
|
<cstring>okButton</cstring>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>&OK</string>
|
||
|
</property>
|
||
|
<property name="default">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QPushButton">
|
||
|
<property name="name">
|
||
|
<cstring>cancelButton</cstring>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>&Cancel</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</hbox>
|
||
|
</widget>
|
||
|
<widget class="KURLRequester" row="2" column="1">
|
||
|
<property name="name">
|
||
|
<cstring>execEdit</cstring>
|
||
|
</property>
|
||
|
<property name="whatsThis" stdset="0">
|
||
|
<string>The path and name of the application to execute</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="KDevApplicationTree" row="0" column="0" rowspan="1" colspan="2">
|
||
|
<property name="name">
|
||
|
<cstring>tree</cstring>
|
||
|
</property>
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy>
|
||
|
<hsizetype>7</hsizetype>
|
||
|
<vsizetype>7</vsizetype>
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="focusPolicy">
|
||
|
<enum>StrongFocus</enum>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</grid>
|
||
|
</widget>
|
||
|
<customwidgets>
|
||
|
<customwidget>
|
||
|
<class>KDevApplicationTree</class>
|
||
|
<header location="local">kapplicationtree.h</header>
|
||
|
<sizehint>
|
||
|
<width>-1</width>
|
||
|
<height>-1</height>
|
||
|
</sizehint>
|
||
|
<container>0</container>
|
||
|
<sizepolicy>
|
||
|
<hordata>5</hordata>
|
||
|
<verdata>5</verdata>
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
<pixmap>image0</pixmap>
|
||
|
</customwidget>
|
||
|
</customwidgets>
|
||
|
<images>
|
||
|
<image name="image0">
|
||
|
<data format="XPM.GZ" length="4350">789c6dd7594f23471007f0f7fd14d6d6db2aaaf58c3db647511eb831b7317794879ac30760cc61c010e5bba7dcf5af5688167664fdb66bbaababbb67cccf1f8dab93c3c68f9fdf5e16b298968d7222cf8d1fd5eb6cf6f1e75f7ffcfded7b9a3656ff9aad46fafdb76fdf078b46d9389a3fd42bf04841699e964933b830b79a7019dd0b96955b895b5a703bcd572e08eea576ff6570ae0eedd477b792103f854b8b2fc6d1163f77237e646e37113f89b6f8307e3bf1785a8b0eedbc696eb7ad9db7e01ee6476ee4ffe0c6fd158c7c69182cde4eec6e87fea50dfbf8176e6ba7d07f96669999cfa325ccaf862bcc97a36dbccf60f178cee11cde706761f16917ae30fe6b7488a7851bf14d7327417f676eb4f756eea41e2f57e6d83e83919f6cba117f04235fd9765b3b0fa36dfc398cf973edc67a6fb951ffe768ab6765ee26b8dff213ef5f4630e2b9e7463ea7ee8ee5ff60ee2618af8eb6fe3238437eb91bf1299cdbfacad3cadd5617f5a11738c7fe4adcb8ffd68d7aeec15e8fc3683b9f62ee2518ef33dafa3f75e3bc957086f86eb4d56f3db8e8e6dd56f01a5cc1bbe65e629673d8ebd18d0efdc9058cf9f2c08df9e630ce037db8719ec37c7a9a7fb708f10267b65e7cef46fb3e9ca3fd23dad6ef0cf67abe99f304f95ec3a8871cbb71be52d8d777e8b6fee412f6f958be3adf5ea817b561afe7d86ded7c67ce13c46fc37ede2766c17a17059cd9f38e466e8c3f8eb6fd700f0b9ef7095c37cd3d37de178f2be76dcf876fa343bd790267f012f67a77cc319f69b4ed872e2ca8e732daeabfe3c6fa9cc235f21f9b8bd4f2a5cd687bfedbfd659ee7ede017b842becf6eb44fa3cbd0df8559b0ffe808ceb0ff37e01afba3652e52cc87a26dbe276ecca7097790ff73b4cdef0616ac4fdf6df1c2d1d67ee8c6f80318eb4bd1180ff529513f0ecf7b694b62f5a002ceccb2662e523c2fb7605f9f0fd8fbbf75e3bc2dcd3e9ebcb9f17ce8c05e8f83685bcf701e44eb2db65e4fd1b65eebe62245be53b8c6f3ffdd8dfd3933fbf884761f5f0edcd88f951bf118bf44bde926dae24fe01ae7af76e3f9169e2f45bb143c0f5fdcf6fea23b18f773eac6f3e63ddac6db75e37df5e8c6fbae65aebcde6d37beaf84f528aa52f03c9dc3359ea79939c627d136deab1befaf75b883ef23e76e3ccfaea36d7dc2f795322b05ebfb0ad738af7db7ad371f99fd7e59b8b13f276e9cdf1318f5e54337e6d78cb67cf761ec170efba1acaa1afd9db92d3f3a36d729ea77efc6f33cbccf2beddfe6478fe6d85e45dbfd851bf1577007f5d877e3bc86f5a9ea3a2d6cffdfc1debe116df5db73a39e37b0e777191dda257c7fa83b6e8a2eaae00eeceb13d6b7d69f325b79b058fd32b170c1a55ebffaac2ccae2b9e6118f79c253bd6ef9ee3fd7587fef79c60f7acf3cc617fcc84ffcac6d8ffcc20b7ee5377ee7257ff027aff1bac66ff0269716cf5b1ab7cd3bbcabb17ddee37d3ee0433ee2633ee1019ff290cff89c2ff89229c48b66f1ac3d5df135df7093134eb9c56dcef4b3c35dee71ce393111dbfa8c784a4205955451cd1d1ad1982634a55bbad3f80eddd38c1ef882e66cf52ab5ff2b8d7ea4277aa6175ad06bb866f446efb4d4df0ffad4fed762ffb7b44e1b9cd2266dd142c75e5ddb3cd0bb3e347a477bd9d5f83ee245e3f7689f0ee830f67d44c77412ee186946033aa5e197fecfe85c7bf7be2fe892aee89a6ea84989f6bfa434f4eff9df52c509b5d0779b32ea684d13ea528f728d1e882ebfce37f6cf077422b4ea5b440ad14af1a15452ab473aee52c65ff39789b64fe955f44eb9937b5d858c5b32d377c0c32a7fee7ecd5fe61aff284ff22c2fb290577993775db1443fb53ef2219f5ff2bf93356d5b970dd9d41eb77820dbb223bbab155ed55ffab2f725ffb1eccb81aed6931cca116ab490633909d10339fd5ffdef795d869ae7923bc27226e772415d5986b51d683663b9d4fcfbb1ff190fe54aaec35aeaa577ee20f24673e94b531249a585fc2b69ebfe3ed7dae91f75ba964b5c03e9d344ba1add93bce0826c3f87f3b2a9fb6f18aeba10ba2f563f25eb1b563771a5d17531e2513c5fba538b3111cd690dd73c7ef6a95f4c8aa99de12fe77da4951de9ffffea730be7fd9fdfbffd0b690edc6c</data>
|
||
|
</image>
|
||
|
</images>
|
||
|
<connections>
|
||
|
<connection>
|
||
|
<sender>okButton</sender>
|
||
|
<signal>clicked()</signal>
|
||
|
<receiver>add_tool_dialog</receiver>
|
||
|
<slot>accept()</slot>
|
||
|
</connection>
|
||
|
<connection>
|
||
|
<sender>cancelButton</sender>
|
||
|
<signal>clicked()</signal>
|
||
|
<receiver>add_tool_dialog</receiver>
|
||
|
<slot>reject()</slot>
|
||
|
</connection>
|
||
|
</connections>
|
||
|
<tabstops>
|
||
|
<tabstop>tree</tabstop>
|
||
|
<tabstop>menutextEdit</tabstop>
|
||
|
<tabstop>execEdit</tabstop>
|
||
|
<tabstop>paramEdit</tabstop>
|
||
|
<tabstop>capturedBox</tabstop>
|
||
|
<tabstop>okButton</tabstop>
|
||
|
<tabstop>cancelButton</tabstop>
|
||
|
</tabstops>
|
||
|
<includes>
|
||
|
<include location="global" impldecl="in implementation">kdialog.h</include>
|
||
|
<include location="local" impldecl="in implementation">addtooldlg.ui.h</include>
|
||
|
</includes>
|
||
|
<forwards>
|
||
|
<forward>class QListViewItem;</forward>
|
||
|
</forwards>
|
||
|
<slots>
|
||
|
<slot>init()</slot>
|
||
|
<slot returnType="QString">getApp()</slot>
|
||
|
<slot access="private">treeSelectionChanged( QListViewItem * lvi )</slot>
|
||
|
</slots>
|
||
|
<layoutdefaults spacing="6" margin="11"/>
|
||
|
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
|
||
|
<includehints>
|
||
|
<includehint>kurlrequester.h</includehint>
|
||
|
<includehint>klineedit.h</includehint>
|
||
|
<includehint>kpushbutton.h</includehint>
|
||
|
</includehints>
|
||
|
</UI>
|