VBoxSpecialControls.h revision de9f29b93fcf5cb59ca46dec3cd5b4f543fcb493
/** @file
*
* VBox frontends: Qt GUI ("VirtualBox"):
* VBoxSpecialButtons declarations
*/
/*
* Copyright (C) 2009 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 ___VBoxSpecialControls_h__
#define ___VBoxSpecialControls_h__
/* VBox includes */
#include "QIWithRetranslateUI.h"
/* Qt includes */
#include <QPushButton>
/* VBox includes */
#include "VBoxCocoaSpecialControls.h"
/********************************************************************************
*
* A mini cancel button in the native Cocoa version.
*
********************************************************************************/
{
};
/********************************************************************************
*
* A help button in the native Cocoa version.
*
********************************************************************************/
{
};
/********************************************************************************
*
* A segmented button in the native Cocoa version.
*
********************************************************************************/
{
};
/********************************************************************************
*
* A search field in the native Cocoa version.
*
********************************************************************************/
{
};
#else /* VBOX_DARWIN_USE_NATIVE_CONTROLS */
/* VBox includes */
#include "QIToolButton.h"
/* Qt includes */
#include <QLineEdit>
/* Qt forward declarations */
/********************************************************************************
*
* A mini cancel button for the other OS's.
*
********************************************************************************/
{
void retranslateUi() {};
};
/********************************************************************************
*
* A help button for the other OS's.
*
********************************************************************************/
{
#ifdef Q_WS_MAC
~VBoxHelpButton();
#endif /* Q_WS_MAC */
void retranslateUi();
#ifdef Q_WS_MAC
/* Private member vars */
bool mButtonPressed;
#endif /* Q_WS_MAC */
};
/********************************************************************************
*
* A segmented button for the other OS's.
*
********************************************************************************/
{
void animateClick (int aSegment);
/* Private member vars */
};
/********************************************************************************
*
* A search field for the other OS's.
*
********************************************************************************/
{
void markError();
void unmarkError();
/* Private member vars */
};
#endif /* VBOX_DARWIN_USE_NATIVE_CONTROLS */
#endif /* ___VBoxSpecialControls_h__ */