VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxVMInformationDlg.ui@ 7219

Last change on this file since 7219 was 7207, checked in by vboxsync, 17 years ago

Main: Reworked enums to avoid 1) weird duplication of enum name when referring to enum values in cross-platform code; 2) possible clashes on Win32 due to putting identifiers like Paused or Disabled to the global namespace (via C enums). In the new style, enums are used like this: a) USBDeviceState_T v = USBDeviceState_Busy from cross-platform non-Qt code; b) KUSBDeviceState v = KUSBDeviceState_Busy from Qt code; c) USBDeviceState v = USBDeviceState_Busy from plain Win32 and d) PRUInt32 USBDeviceState v = USBDeviceState::Busy from plain XPCOM.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Revision Author Id
File size: 7.5 KB
Line 
1<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2<class>VBoxVMInformationDlg</class>
3<comment>
4:mode=html:tabSize=4:indentSize=4:noTabs=true:
5:folding=explicit:collapseFolds=1:
6
7 Copyright (C) 2007 innotek 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</comment>
17<widget class="QMainWindow">
18 <property name="name">
19 <cstring>VBoxVMInformationDlg</cstring>
20 </property>
21 <property name="geometry">
22 <rect>
23 <x>0</x>
24 <y>0</y>
25 <width>640</width>
26 <height>480</height>
27 </rect>
28 </property>
29 <property name="caption">
30 <string>Session Information Dialog</string>
31 </property>
32 <vbox>
33 <property name="name">
34 <cstring>unnamed</cstring>
35 </property>
36 <widget class="QFrame">
37 <property name="name">
38 <cstring>mInfoFrame</cstring>
39 </property>
40 <property name="frameShape">
41 <enum>NoFrame</enum>
42 </property>
43 <property name="frameShadow">
44 <enum>Plain</enum>
45 </property>
46 </widget>
47 <widget class="QLayoutWidget">
48 <property name="name">
49 <cstring>layout2</cstring>
50 </property>
51 <hbox>
52 <property name="name">
53 <cstring>unnamed</cstring>
54 </property>
55 <spacer>
56 <property name="name">
57 <cstring>spacer3</cstring>
58 </property>
59 <property name="orientation">
60 <enum>Horizontal</enum>
61 </property>
62 <property name="sizeType">
63 <enum>Expanding</enum>
64 </property>
65 <property name="sizeHint">
66 <size>
67 <width>270</width>
68 <height>20</height>
69 </size>
70 </property>
71 </spacer>
72 <widget class="QPushButton">
73 <property name="name">
74 <cstring>mCloseButton</cstring>
75 </property>
76 <property name="text">
77 <string>&amp;Close</string>
78 </property>
79 <property name="accel">
80 <string>Alt+C</string>
81 </property>
82 <property name="autoDefault">
83 <bool>true</bool>
84 </property>
85 <property name="default">
86 <bool>true</bool>
87 </property>
88 </widget>
89 </hbox>
90 </widget>
91 </vbox>
92</widget>
93<toolbars>
94</toolbars>
95<connections>
96 <connection>
97 <sender>mCloseButton</sender>
98 <signal>clicked()</signal>
99 <receiver>VBoxVMInformationDlg</receiver>
100 <slot>close()</slot>
101 </connection>
102</connections>
103<includes>
104 <include location="local" impldecl="in declaration">VBoxGlobal.h</include>
105 <include location="local" impldecl="in implementation">VBoxConsoleView.h</include>
106 <include location="global" impldecl="in declaration">qtimer.h</include>
107 <include location="global" impldecl="in implementation">qsizegrip.h</include>
108 <include location="global" impldecl="in implementation">qstatusbar.h</include>
109 <include location="global" impldecl="in implementation">qtabwidget.h</include>
110 <include location="global" impldecl="in implementation">qtextbrowser.h</include>
111 <include location="global" impldecl="in implementation">qobjectlist.h</include>
112 <include location="global" impldecl="in implementation">qregexp.h</include>
113 <include location="global" impldecl="in implementation">qvaluelist.h</include>
114</includes>
115<forwards>
116 <forward>class QSizeGrip</forward>
117 <forward>class QTabWidget</forward>
118 <forward>class QTextBrowser</forward>
119 <forward>class VBoxConsoleView</forward>
120</forwards>
121<variables>
122 <variable access="public">typedef QMap &lt;QString, QString&gt; DataMapType;</variable>
123 <variable access="public">struct CounterElementType { QString type; DataMapType list; };</variable>
124 <variable access="public">typedef QValueList &lt;CounterElementType&gt; CounterListType;</variable>
125 <variable access="private">typedef QMap &lt;QString, VBoxVMInformationDlg*&gt; InfoDlgMap;</variable>
126 <variable access="private">static InfoDlgMap mSelfArray;</variable>
127 <variable access="private">bool mIsPolished;</variable>
128 <variable access="private">QSizeGrip *mSizeGrip;</variable>
129 <variable access="private">CSession mSession;</variable>
130 <variable access="private">QTabWidget *mInfoStack;</variable>
131 <variable access="private">QTextBrowser *mDetailsText;</variable>
132 <variable access="private">QTextBrowser *mStatisticText;</variable>
133 <variable access="private">QTextBrowser *mDefStatText;</variable>
134 <variable access="private">QPushButton *mDefaultButton;</variable>
135 <variable access="private">DataMapType mNamesMap;</variable>
136 <variable access="private">DataMapType mValuesMap;</variable>
137 <variable access="private">QTimer mStatTimer;</variable>
138 <variable access="private">VBoxConsoleView *mConsole;</variable>
139 <variable access="private">int mWidth;</variable>
140 <variable access="private">int mHeight;</variable>
141 <variable access="private">bool mMax;</variable>
142</variables>
143<slots>
144 <slot access="protected">updateDetails()</slot>
145 <slot access="protected">processStatistics()</slot>
146 <slot access="protected">onPageChanged( QWidget* )</slot>
147</slots>
148<functions>
149 <function specifier="static">createInformationDlg( const CSession&amp;, VBoxConsoleView* )</function>
150 <function access="private">init()</function>
151 <function access="private">destroy()</function>
152 <function>setup( const CSession &amp;, VBoxConsoleView* )</function>
153 <function access="pritave">languageChangeImp()</function>
154 <function access="pritave" returnType="QPushButton*">searchDefaultButton()</function>
155 <function access="protected" returnType="bool">eventFilter( QObject*, QEvent* )</function>
156 <function access="protected" returnType="bool">event( QEvent* )</function>
157 <function access="protected">keyPressEvent( QKeyEvent* )</function>
158 <function access="protected">showEvent( QShowEvent* )</function>
159 <function access="protected">resizeEvent( QResizeEvent* )</function>
160 <function returnType="QString" access="pritave">parseStatistics( const QString &amp; )</function>
161 <function access="private">refreshStatistics()</function>
162 <function returnType="QString" access="pritave">formatHardDisk( const QString &amp;, KDiskControllerType, LONG, int, int )</function>
163 <function returnType="QString" access="pritave">formatAdapter( const QString &amp;, ULONG, int, int )</function>
164 <function returnType="QString" access="pritave">composeArticle( const QString &amp;, int, int )</function>
165</functions>
166<pixmapinproject/>
167<layoutdefaults spacing="6" margin="11"/>
168</UI>
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