QLabel Class Reference
[QtGui module]
Inherits QFrame.
Methods
- __init__ (self, QWidget parent = None, Qt.WindowFlags flags = 0)
- __init__ (self, QString, QWidget parent = None, Qt.WindowFlags flags = 0)
- Qt.Alignment alignment (self)
- QWidget buddy (self)
- changeEvent (self, QEvent)
- clear (self)
- contextMenuEvent (self, QContextMenuEvent)
- bool event (self, QEvent)
- focusInEvent (self, QFocusEvent)
- bool focusNextPrevChild (self, bool)
- focusOutEvent (self, QFocusEvent)
- bool hasScaledContents (self)
- bool hasSelectedText (self)
- int heightForWidth (self, int)
- int indent (self)
- keyPressEvent (self, QKeyEvent)
- int margin (self)
- QSize minimumSizeHint (self)
- mouseMoveEvent (self, QMouseEvent)
- mousePressEvent (self, QMouseEvent)
- mouseReleaseEvent (self, QMouseEvent)
- QMovie movie (self)
- bool openExternalLinks (self)
- paintEvent (self, QPaintEvent)
- QPicture picture (self)
- QPixmap pixmap (self)
- QString selectedText (self)
- int selectionStart (self)
- setAlignment (self, Qt.Alignment)
- setBuddy (self, QWidget)
- setIndent (self, int)
- setMargin (self, int)
- setMovie (self, QMovie)
- setNum (self, float)
- setNum (self, int)
- setOpenExternalLinks (self, bool)
- setPicture (self, QPicture)
- setPixmap (self, QPixmap)
- setScaledContents (self, bool)
- setSelection (self, int, int)
- setText (self, QString)
- setTextFormat (self, Qt.TextFormat)
- setTextInteractionFlags (self, Qt.TextInteractionFlags)
- setWordWrap (self, bool)
- QSize sizeHint (self)
- QString text (self)
- Qt.TextFormat textFormat (self)
- Qt.TextInteractionFlags textInteractionFlags (self)
- bool wordWrap (self)
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.
QWidget QLabel.buddy (self)
QLabel.changeEvent (self, QEvent)
QLabel.clear (self)
This method is also a Qt slot with the C++ signature void clear().
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.setWordWrap (self, bool)
QSize QLabel.sizeHint (self)
QString QLabel.text (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.