QtGui/qlabel.h Source File
Go to the documentation of this file.
61 Q_PROPERTY(
bool scaledContents READ hasScaledContents WRITE setScaledContents)
62 Q_PROPERTY(
Qt::Alignment alignment READ alignment WRITE setAlignment)
63 Q_PROPERTY(
bool wordWrap READ wordWrap WRITE setWordWrap)
66 Q_PROPERTY(
bool openExternalLinks READ openExternalLinks WRITE setOpenExternalLinks)
67 Q_PROPERTY(
Qt::TextInteractionFlags textInteractionFlags READ textInteractionFlags WRITE setTextInteractionFlags)
88 Qt::Alignment alignment()
const;
89 void setAlignment(Qt::Alignment);
91 void setWordWrap(
bool on);
92 bool wordWrap()
const;
100 bool hasScaledContents()
const;
101 void setScaledContents(
bool);
102 QSize sizeHint()
const;
103 QSize minimumSizeHint()
const;
104 #ifndef QT_NO_SHORTCUT
108 int heightForWidth(
int)
const;
110 bool openExternalLinks()
const;
111 void setOpenExternalLinks(
bool open);
113 void setTextInteractionFlags(Qt::TextInteractionFlags flags);
114 Qt::TextInteractionFlags textInteractionFlags()
const;
116 void setSelection(
int,
int);
117 bool hasSelectedText()
const;
119 int selectionStart()
const;
123 void setPixmap(
const QPixmap &);
124 #ifndef QT_NO_PICTURE
128 void setMovie(
QMovie *movie);
135 void linkActivated(
const QString& link);
136 void linkHovered(
const QString& link);
142 void changeEvent(
QEvent *);
149 bool focusNextPrevChild(
bool next);
153 QT3_SUPPORT_CONSTRUCTOR
QLabel(
QWidget *parent,
const char*
name, Qt::WindowFlags f=0);
155 Qt::WindowFlags f=0);
157 QWidget *parent=0,
const char*
name=0, Qt::WindowFlags f=0);
158 QT3_SUPPORT
void setAlignment(
int alignment);
161 inline void setAlignment(
Qt::AlignmentFlag flag) { setAlignment((Qt::Alignment)flag); }
173 friend class QTipLabel;
174 friend class QMessageBoxPrivate;
175 friend class QBalloonTip;
GLXFBConfig Pixmap pixmap
#define Q_PRIVATE_SLOT(d, signature)
#define QT_BEGIN_NAMESPACE
GLuint const GLchar * name