VBoxVMLogViewer :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. VBoxVMLogViewer 0 0 600 480 Log Viewer unnamed 10 10 mLogsFrame NoFrame Plain layout2 unnamed spacer3 Horizontal Expanding 270 20 mSaveButton &Save Alt+S true true mRefreshButton &Refresh Alt+R mCloseButton &Close Alt+C mCloseButton clicked() VBoxVMLogViewer close() mSaveButton clicked() VBoxVMLogViewer save() mRefreshButton clicked() VBoxVMLogViewer refresh() VBoxGlobal.h qsizegrip.h qstatusbar.h qtabwidget.h qtextbrowser.h qdir.h qfiledialog.h qdatetime.h qobjectlist.h class QSizeGrip class QTabWidget class QTextBrowser typedef QMap <QString, VBoxVMLogViewer*> LogViewersMap; static LogViewersMap mSelfArray; bool mFirstRun; bool mIsPolished; QSizeGrip *mSizeGrip; CMachine mMachine; QTabWidget *mLogList; QStringList mLogFilesList; QPushButton *mDefaultButton; refresh() save() createLogViewer( CMachine& ) init() destroy() setup( CMachine & ) machine() languageChangeImp() searchDefaultButton() eventFilter( QObject*, QEvent* ) event( QEvent* ) keyPressEvent( QKeyEvent* ) showEvent( QShowEvent* ) resizeEvent( QResizeEvent* ) loadLogFile( const QString & ) createLogPage( const QString & )