262 lines
7.0 KiB
XML
262 lines
7.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>ColoringRulesDialog</class>
|
|
<widget class="QDialog" name="ColoringRulesDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>650</width>
|
|
<height>480</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Dialog</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="TabnavTreeView" name="coloringRulesTreeView">
|
|
<property name="dragEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="dragDropMode">
|
|
<enum>QAbstractItemView::InternalMove</enum>
|
|
</property>
|
|
<property name="selectionMode">
|
|
<enum>QAbstractItemView::ExtendedSelection</enum>
|
|
</property>
|
|
<property name="textElideMode">
|
|
<enum>Qt::ElideMiddle</enum>
|
|
</property>
|
|
<property name="rootIsDecorated">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="uniformRowHeights">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="itemsExpandable">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="expandsOnDoubleClick">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="DropIndicatorShown" stdset="0">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="hintLabel">
|
|
<property name="text">
|
|
<string><small><i>A hint.</i></small></string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0,0,0,0,0,0,0,1">
|
|
<item>
|
|
<widget class="StockIconToolButton" name="newToolButton">
|
|
<property name="toolTip">
|
|
<string>Add a new coloring rule.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="StockIconToolButton" name="deleteToolButton">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Delete this coloring rule.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="StockIconToolButton" name="copyToolButton">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Duplicate this coloring rule.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="StockIconToolButton" name="clearToolButton">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Clear all coloring rules.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="fGPushButton">
|
|
<property name="visible">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Set the foreground color for this rule.</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton { border: 1px solid palette(Dark); }</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Foreground</string>
|
|
</property>
|
|
<property name="autoDefault">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="bGPushButton">
|
|
<property name="visible">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Set the background color for this rule.</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton { border: 1px solid palette(Dark); }</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Background</string>
|
|
</property>
|
|
<property name="autoDefault">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="displayFilterPushButton">
|
|
<property name="visible">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Set the display filter using this rule.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Apply as filter</string>
|
|
</property>
|
|
<property name="autoDefault">
|
|
<bool>false</bool>
|
|
</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="ElidedLabel" name="pathLabel">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
<horstretch>1</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
<property name="openExternalLinks">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>ElidedLabel</class>
|
|
<extends>QLabel</extends>
|
|
<header>widgets/elided_label.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>TabnavTreeView</class>
|
|
<extends>QTreeView</extends>
|
|
<header>widgets/tabnav_tree_view.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>StockIconToolButton</class>
|
|
<extends>QToolButton</extends>
|
|
<header>widgets/stock_icon_tool_button.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>ColoringRulesDialog</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>ColoringRulesDialog</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>
|