src/platform/qt/PrinterView.ui (view raw)
1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>PrinterView</class>
4 <widget class="QWidget" name="PrinterView">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>246</width>
10 <height>425</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Game Boy Printer</string>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout">
17 <item>
18 <widget class="QScrollArea" name="scrollArea">
19 <property name="frameShape">
20 <enum>QFrame::NoFrame</enum>
21 </property>
22 <property name="widgetResizable">
23 <bool>true</bool>
24 </property>
25 <widget class="QWidget" name="scrollAreaWidgetContents">
26 <property name="geometry">
27 <rect>
28 <x>0</x>
29 <y>0</y>
30 <width>234</width>
31 <height>249</height>
32 </rect>
33 </property>
34 <layout class="QGridLayout" name="gridLayout" rowstretch="1,0,1" columnminimumwidth="0,160,0">
35 <property name="leftMargin">
36 <number>0</number>
37 </property>
38 <property name="topMargin">
39 <number>0</number>
40 </property>
41 <property name="rightMargin">
42 <number>0</number>
43 </property>
44 <property name="bottomMargin">
45 <number>0</number>
46 </property>
47 <property name="spacing">
48 <number>0</number>
49 </property>
50 <item row="0" column="1">
51 <spacer name="verticalSpacer">
52 <property name="orientation">
53 <enum>Qt::Vertical</enum>
54 </property>
55 <property name="sizeHint" stdset="0">
56 <size>
57 <width>0</width>
58 <height>0</height>
59 </size>
60 </property>
61 </spacer>
62 </item>
63 <item row="0" column="0">
64 <spacer name="horizontalSpacer">
65 <property name="orientation">
66 <enum>Qt::Horizontal</enum>
67 </property>
68 <property name="sizeHint" stdset="0">
69 <size>
70 <width>0</width>
71 <height>0</height>
72 </size>
73 </property>
74 </spacer>
75 </item>
76 <item row="1" column="1">
77 <widget class="QLabel" name="image">
78 <property name="sizePolicy">
79 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
80 <horstretch>0</horstretch>
81 <verstretch>0</verstretch>
82 </sizepolicy>
83 </property>
84 <property name="minimumSize">
85 <size>
86 <width>160</width>
87 <height>1</height>
88 </size>
89 </property>
90 <property name="alignment">
91 <set>Qt::AlignHCenter|Qt::AlignTop</set>
92 </property>
93 </widget>
94 </item>
95 <item row="2" column="1">
96 <widget class="Line" name="line">
97 <property name="frameShadow">
98 <enum>QFrame::Plain</enum>
99 </property>
100 <property name="orientation">
101 <enum>Qt::Horizontal</enum>
102 </property>
103 </widget>
104 </item>
105 <item row="0" column="2">
106 <spacer name="horizontalSpacer_2">
107 <property name="orientation">
108 <enum>Qt::Horizontal</enum>
109 </property>
110 <property name="sizeHint" stdset="0">
111 <size>
112 <width>0</width>
113 <height>0</height>
114 </size>
115 </property>
116 </spacer>
117 </item>
118 </layout>
119 </widget>
120 </widget>
121 </item>
122 <item>
123 <layout class="QHBoxLayout" name="horizontalLayout_2">
124 <item>
125 <widget class="QPushButton" name="hurry">
126 <property name="enabled">
127 <bool>false</bool>
128 </property>
129 <property name="text">
130 <string>Hurry up!</string>
131 </property>
132 </widget>
133 </item>
134 <item>
135 <widget class="QPushButton" name="tear">
136 <property name="text">
137 <string>Tear off</string>
138 </property>
139 </widget>
140 </item>
141 </layout>
142 </item>
143 <item>
144 <layout class="QHBoxLayout" name="horizontalLayout_4">
145 <item>
146 <spacer name="horizontalSpacer_3">
147 <property name="orientation">
148 <enum>Qt::Horizontal</enum>
149 </property>
150 <property name="sizeHint" stdset="0">
151 <size>
152 <width>40</width>
153 <height>20</height>
154 </size>
155 </property>
156 </spacer>
157 </item>
158 <item>
159 <widget class="QSpinBox" name="magnification">
160 <property name="sizePolicy">
161 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
162 <horstretch>0</horstretch>
163 <verstretch>0</verstretch>
164 </sizepolicy>
165 </property>
166 <property name="suffix">
167 <string>×</string>
168 </property>
169 <property name="minimum">
170 <number>1</number>
171 </property>
172 <property name="maximum">
173 <number>8</number>
174 </property>
175 </widget>
176 </item>
177 <item>
178 <widget class="QLabel" name="label_2">
179 <property name="text">
180 <string>Magnification</string>
181 </property>
182 </widget>
183 </item>
184 <item>
185 <spacer name="horizontalSpacer_4">
186 <property name="orientation">
187 <enum>Qt::Horizontal</enum>
188 </property>
189 <property name="sizeHint" stdset="0">
190 <size>
191 <width>40</width>
192 <height>20</height>
193 </size>
194 </property>
195 </spacer>
196 </item>
197 </layout>
198 </item>
199 <item>
200 <widget class="QDialogButtonBox" name="buttonBox">
201 <property name="standardButtons">
202 <set>QDialogButtonBox::Close|QDialogButtonBox::Save</set>
203 </property>
204 </widget>
205 </item>
206 </layout>
207 </widget>
208 <resources/>
209 <connections>
210 <connection>
211 <sender>buttonBox</sender>
212 <signal>rejected()</signal>
213 <receiver>PrinterView</receiver>
214 <slot>close()</slot>
215 <hints>
216 <hint type="sourcelabel">
217 <x>112</x>
218 <y>226</y>
219 </hint>
220 <hint type="destinationlabel">
221 <x>112</x>
222 <y>123</y>
223 </hint>
224 </hints>
225 </connection>
226 </connections>
227</ui>