2010-06-07 03:25:40 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>PreferencesDialog</class>
|
|
|
|
<widget class="QDialog" name="PreferencesDialog">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>370</width>
|
2010-07-30 01:26:10 +00:00
|
|
|
<height>304</height>
|
2010-06-07 03:25:40 +00:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
2010-06-14 07:12:53 +00:00
|
|
|
<string>Preferences</string>
|
2010-06-07 03:25:40 +00:00
|
|
|
</property>
|
2010-06-24 07:59:41 +00:00
|
|
|
<property name="windowIcon">
|
|
|
|
<iconset resource="../resources.qrc">
|
|
|
|
<normaloff>:/resources/windowicon.png</normaloff>:/resources/windowicon.png</iconset>
|
|
|
|
</property>
|
2010-06-07 03:25:40 +00:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
2010-06-07 07:57:56 +00:00
|
|
|
<widget class="QTabWidget" name="prefsGroups">
|
|
|
|
<property name="tabPosition">
|
2010-06-07 22:35:32 +00:00
|
|
|
<enum>QTabWidget::North</enum>
|
2010-06-07 07:57:56 +00:00
|
|
|
</property>
|
2010-07-07 20:56:16 +00:00
|
|
|
<property name="currentIndex">
|
2010-07-25 21:59:35 +00:00
|
|
|
<number>0</number>
|
2010-07-07 20:56:16 +00:00
|
|
|
</property>
|
2010-06-07 07:57:56 +00:00
|
|
|
<widget class="QWidget" name="tab_2">
|
|
|
|
<attribute name="title">
|
|
|
|
<string>Editor</string>
|
2010-06-07 03:25:40 +00:00
|
|
|
</attribute>
|
2010-06-07 21:59:16 +00:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
2010-06-07 03:25:40 +00:00
|
|
|
<item>
|
2010-07-21 07:45:29 +00:00
|
|
|
<layout class="QFormLayout" name="formLayout">
|
|
|
|
<item row="0" column="0">
|
2010-06-07 07:57:56 +00:00
|
|
|
<widget class="QLabel" name="label_7">
|
2010-06-07 03:25:40 +00:00
|
|
|
<property name="text">
|
2010-06-07 07:57:56 +00:00
|
|
|
<string>Font</string>
|
2010-06-07 03:25:40 +00:00
|
|
|
</property>
|
2010-07-21 07:45:29 +00:00
|
|
|
<property name="buddy">
|
|
|
|
<cstring>fontSelect</cstring>
|
|
|
|
</property>
|
2010-06-07 03:25:40 +00:00
|
|
|
</widget>
|
|
|
|
</item>
|
2010-07-21 07:45:29 +00:00
|
|
|
<item row="0" column="1">
|
2010-06-07 07:57:56 +00:00
|
|
|
<widget class="QFontComboBox" name="fontSelect"/>
|
|
|
|
</item>
|
2010-07-21 07:45:29 +00:00
|
|
|
<item row="1" column="0">
|
2010-06-07 07:57:56 +00:00
|
|
|
<widget class="QLabel" name="label_8">
|
2010-06-07 03:25:40 +00:00
|
|
|
<property name="text">
|
2010-06-07 07:57:56 +00:00
|
|
|
<string>Size</string>
|
2010-06-07 03:25:40 +00:00
|
|
|
</property>
|
2010-07-21 07:45:29 +00:00
|
|
|
<property name="buddy">
|
|
|
|
<cstring>fontSize</cstring>
|
|
|
|
</property>
|
2010-06-07 03:25:40 +00:00
|
|
|
</widget>
|
|
|
|
</item>
|
2010-07-21 07:45:29 +00:00
|
|
|
<item row="1" column="1">
|
2010-06-07 07:57:56 +00:00
|
|
|
<widget class="QSpinBox" name="fontSize">
|
|
|
|
<property name="value">
|
|
|
|
<number>12</number>
|
2010-06-07 03:25:40 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2010-07-30 01:26:10 +00:00
|
|
|
<item row="2" column="1">
|
|
|
|
<widget class="QCheckBox" name="completionBox">
|
|
|
|
<property name="text">
|
|
|
|
<string>Enable Syntax Completion</string>
|
|
|
|
</property>
|
2010-07-30 08:38:38 +00:00
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2010-07-30 01:26:10 +00:00
|
|
|
</widget>
|
|
|
|
</item>
|
2010-06-07 07:57:56 +00:00
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
2010-06-07 03:25:40 +00:00
|
|
|
<item>
|
2010-06-07 07:57:56 +00:00
|
|
|
<widget class="QLabel" name="label_2">
|
2010-06-07 03:25:40 +00:00
|
|
|
<property name="text">
|
2010-06-15 06:54:58 +00:00
|
|
|
<string>Foreground Colour</string>
|
2010-06-07 03:25:40 +00:00
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
|
|
</property>
|
|
|
|
<property name="buddy">
|
2010-06-07 07:57:56 +00:00
|
|
|
<cstring>fgButton</cstring>
|
2010-06-07 03:25:40 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2010-06-07 07:57:56 +00:00
|
|
|
<widget class="QPushButton" name="fgButton">
|
|
|
|
<property name="autoFillBackground">
|
|
|
|
<bool>false</bool>
|
2010-06-07 03:25:40 +00:00
|
|
|
</property>
|
2010-06-07 07:57:56 +00:00
|
|
|
<property name="text">
|
|
|
|
<string>Click To Change</string>
|
2010-06-07 03:25:40 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2010-06-07 07:57:56 +00:00
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
2010-06-07 03:25:40 +00:00
|
|
|
<item>
|
2010-06-07 07:57:56 +00:00
|
|
|
<widget class="QLabel" name="label_3">
|
2010-06-07 03:25:40 +00:00
|
|
|
<property name="text">
|
2010-06-15 06:54:58 +00:00
|
|
|
<string>Background Colour</string>
|
2010-06-07 03:25:40 +00:00
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
|
|
</property>
|
|
|
|
<property name="buddy">
|
2010-06-07 07:57:56 +00:00
|
|
|
<cstring>bgButton</cstring>
|
2010-06-07 03:25:40 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2010-06-07 07:57:56 +00:00
|
|
|
<widget class="QPushButton" name="bgButton">
|
2010-06-07 03:25:40 +00:00
|
|
|
<property name="autoFillBackground">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Click To Change</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2010-06-07 07:57:56 +00:00
|
|
|
</layout>
|
|
|
|
</item>
|
2010-06-07 21:59:16 +00:00
|
|
|
<item>
|
2010-07-21 07:45:29 +00:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_7">
|
2010-06-07 21:59:16 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_9">
|
|
|
|
<property name="text">
|
2010-06-15 06:54:58 +00:00
|
|
|
<string>Error Colour</string>
|
2010-06-07 21:59:16 +00:00
|
|
|
</property>
|
2010-06-07 22:35:32 +00:00
|
|
|
<property name="buddy">
|
|
|
|
<cstring>errorButton</cstring>
|
|
|
|
</property>
|
2010-06-07 21:59:16 +00:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="errorButton">
|
|
|
|
<property name="text">
|
|
|
|
<string>Click To Change</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
2010-07-21 07:45:29 +00:00
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer_3">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
2010-06-07 07:57:56 +00:00
|
|
|
</layout>
|
|
|
|
</widget>
|
2010-06-07 21:59:16 +00:00
|
|
|
<widget class="QWidget" name="prefsGroupsPage1">
|
2010-06-07 07:57:56 +00:00
|
|
|
<attribute name="title">
|
|
|
|
<string>Highlighting</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
2010-06-07 03:25:40 +00:00
|
|
|
<item>
|
2010-06-07 07:57:56 +00:00
|
|
|
<widget class="QLabel" name="label_4">
|
2010-06-07 03:25:40 +00:00
|
|
|
<property name="text">
|
2010-06-07 07:57:56 +00:00
|
|
|
<string>Comment</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
|
|
</property>
|
|
|
|
<property name="buddy">
|
|
|
|
<cstring>commentButton</cstring>
|
2010-06-07 03:25:40 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="commentButton">
|
|
|
|
<property name="autoFillBackground">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Click To Change</string>
|
|
|
|
</property>
|
|
|
|
<property name="flat">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2010-06-07 07:57:56 +00:00
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_5">
|
|
|
|
<property name="text">
|
|
|
|
<string>Escaped Character</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
|
|
</property>
|
|
|
|
<property name="buddy">
|
|
|
|
<cstring>escapedButton</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2010-06-07 03:25:40 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="escapedButton">
|
|
|
|
<property name="autoFillBackground">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Click To Change</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2010-06-07 07:57:56 +00:00
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_6">
|
|
|
|
<property name="text">
|
|
|
|
<string>Conditional</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
|
|
</property>
|
|
|
|
<property name="buddy">
|
|
|
|
<cstring>conditionalButton</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2010-06-07 03:25:40 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="conditionalButton">
|
|
|
|
<property name="autoFillBackground">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Click To Change</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2010-06-07 07:57:56 +00:00
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
<property name="text">
|
|
|
|
<string>Tag</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
|
|
</property>
|
|
|
|
<property name="buddy">
|
|
|
|
<cstring>tagButton</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2010-06-07 03:25:40 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="tagButton">
|
|
|
|
<property name="autoFillBackground">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Click To Change</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
2010-07-21 07:45:29 +00:00
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer_2">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
2010-06-07 03:25:40 +00:00
|
|
|
</layout>
|
|
|
|
</widget>
|
2010-07-06 20:23:27 +00:00
|
|
|
<widget class="QWidget" name="tab">
|
|
|
|
<attribute name="title">
|
2010-07-07 20:56:16 +00:00
|
|
|
<string>Rendering</string>
|
2010-07-06 20:23:27 +00:00
|
|
|
</attribute>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
2010-07-07 20:56:16 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="autoExpandBox">
|
|
|
|
<property name="text">
|
|
|
|
<string>Auto-Expand Parse Tree</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="autoHighlightBox">
|
|
|
|
<property name="text">
|
|
|
|
<string>Auto-Highlight Parse Tree</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2010-07-06 20:23:27 +00:00
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_10">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_10">
|
|
|
|
<property name="text">
|
|
|
|
<string>Font Path</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy">
|
|
|
|
<cstring>fontBox</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLineEdit" name="fontBox"/>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="fontBrowseButton">
|
|
|
|
<property name="text">
|
|
|
|
<string>Browse...</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
2010-07-21 07:45:29 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="dlFontsButton">
|
|
|
|
<property name="text">
|
|
|
|
<string>Download Fontpack</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_11">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_11">
|
|
|
|
<property name="text">
|
|
|
|
<string>Target DB</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLineEdit" name="dbBox"/>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="browseDB">
|
|
|
|
<property name="text">
|
|
|
|
<string>Browse...</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
2010-07-25 21:59:35 +00:00
|
|
|
<widget class="QPushButton" name="dlTargetButton">
|
2010-07-21 07:45:29 +00:00
|
|
|
<property name="text">
|
|
|
|
<string>Update Target DB</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
2010-07-06 20:23:27 +00:00
|
|
|
</layout>
|
|
|
|
</widget>
|
2010-06-07 03:25:40 +00:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="standardButtons">
|
|
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2010-06-24 07:59:41 +00:00
|
|
|
<resources>
|
|
|
|
<include location="../resources.qrc"/>
|
|
|
|
</resources>
|
2010-06-07 03:25:40 +00:00
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>accepted()</signal>
|
|
|
|
<receiver>PreferencesDialog</receiver>
|
|
|
|
<slot>accept()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
2010-06-07 07:57:56 +00:00
|
|
|
<x>257</x>
|
|
|
|
<y>360</y>
|
2010-06-07 03:25:40 +00:00
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>157</x>
|
|
|
|
<y>274</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>rejected()</signal>
|
|
|
|
<receiver>PreferencesDialog</receiver>
|
|
|
|
<slot>reject()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
2010-06-07 07:57:56 +00:00
|
|
|
<x>325</x>
|
|
|
|
<y>360</y>
|
2010-06-07 03:25:40 +00:00
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>286</x>
|
|
|
|
<y>274</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
</ui>
|