QILabel.h revision f0ba929ee87bc3969f43c9e69571a034b7c6f30f
/** @file
*
* VBox frontends: Qt GUI ("VirtualBox"):
* VirtualBox Qt extensions: QILabel class declaration
*/
/*
* Copyright (C) 2006-2008 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.
*/
/*
* This class is based on the original QLabel implementation.
*/
#ifndef __QILabel_h__
#define __QILabel_h__
/* Qt includes */
#include <QFrame>
{
/* QLabel extensions */
bool fullSizeSelection () const;
void setFullSizeSelection (bool bOn);
void updateSizeHint();
/* Default QLabel methods */
int frameWidth() const;
bool hasScaledContents() const;
int indent() const;
int margin() const;
bool openExternalLinks() const;
void setOpenExternalLinks (bool aOpen);
void setScaledContents (bool aOn);
void setWordWrap (bool aOn);
bool wordWrap() const;
/* Default QWidget methods */
void clear();
void linkActivated (const QString &);
void linkHovered (const QString &);
/* Protected member vars */
};
#endif // __QILabel_h__