Home · All Classes · Modules

QLabel Class Reference
[QtGui module]

Inherits QFrame.

Methods

Qt Signals


Detailed Description


Method Documentation

QLabel.__init__ (self, QWidget parent = None, Qt.WindowFlags flags = 0)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

QLabel.__init__ (self, QString, QWidget parent = None, Qt.WindowFlags flags = 0)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

Qt.Alignment QLabel.alignment (self)

QWidget QLabel.buddy (self)

QLabel.changeEvent (self, QEvent)

QLabel.clear (self)

This method is also a Qt slot with the C++ signature void clear().

QLabel.contextMenuEvent (self, QContextMenuEvent)

bool QLabel.event (self, QEvent)

QLabel.focusInEvent (self, QFocusEvent)

bool QLabel.focusNextPrevChild (self, bool)

QLabel.focusOutEvent (self, QFocusEvent)

bool QLabel.hasScaledContents (self)

bool QLabel.hasSelectedText (self)

int QLabel.heightForWidth (self, int)

int QLabel.indent (self)

QLabel.keyPressEvent (self, QKeyEvent)

int QLabel.margin (self)

QSize QLabel.minimumSizeHint (self)

QLabel.mouseMoveEvent (self, QMouseEvent)

QLabel.mousePressEvent (self, QMouseEvent)

QLabel.mouseReleaseEvent (self, QMouseEvent)

QMovie QLabel.movie (self)

bool QLabel.openExternalLinks (self)

QLabel.paintEvent (self, QPaintEvent)

QPicture QLabel.picture (self)

QPixmap QLabel.pixmap (self)

QString QLabel.selectedText (self)

int QLabel.selectionStart (self)

QLabel.setAlignment (self, Qt.Alignment)

QLabel.setBuddy (self, QWidget)

QLabel.setIndent (self, int)

QLabel.setMargin (self, int)

QLabel.setMovie (self, QMovie)

This method is also a Qt slot with the C++ signature void setMovie(QMovie *).

QLabel.setNum (self, float)

This method is also a Qt slot with the C++ signature void setNum(double).

QLabel.setNum (self, int)

This method is also a Qt slot with the C++ signature void setNum(int).

QLabel.setOpenExternalLinks (self, bool)

QLabel.setPicture (self, QPicture)

This method is also a Qt slot with the C++ signature void setPicture(const QPicture&).

QLabel.setPixmap (self, QPixmap)

This method is also a Qt slot with the C++ signature void setPixmap(const QPixmap&).

QLabel.setScaledContents (self, bool)

QLabel.setSelection (self, int, int)

QLabel.setText (self, QString)

This method is also a Qt slot with the C++ signature void setText(const QString&).

QLabel.setTextFormat (self, Qt.TextFormat)

QLabel.setTextInteractionFlags (self, Qt.TextInteractionFlags)

QLabel.setWordWrap (self, bool)

QSize QLabel.sizeHint (self)

QString QLabel.text (self)

Qt.TextFormat QLabel.textFormat (self)

Qt.TextInteractionFlags QLabel.textInteractionFlags (self)

bool QLabel.wordWrap (self)


Qt Signal Documentation

void linkActivated (const QString&)

This is the default overload of this signal.

void linkHovered (const QString&)

This is the default overload of this signal.


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0