Helpviewer/GreaseMonkey/GreaseMonkeyAddScriptDialog.ui

changeset 1953
26aa6fd94dc2
equal deleted inserted replaced
1952:af4103f0e93f 1953:26aa6fd94dc2
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>GreaseMonkeyAddScriptDialog</class>
4 <widget class="QDialog" name="GreaseMonkeyAddScriptDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>550</width>
10 <height>400</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>GreaseMonkey Script Installation</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>&lt;h2&gt;GreaseMonkey Script Installation&lt;/h2&gt;</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_3">
72 <property name="text">
73 <string>You are about to install this userscript into GreaseMonkey:</string>
74 </property>
75 <property name="alignment">
76 <set>Qt::AlignCenter</set>
77 </property>
78 </widget>
79 </item>
80 <item>
81 <widget class="QTextBrowser" name="scriptInfo"/>
82 </item>
83 <item>
84 <widget class="QLabel" name="label_5">
85 <property name="text">
86 <string>&lt;b&gt;You should only install scripts from sources you trust!&lt;/b&gt;</string>
87 </property>
88 <property name="alignment">
89 <set>Qt::AlignCenter</set>
90 </property>
91 </widget>
92 </item>
93 <item>
94 <widget class="QLabel" name="label_4">
95 <property name="text">
96 <string>Are you sure you want to install it?</string>
97 </property>
98 <property name="alignment">
99 <set>Qt::AlignCenter</set>
100 </property>
101 </widget>
102 </item>
103 <item>
104 <layout class="QHBoxLayout" name="horizontalLayout_2">
105 <item>
106 <widget class="QPushButton" name="showScriptSourceButton">
107 <property name="sizePolicy">
108 <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
109 <horstretch>0</horstretch>
110 <verstretch>0</verstretch>
111 </sizepolicy>
112 </property>
113 <property name="toolTip">
114 <string>Press to open an editor with the script's source</string>
115 </property>
116 <property name="text">
117 <string>Show source code of script</string>
118 </property>
119 </widget>
120 </item>
121 <item>
122 <widget class="QDialogButtonBox" name="buttonBox">
123 <property name="orientation">
124 <enum>Qt::Horizontal</enum>
125 </property>
126 <property name="standardButtons">
127 <set>QDialogButtonBox::No|QDialogButtonBox::Yes</set>
128 </property>
129 </widget>
130 </item>
131 </layout>
132 </item>
133 </layout>
134 </widget>
135 <resources/>
136 <connections>
137 <connection>
138 <sender>buttonBox</sender>
139 <signal>accepted()</signal>
140 <receiver>GreaseMonkeyAddScriptDialog</receiver>
141 <slot>accept()</slot>
142 <hints>
143 <hint type="sourcelabel">
144 <x>401</x>
145 <y>389</y>
146 </hint>
147 <hint type="destinationlabel">
148 <x>157</x>
149 <y>274</y>
150 </hint>
151 </hints>
152 </connection>
153 <connection>
154 <sender>buttonBox</sender>
155 <signal>rejected()</signal>
156 <receiver>GreaseMonkeyAddScriptDialog</receiver>
157 <slot>reject()</slot>
158 <hints>
159 <hint type="sourcelabel">
160 <x>439</x>
161 <y>389</y>
162 </hint>
163 <hint type="destinationlabel">
164 <x>286</x>
165 <y>274</y>
166 </hint>
167 </hints>
168 </connection>
169 </connections>
170 </ui>

eric ide

mercurial