Lines 1-7
Link Here
|
1 |
<ui version="4.0" > |
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
|
2 |
<ui version="4.0"> |
2 |
<class>MainWindow</class> |
3 |
<class>MainWindow</class> |
3 |
<widget class="QMainWindow" name="MainWindow" > |
4 |
<widget class="QMainWindow" name="MainWindow"> |
4 |
<property name="geometry" > |
5 |
<property name="geometry"> |
5 |
<rect> |
6 |
<rect> |
6 |
<x>0</x> |
7 |
<x>0</x> |
7 |
<y>0</y> |
8 |
<y>0</y> |
Lines 9-83
Link Here
|
9 |
<height>701</height> |
10 |
<height>701</height> |
10 |
</rect> |
11 |
</rect> |
11 |
</property> |
12 |
</property> |
12 |
<property name="sizePolicy" > |
13 |
<property name="sizePolicy"> |
13 |
<sizepolicy vsizetype="Minimum" hsizetype="Minimum" > |
14 |
<sizepolicy hsizetype="Minimum" vsizetype="Minimum"> |
14 |
<horstretch>0</horstretch> |
15 |
<horstretch>0</horstretch> |
15 |
<verstretch>0</verstretch> |
16 |
<verstretch>0</verstretch> |
16 |
</sizepolicy> |
17 |
</sizepolicy> |
17 |
</property> |
18 |
</property> |
18 |
<property name="windowTitle" > |
19 |
<property name="windowTitle"> |
19 |
<string>LRF Viewer</string> |
20 |
<string>LRF Viewer</string> |
20 |
</property> |
21 |
</property> |
21 |
<property name="windowIcon" > |
22 |
<property name="windowIcon"> |
22 |
<iconset resource="../../../../resources/images.qrc" > |
23 |
<iconset> |
23 |
<normaloff>:/images/viewer.png</normaloff>:/images/viewer.png</iconset> |
24 |
<normaloff>:/images/viewer.png</normaloff>:/images/viewer.png</iconset> |
24 |
</property> |
25 |
</property> |
25 |
<widget class="QWidget" name="central_widget" > |
26 |
<widget class="QWidget" name="central_widget"> |
26 |
<property name="geometry" > |
27 |
<layout class="QVBoxLayout"> |
27 |
<rect> |
28 |
<property name="margin"> |
28 |
<x>0</x> |
|
|
29 |
<y>39</y> |
30 |
<width>601</width> |
31 |
<height>662</height> |
32 |
</rect> |
33 |
</property> |
34 |
<layout class="QVBoxLayout" > |
35 |
<property name="margin" > |
36 |
<number>0</number> |
29 |
<number>0</number> |
37 |
</property> |
30 |
</property> |
38 |
<item> |
31 |
<item> |
39 |
<widget class="QStackedWidget" name="stack" > |
32 |
<widget class="QStackedWidget" name="stack"> |
40 |
<property name="currentIndex" > |
33 |
<property name="currentIndex"> |
41 |
<number>0</number> |
34 |
<number>0</number> |
42 |
</property> |
35 |
</property> |
43 |
<widget class="QWidget" name="viewer_page" > |
36 |
<widget class="QWidget" name="viewer_page"> |
44 |
<property name="geometry" > |
37 |
<layout class="QGridLayout"> |
45 |
<rect> |
38 |
<property name="margin"> |
46 |
<x>0</x> |
|
|
47 |
<y>0</y> |
48 |
<width>601</width> |
49 |
<height>662</height> |
50 |
</rect> |
51 |
</property> |
52 |
<layout class="QGridLayout" > |
53 |
<property name="margin" > |
54 |
<number>0</number> |
39 |
<number>0</number> |
55 |
</property> |
40 |
</property> |
56 |
<item row="0" column="0" > |
41 |
<item row="0" column="0"> |
57 |
<widget class="BookView" name="graphics_view" > |
42 |
<widget class="BookView" name="graphics_view"> |
58 |
<property name="mouseTracking" > |
43 |
<property name="mouseTracking"> |
59 |
<bool>true</bool> |
44 |
<bool>true</bool> |
60 |
</property> |
45 |
</property> |
61 |
</widget> |
46 |
</widget> |
62 |
</item> |
47 |
</item> |
63 |
</layout> |
48 |
</layout> |
64 |
</widget> |
49 |
</widget> |
65 |
<widget class="QWidget" name="bar_page" > |
50 |
<widget class="QWidget" name="bar_page"> |
66 |
<property name="geometry" > |
51 |
<layout class="QVBoxLayout"> |
67 |
<rect> |
|
|
68 |
<x>0</x> |
69 |
<y>0</y> |
70 |
<width>601</width> |
71 |
<height>701</height> |
72 |
</rect> |
73 |
</property> |
74 |
<layout class="QVBoxLayout" > |
75 |
<item> |
52 |
<item> |
76 |
<spacer> |
53 |
<spacer> |
77 |
<property name="orientation" > |
54 |
<property name="orientation"> |
78 |
<enum>Qt::Vertical</enum> |
55 |
<enum>Qt::Vertical</enum> |
79 |
</property> |
56 |
</property> |
80 |
<property name="sizeHint" stdset="0" > |
57 |
<property name="sizeHint" stdset="0"> |
81 |
<size> |
58 |
<size> |
82 |
<width>20</width> |
59 |
<width>20</width> |
83 |
<height>40</height> |
60 |
<height>40</height> |
Lines 86-119
Link Here
|
86 |
</spacer> |
63 |
</spacer> |
87 |
</item> |
64 |
</item> |
88 |
<item> |
65 |
<item> |
89 |
<widget class="QFrame" name="frame_2" > |
66 |
<widget class="QFrame" name="frame_2"> |
90 |
<property name="frameShape" > |
67 |
<property name="frameShape"> |
91 |
<enum>QFrame::StyledPanel</enum> |
68 |
<enum>QFrame::StyledPanel</enum> |
92 |
</property> |
69 |
</property> |
93 |
<property name="frameShadow" > |
70 |
<property name="frameShadow"> |
94 |
<enum>QFrame::Raised</enum> |
71 |
<enum>QFrame::Raised</enum> |
95 |
</property> |
72 |
</property> |
96 |
<layout class="QVBoxLayout" > |
73 |
<layout class="QVBoxLayout"> |
97 |
<item> |
74 |
<item> |
98 |
<widget class="QProgressBar" name="progress_bar" > |
75 |
<widget class="QProgressBar" name="progress_bar"> |
99 |
<property name="maximum" > |
76 |
<property name="maximum"> |
100 |
<number>0</number> |
77 |
<number>0</number> |
101 |
</property> |
78 |
</property> |
102 |
<property name="value" > |
79 |
<property name="value"> |
103 |
<number>-1</number> |
80 |
<number>-1</number> |
104 |
</property> |
81 |
</property> |
105 |
</widget> |
82 |
</widget> |
106 |
</item> |
83 |
</item> |
107 |
<item> |
84 |
<item> |
108 |
<widget class="QLabel" name="progress_label" > |
85 |
<widget class="QLabel" name="progress_label"> |
109 |
<property name="font" > |
86 |
<property name="font"> |
110 |
<font> |
87 |
<font> |
111 |
<pointsize>11</pointsize> |
88 |
<pointsize>11</pointsize> |
112 |
<weight>75</weight> |
89 |
<weight>75</weight> |
113 |
<bold>true</bold> |
90 |
<bold>true</bold> |
114 |
</font> |
91 |
</font> |
115 |
</property> |
92 |
</property> |
116 |
<property name="text" > |
93 |
<property name="text"> |
117 |
<string>Parsing LRF file</string> |
94 |
<string>Parsing LRF file</string> |
118 |
</property> |
95 |
</property> |
119 |
</widget> |
96 |
</widget> |
Lines 123-132
Link Here
|
123 |
</item> |
100 |
</item> |
124 |
<item> |
101 |
<item> |
125 |
<spacer> |
102 |
<spacer> |
126 |
<property name="orientation" > |
103 |
<property name="orientation"> |
127 |
<enum>Qt::Vertical</enum> |
104 |
<enum>Qt::Vertical</enum> |
128 |
</property> |
105 |
</property> |
129 |
<property name="sizeHint" stdset="0" > |
106 |
<property name="sizeHint" stdset="0"> |
130 |
<size> |
107 |
<size> |
131 |
<width>20</width> |
108 |
<width>20</width> |
132 |
<height>40</height> |
109 |
<height>40</height> |
Lines 140-232
Link Here
|
140 |
</item> |
117 |
</item> |
141 |
</layout> |
118 |
</layout> |
142 |
</widget> |
119 |
</widget> |
143 |
<widget class="QToolBar" name="tool_bar" > |
120 |
<widget class="QToolBar" name="tool_bar"> |
144 |
<property name="geometry" > |
121 |
<property name="windowTitle"> |
145 |
<rect> |
|
|
146 |
<x>0</x> |
147 |
<y>0</y> |
148 |
<width>601</width> |
149 |
<height>39</height> |
150 |
</rect> |
151 |
</property> |
152 |
<property name="windowTitle" > |
153 |
<string>LRF Viewer toolbar</string> |
122 |
<string>LRF Viewer toolbar</string> |
154 |
</property> |
123 |
</property> |
155 |
<property name="allowedAreas" > |
124 |
<property name="allowedAreas"> |
156 |
<set>Qt::AllToolBarAreas</set> |
125 |
<set>Qt::AllToolBarAreas</set> |
157 |
</property> |
126 |
</property> |
158 |
<attribute name="toolBarArea" > |
127 |
<attribute name="toolBarArea"> |
159 |
<enum>TopToolBarArea</enum> |
128 |
<enum>Qt::TopToolBarArea</enum> |
160 |
</attribute> |
129 |
</attribute> |
161 |
<attribute name="toolBarBreak" > |
130 |
<attribute name="toolBarBreak"> |
162 |
<bool>true</bool> |
131 |
<bool>false</bool> |
163 |
</attribute> |
132 |
</attribute> |
164 |
<addaction name="action_back" /> |
133 |
<addaction name="action_back"/> |
165 |
<addaction name="action_forward" /> |
134 |
<addaction name="action_forward"/> |
166 |
<addaction name="separator" /> |
135 |
<addaction name="separator"/> |
167 |
<addaction name="action_open_ebook" /> |
136 |
<addaction name="action_open_ebook"/> |
168 |
<addaction name="action_configure" /> |
137 |
<addaction name="action_configure"/> |
169 |
<addaction name="separator" /> |
138 |
<addaction name="separator"/> |
170 |
<addaction name="action_previous_page" /> |
139 |
<addaction name="action_previous_page"/> |
171 |
<addaction name="action_next_page" /> |
140 |
<addaction name="action_next_page"/> |
172 |
<addaction name="separator" /> |
141 |
<addaction name="separator"/> |
173 |
</widget> |
142 |
</widget> |
174 |
<action name="action_next_page" > |
143 |
<action name="action_next_page"> |
175 |
<property name="icon" > |
144 |
<property name="icon"> |
176 |
<iconset resource="../../../../resources/images.qrc" > |
145 |
<iconset> |
177 |
<normaloff>:/images/next.png</normaloff>:/images/next.png</iconset> |
146 |
<normaloff>:/images/next.png</normaloff>:/images/next.png</iconset> |
178 |
</property> |
147 |
</property> |
179 |
<property name="text" > |
148 |
<property name="text"> |
180 |
<string>Next Page</string> |
149 |
<string>Next Page</string> |
181 |
</property> |
150 |
</property> |
182 |
</action> |
151 |
</action> |
183 |
<action name="action_previous_page" > |
152 |
<action name="action_previous_page"> |
184 |
<property name="icon" > |
153 |
<property name="icon"> |
185 |
<iconset resource="../../../../resources/images.qrc" > |
154 |
<iconset> |
186 |
<normaloff>:/images/previous.png</normaloff>:/images/previous.png</iconset> |
155 |
<normaloff>:/images/previous.png</normaloff>:/images/previous.png</iconset> |
187 |
</property> |
156 |
</property> |
188 |
<property name="text" > |
157 |
<property name="text"> |
189 |
<string>Previous Page</string> |
158 |
<string>Previous Page</string> |
190 |
</property> |
159 |
</property> |
191 |
</action> |
160 |
</action> |
192 |
<action name="action_back" > |
161 |
<action name="action_back"> |
193 |
<property name="icon" > |
162 |
<property name="icon"> |
194 |
<iconset resource="../../../../resources/images.qrc" > |
163 |
<iconset> |
195 |
<normaloff>:/images/back.png</normaloff>:/images/back.png</iconset> |
164 |
<normaloff>:/images/back.png</normaloff>:/images/back.png</iconset> |
196 |
</property> |
165 |
</property> |
197 |
<property name="text" > |
166 |
<property name="text"> |
198 |
<string>Back</string> |
167 |
<string>Back</string> |
199 |
</property> |
168 |
</property> |
200 |
</action> |
169 |
</action> |
201 |
<action name="action_forward" > |
170 |
<action name="action_forward"> |
202 |
<property name="icon" > |
171 |
<property name="icon"> |
203 |
<iconset resource="../../../../resources/images.qrc" > |
172 |
<iconset> |
204 |
<normaloff>:/images/forward.png</normaloff>:/images/forward.png</iconset> |
173 |
<normaloff>:/images/forward.png</normaloff>:/images/forward.png</iconset> |
205 |
</property> |
174 |
</property> |
206 |
<property name="text" > |
175 |
<property name="text"> |
207 |
<string>Forward</string> |
176 |
<string>Forward</string> |
208 |
</property> |
177 |
</property> |
209 |
</action> |
178 |
</action> |
210 |
<action name="action_next_match" > |
179 |
<action name="action_next_match"> |
211 |
<property name="text" > |
180 |
<property name="text"> |
212 |
<string>Next match</string> |
181 |
<string>Next match</string> |
213 |
</property> |
182 |
</property> |
214 |
</action> |
183 |
</action> |
215 |
<action name="action_open_ebook" > |
184 |
<action name="action_open_ebook"> |
216 |
<property name="icon" > |
185 |
<property name="icon"> |
217 |
<iconset resource="../../../../resources/images.qrc" > |
186 |
<iconset> |
218 |
<normaloff>:/images/document_open.png</normaloff>:/images/document_open.png</iconset> |
187 |
<normaloff>:/images/document_open.png</normaloff>:/images/document_open.png</iconset> |
219 |
</property> |
188 |
</property> |
220 |
<property name="text" > |
189 |
<property name="text"> |
221 |
<string>Open ebook</string> |
190 |
<string>Open ebook</string> |
222 |
</property> |
191 |
</property> |
223 |
</action> |
192 |
</action> |
224 |
<action name="action_configure" > |
193 |
<action name="action_configure"> |
225 |
<property name="icon" > |
194 |
<property name="icon"> |
226 |
<iconset resource="../../../../resources/images.qrc" > |
195 |
<iconset> |
227 |
<normaloff>:/images/config.png</normaloff>:/images/config.png</iconset> |
196 |
<normaloff>:/images/config.png</normaloff>:/images/config.png</iconset> |
228 |
</property> |
197 |
</property> |
229 |
<property name="text" > |
198 |
<property name="text"> |
230 |
<string>Configure</string> |
199 |
<string>Configure</string> |
231 |
</property> |
200 |
</property> |
232 |
</action> |
201 |
</action> |
Lines 239-245
Link Here
|
239 |
</customwidget> |
208 |
</customwidget> |
240 |
</customwidgets> |
209 |
</customwidgets> |
241 |
<resources> |
210 |
<resources> |
242 |
<include location="../../../../resources/images.qrc" /> |
211 |
<include location="../../../../resources/images.qrc"/> |
243 |
</resources> |
212 |
</resources> |
244 |
<connections/> |
213 |
<connections/> |
245 |
</ui> |
214 |
</ui> |