VBoxMiniToolBar.h revision 206a1d9a998500b64d56e6560344bdd4c234bba6
/** @file
*
* VBox frontends: Qt GUI ("VirtualBox"):
* VBoxMiniToolBar class declaration & implementation. This is the toolbar shown on fullscreen mode.
*/
/*
* Copyright (C) 2006-2007 Sun Microsystems, Inc.
*
* 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 (GPL) 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.
*
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
* Clara, CA 95054 USA or visit http://www.sun.com if you need
* additional information or have any questions.
*/
#ifndef __VBoxMiniToolBar_h__
#define __VBoxMiniToolBar_h__
/* VBox includes */
#include <VBoxToolBar.h>
/* Qt includes */
#include <QBasicTimer>
/**
* The VBoxMiniToolBar class is a toolbar shown inside full screen mode or seamless mode.
*/
{
void exitAction();
void closeAction();
void togglePushpin (bool aOn);
int mAutoHideCounter;
bool mAutoHide;
bool mSlideDown;
bool mHideAfterSlide;
bool mAnimated;
/* Interval (in milli seconds) for scrolling the toolbar, default is 20 msec */
int mScrollDelay;
/* The wait time while the cursor is not over the window after this amount of time (in msec),
* the toolbar will auto hide if autohide is on. The default is 100msec. */
int mAutoScrollDelay;
/* Number of total steps before hiding. If it is 10 then wait 10 (steps) * 100ms (mAutoScrollDelay) = 1000ms delay.
* The default is 10. */
};
#endif // __VBoxMiniToolBar_h__