blob: d622050a6db1338ce6a434040e101b41ef8191ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
|
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainUI</class>
<widget class="QMainWindow" name="MainUI">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>524</width>
<height>481</height>
</rect>
</property>
<property name="windowTitle">
<string>Image Viewer</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="PhotoView" name="photoView"/>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>524</width>
<height>22</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
<property name="title">
<string>&File</string>
</property>
<addaction name="separator"/>
<addaction name="action_Open"/>
<addaction name="action_Save_as"/>
<addaction name="action_Print"/>
<addaction name="separator"/>
<addaction name="action_Exit"/>
</widget>
<widget class="QMenu" name="menuView">
<property name="title">
<string>&View</string>
</property>
<addaction name="actionZoom_In"/>
<addaction name="actionZoom_Out"/>
<addaction name="action_Normal_Zoom"/>
<addaction name="action_Fit_to_windows"/>
</widget>
<addaction name="menuFile"/>
<addaction name="menuView"/>
</widget>
<widget class="QToolBar" name="toolBar">
<property name="windowTitle">
<string>toolBar</string>
</property>
<property name="movable">
<bool>false</bool>
</property>
<property name="allowedAreas">
<set>Qt::BottomToolBarArea|Qt::LeftToolBarArea</set>
</property>
<property name="floatable">
<bool>false</bool>
</property>
<attribute name="toolBarArea">
<enum>BottomToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
<addaction name="actionFirst"/>
<addaction name="actionBack"/>
<addaction name="actionZoom_In"/>
<addaction name="actionZoom_Out"/>
<addaction name="action_Normal_Zoom"/>
<addaction name="action_Fit_to_windows"/>
<addaction name="actionNext"/>
<addaction name="actionLast"/>
</widget>
<action name="actionPlay">
<property name="text">
<string>Play</string>
</property>
</action>
<action name="actionPause">
<property name="text">
<string>Pause</string>
</property>
</action>
<action name="actionStop">
<property name="text">
<string>Stop</string>
</property>
</action>
<action name="actionNext">
<property name="text">
<string>Next</string>
</property>
</action>
<action name="actionBack">
<property name="text">
<string>Back</string>
</property>
</action>
<action name="action_Exit">
<property name="text">
<string>&Exit</string>
</property>
<property name="shortcut">
<string>Ctrl+Q</string>
</property>
<property name="shortcutContext">
<enum>Qt::ApplicationShortcut</enum>
</property>
</action>
<action name="action_Open">
<property name="text">
<string>&Open</string>
</property>
</action>
<action name="action_Save_as">
<property name="text">
<string>&Save as...</string>
</property>
</action>
<action name="action_Print">
<property name="text">
<string>&Print</string>
</property>
</action>
<action name="actionZoom_In">
<property name="text">
<string>Zoom &In</string>
</property>
</action>
<action name="actionZoom_Out">
<property name="text">
<string>Zoom &Out</string>
</property>
</action>
<action name="action_Normal_Zoom">
<property name="text">
<string>&Normal Zoom</string>
</property>
</action>
<action name="action_Fit_to_windows">
<property name="text">
<string>&Fit to Windows</string>
</property>
<property name="iconText">
<string>Fit to Windows</string>
</property>
<property name="toolTip">
<string>Fit to Windows</string>
</property>
</action>
<action name="action_About">
<property name="text">
<string>&About</string>
</property>
</action>
<action name="actionFirst">
<property name="text">
<string>First</string>
</property>
<property name="toolTip">
<string>First image</string>
</property>
</action>
<action name="actionLast">
<property name="text">
<string>Last</string>
</property>
<property name="toolTip">
<string>Last image</string>
</property>
</action>
</widget>
<customwidgets>
<customwidget>
<class>PhotoView</class>
<extends>QGraphicsView</extends>
<header>PhotoView.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
|