1 <?xml version="1.0" encoding="UTF-8"?>
3 <class>ColoringRulesDialog</class>
4 <widget class="QDialog" name="ColoringRulesDialog">
5 <property name="geometry">
13 <property name="windowTitle">
14 <string>Dialog</string>
16 <layout class="QVBoxLayout" name="verticalLayout">
18 <widget class="TabnavTreeView" name="coloringRulesTreeView">
19 <property name="selectionMode">
20 <enum>QAbstractItemView::ExtendedSelection</enum>
22 <property name="textElideMode">
23 <enum>Qt::ElideMiddle</enum>
25 <property name="rootIsDecorated">
28 <property name="uniformRowHeights">
31 <property name="itemsExpandable">
34 <property name="expandsOnDoubleClick">
37 <property name="dragEnabled">
40 <property name="DropIndicatorShown">
43 <property name="dragDropMode">
44 <enum>QAbstractItemView::InternalMove</enum>
49 <widget class="QLabel" name="hintLabel">
50 <property name="text">
51 <string><small><i>A hint.</i></small></string>
53 <property name="wordWrap">
59 <layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0,0,0,0,0,0,0,1">
61 <widget class="QToolButton" name="newToolButton">
62 <property name="toolTip">
63 <string>Add a new coloring rule.</string>
65 <property name="text">
68 <property name="icon">
69 <iconset resource="../../image/stock_icons.qrc">
70 <normaloff>:/stock/plus-8.png</normaloff>:/stock/plus-8.png</iconset>
75 <widget class="QToolButton" name="deleteToolButton">
76 <property name="toolTip">
77 <string>Delete this coloring rule.</string>
79 <property name="text">
82 <property name="icon">
83 <iconset resource="../../image/stock_icons.qrc">
84 <normaloff>:/stock/minus-8.png</normaloff>:/stock/minus-8.png</iconset>
86 <property name="enabled">
92 <widget class="QToolButton" name="copyToolButton">
93 <property name="toolTip">
94 <string>Duplicate this coloring rule.</string>
96 <property name="icon">
97 <iconset resource="../../image/stock_icons.qrc">
98 <normaloff>:/stock/copy-8.png</normaloff>:/stock/copy-8.png</iconset>
100 <property name="enabled">
106 <widget class="QToolButton" name="clearToolButton">
107 <property name="toolTip">
108 <string>Clear all coloring rules.</string>
110 <property name="icon">
111 <iconset resource="../../image/stock_icons.qrc">
112 <normaloff>:/stock/delete_list.png</normaloff>:/stock/delete_list.png</iconset>
114 <property name="enabled">
120 <widget class="QPushButton" name="fGPushButton">
121 <property name="toolTip">
122 <string>Set the foreground color for this rule.</string>
124 <property name="styleSheet">
125 <string notr="true">QPushButton { border: 1px solid palette(Dark); }</string>
127 <property name="text">
128 <string>Foreground</string>
130 <property name="autoDefault">
133 <property name="flat">
136 <property name="visible">
142 <widget class="QPushButton" name="bGPushButton">
143 <property name="toolTip">
144 <string>Set the background color for this rule.</string>
146 <property name="styleSheet">
147 <string notr="true">QPushButton { border: 1px solid palette(Dark); }</string>
149 <property name="text">
150 <string>Background</string>
152 <property name="autoDefault">
155 <property name="flat">
158 <property name="visible">
164 <widget class="QPushButton" name="displayFilterPushButton">
165 <property name="toolTip">
166 <string>Set the display filter using this rule.</string>
168 <property name="text">
169 <string>Apply as filter</string>
171 <property name="autoDefault">
174 <property name="visible">
180 <spacer name="horizontalSpacer">
181 <property name="orientation">
182 <enum>Qt::Horizontal</enum>
184 <property name="sizeHint" stdset="0">
193 <widget class="ElidedLabel" name="pathLabel">
194 <property name="sizePolicy">
195 <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
196 <horstretch>1</horstretch>
197 <verstretch>0</verstretch>
200 <property name="text">
203 <property name="alignment">
204 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
206 <property name="openExternalLinks">
214 <widget class="QDialogButtonBox" name="buttonBox">
215 <property name="orientation">
216 <enum>Qt::Horizontal</enum>
218 <property name="standardButtons">
219 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set>
227 <class>TabnavTreeView</class>
228 <extends>QTreeView</extends>
229 <header>widgets/tabnav_tree_view.h</header>
232 <class>ElidedLabel</class>
233 <extends>QLabel</extends>
234 <header>widgets/elided_label.h</header>
238 <include location="../../image/stock_icons.qrc"/>
242 <sender>buttonBox</sender>
243 <signal>accepted()</signal>
244 <receiver>ColoringRulesDialog</receiver>
245 <slot>accept()</slot>
247 <hint type="sourcelabel">
251 <hint type="destinationlabel">
258 <sender>buttonBox</sender>
259 <signal>rejected()</signal>
260 <receiver>ColoringRulesDialog</receiver>
261 <slot>reject()</slot>
263 <hint type="sourcelabel">
267 <hint type="destinationlabel">