VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/ui/VBoxSnapshotsWgt.ui@ 382

Last change on this file since 382 was 382, checked in by vboxsync, 18 years ago

export to OSE again

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 11.4 KB
Line 
1<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2<class>VBoxSnapshotsWgt</class>
3<comment>
4:mode=html:tabSize=4:indentSize=4:noTabs=true:
5:folding=explicit:collapseFolds=1:
6
7# Copyright (C) 2006 InnoTek Systemberatung GmbH
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License as published by the Free Software Foundation,
13# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
14# distribution. VirtualBox OSE is distributed in the hope that it will
15# be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17# If you received this file as part of a commercial VirtualBox
18# distribution, then only the terms of your commercial VirtualBox
19# license agreement apply instead of the previous paragraph.
20</comment>
21<widget class="QWidget">
22 <property name="name">
23 <cstring>VBoxSnapshotsWgt</cstring>
24 </property>
25 <property name="geometry">
26 <rect>
27 <x>0</x>
28 <y>0</y>
29 <width>600</width>
30 <height>480</height>
31 </rect>
32 </property>
33 <property name="caption">
34 <string>VBoxSnapshotsWgt</string>
35 </property>
36 <vbox>
37 <property name="name">
38 <cstring>unnamed</cstring>
39 </property>
40 <property name="margin">
41 <number>0</number>
42 </property>
43 <property name="spacing">
44 <number>10</number>
45 </property>
46 <widget class="QWidgetStack">
47 <property name="name">
48 <cstring>widgetStack</cstring>
49 </property>
50 <widget class="QWidget">
51 <property name="name">
52 <cstring>pageListView</cstring>
53 </property>
54 <attribute name="id">
55 <number>0</number>
56 </attribute>
57 <vbox>
58 <property name="name">
59 <cstring>unnamed</cstring>
60 </property>
61 <property name="margin">
62 <number>0</number>
63 </property>
64 <property name="spacing">
65 <number>0</number>
66 </property>
67 <widget class="QListView">
68 <column>
69 <property name="text">
70 <string>[snapshot]</string>
71 </property>
72 <property name="clickable">
73 <bool>false</bool>
74 </property>
75 <property name="resizable">
76 <bool>true</bool>
77 </property>
78 </column>
79 <property name="name">
80 <cstring>listView</cstring>
81 </property>
82 </widget>
83 </vbox>
84 </widget>
85 </widget>
86 </vbox>
87</widget>
88<toolbars>
89</toolbars>
90<actions>
91 <actiongroup>
92 <property name="name">
93 <cstring>snapshotActionGroup</cstring>
94 </property>
95 <property name="text">
96 <string>snapshotActionGroup</string>
97 </property>
98 <property name="usesDropDown">
99 <bool>false</bool>
100 </property>
101 <action>
102 <property name="name">
103 <cstring>discardSnapshotAction</cstring>
104 </property>
105 <property name="text">
106 <string>Discard Snapshot</string>
107 </property>
108 <property name="menuText">
109 <string>&amp;Discard Snapshot</string>
110 </property>
111 <property name="accel">
112 <string>Ctrl+Shift+D</string>
113 </property>
114 </action>
115 </actiongroup>
116 <actiongroup>
117 <property name="name">
118 <cstring>curStateActionGroup</cstring>
119 </property>
120 <property name="text">
121 <string>curStateActionGroup</string>
122 </property>
123 <property name="usesDropDown">
124 <bool>false</bool>
125 </property>
126 <action>
127 <property name="name">
128 <cstring>takeSnapshotAction</cstring>
129 </property>
130 <property name="text">
131 <string>Take Snapshot</string>
132 </property>
133 <property name="menuText">
134 <string>Take &amp;Snapshot</string>
135 </property>
136 <property name="accel">
137 <string>Ctrl+Alt+S</string>
138 </property>
139 </action>
140 <action>
141 <property name="name">
142 <cstring>discardCurStateAction</cstring>
143 </property>
144 <property name="text">
145 <string>Discard Current State</string>
146 </property>
147 <property name="menuText">
148 <string>D&amp;iscard Current State</string>
149 </property>
150 <property name="accel">
151 <string>Ctrl+Alt+D</string>
152 </property>
153 </action>
154 <action>
155 <property name="name">
156 <cstring>discardCurSnapAndStateAction</cstring>
157 </property>
158 <property name="text">
159 <string>Discard Current Snapshot and State</string>
160 </property>
161 <property name="menuText">
162 <string>D&amp;iscard Current Snapshot and State</string>
163 </property>
164 <property name="accel">
165 <string>Ctrl+Alt+Shift+D</string>
166 </property>
167 </action>
168 </actiongroup>
169 <action>
170 <property name="name">
171 <cstring>showSnapshotDetailsAction</cstring>
172 </property>
173 <property name="text">
174 <string>Show Details</string>
175 </property>
176 <property name="menuText">
177 <string>S&amp;how Details</string>
178 </property>
179 <property name="accel">
180 <string>Space</string>
181 </property>
182 </action>
183</actions>
184<connections>
185 <connection>
186 <sender>listView</sender>
187 <signal>currentChanged(QListViewItem*)</signal>
188 <receiver>VBoxSnapshotsWgt</receiver>
189 <slot>listView_currentChanged(QListViewItem*)</slot>
190 </connection>
191 <connection>
192 <sender>listView</sender>
193 <signal>contextMenuRequested(QListViewItem*,const QPoint&amp;,int)</signal>
194 <receiver>VBoxSnapshotsWgt</receiver>
195 <slot>listView_contextMenuRequested(QListViewItem*,const QPoint&amp;,int)</slot>
196 </connection>
197 <connection>
198 <sender>discardSnapshotAction</sender>
199 <signal>activated()</signal>
200 <receiver>VBoxSnapshotsWgt</receiver>
201 <slot>discardSnapshot()</slot>
202 </connection>
203 <connection>
204 <sender>takeSnapshotAction</sender>
205 <signal>activated()</signal>
206 <receiver>VBoxSnapshotsWgt</receiver>
207 <slot>takeSnapshot()</slot>
208 </connection>
209 <connection>
210 <sender>discardCurStateAction</sender>
211 <signal>activated()</signal>
212 <receiver>VBoxSnapshotsWgt</receiver>
213 <slot>discardCurState()</slot>
214 </connection>
215 <connection>
216 <sender>discardCurSnapAndStateAction</sender>
217 <signal>activated()</signal>
218 <receiver>VBoxSnapshotsWgt</receiver>
219 <slot>discardCurSnapAndState()</slot>
220 </connection>
221 <connection>
222 <sender>showSnapshotDetailsAction</sender>
223 <signal>activated()</signal>
224 <receiver>VBoxSnapshotsWgt</receiver>
225 <slot>showSnapshotDetails()</slot>
226 </connection>
227 <connection>
228 <sender>&amp;vboxGlobal()</sender>
229 <signal>machineDataChanged (const VBoxMachineDataChangeEvent &amp;)</signal>
230 <receiver>VBoxSnapshotsWgt</receiver>
231 <slot>machineDataChanged (const VBoxMachineDataChangeEvent &amp;)</slot>
232 </connection>
233 <connection>
234 <sender>&amp;vboxGlobal()</sender>
235 <signal>machineStateChanged (const VBoxMachineStateChangeEvent &amp;)</signal>
236 <receiver>VBoxSnapshotsWgt</receiver>
237 <slot>machineStateChanged (const VBoxMachineStateChangeEvent &amp;)</slot>
238 </connection>
239 <connection>
240 <sender>&amp;vboxGlobal()</sender>
241 <signal>snapshotChanged (const VBoxSnapshotEvent &amp;)</signal>
242 <receiver>VBoxSnapshotsWgt</receiver>
243 <slot>snapshotChanged (const VBoxSnapshotEvent &amp;)</slot>
244 </connection>
245</connections>
246<includes>
247 <include location="global" impldecl="in declaration">qaction.h</include>
248 <include location="global" impldecl="in declaration">qpopupmenu.h</include>
249 <include location="global" impldecl="in implementation">qpainter.h</include>
250 <include location="global" impldecl="in implementation">qdatetime.h</include>
251 <include location="global" impldecl="in implementation">qtooltip.h</include>
252 <include location="global" impldecl="in implementation">qmetaobject.h</include>
253 <include location="local" impldecl="in declaration">COMDefs.h</include>
254 <include location="local" impldecl="in implementation">VBoxUtils.h</include>
255 <include location="local" impldecl="in declaration">VBoxGlobal.h</include>
256 <include location="local" impldecl="in implementation">VBoxToolBar.h</include>
257 <include location="local" impldecl="in implementation">VBoxSelectorWnd.h</include>
258 <include location="local" impldecl="in implementation">VBoxProblemReporter.h</include>
259 <include location="local" impldecl="in implementation">VBoxSnapshotDetailsDlg.h</include>
260 <include location="local" impldecl="in implementation">VBoxTakeSnapshotDlg.h</include>
261 <include location="local" impldecl="in implementation">VBoxSnapshotsWgt.ui.h</include>
262</includes>
263<variables>
264 <variable access="private">CMachine mMachine;</variable>
265 <variable access="private">QUuid mMachineId;</variable>
266 <variable access="private">class ListViewItem; ListViewItem *mCurSnapshotItem;</variable>
267 <variable access="private">class ToolTip; ToolTip *mToolTip;</variable>
268 <variable access="private">QPopupMenu *mContextMenu;</variable>
269 <variable access="private">bool mContextMenuDirty;</variable>
270</variables>
271<slots>
272 <slot>listView_currentChanged( QListViewItem * )</slot>
273 <slot>listView_contextMenuRequested( QListViewItem *, const QPoint &amp;, int )</slot>
274 <slot>discardSnapshot()</slot>
275 <slot>takeSnapshot()</slot>
276 <slot>discardCurState()</slot>
277 <slot>discardCurSnapAndState()</slot>
278 <slot>showSnapshotDetails()</slot>
279 <slot>machineDataChanged (const VBoxMachineDataChangeEvent &amp; aE)</slot>
280 <slot>machineStateChanged (const VBoxMachineStateChangeEvent &amp; aE)</slot>
281 <slot>snapshotChanged (const VBoxSnapshotEvent &amp; aE)</slot>
282</slots>
283<functions>
284 <function access="private">init()</function>
285 <function access="private">destroy()</function>
286 <function>setMachine( const CMachine &amp; aMachine )</function>
287 <function>refreshAll (bool aKeepSelected = false)</function>
288 <function access="private" returnType="ListViewItem *">findItem (const QUuid &amp; aSnapshotId)</function>
289 <function access="private" returnType="ListViewItem *">curStateItem()</function>
290 <function access="private">populateSnapshots( const CSnapshot &amp; snapshot, QListViewItem * item )</function>
291</functions>
292<pixmapinproject/>
293<layoutdefaults spacing="6" margin="11"/>
294</UI>
295
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette