|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>GreaseMonkeyConfigurationDialog</class> |
|
4 <widget class="QDialog" name="GreaseMonkeyConfigurationDialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>550</width> |
|
10 <height>450</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>GreaseMonkey Scripts Configuration</string> |
|
15 </property> |
|
16 <property name="sizeGripEnabled"> |
|
17 <bool>true</bool> |
|
18 </property> |
|
19 <layout class="QVBoxLayout" name="verticalLayout"> |
|
20 <item> |
|
21 <layout class="QHBoxLayout" name="horizontalLayout"> |
|
22 <item> |
|
23 <spacer name="horizontalSpacer"> |
|
24 <property name="orientation"> |
|
25 <enum>Qt::Horizontal</enum> |
|
26 </property> |
|
27 <property name="sizeHint" stdset="0"> |
|
28 <size> |
|
29 <width>40</width> |
|
30 <height>20</height> |
|
31 </size> |
|
32 </property> |
|
33 </spacer> |
|
34 </item> |
|
35 <item> |
|
36 <widget class="QLabel" name="iconLabel"> |
|
37 <property name="minimumSize"> |
|
38 <size> |
|
39 <width>48</width> |
|
40 <height>48</height> |
|
41 </size> |
|
42 </property> |
|
43 <property name="text"> |
|
44 <string notr="true">Icon</string> |
|
45 </property> |
|
46 </widget> |
|
47 </item> |
|
48 <item> |
|
49 <widget class="QLabel" name="label_2"> |
|
50 <property name="text"> |
|
51 <string><h2>GreaseMonkey Scripts</h2></string> |
|
52 </property> |
|
53 </widget> |
|
54 </item> |
|
55 <item> |
|
56 <spacer name="horizontalSpacer_2"> |
|
57 <property name="orientation"> |
|
58 <enum>Qt::Horizontal</enum> |
|
59 </property> |
|
60 <property name="sizeHint" stdset="0"> |
|
61 <size> |
|
62 <width>40</width> |
|
63 <height>20</height> |
|
64 </size> |
|
65 </property> |
|
66 </spacer> |
|
67 </item> |
|
68 </layout> |
|
69 </item> |
|
70 <item> |
|
71 <widget class="QLabel" name="label_4"> |
|
72 <property name="text"> |
|
73 <string>Double clicking script will show additional information.</string> |
|
74 </property> |
|
75 <property name="alignment"> |
|
76 <set>Qt::AlignCenter</set> |
|
77 </property> |
|
78 </widget> |
|
79 </item> |
|
80 <item> |
|
81 <widget class="GreaseMonkeyConfigurationListWidget" name="scriptsList"> |
|
82 <property name="alternatingRowColors"> |
|
83 <bool>true</bool> |
|
84 </property> |
|
85 <property name="verticalScrollMode"> |
|
86 <enum>QAbstractItemView::ScrollPerPixel</enum> |
|
87 </property> |
|
88 <property name="uniformItemSizes"> |
|
89 <bool>true</bool> |
|
90 </property> |
|
91 <property name="selectionRectVisible"> |
|
92 <bool>true</bool> |
|
93 </property> |
|
94 </widget> |
|
95 </item> |
|
96 <item> |
|
97 <widget class="QLabel" name="downloadLabel"> |
|
98 <property name="text"> |
|
99 <string><p>Get more scripts from <a href="www.userscript.org">userscript.org</a>.</p></string> |
|
100 </property> |
|
101 <property name="textFormat"> |
|
102 <enum>Qt::RichText</enum> |
|
103 </property> |
|
104 <property name="alignment"> |
|
105 <set>Qt::AlignCenter</set> |
|
106 </property> |
|
107 <property name="textInteractionFlags"> |
|
108 <set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse</set> |
|
109 </property> |
|
110 </widget> |
|
111 </item> |
|
112 <item> |
|
113 <layout class="QHBoxLayout" name="horizontalLayout_4"> |
|
114 <item> |
|
115 <widget class="QPushButton" name="openDirectoryButton"> |
|
116 <property name="sizePolicy"> |
|
117 <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
|
118 <horstretch>0</horstretch> |
|
119 <verstretch>0</verstretch> |
|
120 </sizepolicy> |
|
121 </property> |
|
122 <property name="toolTip"> |
|
123 <string>Press to open the scripts directory</string> |
|
124 </property> |
|
125 <property name="text"> |
|
126 <string>Open Scripts Directory</string> |
|
127 </property> |
|
128 </widget> |
|
129 </item> |
|
130 <item> |
|
131 <widget class="QDialogButtonBox" name="buttonBox"> |
|
132 <property name="orientation"> |
|
133 <enum>Qt::Horizontal</enum> |
|
134 </property> |
|
135 <property name="standardButtons"> |
|
136 <set>QDialogButtonBox::Ok</set> |
|
137 </property> |
|
138 </widget> |
|
139 </item> |
|
140 </layout> |
|
141 </item> |
|
142 </layout> |
|
143 </widget> |
|
144 <customwidgets> |
|
145 <customwidget> |
|
146 <class>GreaseMonkeyConfigurationListWidget</class> |
|
147 <extends>QListWidget</extends> |
|
148 <header>.GreaseMonkeyConfigurationListWidget.h</header> |
|
149 </customwidget> |
|
150 </customwidgets> |
|
151 <tabstops> |
|
152 <tabstop>scriptsList</tabstop> |
|
153 <tabstop>openDirectoryButton</tabstop> |
|
154 <tabstop>buttonBox</tabstop> |
|
155 </tabstops> |
|
156 <resources/> |
|
157 <connections> |
|
158 <connection> |
|
159 <sender>buttonBox</sender> |
|
160 <signal>accepted()</signal> |
|
161 <receiver>GreaseMonkeyConfigurationDialog</receiver> |
|
162 <slot>accept()</slot> |
|
163 <hints> |
|
164 <hint type="sourcelabel"> |
|
165 <x>248</x> |
|
166 <y>254</y> |
|
167 </hint> |
|
168 <hint type="destinationlabel"> |
|
169 <x>157</x> |
|
170 <y>274</y> |
|
171 </hint> |
|
172 </hints> |
|
173 </connection> |
|
174 <connection> |
|
175 <sender>buttonBox</sender> |
|
176 <signal>rejected()</signal> |
|
177 <receiver>GreaseMonkeyConfigurationDialog</receiver> |
|
178 <slot>reject()</slot> |
|
179 <hints> |
|
180 <hint type="sourcelabel"> |
|
181 <x>316</x> |
|
182 <y>260</y> |
|
183 </hint> |
|
184 <hint type="destinationlabel"> |
|
185 <x>286</x> |
|
186 <y>274</y> |
|
187 </hint> |
|
188 </hints> |
|
189 </connection> |
|
190 </connections> |
|
191 </ui> |