1 | <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
---|
2 | <class>VBoxVMLogViewer</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 (GPL) as published by the Free Software
|
---|
13 | Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | </comment>
|
---|
17 | <widget class="QMainWindow">
|
---|
18 | <property name="name">
|
---|
19 | <cstring>VBoxVMLogViewer</cstring>
|
---|
20 | </property>
|
---|
21 | <property name="geometry">
|
---|
22 | <rect>
|
---|
23 | <x>0</x>
|
---|
24 | <y>0</y>
|
---|
25 | <width>600</width>
|
---|
26 | <height>480</height>
|
---|
27 | </rect>
|
---|
28 | </property>
|
---|
29 | <property name="caption">
|
---|
30 | <string>Log Viewer</string>
|
---|
31 | </property>
|
---|
32 | <vbox>
|
---|
33 | <property name="name">
|
---|
34 | <cstring>unnamed</cstring>
|
---|
35 | </property>
|
---|
36 | <property name="margin">
|
---|
37 | <number>10</number>
|
---|
38 | </property>
|
---|
39 | <property name="spacing">
|
---|
40 | <number>10</number>
|
---|
41 | </property>
|
---|
42 | <widget class="QFrame">
|
---|
43 | <property name="name">
|
---|
44 | <cstring>mLogsFrame</cstring>
|
---|
45 | </property>
|
---|
46 | <property name="frameShape">
|
---|
47 | <enum>NoFrame</enum>
|
---|
48 | </property>
|
---|
49 | <property name="frameShadow">
|
---|
50 | <enum>Plain</enum>
|
---|
51 | </property>
|
---|
52 | </widget>
|
---|
53 | <widget class="QLayoutWidget">
|
---|
54 | <property name="name">
|
---|
55 | <cstring>layout2</cstring>
|
---|
56 | </property>
|
---|
57 | <hbox>
|
---|
58 | <property name="name">
|
---|
59 | <cstring>unnamed</cstring>
|
---|
60 | </property>
|
---|
61 | <widget class="QPushButton">
|
---|
62 | <property name="name">
|
---|
63 | <cstring>mHelpButton</cstring>
|
---|
64 | </property>
|
---|
65 | <property name="text">
|
---|
66 | <string>Help</string>
|
---|
67 | </property>
|
---|
68 | <property name="accel">
|
---|
69 | <string>F1</string>
|
---|
70 | </property>
|
---|
71 | </widget>
|
---|
72 | <spacer>
|
---|
73 | <property name="name">
|
---|
74 | <cstring>spacer3</cstring>
|
---|
75 | </property>
|
---|
76 | <property name="orientation">
|
---|
77 | <enum>Horizontal</enum>
|
---|
78 | </property>
|
---|
79 | <property name="sizeType">
|
---|
80 | <enum>Expanding</enum>
|
---|
81 | </property>
|
---|
82 | <property name="sizeHint">
|
---|
83 | <size>
|
---|
84 | <width>270</width>
|
---|
85 | <height>20</height>
|
---|
86 | </size>
|
---|
87 | </property>
|
---|
88 | </spacer>
|
---|
89 | <widget class="QPushButton">
|
---|
90 | <property name="name">
|
---|
91 | <cstring>mFindButton</cstring>
|
---|
92 | </property>
|
---|
93 | <property name="text">
|
---|
94 | <string>&Find</string>
|
---|
95 | </property>
|
---|
96 | </widget>
|
---|
97 | <widget class="QPushButton">
|
---|
98 | <property name="name">
|
---|
99 | <cstring>mSaveButton</cstring>
|
---|
100 | </property>
|
---|
101 | <property name="text">
|
---|
102 | <string>&Save</string>
|
---|
103 | </property>
|
---|
104 | <property name="autoDefault">
|
---|
105 | <bool>true</bool>
|
---|
106 | </property>
|
---|
107 | <property name="default">
|
---|
108 | <bool>true</bool>
|
---|
109 | </property>
|
---|
110 | </widget>
|
---|
111 | <widget class="QPushButton">
|
---|
112 | <property name="name">
|
---|
113 | <cstring>mRefreshButton</cstring>
|
---|
114 | </property>
|
---|
115 | <property name="text">
|
---|
116 | <string>&Refresh</string>
|
---|
117 | </property>
|
---|
118 | </widget>
|
---|
119 | <widget class="QPushButton">
|
---|
120 | <property name="name">
|
---|
121 | <cstring>mCloseButton</cstring>
|
---|
122 | </property>
|
---|
123 | <property name="text">
|
---|
124 | <string>Close</string>
|
---|
125 | </property>
|
---|
126 | </widget>
|
---|
127 | </hbox>
|
---|
128 | </widget>
|
---|
129 | </vbox>
|
---|
130 | </widget>
|
---|
131 | <toolbars>
|
---|
132 | </toolbars>
|
---|
133 | <connections>
|
---|
134 | <connection>
|
---|
135 | <sender>mHelpButton</sender>
|
---|
136 | <signal>clicked()</signal>
|
---|
137 | <receiver>&vboxProblem()</receiver>
|
---|
138 | <slot>showHelpHelpDialog()</slot>
|
---|
139 | </connection>
|
---|
140 | <connection>
|
---|
141 | <sender>mFindButton</sender>
|
---|
142 | <signal>clicked()</signal>
|
---|
143 | <receiver>VBoxVMLogViewer</receiver>
|
---|
144 | <slot>search()</slot>
|
---|
145 | </connection>
|
---|
146 | <connection>
|
---|
147 | <sender>mSaveButton</sender>
|
---|
148 | <signal>clicked()</signal>
|
---|
149 | <receiver>VBoxVMLogViewer</receiver>
|
---|
150 | <slot>save()</slot>
|
---|
151 | </connection>
|
---|
152 | <connection>
|
---|
153 | <sender>mRefreshButton</sender>
|
---|
154 | <signal>clicked()</signal>
|
---|
155 | <receiver>VBoxVMLogViewer</receiver>
|
---|
156 | <slot>refresh()</slot>
|
---|
157 | </connection>
|
---|
158 | <connection>
|
---|
159 | <sender>mCloseButton</sender>
|
---|
160 | <signal>clicked()</signal>
|
---|
161 | <receiver>VBoxVMLogViewer</receiver>
|
---|
162 | <slot>close()</slot>
|
---|
163 | </connection>
|
---|
164 | </connections>
|
---|
165 | <includes>
|
---|
166 | <include location="local" impldecl="in declaration">VBoxGlobal.h</include>
|
---|
167 | <include location="local" impldecl="in implementation">VBoxProblemReporter.h</include>
|
---|
168 | <include location="global" impldecl="in implementation">qsizegrip.h</include>
|
---|
169 | <include location="global" impldecl="in implementation">qstatusbar.h</include>
|
---|
170 | <include location="global" impldecl="in implementation">qtabwidget.h</include>
|
---|
171 | <include location="global" impldecl="in implementation">qtextbrowser.h</include>
|
---|
172 | <include location="global" impldecl="in implementation">qdir.h</include>
|
---|
173 | <include location="global" impldecl="in implementation">qfiledialog.h</include>
|
---|
174 | <include location="global" impldecl="in implementation">qdatetime.h</include>
|
---|
175 | <include location="global" impldecl="in implementation">qobjectlist.h</include>
|
---|
176 | <include location="global" impldecl="in implementation">qcheckbox.h</include>
|
---|
177 | <include location="global" impldecl="in implementation">qlabel.h</include>
|
---|
178 | <include location="global" impldecl="in implementation">qlineedit.h</include>
|
---|
179 | <include location="global" impldecl="in implementation">qtoolbutton.h</include>
|
---|
180 | <include location="global" impldecl="in implementation">qmessagebox.h</include>
|
---|
181 | <include location="global" impldecl="in implementation">qfocusdata.h</include>
|
---|
182 | </includes>
|
---|
183 | <forwards>
|
---|
184 | <forward>class QSizeGrip</forward>
|
---|
185 | <forward>class QTabWidget</forward>
|
---|
186 | <forward>class QTextBrowser</forward>
|
---|
187 | <forward>class VBoxLogSearchPanel</forward>
|
---|
188 | </forwards>
|
---|
189 | <variables>
|
---|
190 | <variable access="private">typedef QMap <QString, VBoxVMLogViewer*> LogViewersMap;</variable>
|
---|
191 | <variable access="private">static LogViewersMap mSelfArray;</variable>
|
---|
192 | <variable access="private">bool mFirstRun;</variable>
|
---|
193 | <variable access="private">bool mIsPolished;</variable>
|
---|
194 | <variable access="private">QSizeGrip *mSizeGrip;</variable>
|
---|
195 | <variable access="private">CMachine mMachine;</variable>
|
---|
196 | <variable access="private">QTabWidget *mLogList;</variable>
|
---|
197 | <variable access="private">QStringList mLogFilesList;</variable>
|
---|
198 | <variable access="private">QPushButton *mDefaultButton;</variable>
|
---|
199 | <variable access="private">VBoxLogSearchPanel *mSearchPanel;</variable>
|
---|
200 | </variables>
|
---|
201 | <slots>
|
---|
202 | <slot access="pritave">refresh()</slot>
|
---|
203 | <slot access="private">save()</slot>
|
---|
204 | <slot access="private">search()</slot>
|
---|
205 | </slots>
|
---|
206 | <functions>
|
---|
207 | <function specifier="static">createLogViewer( CMachine& )</function>
|
---|
208 | <function access="private">init()</function>
|
---|
209 | <function access="private">destroy()</function>
|
---|
210 | <function>setup( CMachine & )</function>
|
---|
211 | <function returnType="const CMachine&">machine()</function>
|
---|
212 | <function access="pritave">languageChangeImp()</function>
|
---|
213 | <function access="pritave" returnType="QPushButton*">searchDefaultButton()</function>
|
---|
214 | <function access="protected" returnType="bool">eventFilter( QObject*, QEvent* )</function>
|
---|
215 | <function access="protected" returnType="bool">event( QEvent* )</function>
|
---|
216 | <function access="protected">keyPressEvent( QKeyEvent* )</function>
|
---|
217 | <function access="protected">showEvent( QShowEvent* )</function>
|
---|
218 | <function access="protected">resizeEvent( QResizeEvent* )</function>
|
---|
219 | <function access="pritave">loadLogFile( const QString & )</function>
|
---|
220 | <function access="pritave" returnType="QTextBrowser*">createLogPage( const QString & )</function>
|
---|
221 | <function returnType="QTextBrowser*">currentLogPage()</function>
|
---|
222 | </functions>
|
---|
223 | <pixmapinproject/>
|
---|
224 | <layoutdefaults spacing="6" margin="11"/>
|
---|
225 | </UI>
|
---|