VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMLogViewer.ui@ 3349

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

1952: Easy way to store the RELEASE log using the GUI:

Separate Log Viewer for each of the virtual machine implemented.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Revision Author Id
File size: 7.7 KB
Line 
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 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="QMainWindow">
22 <property name="name">
23 <cstring>VBoxVMLogViewer</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>Log Viewer</string>
35 </property>
36 <vbox>
37 <property name="name">
38 <cstring>unnamed</cstring>
39 </property>
40 <property name="margin">
41 <number>10</number>
42 </property>
43 <property name="spacing">
44 <number>10</number>
45 </property>
46 <widget class="QFrame">
47 <property name="name">
48 <cstring>mLogsFrame</cstring>
49 </property>
50 <property name="frameShape">
51 <enum>NoFrame</enum>
52 </property>
53 <property name="frameShadow">
54 <enum>Plain</enum>
55 </property>
56 </widget>
57 <widget class="QLayoutWidget">
58 <property name="name">
59 <cstring>layout2</cstring>
60 </property>
61 <hbox>
62 <property name="name">
63 <cstring>unnamed</cstring>
64 </property>
65 <spacer>
66 <property name="name">
67 <cstring>spacer3</cstring>
68 </property>
69 <property name="orientation">
70 <enum>Horizontal</enum>
71 </property>
72 <property name="sizeType">
73 <enum>Expanding</enum>
74 </property>
75 <property name="sizeHint">
76 <size>
77 <width>270</width>
78 <height>20</height>
79 </size>
80 </property>
81 </spacer>
82 <widget class="QPushButton">
83 <property name="name">
84 <cstring>mSaveButton</cstring>
85 </property>
86 <property name="text">
87 <string>&amp;Save</string>
88 </property>
89 <property name="accel">
90 <string>Alt+S</string>
91 </property>
92 <property name="autoDefault">
93 <bool>true</bool>
94 </property>
95 <property name="default">
96 <bool>true</bool>
97 </property>
98 </widget>
99 <widget class="QPushButton">
100 <property name="name">
101 <cstring>mRefreshButton</cstring>
102 </property>
103 <property name="text">
104 <string>&amp;Refresh</string>
105 </property>
106 <property name="accel">
107 <string>Alt+R</string>
108 </property>
109 </widget>
110 <widget class="QPushButton">
111 <property name="name">
112 <cstring>mCloseButton</cstring>
113 </property>
114 <property name="text">
115 <string>&amp;Close</string>
116 </property>
117 <property name="accel">
118 <string>Alt+C</string>
119 </property>
120 </widget>
121 </hbox>
122 </widget>
123 </vbox>
124</widget>
125<toolbars>
126</toolbars>
127<connections>
128 <connection>
129 <sender>mCloseButton</sender>
130 <signal>clicked()</signal>
131 <receiver>VBoxVMLogViewer</receiver>
132 <slot>close()</slot>
133 </connection>
134 <connection>
135 <sender>mSaveButton</sender>
136 <signal>clicked()</signal>
137 <receiver>VBoxVMLogViewer</receiver>
138 <slot>save()</slot>
139 </connection>
140 <connection>
141 <sender>mRefreshButton</sender>
142 <signal>clicked()</signal>
143 <receiver>VBoxVMLogViewer</receiver>
144 <slot>refresh()</slot>
145 </connection>
146</connections>
147<includes>
148 <include location="local" impldecl="in declaration">VBoxGlobal.h</include>
149 <include location="global" impldecl="in implementation">qsizegrip.h</include>
150 <include location="global" impldecl="in implementation">qstatusbar.h</include>
151 <include location="global" impldecl="in implementation">qtabwidget.h</include>
152 <include location="global" impldecl="in implementation">qtextbrowser.h</include>
153 <include location="global" impldecl="in implementation">qdir.h</include>
154 <include location="global" impldecl="in implementation">qfiledialog.h</include>
155 <include location="global" impldecl="in implementation">qdatetime.h</include>
156 <include location="global" impldecl="in implementation">qobjectlist.h</include>
157</includes>
158<forwards>
159 <forward>class QSizeGrip</forward>
160 <forward>class QTabWidget</forward>
161 <forward>class QTextBrowser</forward>
162</forwards>
163<variables>
164 <variable access="private">typedef QMap &lt;QString, VBoxVMLogViewer*&gt; LogViewersMap;</variable>
165 <variable access="private">static LogViewersMap mSelfArray;</variable>
166 <variable access="private">bool mFirstRun;</variable>
167 <variable access="private">bool mIsPolished;</variable>
168 <variable access="private">QSizeGrip *mSizeGrip;</variable>
169 <variable access="private">CMachine mMachine;</variable>
170 <variable access="private">QTabWidget *mLogList;</variable>
171 <variable access="private">QStringList mLogFilesList;</variable>
172 <variable access="private">QPushButton *mDefaultButton;</variable>
173</variables>
174<slots>
175 <slot access="pritave">refresh()</slot>
176 <slot access="private">save()</slot>
177</slots>
178<functions>
179 <function specifier="static">createLogViewer( CMachine&amp; )</function>
180 <function access="private">init()</function>
181 <function access="private">destroy()</function>
182 <function>setup( CMachine &amp; )</function>
183 <function returnType="const CMachine&amp;">machine()</function>
184 <function access="pritave">languageChangeImp()</function>
185 <function access="pritave" returnType="QPushButton*">searchDefaultButton()</function>
186 <function access="protected" returnType="bool">eventFilter( QObject*, QEvent* )</function>
187 <function access="protected" returnType="bool">event( QEvent* )</function>
188 <function access="protected">keyPressEvent( QKeyEvent* )</function>
189 <function access="protected">showEvent( QShowEvent* )</function>
190 <function access="protected">resizeEvent( QResizeEvent* )</function>
191 <function access="pritave">loadLogFile( const QString &amp; )</function>
192 <function access="pritave" returnType="QTextBrowser*">createLogPage( const QString &amp; )</function>
193</functions>
194<pixmapinproject/>
195<layoutdefaults spacing="6" margin="11"/>
196</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