2011-04-01 23:53:26 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ApplicationDialog</class>
<widget class="QDialog" name="ApplicationDialog">
<property name="windowModality">
<enum>Qt::WindowModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>569</width>
2011-04-04 10:00:09 +02:00
<height>471</height>
2011-04-01 23:53:26 +02:00
</rect>
</property>
2011-04-04 10:00:09 +02:00
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2011-04-01 23:53:26 +02:00
<property name="windowTitle">
<string>Add an application</string>
</property>
2011-04-04 10:00:09 +02:00
<layout class="QVBoxLayout" name="verticalLayout_4">
2011-04-01 23:53:26 +02:00
<item>
<widget class="QLabel" name="label">
2011-04-04 10:00:09 +02:00
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
2011-04-01 23:53:26 +02:00
<property name="text">
2011-04-02 10:56:18 +02:00
<string>Here you can add an application that can open error files. Specify a name for the application, the application executable and command line parameters for the application.
2011-04-01 23:53:26 +02:00
2011-04-02 10:56:18 +02:00
The following texts in parameters are replaced with appropriate values when application is executed:
2011-04-01 23:53:26 +02:00
(file) - Filename containing the error
(line) - Line number containing the error
(message) - Error message
(severity) - Error severity
Example opening a file with Kate and make Kate scroll to the correct line:
2011-04-04 10:00:09 +02:00
Executable: kate
Parameters: -l(line) (file)</string>
2011-04-01 23:53:26 +02:00
</property>
<property name="textFormat">
<enum>Qt::AutoText</enum>
</property>
2011-04-04 10:00:09 +02:00
<property name="scaledContents">
<bool>false</bool>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
2011-04-02 10:56:18 +02:00
<property name="wordWrap">
<bool>true</bool>
</property>
2011-04-01 23:53:26 +02:00
</widget>
</item>
<item>
2011-04-04 10:00:09 +02:00
<layout class="QVBoxLayout" name="verticalLayout_3">
2011-04-01 23:53:26 +02:00
<item>
2011-04-04 10:00:09 +02:00
<layout class="QHBoxLayout" name="horizontalLayout">
2011-04-01 23:53:26 +02:00
<item>
2011-04-04 10:00:09 +02:00
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>&Name:</string>
</property>
<property name="buddy">
<cstring>mName</cstring>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>&Executable:</string>
</property>
<property name="buddy">
<cstring>mPath</cstring>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_4">
<property name="text">
<string>&Parameters:</string>
</property>
<property name="buddy">
<cstring>mParameters</cstring>
</property>
</widget>
</item>
</layout>
2011-04-01 23:53:26 +02:00
</item>
<item>
2011-04-04 10:00:09 +02:00
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLineEdit" name="mName"/>
</item>
<item>
<widget class="QLineEdit" name="mPath"/>
</item>
<item>
<widget class="QLineEdit" name="mParameters"/>
</item>
</layout>
2011-04-01 23:53:26 +02:00
</item>
</layout>
</item>
<item>
2011-04-04 10:00:09 +02:00
<layout class="QHBoxLayout" name="horizontalLayout_2">
2011-04-01 23:53:26 +02:00
<item>
2011-04-04 10:00:09 +02:00
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
2011-04-01 23:53:26 +02:00
</item>
<item>
2011-04-04 10:00:09 +02:00
<widget class="QPushButton" name="mButtonBrowse">
<property name="text">
<string>Browse</string>
</property>
</widget>
2011-04-01 23:53:26 +02:00
</item>
</layout>
</item>
</layout>
</item>
<item>
<widget class="QDialogButtonBox" name="mButtons">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
<tabstops>
<tabstop>mName</tabstop>
<tabstop>mPath</tabstop>
<tabstop>mParameters</tabstop>
<tabstop>mButtonBrowse</tabstop>
2011-04-01 23:57:20 +02:00
<tabstop>mButtons</tabstop>
2011-04-01 23:53:26 +02:00
</tabstops>
<resources/>
<connections>
<connection>
<sender>mButtons</sender>
<signal>accepted()</signal>
<receiver>ApplicationDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>mButtons</sender>
<signal>rejected()</signal>
<receiver>ApplicationDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>