UIMachineWindowNormal.h revision 4a7a0d68cae413e6f422d597644c16681f475bda
8c87dc0aa16e17b16a878d07afcbae32f122d693Andrew Forrest * VBox frontends: Qt GUI ("VirtualBox"):
8c87dc0aa16e17b16a878d07afcbae32f122d693Andrew Forrest * UIMachineWindowNormal class declaration
8c87dc0aa16e17b16a878d07afcbae32f122d693Andrew Forrest * Copyright (C) 2010-2012 Oracle Corporation
8c87dc0aa16e17b16a878d07afcbae32f122d693Andrew Forrest * This file is part of VirtualBox Open Source Edition (OSE), as
8c87dc0aa16e17b16a878d07afcbae32f122d693Andrew Forrest * available from http://www.virtualbox.org. This file is free software;
8c87dc0aa16e17b16a878d07afcbae32f122d693Andrew Forrest * you can redistribute it and/or modify it under the terms of the GNU
8c87dc0aa16e17b16a878d07afcbae32f122d693Andrew Forrest * General Public License (GPL) as published by the Free Software
8c87dc0aa16e17b16a878d07afcbae32f122d693Andrew Forrest * Foundation, in version 2 as it comes in the "COPYING" file of the
8c87dc0aa16e17b16a878d07afcbae32f122d693Andrew Forrest * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
8c87dc0aa16e17b16a878d07afcbae32f122d693Andrew Forrest * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
8c87dc0aa16e17b16a878d07afcbae32f122d693Andrew Forrest/* Global includes: */
8c87dc0aa16e17b16a878d07afcbae32f122d693Andrew Forrest/* Local includes: */
8c87dc0aa16e17b16a878d07afcbae32f122d693Andrew Forrest/* Forward declarations: */
8c87dc0aa16e17b16a878d07afcbae32f122d693Andrew Forrest/* Normal machine-window implementation: */
8c87dc0aa16e17b16a878d07afcbae32f122d693Andrew Forrestclass UIMachineWindowNormal : public UIMachineWindow
8c87dc0aa16e17b16a878d07afcbae32f122d693Andrew Forrest /* Constructor: */
8c87dc0aa16e17b16a878d07afcbae32f122d693Andrew Forrest UIMachineWindowNormal(UIMachineLogic *pMachineLogic, ulong uScreenId);
8c87dc0aa16e17b16a878d07afcbae32f122d693Andrew Forrest /* Session event-handlers: */
8c87dc0aa16e17b16a878d07afcbae32f122d693Andrew Forrest void sltMediumChange(const CMediumAttachment &attachment);
8c87dc0aa16e17b16a878d07afcbae32f122d693Andrew Forrest /* LED connections: */
8c87dc0aa16e17b16a878d07afcbae32f122d693Andrew Forrest void sltShowIndicatorsContextMenu(QIStateIndicator *pIndicator, QContextMenuEvent *pEvent);
void prepareSessionConnections();
void prepareMenu();
void prepareStatusBar();
void prepareVisualState();
void prepareHandlers();
void loadSettings();
void saveSettings();
void cleanupStatusBar();
void retranslateUi();
void showInNecessaryMode();
bool isMaximizedChecked();