/** @file
* VBox Qt GUI - QIArrowButtonSwitch class declaration.
*/
/*
* Copyright (C) 2006-2014 Oracle Corporation
*
* 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.
*/
#ifndef ___QIArrowButtonSwitch_h___
#define ___QIArrowButtonSwitch_h___
/* Qt includes: */
#include <QMap>
#include <QIcon>
/* GUI includes: */
#include "QIRichToolButton.h"
/** QIRichToolButton extension
* representing arrow tool-button with text-label,
{
/** Button states. */
/** Constructor, passes @a pParent to the QIRichToolButton constructor. */
/** Defines the @a icon for the @a buttonState. */
/** Returns whether button-state is ButtonState_Expanded. */
/** Button-click handler. */
virtual void sltButtonClicked();
/** Key-press-event handler. */
/** Updates icon according button-state. */
void updateIcon();
/** Holds the button-state. */
/** Holds icons for button-states. */
};
#endif /* !___QIArrowButtonSwitch_h___ */