319 lines
8.8 KiB
Plaintext
319 lines
8.8 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<ui version="4.0">
|
||
|
<class>SettingsDialog</class>
|
||
|
<widget class="QDialog" name="SettingsDialog">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>587</width>
|
||
|
<height>390</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="windowTitle">
|
||
|
<string>Settings</string>
|
||
|
</property>
|
||
|
<layout class="QVBoxLayout" name="settingsLayout">
|
||
|
<property name="spacing">
|
||
|
<number>8</number>
|
||
|
</property>
|
||
|
<property name="margin">
|
||
|
<number>8</number>
|
||
|
</property>
|
||
|
<item>
|
||
|
<widget class="QSplitter" name="splitter">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<widget class="QListWidget" name="sectionListWidget">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>100</width>
|
||
|
<height>0</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>200</width>
|
||
|
<height>16777215</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>Highlighting</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>Font</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
</widget>
|
||
|
<widget class="QStackedWidget" name="sectionStackedWidget">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<widget class="QWidget" name="highlightPage">
|
||
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||
|
<item>
|
||
|
<widget class="QListWidget" name="highlightListWidget"/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<layout class="QHBoxLayout" name="buttonLayout">
|
||
|
<property name="spacing">
|
||
|
<number>8</number>
|
||
|
</property>
|
||
|
<property name="leftMargin">
|
||
|
<number>0</number>
|
||
|
</property>
|
||
|
<item>
|
||
|
<widget class="QToolButton" name="upButton">
|
||
|
<property name="focusPolicy">
|
||
|
<enum>Qt::NoFocus</enum>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>UP</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QToolButton" name="downButton">
|
||
|
<property name="focusPolicy">
|
||
|
<enum>Qt::NoFocus</enum>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>DN</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<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>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="addButton">
|
||
|
<property name="text">
|
||
|
<string>Add</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="editButton">
|
||
|
<property name="text">
|
||
|
<string>Edit</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="deleteButton">
|
||
|
<property name="text">
|
||
|
<string>Delete</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QGroupBox" name="highlightGroupBox">
|
||
|
<property name="title">
|
||
|
<string>Highlight</string>
|
||
|
</property>
|
||
|
<layout class="QFormLayout" name="highlightLayout">
|
||
|
<property name="horizontalSpacing">
|
||
|
<number>8</number>
|
||
|
</property>
|
||
|
<property name="verticalSpacing">
|
||
|
<number>8</number>
|
||
|
</property>
|
||
|
<property name="margin">
|
||
|
<number>8</number>
|
||
|
</property>
|
||
|
<item row="0" column="0">
|
||
|
<widget class="QLabel" name="regexLabel">
|
||
|
<property name="text">
|
||
|
<string>Regular Expression:</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="1">
|
||
|
<widget class="QLineEdit" name="regexEdit"/>
|
||
|
</item>
|
||
|
<item row="1" column="0">
|
||
|
<widget class="QCheckBox" name="foregroundCheckBox">
|
||
|
<property name="text">
|
||
|
<string>Foreground:</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="1">
|
||
|
<widget class="QPushButton" name="fgColourButton">
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="2" column="0">
|
||
|
<widget class="QCheckBox" name="backgroundCheckBox">
|
||
|
<property name="text">
|
||
|
<string>Background:</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="2" column="1">
|
||
|
<widget class="QPushButton" name="bgColourButton">
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
<widget class="QWidget" name="fontPage">
|
||
|
<layout class="QFormLayout" name="fontLayout">
|
||
|
<property name="horizontalSpacing">
|
||
|
<number>8</number>
|
||
|
</property>
|
||
|
<property name="verticalSpacing">
|
||
|
<number>8</number>
|
||
|
</property>
|
||
|
<property name="margin">
|
||
|
<number>8</number>
|
||
|
</property>
|
||
|
<item row="0" column="0">
|
||
|
<widget class="QLabel" name="fontLabel">
|
||
|
<property name="text">
|
||
|
<string>Font:</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="1">
|
||
|
<widget class="QFontComboBox" name="fontComboBox"/>
|
||
|
</item>
|
||
|
<item row="1" column="0">
|
||
|
<widget class="QLabel" name="sizeLabel">
|
||
|
<property name="text">
|
||
|
<string>Size:</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="1">
|
||
|
<widget class="QSpinBox" name="sizeSpinBox">
|
||
|
<property name="readOnly">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
<property name="specialValueText">
|
||
|
<string/>
|
||
|
</property>
|
||
|
<property name="suffix">
|
||
|
<string>pt</string>
|
||
|
</property>
|
||
|
<property name="minimum">
|
||
|
<number>6</number>
|
||
|
</property>
|
||
|
<property name="maximum">
|
||
|
<number>50</number>
|
||
|
</property>
|
||
|
<property name="value">
|
||
|
<number>12</number>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</widget>
|
||
|
</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>
|
||
|
<tabstops>
|
||
|
<tabstop>sectionListWidget</tabstop>
|
||
|
<tabstop>highlightListWidget</tabstop>
|
||
|
<tabstop>addButton</tabstop>
|
||
|
<tabstop>editButton</tabstop>
|
||
|
<tabstop>deleteButton</tabstop>
|
||
|
<tabstop>buttonBox</tabstop>
|
||
|
</tabstops>
|
||
|
<resources/>
|
||
|
<connections>
|
||
|
<connection>
|
||
|
<sender>buttonBox</sender>
|
||
|
<signal>accepted()</signal>
|
||
|
<receiver>SettingsDialog</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>buttonBox</sender>
|
||
|
<signal>rejected()</signal>
|
||
|
<receiver>SettingsDialog</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>
|
||
|
<connection>
|
||
|
<sender>sectionListWidget</sender>
|
||
|
<signal>currentRowChanged(int)</signal>
|
||
|
<receiver>sectionStackedWidget</receiver>
|
||
|
<slot>setCurrentIndex(int)</slot>
|
||
|
<hints>
|
||
|
<hint type="sourcelabel">
|
||
|
<x>113</x>
|
||
|
<y>174</y>
|
||
|
</hint>
|
||
|
<hint type="destinationlabel">
|
||
|
<x>367</x>
|
||
|
<y>174</y>
|
||
|
</hint>
|
||
|
</hints>
|
||
|
</connection>
|
||
|
</connections>
|
||
|
</ui>
|