|
1 <ui version="4.0" > |
|
2 <class>FiletypeAssociationDialog</class> |
|
3 <widget class="QDialog" name="FiletypeAssociationDialog" > |
|
4 <property name="geometry" > |
|
5 <rect> |
|
6 <x>0</x> |
|
7 <y>0</y> |
|
8 <width>600</width> |
|
9 <height>573</height> |
|
10 </rect> |
|
11 </property> |
|
12 <property name="windowTitle" > |
|
13 <string>Filetype Associations</string> |
|
14 </property> |
|
15 <property name="sizeGripEnabled" > |
|
16 <bool>true</bool> |
|
17 </property> |
|
18 <layout class="QVBoxLayout" name="_2" > |
|
19 <item> |
|
20 <widget class="QTreeWidget" name="filetypeAssociationList" > |
|
21 <property name="alternatingRowColors" > |
|
22 <bool>true</bool> |
|
23 </property> |
|
24 <property name="rootIsDecorated" > |
|
25 <bool>false</bool> |
|
26 </property> |
|
27 <property name="itemsExpandable" > |
|
28 <bool>false</bool> |
|
29 </property> |
|
30 <property name="sortingEnabled" > |
|
31 <bool>true</bool> |
|
32 </property> |
|
33 <column> |
|
34 <property name="text" > |
|
35 <string>Filename Pattern</string> |
|
36 </property> |
|
37 </column> |
|
38 <column> |
|
39 <property name="text" > |
|
40 <string>Filetype</string> |
|
41 </property> |
|
42 </column> |
|
43 <column> |
|
44 <property name="text" > |
|
45 <string/> |
|
46 </property> |
|
47 </column> |
|
48 </widget> |
|
49 </item> |
|
50 <item> |
|
51 <layout class="QGridLayout" name="_3" > |
|
52 <item row="1" column="2" > |
|
53 <widget class="QPushButton" name="deleteAssociationButton" > |
|
54 <property name="enabled" > |
|
55 <bool>false</bool> |
|
56 </property> |
|
57 <property name="toolTip" > |
|
58 <string>Press to delete the selected association</string> |
|
59 </property> |
|
60 <property name="text" > |
|
61 <string>Delete</string> |
|
62 </property> |
|
63 </widget> |
|
64 </item> |
|
65 <item row="1" column="1" > |
|
66 <widget class="QComboBox" name="filetypeCombo" > |
|
67 <property name="toolTip" > |
|
68 <string>Select the filetype to associate</string> |
|
69 </property> |
|
70 </widget> |
|
71 </item> |
|
72 <item row="1" column="0" > |
|
73 <widget class="QLabel" name="textLabel3_3" > |
|
74 <property name="text" > |
|
75 <string>Filetype:</string> |
|
76 </property> |
|
77 </widget> |
|
78 </item> |
|
79 <item row="0" column="1" > |
|
80 <widget class="QLineEdit" name="filePatternEdit" > |
|
81 <property name="toolTip" > |
|
82 <string>Enter the filename pattern to be associated</string> |
|
83 </property> |
|
84 </widget> |
|
85 </item> |
|
86 <item row="0" column="0" > |
|
87 <widget class="QLabel" name="textLabel2_6" > |
|
88 <property name="text" > |
|
89 <string>Filename Pattern:</string> |
|
90 </property> |
|
91 </widget> |
|
92 </item> |
|
93 <item row="0" column="2" > |
|
94 <widget class="QPushButton" name="addAssociationButton" > |
|
95 <property name="enabled" > |
|
96 <bool>false</bool> |
|
97 </property> |
|
98 <property name="toolTip" > |
|
99 <string>Press to add or change the entered association</string> |
|
100 </property> |
|
101 <property name="text" > |
|
102 <string>Add/Change</string> |
|
103 </property> |
|
104 </widget> |
|
105 </item> |
|
106 </layout> |
|
107 </item> |
|
108 <item> |
|
109 <widget class="QDialogButtonBox" name="buttonBox" > |
|
110 <property name="orientation" > |
|
111 <enum>Qt::Horizontal</enum> |
|
112 </property> |
|
113 <property name="standardButtons" > |
|
114 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
115 </property> |
|
116 </widget> |
|
117 </item> |
|
118 </layout> |
|
119 </widget> |
|
120 <layoutdefault spacing="6" margin="6" /> |
|
121 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> |
|
122 <tabstops> |
|
123 <tabstop>filetypeAssociationList</tabstop> |
|
124 <tabstop>filePatternEdit</tabstop> |
|
125 <tabstop>filetypeCombo</tabstop> |
|
126 <tabstop>addAssociationButton</tabstop> |
|
127 <tabstop>deleteAssociationButton</tabstop> |
|
128 </tabstops> |
|
129 <resources/> |
|
130 <connections> |
|
131 <connection> |
|
132 <sender>buttonBox</sender> |
|
133 <signal>accepted()</signal> |
|
134 <receiver>FiletypeAssociationDialog</receiver> |
|
135 <slot>accept()</slot> |
|
136 <hints> |
|
137 <hint type="sourcelabel" > |
|
138 <x>84</x> |
|
139 <y>554</y> |
|
140 </hint> |
|
141 <hint type="destinationlabel" > |
|
142 <x>88</x> |
|
143 <y>575</y> |
|
144 </hint> |
|
145 </hints> |
|
146 </connection> |
|
147 <connection> |
|
148 <sender>buttonBox</sender> |
|
149 <signal>rejected()</signal> |
|
150 <receiver>FiletypeAssociationDialog</receiver> |
|
151 <slot>reject()</slot> |
|
152 <hints> |
|
153 <hint type="sourcelabel" > |
|
154 <x>213</x> |
|
155 <y>553</y> |
|
156 </hint> |
|
157 <hint type="destinationlabel" > |
|
158 <x>215</x> |
|
159 <y>575</y> |
|
160 </hint> |
|
161 </hints> |
|
162 </connection> |
|
163 </connections> |
|
164 </ui> |