Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

VBoxMiniToolBar Class Reference

#include <VBoxMiniToolBar.h>

Inheritance diagram for VBoxMiniToolBar:

VBoxToolBar

List of all members.


Detailed Description

The VBoxMiniToolBar class is a toolbar shown inside full screen mode or seamless mode. It supports auto hiding and animated sliding up/down.

Definition at line 39 of file VBoxMiniToolBar.h.


Public Types

enum  Alignment { AlignTop, AlignBottom }

Signals

void closeAction ()
void exitAction ()
void geometryUpdated ()

Public Member Functions

bool isAutoHide () const
VBoxMiniToolBaroperator<< (QList< QMenu * > aMenus)
void setDisplayText (const QString &aText)
void setMacToolbar ()
void setSeamlessMode (bool aIsSeamless)
void setShowToolBarButton (bool aShow)
void setUsesTextLabel (bool enable)
void updateDisplay (bool aShow, bool aSetHideFlag)
 VBoxMiniToolBar (QWidget *aParent, Alignment aAlignment, bool aIsActive, bool aAutoHide)

Protected Member Functions

void mouseMoveEvent (QMouseEvent *aEvent)
void paintEvent (QPaintEvent *aEvent)
void showEvent (QShowEvent *aEvent)
void timerEvent (QTimerEvent *aEvent)

Private Slots

void togglePushpin (bool aOn)

Private Member Functions

void initialize ()
QPoint mapFromScreen (const QPoint &aPoint)
void moveToBase ()
void recreateMask ()

Private Attributes

bool mActive
Alignment mAlignment
bool mAnimated
bool mAutoHide
QAction * mAutoHideAct
int mAutoHideCounter
int mAutoHideTotalCounter
int mAutoScrollDelay
QBasicTimer mAutoScrollTimer
QLabel * mDisplayLabel
bool mHideAfterSlide
QAction * mInsertPosition
QList< QWidget * > mLabelMargins
QList< QWidget * > mMargins
bool mPolished
int mPositionX
int mPositionY
int mScrollDelay
QBasicTimer mScrollTimer
bool mSeamless
bool mSlideToScreen
QList< QWidget * > mSpacings

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index