76 lines
3.1 KiB
Text
76 lines
3.1 KiB
Text
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<ui version="4.0">
|
||
|
<class>PreferenceEditor</class>
|
||
|
<widget class="QMainWindow" name="PreferenceEditor">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>480</width>
|
||
|
<height>320</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="windowTitle">
|
||
|
<string>Preferences</string>
|
||
|
</property>
|
||
|
<widget class="QWidget" name="centralwidget">
|
||
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||
|
<item>
|
||
|
<widget class="QGroupBox" name="groupBox">
|
||
|
<property name="title">
|
||
|
<string>Preferred Text Editor</string>
|
||
|
</property>
|
||
|
<layout class="QGridLayout" name="gridLayout">
|
||
|
<item row="0" column="0">
|
||
|
<widget class="QLabel" name="label_TextEditor">
|
||
|
<property name="text">
|
||
|
<string>Command</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="1">
|
||
|
<widget class="QLineEdit" name="lineEdit_TextEditor">
|
||
|
<property name="toolTip">
|
||
|
<string>The command (including the necessary parameters) to perform the action. See the command parameter legend below for a list of supported parameter variables, which will be substituted when launching the command. When upper-case letters (e.g. %F, $D, %N) are used, the action will be applicable even if more than one item is selected. Esle the action will only be applicable f exactly one item is selected.</string>
|
||
|
</property>
|
||
|
<property name="placeholderText">
|
||
|
<string>e.g. code --goto %F:%L</string>
|
||
|
</property>
|
||
|
<property name="clearButtonEnabled">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="0" colspan="2">
|
||
|
<widget class="QLabel" name="label_TextEditorHelp">
|
||
|
<property name="text">
|
||
|
<string><html><head/><body><p>The command that will be executed when clicking the &quot;Open Map Scripts&quot; button. You may optionally include '%F' and '%L' in the command. '%F' will be substituted with the scripts file path and '%L' will be substituted with a line number. If '%L' is specified then the scripts file will be opened to map script cooresponding to the currently selected event (If the script can be found). If '%F' is <span style=" font-weight:600;">not</span> specified then the map scripts file path will be appended to the end of the command.</p></body></html></string>
|
||
|
</property>
|
||
|
<property name="scaledContents">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
||
|
</property>
|
||
|
<property name="wordWrap">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QDialogButtonBox" name="buttonBox">
|
||
|
<property name="standardButtons">
|
||
|
<set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</widget>
|
||
|
<resources/>
|
||
|
<connections/>
|
||
|
</ui>
|