VBoxVMLogViewer.ui revision 82626d957e5a000348cb8b411f0bea763adc1057
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>VBoxVMLogViewer</class>
<comment>
:mode=html:tabSize=4:indentSize=4:noTabs=true:
:folding=explicit:collapseFolds=1:
# Copyright (C) 2007 innotek GmbH
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# you can redistribute it and/or modify it under the terms of the GNU
# General Public License as published by the Free Software Foundation,
# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
# distribution. VirtualBox OSE is distributed in the hope that it will
# be useful, but WITHOUT ANY WARRANTY of any kind.
#
# If you received this file as part of a commercial VirtualBox
# distribution, then only the terms of your commercial VirtualBox
# license agreement apply instead of the previous paragraph.
</comment>
<widget class="QMainWindow">
<property name="name">
<cstring>VBoxVMLogViewer</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>600</width>
<height>480</height>
</rect>
</property>
<property name="caption">
<string>Log Viewer</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>10</number>
</property>
<property name="spacing">
<number>10</number>
</property>
<widget class="QFrame">
<property name="name">
<cstring>mLogsFrame</cstring>
</property>
<property name="frameShape">
<enum>NoFrame</enum>
</property>
<property name="frameShadow">
<enum>Plain</enum>
</property>
</widget>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer3</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>270</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<property name="name">
<cstring>mSaveButton</cstring>
</property>
<property name="text">
<string>&amp;Save</string>
</property>
<property name="accel">
<string>Alt+S</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>mRefreshButton</cstring>
</property>
<property name="text">
<string>&amp;Refresh</string>
</property>
<property name="accel">
<string>Alt+R</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>mCloseButton</cstring>
</property>
<property name="text">
<string>&amp;Close</string>
</property>
<property name="accel">
<string>Alt+C</string>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<toolbars>
</toolbars>
<connections>
<connection>
<sender>mCloseButton</sender>
<signal>clicked()</signal>
<receiver>VBoxVMLogViewer</receiver>
<slot>close()</slot>
</connection>
<connection>
<sender>mSaveButton</sender>
<signal>clicked()</signal>
<receiver>VBoxVMLogViewer</receiver>
<slot>save()</slot>
</connection>
<connection>
<sender>mRefreshButton</sender>
<signal>clicked()</signal>
<receiver>VBoxVMLogViewer</receiver>
<slot>refresh()</slot>
</connection>
</connections>
<includes>
<include location="local" impldecl="in declaration">VBoxGlobal.h</include>
<include location="global" impldecl="in implementation">qsizegrip.h</include>
<include location="global" impldecl="in implementation">qstatusbar.h</include>
<include location="global" impldecl="in implementation">qtabwidget.h</include>
<include location="global" impldecl="in implementation">qtextbrowser.h</include>
<include location="global" impldecl="in implementation">qdir.h</include>
<include location="global" impldecl="in implementation">qfiledialog.h</include>
<include location="global" impldecl="in implementation">qdatetime.h</include>
<include location="global" impldecl="in implementation">qobjectlist.h</include>
<include location="global" impldecl="in implementation">qcheckbox.h</include>
<include location="global" impldecl="in implementation">qlabel.h</include>
<include location="global" impldecl="in implementation">qlineedit.h</include>
<include location="global" impldecl="in implementation">qtoolbutton.h</include>
<include location="global" impldecl="in implementation">qmessagebox.h</include>
<include location="global" impldecl="in implementation">qfocusdata.h</include>
</includes>
<forwards>
<forward>class QSizeGrip</forward>
<forward>class QTabWidget</forward>
<forward>class QTextBrowser</forward>
<forward>class VBoxLogSearchPanel</forward>
</forwards>
<variables>
<variable access="private">typedef QMap &lt;QString, VBoxVMLogViewer*&gt; LogViewersMap;</variable>
<variable access="private">static LogViewersMap mSelfArray;</variable>
<variable access="private">bool mFirstRun;</variable>
<variable access="private">bool mIsPolished;</variable>
<variable access="private">QSizeGrip *mSizeGrip;</variable>
<variable access="private">CMachine mMachine;</variable>
<variable access="private">QTabWidget *mLogList;</variable>
<variable access="private">QStringList mLogFilesList;</variable>
<variable access="private">QPushButton *mDefaultButton;</variable>
<variable access="private">VBoxLogSearchPanel *mSearchPanel;</variable>
</variables>
<slots>
<slot access="pritave">refresh()</slot>
<slot access="private">save()</slot>
</slots>
<functions>
<function specifier="static">createLogViewer( CMachine&amp; )</function>
<function access="private">init()</function>
<function access="private">destroy()</function>
<function>setup( CMachine &amp; )</function>
<function returnType="const CMachine&amp;">machine()</function>
<function access="pritave">languageChangeImp()</function>
<function access="pritave" returnType="QPushButton*">searchDefaultButton()</function>
<function access="protected" returnType="bool">eventFilter( QObject*, QEvent* )</function>
<function access="protected" returnType="bool">event( QEvent* )</function>
<function access="protected">keyPressEvent( QKeyEvent* )</function>
<function access="protected">showEvent( QShowEvent* )</function>
<function access="protected">resizeEvent( QResizeEvent* )</function>
<function access="pritave">loadLogFile( const QString &amp; )</function>
<function access="pritave" returnType="QTextBrowser*">createLogPage( const QString &amp; )</function>
<function returnType="QTextBrowser*">currentLogPage()</function>
</functions>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
</UI>