|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>FindFileFiltersEditDialog</class> |
|
4 <widget class="QDialog" name="FindFileFiltersEditDialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>700</width> |
|
10 <height>600</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>Edit File Filters</string> |
|
15 </property> |
|
16 <property name="sizeGripEnabled"> |
|
17 <bool>true</bool> |
|
18 </property> |
|
19 <layout class="QGridLayout" name="gridLayout"> |
|
20 <item row="0" column="1"> |
|
21 <widget class="QPushButton" name="addFileFilterButton"> |
|
22 <property name="toolTip"> |
|
23 <string>Press to open a dialog to enter the filter name and pattern for a new entry.</string> |
|
24 </property> |
|
25 <property name="text"> |
|
26 <string>Add...</string> |
|
27 </property> |
|
28 </widget> |
|
29 </item> |
|
30 <item row="1" column="1"> |
|
31 <widget class="QPushButton" name="editFileFilterButton"> |
|
32 <property name="enabled"> |
|
33 <bool>false</bool> |
|
34 </property> |
|
35 <property name="toolTip"> |
|
36 <string>Press to edit the selected file filter entry.</string> |
|
37 </property> |
|
38 <property name="text"> |
|
39 <string>Edit...</string> |
|
40 </property> |
|
41 </widget> |
|
42 </item> |
|
43 <item row="2" column="1"> |
|
44 <widget class="QPushButton" name="deleteFileFilterButton"> |
|
45 <property name="enabled"> |
|
46 <bool>false</bool> |
|
47 </property> |
|
48 <property name="toolTip"> |
|
49 <string>Press to delete the selected entries.</string> |
|
50 </property> |
|
51 <property name="text"> |
|
52 <string>Delete</string> |
|
53 </property> |
|
54 </widget> |
|
55 </item> |
|
56 <item row="3" column="1"> |
|
57 <widget class="Line" name="line"> |
|
58 <property name="orientation"> |
|
59 <enum>Qt::Horizontal</enum> |
|
60 </property> |
|
61 </widget> |
|
62 </item> |
|
63 <item row="4" column="1"> |
|
64 <widget class="QPushButton" name="defaultFiltersButton"> |
|
65 <property name="toolTip"> |
|
66 <string>Press to create a default list of entries based on the supported file types.</string> |
|
67 </property> |
|
68 <property name="text"> |
|
69 <string>Default</string> |
|
70 </property> |
|
71 </widget> |
|
72 </item> |
|
73 <item row="5" column="1"> |
|
74 <spacer name="spacer"> |
|
75 <property name="orientation"> |
|
76 <enum>Qt::Vertical</enum> |
|
77 </property> |
|
78 <property name="sizeHint" stdset="0"> |
|
79 <size> |
|
80 <width>20</width> |
|
81 <height>415</height> |
|
82 </size> |
|
83 </property> |
|
84 </spacer> |
|
85 </item> |
|
86 <item row="6" column="0" colspan="2"> |
|
87 <widget class="QDialogButtonBox" name="buttonBox"> |
|
88 <property name="orientation"> |
|
89 <enum>Qt::Horizontal</enum> |
|
90 </property> |
|
91 <property name="standardButtons"> |
|
92 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
93 </property> |
|
94 </widget> |
|
95 </item> |
|
96 <item row="0" column="0" rowspan="6"> |
|
97 <widget class="QTreeWidget" name="fileFiltersList"> |
|
98 <property name="sizePolicy"> |
|
99 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
|
100 <horstretch>0</horstretch> |
|
101 <verstretch>0</verstretch> |
|
102 </sizepolicy> |
|
103 </property> |
|
104 <property name="minimumSize"> |
|
105 <size> |
|
106 <width>0</width> |
|
107 <height>200</height> |
|
108 </size> |
|
109 </property> |
|
110 <property name="editTriggers"> |
|
111 <set>QAbstractItemView::NoEditTriggers</set> |
|
112 </property> |
|
113 <property name="alternatingRowColors"> |
|
114 <bool>true</bool> |
|
115 </property> |
|
116 <property name="selectionMode"> |
|
117 <enum>QAbstractItemView::ExtendedSelection</enum> |
|
118 </property> |
|
119 <property name="rootIsDecorated"> |
|
120 <bool>false</bool> |
|
121 </property> |
|
122 <property name="itemsExpandable"> |
|
123 <bool>false</bool> |
|
124 </property> |
|
125 <property name="sortingEnabled"> |
|
126 <bool>true</bool> |
|
127 </property> |
|
128 <column> |
|
129 <property name="text"> |
|
130 <string>Name</string> |
|
131 </property> |
|
132 </column> |
|
133 <column> |
|
134 <property name="text"> |
|
135 <string>Pattern</string> |
|
136 </property> |
|
137 </column> |
|
138 </widget> |
|
139 </item> |
|
140 </layout> |
|
141 </widget> |
|
142 <tabstops> |
|
143 <tabstop>fileFiltersList</tabstop> |
|
144 <tabstop>addFileFilterButton</tabstop> |
|
145 <tabstop>editFileFilterButton</tabstop> |
|
146 <tabstop>deleteFileFilterButton</tabstop> |
|
147 <tabstop>defaultFiltersButton</tabstop> |
|
148 </tabstops> |
|
149 <resources/> |
|
150 <connections> |
|
151 <connection> |
|
152 <sender>buttonBox</sender> |
|
153 <signal>accepted()</signal> |
|
154 <receiver>FindFileFiltersEditDialog</receiver> |
|
155 <slot>accept()</slot> |
|
156 <hints> |
|
157 <hint type="sourcelabel"> |
|
158 <x>248</x> |
|
159 <y>254</y> |
|
160 </hint> |
|
161 <hint type="destinationlabel"> |
|
162 <x>157</x> |
|
163 <y>274</y> |
|
164 </hint> |
|
165 </hints> |
|
166 </connection> |
|
167 <connection> |
|
168 <sender>buttonBox</sender> |
|
169 <signal>rejected()</signal> |
|
170 <receiver>FindFileFiltersEditDialog</receiver> |
|
171 <slot>reject()</slot> |
|
172 <hints> |
|
173 <hint type="sourcelabel"> |
|
174 <x>316</x> |
|
175 <y>260</y> |
|
176 </hint> |
|
177 <hint type="destinationlabel"> |
|
178 <x>286</x> |
|
179 <y>274</y> |
|
180 </hint> |
|
181 </hints> |
|
182 </connection> |
|
183 </connections> |
|
184 </ui> |