GUI: Change text in Add Application-dialog back to plain text.
Revert change ca9f8a7036
that converted
text in Add Application -dialog to rich text. The text is plain
text and doesn't use any formatting so plain text is good for it.
This commit is contained in:
parent
14ee95eab7
commit
e0e0e3b4fa
|
@ -1,156 +1,155 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<ui version="4.0">
|
<ui version="4.0">
|
||||||
<class>ApplicationDialog</class>
|
<class>ApplicationDialog</class>
|
||||||
<widget class="QDialog" name="ApplicationDialog">
|
<widget class="QDialog" name="ApplicationDialog">
|
||||||
<property name="windowModality">
|
<property name="windowModality">
|
||||||
<enum>Qt::WindowModal</enum>
|
<enum>Qt::WindowModal</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>569</width>
|
<width>569</width>
|
||||||
<height>300</height>
|
<height>300</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Add an application</string>
|
<string>Add an application</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label">
|
<widget class="QLabel" name="label">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
<string>Here you can add applications that can open error files.
|
||||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
Specify a name for the application and the application to execute.
|
||||||
p, li { white-space: pre-wrap; }
|
|
||||||
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
|
The following texts are replaced with appropriate values when application is executed:
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Here you can add applications that can open error files.</span></p>
|
(file) - Filename containing the error
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Specify a name for the application and the command to execute.</span></p>
|
(line) - Line number containing the error
|
||||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;"></p>
|
(message) - Error message
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">The following texts are replaced with appropriate values when application is executed:</span></p>
|
(severity) - Error severity
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">(file) - Filename containing the error</span></p>
|
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">(line) - Line number containing the error</span></p>
|
Example opening a file with Kate and make Kate scroll to the correct line:
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">(message) - Error message</span></p>
|
kate -l(line) (file)</string>
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">(severity) - Error severity</span></p>
|
</property>
|
||||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;"></p>
|
<property name="textFormat">
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Example opening a file with Kate and make Kate scroll to the correct line:</span></p>
|
<enum>Qt::AutoText</enum>
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">kate -l(line) (file)</span></p></body></html></string>
|
</property>
|
||||||
</property>
|
</widget>
|
||||||
</widget>
|
</item>
|
||||||
</item>
|
<item>
|
||||||
<item>
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
<item>
|
||||||
<item>
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
<item>
|
||||||
<item>
|
<widget class="QLabel" name="label_2">
|
||||||
<widget class="QLabel" name="label_2">
|
<property name="text">
|
||||||
<property name="text">
|
<string>Application's name:</string>
|
||||||
<string>Application's name:</string>
|
</property>
|
||||||
</property>
|
<property name="buddy">
|
||||||
<property name="buddy">
|
<cstring>mName</cstring>
|
||||||
<cstring>mName</cstring>
|
</property>
|
||||||
</property>
|
</widget>
|
||||||
</widget>
|
</item>
|
||||||
</item>
|
<item>
|
||||||
<item>
|
<widget class="QLabel" name="label_3">
|
||||||
<widget class="QLabel" name="label_3">
|
<property name="text">
|
||||||
<property name="text">
|
<string>Command to execute:</string>
|
||||||
<string>Command to execute:</string>
|
</property>
|
||||||
</property>
|
<property name="buddy">
|
||||||
<property name="buddy">
|
<cstring>mPath</cstring>
|
||||||
<cstring>mPath</cstring>
|
</property>
|
||||||
</property>
|
</widget>
|
||||||
</widget>
|
</item>
|
||||||
</item>
|
</layout>
|
||||||
</layout>
|
</item>
|
||||||
</item>
|
<item>
|
||||||
<item>
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
<item>
|
||||||
<item>
|
<widget class="QLineEdit" name="mName"/>
|
||||||
<widget class="QLineEdit" name="mName"/>
|
</item>
|
||||||
</item>
|
<item>
|
||||||
<item>
|
<widget class="QLineEdit" name="mPath"/>
|
||||||
<widget class="QLineEdit" name="mPath"/>
|
</item>
|
||||||
</item>
|
</layout>
|
||||||
</layout>
|
</item>
|
||||||
</item>
|
</layout>
|
||||||
</layout>
|
</item>
|
||||||
</item>
|
<item>
|
||||||
<item>
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
<item>
|
||||||
<item>
|
<spacer name="horizontalSpacer">
|
||||||
<spacer name="horizontalSpacer">
|
<property name="orientation">
|
||||||
<property name="orientation">
|
<enum>Qt::Horizontal</enum>
|
||||||
<enum>Qt::Horizontal</enum>
|
</property>
|
||||||
</property>
|
<property name="sizeHint" stdset="0">
|
||||||
<property name="sizeHint" stdset="0">
|
<size>
|
||||||
<size>
|
<width>40</width>
|
||||||
<width>40</width>
|
<height>20</height>
|
||||||
<height>20</height>
|
</size>
|
||||||
</size>
|
</property>
|
||||||
</property>
|
</spacer>
|
||||||
</spacer>
|
</item>
|
||||||
</item>
|
<item>
|
||||||
<item>
|
<widget class="QPushButton" name="mButtonBrowse">
|
||||||
<widget class="QPushButton" name="mButtonBrowse">
|
<property name="text">
|
||||||
<property name="text">
|
<string>Browse</string>
|
||||||
<string>Browse</string>
|
</property>
|
||||||
</property>
|
</widget>
|
||||||
</widget>
|
</item>
|
||||||
</item>
|
</layout>
|
||||||
</layout>
|
</item>
|
||||||
</item>
|
<item>
|
||||||
<item>
|
<widget class="QDialogButtonBox" name="mButtons">
|
||||||
<widget class="QDialogButtonBox" name="mButtons">
|
<property name="orientation">
|
||||||
<property name="orientation">
|
<enum>Qt::Horizontal</enum>
|
||||||
<enum>Qt::Horizontal</enum>
|
</property>
|
||||||
</property>
|
<property name="standardButtons">
|
||||||
<property name="standardButtons">
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
||||||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
</property>
|
||||||
</property>
|
</widget>
|
||||||
</widget>
|
</item>
|
||||||
</item>
|
</layout>
|
||||||
</layout>
|
</widget>
|
||||||
</widget>
|
<tabstops>
|
||||||
<tabstops>
|
<tabstop>mName</tabstop>
|
||||||
<tabstop>mName</tabstop>
|
<tabstop>mPath</tabstop>
|
||||||
<tabstop>mPath</tabstop>
|
<tabstop>mButtonBrowse</tabstop>
|
||||||
<tabstop>mButtonBrowse</tabstop>
|
<tabstop>mButtons</tabstop>
|
||||||
<tabstop>mButtons</tabstop>
|
</tabstops>
|
||||||
</tabstops>
|
<resources/>
|
||||||
<resources/>
|
<connections>
|
||||||
<connections>
|
<connection>
|
||||||
<connection>
|
<sender>mButtons</sender>
|
||||||
<sender>mButtons</sender>
|
<signal>accepted()</signal>
|
||||||
<signal>accepted()</signal>
|
<receiver>ApplicationDialog</receiver>
|
||||||
<receiver>ApplicationDialog</receiver>
|
<slot>accept()</slot>
|
||||||
<slot>accept()</slot>
|
<hints>
|
||||||
<hints>
|
<hint type="sourcelabel">
|
||||||
<hint type="sourcelabel">
|
<x>248</x>
|
||||||
<x>248</x>
|
<y>254</y>
|
||||||
<y>254</y>
|
</hint>
|
||||||
</hint>
|
<hint type="destinationlabel">
|
||||||
<hint type="destinationlabel">
|
<x>157</x>
|
||||||
<x>157</x>
|
<y>274</y>
|
||||||
<y>274</y>
|
</hint>
|
||||||
</hint>
|
</hints>
|
||||||
</hints>
|
</connection>
|
||||||
</connection>
|
<connection>
|
||||||
<connection>
|
<sender>mButtons</sender>
|
||||||
<sender>mButtons</sender>
|
<signal>rejected()</signal>
|
||||||
<signal>rejected()</signal>
|
<receiver>ApplicationDialog</receiver>
|
||||||
<receiver>ApplicationDialog</receiver>
|
<slot>reject()</slot>
|
||||||
<slot>reject()</slot>
|
<hints>
|
||||||
<hints>
|
<hint type="sourcelabel">
|
||||||
<hint type="sourcelabel">
|
<x>316</x>
|
||||||
<x>316</x>
|
<y>260</y>
|
||||||
<y>260</y>
|
</hint>
|
||||||
</hint>
|
<hint type="destinationlabel">
|
||||||
<hint type="destinationlabel">
|
<x>286</x>
|
||||||
<x>286</x>
|
<y>274</y>
|
||||||
<y>274</y>
|
</hint>
|
||||||
</hint>
|
</hints>
|
||||||
</hints>
|
</connection>
|
||||||
</connection>
|
</connections>
|
||||||
</connections>
|
</ui>
|
||||||
</ui>
|
|
||||||
|
|
Loading…
Reference in New Issue