VBoxConsoleWnd.h revision b9042bb7a5efd07d617a8a7d812b669d75682779
/** @file
*
* VBox frontends: Qt GUI ("VirtualBox"):
* VBoxConsoleWnd class declaration
*/
/*
* Copyright (C) 2006 InnoTek Systemberatung GmbH
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* 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.
*/
#ifndef __VBoxConsoleWnd_h__
#define __VBoxConsoleWnd_h__
#include "COMDefs.h"
#include <qmainwindow.h>
#include <qmap.h>
#include <qobjectlist.h>
#include <qcolor.h>
#ifdef VBOX_WITH_DEBUGGER_GUI
#endif
{
void closeView();
void refreshView();
bool isTrueFullscreen() const { return full_screen; }
// events
void closeEvent (QCloseEvent *e);
#if defined(Q_WS_X11)
#endif
#ifdef VBOX_WITH_DEBUGGER_GUI
bool dbgCreated();
void dbgDestroy();
void dbgAdjustRelativePos();
#endif
enum /* Stuff */
{
FloppyStuff = 0x01,
DVDStuff = 0x02,
HardDiskStuff = 0x04,
PauseAction = 0x08,
NetworkStuff = 0x10,
DisableMouseIntegrAction = 0x20,
Caption = 0x40,
USBStuff = 0x80,
AllStuff = 0xFF,
};
void languageChange();
void updateAppearanceOf (int element);
void finalizeOpenView();
void vmFullscreen (bool on);
void vmAutoresizeGuest (bool on);
void vmAdjustWindow();
void vmTypeCAD();
void vmTypeCABS();
void vmReset();
void vmPause(bool);
void vmACPIShutdown();
void vmClose();
void vmTakeSnapshot();
void vmDisableMouseIntegr();
void devicesMountFloppyImage();
void devicesUnmountFloppy();
void devicesMountDVDImage();
void devicesUnmountDVD();
void devicesInstallGuestAdditions();
void prepareFloppyMenu();
void prepareDVDMenu();
void prepareUSBMenu();
void captureFloppy (int id);
void captureDVD (int id);
void makeUSBToolTip (int id);
void updateDeviceLights();
void updateMouseState (int state);
void tryClose();
void dbgShowStatistics();
void dbgShowCommandLine();
// VM actions
#if defined(Q_WS_X11)
#endif
// Devices actions
#ifdef VBOX_WITH_DEBUGGER_GUI
// Debugger actions
#endif
// Help actions
// Devices popup menus
#ifdef VBOX_WITH_DEBUGGER_GUI
// Debugger popup menu
#endif
// Menu identifiers
enum {
vmMenuId = 1,
#ifdef VBOX_WITH_DEBUGGER_GUI
#endif
};
// widgets
bool no_auto_close : 1;
// variables for dealing with true fullscreen
bool full_screen : 1;
int normal_wflags;
bool was_max : 1;
int console_style;
#ifdef VBOX_WITH_DEBUGGER_GUI
// Debugger GUI
#endif
};
#endif // __VBoxConsoleWnd_h__