VBoxDbgGui.h revision 489ff469f658c1a9e95ec8c62fec535c9ca6c6a7
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * VBox Debugger GUI - The Manager.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * Copyright (C) 2006-2007 Sun Microsystems, Inc.
b63da7c87ee97d237d799dc5d275a70a546b5588vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
b63da7c87ee97d237d799dc5d275a70a546b5588vboxsync * available from http://www.virtualbox.org. This file is free software;
b63da7c87ee97d237d799dc5d275a70a546b5588vboxsync * you can redistribute it and/or modify it under the terms of the GNU
b63da7c87ee97d237d799dc5d275a70a546b5588vboxsync * General Public License (GPL) as published by the Free Software
b63da7c87ee97d237d799dc5d275a70a546b5588vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
b63da7c87ee97d237d799dc5d275a70a546b5588vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
b63da7c87ee97d237d799dc5d275a70a546b5588vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
b63da7c87ee97d237d799dc5d275a70a546b5588vboxsync * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
b63da7c87ee97d237d799dc5d275a70a546b5588vboxsync * Clara, CA 95054 USA or visit http://www.sun.com if you need
b63da7c87ee97d237d799dc5d275a70a546b5588vboxsync * additional information or have any questions.
b63da7c87ee97d237d799dc5d275a70a546b5588vboxsync// VirtualBox COM interfaces declarations (generated header)
b63da7c87ee97d237d799dc5d275a70a546b5588vboxsync * The Debugger GUI manager class.
b63da7c87ee97d237d799dc5d275a70a546b5588vboxsync * It's job is to provide a C callable external interface and manage the
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * windows and bit making up the debugger GUI.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * Create a default VBoxDbgGui object.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * Initializes a VBoxDbgGui object.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * @returns VBox status code.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * @param pSession VBox Session object.
b63da7c87ee97d237d799dc5d275a70a546b5588vboxsync * Destroys the VBoxDbgGui object.
b63da7c87ee97d237d799dc5d275a70a546b5588vboxsync * Show the default statistics window, creating it if necessary.
b63da7c87ee97d237d799dc5d275a70a546b5588vboxsync * @returns VBox status code.
b63da7c87ee97d237d799dc5d275a70a546b5588vboxsync * Repositions and resizes (optionally) the statistics to its defaults
b63da7c87ee97d237d799dc5d275a70a546b5588vboxsync * @param fResize If set (default) the size of window is also changed.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * Show the console window (aka. command line), creating it if necessary.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * @returns VBox status code.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * Repositions and resizes (optionally) the console to its defaults
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * @param fResize If set (default) the size of window is also changed.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * Update the desktop size.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * This is called whenever the reference window changes positition.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * Notifies the debugger GUI that the console window (or whatever) has changed
b63da7c87ee97d237d799dc5d275a70a546b5588vboxsync * size or position.
b63da7c87ee97d237d799dc5d275a70a546b5588vboxsync * @param x The x-coordinate of the window the debugger is relative to.
b63da7c87ee97d237d799dc5d275a70a546b5588vboxsync * @param y The y-coordinate of the window the debugger is relative to.
b63da7c87ee97d237d799dc5d275a70a546b5588vboxsync * @param cx The width of the window the debugger is relative to.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * @param cy The height of the window the debugger is relative to.
b63da7c87ee97d237d799dc5d275a70a546b5588vboxsync void adjustRelativePos(int x, int y, unsigned cx, unsigned cy);
b63da7c87ee97d237d799dc5d275a70a546b5588vboxsync * Resizes a QWidget given the frame size.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * @param pWidget The widget to resize.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * @param cx The new frame height.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * @param cy The new frame width.
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync static void resizeWidget(QWidget *pWidget, unsigned cx, unsigned cy);
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * Notify that a child object (i.e. a window is begin destroyed).
13493ab7596e827b8d0caab2c89e635dd65f78f9vboxsync * @param pObj The object which is being destroyed.
int m_x;
int m_y;
unsigned m_cx;
unsigned m_cy;
int m_xDesktop;
int m_yDesktop;
unsigned m_cxDesktop;
unsigned m_cyDesktop;