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