Logo Search packages:      
Sourcecode: basket version File versions  Download package

LinkLabel Class Reference

#include <linklabel.h>

List of all members.

Detailed Description

Used to represent links with icon and specific look Note : This label will appear blank while LinkLook willn't be set
Sébastien Laoût

Definition at line 88 of file linklabel.h.

Public Member Functions

int heightForWidth (int w=-1) const
 LinkLabel (const QString &title, const QString &icon, LinkLook *look, int hAlign, int vAlign, QWidget *parent=0, const char *name=0, WFlags f=0)
 LinkLabel (int hAlign, int vAlign, QWidget *parent=0, const char *name=0, WFlags f=0)
void setAlign (int hAlign, int vAlign)
void setLink (const QString &title, const QString &icon, LinkLook *look=0)
void setLook (LinkLook *look)
void setPaletteBackgroundColor (const QColor &color)
void setSelected (bool selected)
QString toHtml (const QString &imageName)

Protected Member Functions

void enterEvent (QEvent *)
void initLabel (int hAlign, int vAlign)
void leaveEvent (QEvent *)

Private Attributes

int m_hAlign
QLabel * m_icon
bool m_isHovered
bool m_isSelected
QBoxLayout * m_layout
QSpacerItem * m_spacer1
QSpacerItem * m_spacer2
QLabel * m_title
int m_vAlign

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

Generated by  Doxygen 1.6.0   Back to index