UIMachineWindowNormal.h revision 2a54a98806b7ab4fb07a7f7be0e596da2c4c7397
b341a780162d809b187a8f35a10bba7642b69798vboxsync * VBox frontends: Qt GUI ("VirtualBox"):
b341a780162d809b187a8f35a10bba7642b69798vboxsync * UIMachineWindowNormal class declaration
8d1ef2acf41d1d8a0f69bfe0ac1f41638160399cvboxsync * Copyright (C) 2010-2012 Oracle Corporation
b341a780162d809b187a8f35a10bba7642b69798vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
b341a780162d809b187a8f35a10bba7642b69798vboxsync * available from http://www.virtualbox.org. This file is free software;
b341a780162d809b187a8f35a10bba7642b69798vboxsync * you can redistribute it and/or modify it under the terms of the GNU
b341a780162d809b187a8f35a10bba7642b69798vboxsync * General Public License (GPL) as published by the Free Software
b341a780162d809b187a8f35a10bba7642b69798vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
b341a780162d809b187a8f35a10bba7642b69798vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
b341a780162d809b187a8f35a10bba7642b69798vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
4a7a0d68cae413e6f422d597644c16681f475bdavboxsync/* Global includes: */
4a7a0d68cae413e6f422d597644c16681f475bdavboxsync/* Local includes: */
4a7a0d68cae413e6f422d597644c16681f475bdavboxsync/* Forward declarations: */
4a7a0d68cae413e6f422d597644c16681f475bdavboxsync/* Normal machine-window implementation: */
8d1ef2acf41d1d8a0f69bfe0ac1f41638160399cvboxsyncclass UIMachineWindowNormal : public UIMachineWindow
4a7a0d68cae413e6f422d597644c16681f475bdavboxsync /* Constructor: */
cae5cca5168e18e168df5541b11f462b60062a7avboxsync UIMachineWindowNormal(UIMachineLogic *pMachineLogic, ulong uScreenId);
2a54a98806b7ab4fb07a7f7be0e596da2c4c7397vboxsync /** X11: Performs machine-window async geometry normalization. */
2a54a98806b7ab4fb07a7f7be0e596da2c4c7397vboxsync void sltNormalizeGeometry() { normalizeGeometry(true); }
2a54a98806b7ab4fb07a7f7be0e596da2c4c7397vboxsync#endif /* Q_WS_X11 */
4a7a0d68cae413e6f422d597644c16681f475bdavboxsync /* Session event-handlers: */
cf7696ec31e368b66b1ad49a4b03beadd5d62ba8vboxsync void sltMediumChange(const CMediumAttachment &attachment);
9f801b83895937ce4d726206e5859637ff9f5166vboxsync /* LED connections: */
b341a780162d809b187a8f35a10bba7642b69798vboxsync void sltShowIndicatorsContextMenu(QIStateIndicator *pIndicator, QContextMenuEvent *pEvent);
b341a780162d809b187a8f35a10bba7642b69798vboxsync void sltProcessGlobalSettingChange(const char *aPublicName, const char *aName);
b341a780162d809b187a8f35a10bba7642b69798vboxsync /* Prepare helpers: */
b341a780162d809b187a8f35a10bba7642b69798vboxsync /* Cleanup helpers: */
4a7a0d68cae413e6f422d597644c16681f475bdavboxsync //void cleanupHandlers() {}
4a7a0d68cae413e6f422d597644c16681f475bdavboxsync //coid cleanupVisualState() {}
499be9a0008af6b44433986c7002727ac06513a9vboxsync //void cleanupMenu() {}
499be9a0008af6b44433986c7002727ac06513a9vboxsync //void cleanupConsoleConnections() {}
4a7a0d68cae413e6f422d597644c16681f475bdavboxsync /* Translate stuff: */
4a7a0d68cae413e6f422d597644c16681f475bdavboxsync /* Show stuff: */
2a54a98806b7ab4fb07a7f7be0e596da2c4c7397vboxsync /* Helper: Machine-window geometry stuff: */
4a7a0d68cae413e6f422d597644c16681f475bdavboxsync /* Update stuff: */
4a7a0d68cae413e6f422d597644c16681f475bdavboxsync /* Event handler: */
4a7a0d68cae413e6f422d597644c16681f475bdavboxsync /* Helpers: */
4a7a0d68cae413e6f422d597644c16681f475bdavboxsync UIIndicatorsPool* indicatorsPool() { return m_pIndicatorsPool; }
d379ba1c87d6c4b960af1ab0ddce02de81806a55vboxsync void updateIndicatorState(QIStateIndicator *pIndicator, KDeviceType deviceType);
4a7a0d68cae413e6f422d597644c16681f475bdavboxsync /* Widgets: */
4a7a0d68cae413e6f422d597644c16681f475bdavboxsync /* Variables: */
b341a780162d809b187a8f35a10bba7642b69798vboxsync /* Factory support: */
b341a780162d809b187a8f35a10bba7642b69798vboxsync#endif // __UIMachineWindowNormal_h__