Notation used in Ruby API documentation
Module: QtWidgets
Description: Binding of QLabel
Class hierarchy: QLabel » QFrame » QWidget » QObject
new QLabel | new | (QWidget ptr parent = nullptr, Qt_QFlags_WindowType f = Qt::WindowFlags()) | Constructor QLabel::QLabel(QWidget *parent, QFlags<Qt::WindowType> f) |
new QLabel | new | (string text, QWidget ptr parent = nullptr, Qt_QFlags_WindowType f = Qt::WindowFlags()) | Constructor QLabel::QLabel(const QString &text, QWidget *parent, QFlags<Qt::WindowType> f) |
[const] | QLabel ptr | _const_cast | Returns a non-const reference to self. | |
void | _create | Ensures the C++ object is created | ||
void | _destroy | Explicitly destroys the object | ||
[const] | bool | _destroyed? | Returns a value indicating whether the object was already destroyed | |
[const] | bool | _is_const_object? | Returns a value indicating whether the reference is a const reference | |
void | _manage | Marks the object as managed by the script side. | ||
void | _unmanage | Marks the object as no longer owned by the script side. | ||
[const] | Qt_QFlags_AlignmentFlag | alignment | Method QFlags<Qt::AlignmentFlag> QLabel::alignment() | |
void | alignment= | (Qt_QFlags_AlignmentFlag arg1) | Method void QLabel::setAlignment(QFlags<Qt::AlignmentFlag>) | |
[const] | QWidget ptr | buddy | Method QWidget *QLabel::buddy() | |
void | buddy= | (QWidget ptr arg1) | Method void QLabel::setBuddy(QWidget *) | |
void | clear | Method void QLabel::clear() | ||
[signal] | void | customContextMenuRequested | (const QPoint pos) | Signal declaration for QLabel::customContextMenuRequested(const QPoint &pos) |
[signal] | void | destroyed | (QObject ptr arg1) | Signal declaration for QLabel::destroyed(QObject *) |
void | emit_customContextMenuRequested | (const QPoint pos) | Emitter for signal void QLabel::customContextMenuRequested(const QPoint &pos) | |
void | emit_destroyed | (QObject ptr arg1 = nullptr) | Emitter for signal void QLabel::destroyed(QObject *) | |
void | emit_linkActivated | (string link) | Emitter for signal void QLabel::linkActivated(const QString &link) | |
void | emit_linkHovered | (string link) | Emitter for signal void QLabel::linkHovered(const QString &link) | |
void | emit_objectNameChanged | (string objectName) | Emitter for signal void QLabel::objectNameChanged(const QString &objectName) | |
void | emit_windowIconChanged | (const QIcon icon) | Emitter for signal void QLabel::windowIconChanged(const QIcon &icon) | |
void | emit_windowIconTextChanged | (string iconText) | Emitter for signal void QLabel::windowIconTextChanged(const QString &iconText) | |
void | emit_windowTitleChanged | (string title) | Emitter for signal void QLabel::windowTitleChanged(const QString &title) | |
bool | eventFilter | (QObject ptr watched, QEvent ptr event) | Virtual method bool QLabel::eventFilter(QObject *watched, QEvent *event) | |
[const] | bool | hasHeightForWidth | Virtual method bool QLabel::hasHeightForWidth() | |
[const] | bool | hasScaledContents | Method bool QLabel::hasScaledContents() | |
[const] | bool | hasSelectedText | Method bool QLabel::hasSelectedText() | |
[const] | int | heightForWidth | (int arg1) | Virtual method int QLabel::heightForWidth(int) |
[const] | int | indent | Method int QLabel::indent() | |
void | indent= | (int arg1) | Method void QLabel::setIndent(int) | |
[const] | variant | inputMethodQuery | (const Qt_InputMethodQuery arg1) | Virtual method QVariant QLabel::inputMethodQuery(Qt::InputMethodQuery) |
[signal] | void | linkActivated | (string link) | Signal declaration for QLabel::linkActivated(const QString &link) |
[signal] | void | linkHovered | (string link) | Signal declaration for QLabel::linkHovered(const QString &link) |
[const] | int | margin | Method int QLabel::margin() | |
void | margin= | (int arg1) | Method void QLabel::setMargin(int) | |
[const] | QSize | minimumSizeHint | Virtual method QSize QLabel::minimumSizeHint() | |
[const] | QMovie ptr | movie | Method QMovie *QLabel::movie() | |
void | movie= | (QMovie ptr movie) | Method void QLabel::setMovie(QMovie *movie) | |
[signal] | void | objectNameChanged | (string objectName) | Signal declaration for QLabel::objectNameChanged(const QString &objectName) |
[const] | bool | openExternalLinks | Method bool QLabel::openExternalLinks() | |
void | openExternalLinks= | (bool open) | Method void QLabel::setOpenExternalLinks(bool open) | |
[const] | QPaintEngine ptr | paintEngine | Virtual method QPaintEngine *QLabel::paintEngine() | |
[const] | const QPicture ptr | picture | Method const QPicture *QLabel::picture() | |
[const] | const QPixmap ptr | pixmap | Method const QPixmap *QLabel::pixmap() | |
void | pixmap= | (const QPixmap arg1) | Method void QLabel::setPixmap(const QPixmap &) | |
[const] | bool | scaledContents | Method bool QLabel::hasScaledContents() | |
void | scaledContents= | (bool arg1) | Method void QLabel::setScaledContents(bool) | |
[const] | string | selectedText | Method QString QLabel::selectedText() | |
[const] | int | selectionStart | Method int QLabel::selectionStart() | |
void | setAlignment | (Qt_QFlags_AlignmentFlag arg1) | Method void QLabel::setAlignment(QFlags<Qt::AlignmentFlag>) | |
void | setBuddy | (QWidget ptr arg1) | Method void QLabel::setBuddy(QWidget *) | |
void | setIndent | (int arg1) | Method void QLabel::setIndent(int) | |
void | setMargin | (int arg1) | Method void QLabel::setMargin(int) | |
void | setMovie | (QMovie ptr movie) | Method void QLabel::setMovie(QMovie *movie) | |
void | setNum | (int arg1) | Method void QLabel::setNum(int) | |
void | setNum | (double arg1) | Method void QLabel::setNum(double) | |
void | setOpenExternalLinks | (bool open) | Method void QLabel::setOpenExternalLinks(bool open) | |
void | setPicture | (const QPicture arg1) | Method void QLabel::setPicture(const QPicture &) | |
void | setPixmap | (const QPixmap arg1) | Method void QLabel::setPixmap(const QPixmap &) | |
void | setScaledContents | (bool arg1) | Method void QLabel::setScaledContents(bool) | |
void | setSelection | (int arg1, int arg2) | Method void QLabel::setSelection(int, int) | |
void | setText | (string arg1) | Method void QLabel::setText(const QString &) | |
void | setTextFormat | (const Qt_TextFormat arg1) | Method void QLabel::setTextFormat(Qt::TextFormat) | |
void | setTextInteractionFlags | (Qt_QFlags_TextInteractionFlag flags) | Method void QLabel::setTextInteractionFlags(QFlags<Qt::TextInteractionFlag> flags) | |
void | setVisible | (bool visible) | Virtual method void QLabel::setVisible(bool visible) | |
void | setWordWrap | (bool on) | Method void QLabel::setWordWrap(bool on) | |
[const] | QSize | sizeHint | Virtual method QSize QLabel::sizeHint() | |
[const] | string | text | Method QString QLabel::text() | |
void | text= | (string arg1) | Method void QLabel::setText(const QString &) | |
[const] | Qt_TextFormat | textFormat | Method Qt::TextFormat QLabel::textFormat() | |
void | textFormat= | (const Qt_TextFormat arg1) | Method void QLabel::setTextFormat(Qt::TextFormat) | |
[const] | Qt_QFlags_TextInteractionFlag | textInteractionFlags | Method QFlags<Qt::TextInteractionFlag> QLabel::textInteractionFlags() | |
void | textInteractionFlags= | (Qt_QFlags_TextInteractionFlag flags) | Method void QLabel::setTextInteractionFlags(QFlags<Qt::TextInteractionFlag> flags) | |
[signal] | void | windowIconChanged | (const QIcon icon) | Signal declaration for QLabel::windowIconChanged(const QIcon &icon) |
[signal] | void | windowIconTextChanged | (string iconText) | Signal declaration for QLabel::windowIconTextChanged(const QString &iconText) |
[signal] | void | windowTitleChanged | (string title) | Signal declaration for QLabel::windowTitleChanged(const QString &title) |
[const] | bool | wordWrap | Method bool QLabel::wordWrap() | |
void | wordWrap= | (bool on) | Method void QLabel::setWordWrap(bool on) |
QMetaObject | staticMetaObject | Obtains the static MetaObject for this class. | ||
string | tr | (string s, string c = nullptr, int n = -1) | Static method QString QLabel::tr(const char *s, const char *c, int n) | |
string | trUtf8 | (string s, string c = nullptr, int n = -1) | Static method QString QLabel::trUtf8(const char *s, const char *c, int n) |
void | actionEvent | (QActionEvent ptr event) | Virtual method void QLabel::actionEvent(QActionEvent *event) | ||
void | changeEvent | (QEvent ptr arg1) | Virtual method void QLabel::changeEvent(QEvent *) | ||
void | childEvent | (QChildEvent ptr event) | Virtual method void QLabel::childEvent(QChildEvent *event) | ||
void | closeEvent | (QCloseEvent ptr event) | Virtual method void QLabel::closeEvent(QCloseEvent *event) | ||
void | contextMenuEvent | (QContextMenuEvent ptr ev) | Virtual method void QLabel::contextMenuEvent(QContextMenuEvent *ev) | ||
void | create | (unsigned long long arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true) | Method void QLabel::create(WId, bool initializeWindow, bool destroyOldWindow) | ||
void | customEvent | (QEvent ptr event) | Virtual method void QLabel::customEvent(QEvent *event) | ||
void | destroy | (bool destroyWindow = true, bool destroySubWindows = true) | Method void QLabel::destroy(bool destroyWindow, bool destroySubWindows) | ||
void | disconnectNotify | (const QMetaMethod signal) | Virtual method void QLabel::disconnectNotify(const QMetaMethod &signal) | ||
void | dragEnterEvent | (QDragEnterEvent ptr event) | Virtual method void QLabel::dragEnterEvent(QDragEnterEvent *event) | ||
void | dragLeaveEvent | (QDragLeaveEvent ptr event) | Virtual method void QLabel::dragLeaveEvent(QDragLeaveEvent *event) | ||
void | dragMoveEvent | (QDragMoveEvent ptr event) | Virtual method void QLabel::dragMoveEvent(QDragMoveEvent *event) | ||
void | drawFrame | (QPainter ptr arg1) | Method void QLabel::drawFrame(QPainter *) | ||
void | dropEvent | (QDropEvent ptr event) | Virtual method void QLabel::dropEvent(QDropEvent *event) | ||
void | enterEvent | (QEvent ptr event) | Virtual method void QLabel::enterEvent(QEvent *event) | ||
bool | event | (QEvent ptr e) | Virtual method bool QLabel::event(QEvent *e) | ||
void | focusInEvent | (QFocusEvent ptr ev) | Virtual method void QLabel::focusInEvent(QFocusEvent *ev) | ||
bool | focusNextChild | Method bool QLabel::focusNextChild() | |||
bool | focusNextPrevChild | (bool next) | Virtual method bool QLabel::focusNextPrevChild(bool next) | ||
void | focusOutEvent | (QFocusEvent ptr ev) | Virtual method void QLabel::focusOutEvent(QFocusEvent *ev) | ||
bool | focusPreviousChild | Method bool QLabel::focusPreviousChild() | |||
void | hideEvent | (QHideEvent ptr event) | Virtual method void QLabel::hideEvent(QHideEvent *event) | ||
[const] | void | initPainter | (QPainter ptr painter) | Virtual method void QLabel::initPainter(QPainter *painter) | |
[const] | void | initStyleOption | (QStyleOptionFrame ptr option) | Method void QLabel::initStyleOption(QStyleOptionFrame *option) | |
void | inputMethodEvent | (QInputMethodEvent ptr arg1) | Virtual method void QLabel::inputMethodEvent(QInputMethodEvent *) | ||
[const] | bool | isSignalConnected | (const QMetaMethod signal) | Method bool QLabel::isSignalConnected(const QMetaMethod &signal) | |
void | keyPressEvent | (QKeyEvent ptr ev) | Virtual method void QLabel::keyPressEvent(QKeyEvent *ev) | ||
void | keyReleaseEvent | (QKeyEvent ptr event) | Virtual method void QLabel::keyReleaseEvent(QKeyEvent *event) | ||
void | leaveEvent | (QEvent ptr event) | Virtual method void QLabel::leaveEvent(QEvent *event) | ||
[const] | int | metric | (const QPaintDevice_PaintDeviceMetric arg1) | Virtual method int QLabel::metric(QPaintDevice::PaintDeviceMetric) | |
void | mouseDoubleClickEvent | (QMouseEvent ptr event) | Virtual method void QLabel::mouseDoubleClickEvent(QMouseEvent *event) | ||
void | mouseMoveEvent | (QMouseEvent ptr ev) | Virtual method void QLabel::mouseMoveEvent(QMouseEvent *ev) | ||
void | mousePressEvent | (QMouseEvent ptr ev) | Virtual method void QLabel::mousePressEvent(QMouseEvent *ev) | ||
void | mouseReleaseEvent | (QMouseEvent ptr ev) | Virtual method void QLabel::mouseReleaseEvent(QMouseEvent *ev) | ||
void | moveEvent | (QMoveEvent ptr event) | Virtual method void QLabel::moveEvent(QMoveEvent *event) | ||
bool | nativeEvent | (bytes eventType, void * message, long ptr result) | Virtual method bool QLabel::nativeEvent(const QByteArray &eventType, void *message, long int *result) | ||
void | paintEvent | (QPaintEvent ptr arg1) | Virtual method void QLabel::paintEvent(QPaintEvent *) | ||
void | qt_create | (unsigned long long arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true) | Method void QLabel::create(WId, bool initializeWindow, bool destroyOldWindow) | ||
void | qt_destroy | (bool destroyWindow = true, bool destroySubWindows = true) | Method void QLabel::destroy(bool destroyWindow, bool destroySubWindows) | ||
[const] | int | receivers | (string signal) | Method int QLabel::receivers(const char *signal) | |
[const] | QPaintDevice ptr | redirected | (QPoint ptr offset) | Virtual method QPaintDevice *QLabel::redirected(QPoint *offset) | |
void | resizeEvent | (QResizeEvent ptr event) | Virtual method void QLabel::resizeEvent(QResizeEvent *event) | ||
[const] | QObject ptr | sender | Method QObject *QLabel::sender() | ||
[const] | int | senderSignalIndex | Method int QLabel::senderSignalIndex() | ||
[const] | QPainter ptr | sharedPainter | Virtual method QPainter *QLabel::sharedPainter() | ||
void | showEvent | (QShowEvent ptr event) | Virtual method void QLabel::showEvent(QShowEvent *event) | ||
void | tabletEvent | (QTabletEvent ptr event) | Virtual method void QLabel::tabletEvent(QTabletEvent *event) | ||
void | timerEvent | (QTimerEvent ptr event) | Virtual method void QLabel::timerEvent(QTimerEvent *event) | ||
void | updateMicroFocus | Method void QLabel::updateMicroFocus() | |||
void | wheelEvent | (QWheelEvent ptr event) | Virtual method void QLabel::wheelEvent(QWheelEvent *event) |
_const_cast | Signature: [const] QLabel ptr _const_cast Description: Returns a non-const reference to self. Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects. This method has been introduced in version 0.29.6. |
_create | Signature: void _create Description: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
_destroy | Signature: void _destroy Description: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
_destroyed? | Signature: [const] bool _destroyed? Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
_is_const_object? | Signature: [const] bool _is_const_object? Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
_manage | Signature: void _manage Description: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. |
_unmanage | Signature: void _unmanage Description: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. |
actionEvent | Signature: void actionEvent (QActionEvent ptr event) Description: Virtual method void QLabel::actionEvent(QActionEvent *event) This method can be reimplemented in a derived class. |
alignment | Signature: [const] Qt_QFlags_AlignmentFlag alignment Description: Method QFlags<Qt::AlignmentFlag> QLabel::alignment() Python specific notes: |
alignment= | Signature: void alignment= (Qt_QFlags_AlignmentFlag arg1) Description: Method void QLabel::setAlignment(QFlags<Qt::AlignmentFlag>) Python specific notes: |
buddy | Signature: [const] QWidget ptr buddy Description: Method QWidget *QLabel::buddy() Python specific notes: |
buddy= | Signature: void buddy= (QWidget ptr arg1) Description: Method void QLabel::setBuddy(QWidget *) Python specific notes: |
changeEvent | Signature: void changeEvent (QEvent ptr arg1) Description: Virtual method void QLabel::changeEvent(QEvent *) This method can be reimplemented in a derived class. |
childEvent | Signature: void childEvent (QChildEvent ptr event) Description: Virtual method void QLabel::childEvent(QChildEvent *event) This method can be reimplemented in a derived class. |
clear | Signature: void clear Description: Method void QLabel::clear() |
closeEvent | Signature: void closeEvent (QCloseEvent ptr event) Description: Virtual method void QLabel::closeEvent(QCloseEvent *event) This method can be reimplemented in a derived class. |
contextMenuEvent | Signature: void contextMenuEvent (QContextMenuEvent ptr ev) Description: Virtual method void QLabel::contextMenuEvent(QContextMenuEvent *ev) This method can be reimplemented in a derived class. |
create | Signature: void create (unsigned long long arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true) Description: Method void QLabel::create(WId, bool initializeWindow, bool destroyOldWindow) This method is protected and can only be called from inside a derived class. |
customContextMenuRequested | Signature: [signal] void customContextMenuRequested (const QPoint pos) Description: Signal declaration for QLabel::customContextMenuRequested(const QPoint &pos) You can bind a procedure to this signal. Python specific notes: |
customEvent | Signature: void customEvent (QEvent ptr event) Description: Virtual method void QLabel::customEvent(QEvent *event) This method can be reimplemented in a derived class. |
destroy | Signature: void destroy (bool destroyWindow = true, bool destroySubWindows = true) Description: Method void QLabel::destroy(bool destroyWindow, bool destroySubWindows) This method is protected and can only be called from inside a derived class. |
destroyed | Signature: [signal] void destroyed (QObject ptr arg1) Description: Signal declaration for QLabel::destroyed(QObject *) You can bind a procedure to this signal. Python specific notes: |
disconnectNotify | Signature: void disconnectNotify (const QMetaMethod signal) Description: Virtual method void QLabel::disconnectNotify(const QMetaMethod &signal) This method can be reimplemented in a derived class. |
dragEnterEvent | Signature: void dragEnterEvent (QDragEnterEvent ptr event) Description: Virtual method void QLabel::dragEnterEvent(QDragEnterEvent *event) This method can be reimplemented in a derived class. |
dragLeaveEvent | Signature: void dragLeaveEvent (QDragLeaveEvent ptr event) Description: Virtual method void QLabel::dragLeaveEvent(QDragLeaveEvent *event) This method can be reimplemented in a derived class. |
dragMoveEvent | Signature: void dragMoveEvent (QDragMoveEvent ptr event) Description: Virtual method void QLabel::dragMoveEvent(QDragMoveEvent *event) This method can be reimplemented in a derived class. |
drawFrame | Signature: void drawFrame (QPainter ptr arg1) Description: Method void QLabel::drawFrame(QPainter *) This method is protected and can only be called from inside a derived class. |
dropEvent | Signature: void dropEvent (QDropEvent ptr event) Description: Virtual method void QLabel::dropEvent(QDropEvent *event) This method can be reimplemented in a derived class. |
emit_customContextMenuRequested | Signature: void emit_customContextMenuRequested (const QPoint pos) Description: Emitter for signal void QLabel::customContextMenuRequested(const QPoint &pos) Call this method to emit this signal. |
emit_destroyed | Signature: void emit_destroyed (QObject ptr arg1 = nullptr) Description: Emitter for signal void QLabel::destroyed(QObject *) Call this method to emit this signal. |
emit_linkActivated | Signature: void emit_linkActivated (string link) Description: Emitter for signal void QLabel::linkActivated(const QString &link) Call this method to emit this signal. |
emit_linkHovered | Signature: void emit_linkHovered (string link) Description: Emitter for signal void QLabel::linkHovered(const QString &link) Call this method to emit this signal. |
emit_objectNameChanged | Signature: void emit_objectNameChanged (string objectName) Description: Emitter for signal void QLabel::objectNameChanged(const QString &objectName) Call this method to emit this signal. |
emit_windowIconChanged | Signature: void emit_windowIconChanged (const QIcon icon) Description: Emitter for signal void QLabel::windowIconChanged(const QIcon &icon) Call this method to emit this signal. |
emit_windowIconTextChanged | Signature: void emit_windowIconTextChanged (string iconText) Description: Emitter for signal void QLabel::windowIconTextChanged(const QString &iconText) Call this method to emit this signal. |
emit_windowTitleChanged | Signature: void emit_windowTitleChanged (string title) Description: Emitter for signal void QLabel::windowTitleChanged(const QString &title) Call this method to emit this signal. |
enterEvent | Signature: void enterEvent (QEvent ptr event) Description: Virtual method void QLabel::enterEvent(QEvent *event) This method can be reimplemented in a derived class. |
event | Signature: bool event (QEvent ptr e) Description: Virtual method bool QLabel::event(QEvent *e) This method can be reimplemented in a derived class. |
eventFilter | Signature: bool eventFilter (QObject ptr watched, QEvent ptr event) Description: Virtual method bool QLabel::eventFilter(QObject *watched, QEvent *event) This method can be reimplemented in a derived class. |
focusInEvent | Signature: void focusInEvent (QFocusEvent ptr ev) Description: Virtual method void QLabel::focusInEvent(QFocusEvent *ev) This method can be reimplemented in a derived class. |
focusNextChild | Signature: bool focusNextChild Description: Method bool QLabel::focusNextChild() This method is protected and can only be called from inside a derived class. |
focusNextPrevChild | Signature: bool focusNextPrevChild (bool next) Description: Virtual method bool QLabel::focusNextPrevChild(bool next) This method can be reimplemented in a derived class. |
focusOutEvent | Signature: void focusOutEvent (QFocusEvent ptr ev) Description: Virtual method void QLabel::focusOutEvent(QFocusEvent *ev) This method can be reimplemented in a derived class. |
focusPreviousChild | Signature: bool focusPreviousChild Description: Method bool QLabel::focusPreviousChild() This method is protected and can only be called from inside a derived class. |
hasHeightForWidth | Signature: [const] bool hasHeightForWidth Description: Virtual method bool QLabel::hasHeightForWidth() This method can be reimplemented in a derived class. |
hasScaledContents | Signature: [const] bool hasScaledContents Description: Method bool QLabel::hasScaledContents() Python specific notes: |
hasSelectedText | Signature: [const] bool hasSelectedText Description: Method bool QLabel::hasSelectedText() Python specific notes: |
heightForWidth | Signature: [const] int heightForWidth (int arg1) Description: Virtual method int QLabel::heightForWidth(int) This method can be reimplemented in a derived class. |
hideEvent | Signature: void hideEvent (QHideEvent ptr event) Description: Virtual method void QLabel::hideEvent(QHideEvent *event) This method can be reimplemented in a derived class. |
indent | Signature: [const] int indent Description: Method int QLabel::indent() Python specific notes: |
indent= | Signature: void indent= (int arg1) Description: Method void QLabel::setIndent(int) Python specific notes: |
initPainter | Signature: [const] void initPainter (QPainter ptr painter) Description: Virtual method void QLabel::initPainter(QPainter *painter) This method can be reimplemented in a derived class. |
initStyleOption | Signature: [const] void initStyleOption (QStyleOptionFrame ptr option) Description: Method void QLabel::initStyleOption(QStyleOptionFrame *option) This method is protected and can only be called from inside a derived class. |
inputMethodEvent | Signature: void inputMethodEvent (QInputMethodEvent ptr arg1) Description: Virtual method void QLabel::inputMethodEvent(QInputMethodEvent *) This method can be reimplemented in a derived class. |
inputMethodQuery | Signature: [const] variant inputMethodQuery (const Qt_InputMethodQuery arg1) Description: Virtual method QVariant QLabel::inputMethodQuery(Qt::InputMethodQuery) This method can be reimplemented in a derived class. |
isSignalConnected | Signature: [const] bool isSignalConnected (const QMetaMethod signal) Description: Method bool QLabel::isSignalConnected(const QMetaMethod &signal) This method is protected and can only be called from inside a derived class. |
keyPressEvent | Signature: void keyPressEvent (QKeyEvent ptr ev) Description: Virtual method void QLabel::keyPressEvent(QKeyEvent *ev) This method can be reimplemented in a derived class. |
keyReleaseEvent | Signature: void keyReleaseEvent (QKeyEvent ptr event) Description: Virtual method void QLabel::keyReleaseEvent(QKeyEvent *event) This method can be reimplemented in a derived class. |
leaveEvent | Signature: void leaveEvent (QEvent ptr event) Description: Virtual method void QLabel::leaveEvent(QEvent *event) This method can be reimplemented in a derived class. |
linkActivated | Signature: [signal] void linkActivated (string link) Description: Signal declaration for QLabel::linkActivated(const QString &link) You can bind a procedure to this signal. Python specific notes: |
linkHovered | Signature: [signal] void linkHovered (string link) Description: Signal declaration for QLabel::linkHovered(const QString &link) You can bind a procedure to this signal. Python specific notes: |
margin | Signature: [const] int margin Description: Method int QLabel::margin() Python specific notes: |
margin= | Signature: void margin= (int arg1) Description: Method void QLabel::setMargin(int) Python specific notes: |
metric | Signature: [const] int metric (const QPaintDevice_PaintDeviceMetric arg1) Description: Virtual method int QLabel::metric(QPaintDevice::PaintDeviceMetric) This method can be reimplemented in a derived class. |
minimumSizeHint | Signature: [const] QSize minimumSizeHint Description: Virtual method QSize QLabel::minimumSizeHint() This method can be reimplemented in a derived class. |
mouseDoubleClickEvent | Signature: void mouseDoubleClickEvent (QMouseEvent ptr event) Description: Virtual method void QLabel::mouseDoubleClickEvent(QMouseEvent *event) This method can be reimplemented in a derived class. |
mouseMoveEvent | Signature: void mouseMoveEvent (QMouseEvent ptr ev) Description: Virtual method void QLabel::mouseMoveEvent(QMouseEvent *ev) This method can be reimplemented in a derived class. |
mousePressEvent | Signature: void mousePressEvent (QMouseEvent ptr ev) Description: Virtual method void QLabel::mousePressEvent(QMouseEvent *ev) This method can be reimplemented in a derived class. |
mouseReleaseEvent | Signature: void mouseReleaseEvent (QMouseEvent ptr ev) Description: Virtual method void QLabel::mouseReleaseEvent(QMouseEvent *ev) This method can be reimplemented in a derived class. |
moveEvent | Signature: void moveEvent (QMoveEvent ptr event) Description: Virtual method void QLabel::moveEvent(QMoveEvent *event) This method can be reimplemented in a derived class. |
movie | Signature: [const] QMovie ptr movie Description: Method QMovie *QLabel::movie() Python specific notes: |
movie= | Signature: void movie= (QMovie ptr movie) Description: Method void QLabel::setMovie(QMovie *movie) Python specific notes: |
nativeEvent | Signature: bool nativeEvent (bytes eventType, void * message, long ptr result) Description: Virtual method bool QLabel::nativeEvent(const QByteArray &eventType, void *message, long int *result) This method can be reimplemented in a derived class. |
new | (1) Signature: [static] new QLabel new (QWidget ptr parent = nullptr, Qt_QFlags_WindowType f = Qt::WindowFlags()) Description: Constructor QLabel::QLabel(QWidget *parent, QFlags<Qt::WindowType> f) This method creates an object of class QLabel. Python specific notes: |
(2) Signature: [static] new QLabel new (string text, QWidget ptr parent = nullptr, Qt_QFlags_WindowType f = Qt::WindowFlags()) Description: Constructor QLabel::QLabel(const QString &text, QWidget *parent, QFlags<Qt::WindowType> f) This method creates an object of class QLabel. Python specific notes: | |
objectNameChanged | Signature: [signal] void objectNameChanged (string objectName) Description: Signal declaration for QLabel::objectNameChanged(const QString &objectName) You can bind a procedure to this signal. Python specific notes: |
openExternalLinks | Signature: [const] bool openExternalLinks Description: Method bool QLabel::openExternalLinks() Python specific notes: |
openExternalLinks= | Signature: void openExternalLinks= (bool open) Description: Method void QLabel::setOpenExternalLinks(bool open) Python specific notes: |
paintEngine | Signature: [const] QPaintEngine ptr paintEngine Description: Virtual method QPaintEngine *QLabel::paintEngine() This method can be reimplemented in a derived class. |
paintEvent | Signature: void paintEvent (QPaintEvent ptr arg1) Description: Virtual method void QLabel::paintEvent(QPaintEvent *) This method can be reimplemented in a derived class. |
picture | Signature: [const] const QPicture ptr picture Description: Method const QPicture *QLabel::picture() |
pixmap | Signature: [const] const QPixmap ptr pixmap Description: Method const QPixmap *QLabel::pixmap() Python specific notes: |
pixmap= | Signature: void pixmap= (const QPixmap arg1) Description: Method void QLabel::setPixmap(const QPixmap &) Python specific notes: |
qt_create | Signature: void qt_create (unsigned long long arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true) Description: Method void QLabel::create(WId, bool initializeWindow, bool destroyOldWindow) This method is protected and can only be called from inside a derived class. |
qt_destroy | Signature: void qt_destroy (bool destroyWindow = true, bool destroySubWindows = true) Description: Method void QLabel::destroy(bool destroyWindow, bool destroySubWindows) This method is protected and can only be called from inside a derived class. |
receivers | Signature: [const] int receivers (string signal) Description: Method int QLabel::receivers(const char *signal) This method is protected and can only be called from inside a derived class. |
redirected | Signature: [const] QPaintDevice ptr redirected (QPoint ptr offset) Description: Virtual method QPaintDevice *QLabel::redirected(QPoint *offset) This method can be reimplemented in a derived class. |
resizeEvent | Signature: void resizeEvent (QResizeEvent ptr event) Description: Virtual method void QLabel::resizeEvent(QResizeEvent *event) This method can be reimplemented in a derived class. |
scaledContents | Signature: [const] bool scaledContents Description: Method bool QLabel::hasScaledContents() Python specific notes: |
scaledContents= | Signature: void scaledContents= (bool arg1) Description: Method void QLabel::setScaledContents(bool) Python specific notes: |
selectedText | Signature: [const] string selectedText Description: Method QString QLabel::selectedText() Python specific notes: |
selectionStart | Signature: [const] int selectionStart Description: Method int QLabel::selectionStart() |
sender | Signature: [const] QObject ptr sender Description: Method QObject *QLabel::sender() This method is protected and can only be called from inside a derived class. |
senderSignalIndex | Signature: [const] int senderSignalIndex Description: Method int QLabel::senderSignalIndex() This method is protected and can only be called from inside a derived class. |
setAlignment | Signature: void setAlignment (Qt_QFlags_AlignmentFlag arg1) Description: Method void QLabel::setAlignment(QFlags<Qt::AlignmentFlag>) Python specific notes: |
setBuddy | Signature: void setBuddy (QWidget ptr arg1) Description: Method void QLabel::setBuddy(QWidget *) Python specific notes: |
setIndent | Signature: void setIndent (int arg1) Description: Method void QLabel::setIndent(int) Python specific notes: |
setMargin | Signature: void setMargin (int arg1) Description: Method void QLabel::setMargin(int) Python specific notes: |
setMovie | Signature: void setMovie (QMovie ptr movie) Description: Method void QLabel::setMovie(QMovie *movie) Python specific notes: |
setNum | (1) Signature: void setNum (int arg1) Description: Method void QLabel::setNum(int) |
(2) Signature: void setNum (double arg1) Description: Method void QLabel::setNum(double) | |
setOpenExternalLinks | Signature: void setOpenExternalLinks (bool open) Description: Method void QLabel::setOpenExternalLinks(bool open) Python specific notes: |
setPicture | Signature: void setPicture (const QPicture arg1) Description: Method void QLabel::setPicture(const QPicture &) |
setPixmap | Signature: void setPixmap (const QPixmap arg1) Description: Method void QLabel::setPixmap(const QPixmap &) Python specific notes: |
setScaledContents | Signature: void setScaledContents (bool arg1) Description: Method void QLabel::setScaledContents(bool) Python specific notes: |
setSelection | Signature: void setSelection (int arg1, int arg2) Description: Method void QLabel::setSelection(int, int) |
setText | Signature: void setText (string arg1) Description: Method void QLabel::setText(const QString &) Python specific notes: |
setTextFormat | Signature: void setTextFormat (const Qt_TextFormat arg1) Description: Method void QLabel::setTextFormat(Qt::TextFormat) Python specific notes: |
setTextInteractionFlags | Signature: void setTextInteractionFlags (Qt_QFlags_TextInteractionFlag flags) Description: Method void QLabel::setTextInteractionFlags(QFlags<Qt::TextInteractionFlag> flags) Python specific notes: |
setVisible | Signature: void setVisible (bool visible) Description: Virtual method void QLabel::setVisible(bool visible) This method can be reimplemented in a derived class. |
setWordWrap | Signature: void setWordWrap (bool on) Description: Method void QLabel::setWordWrap(bool on) Python specific notes: |
sharedPainter | Signature: [const] QPainter ptr sharedPainter Description: Virtual method QPainter *QLabel::sharedPainter() This method can be reimplemented in a derived class. |
showEvent | Signature: void showEvent (QShowEvent ptr event) Description: Virtual method void QLabel::showEvent(QShowEvent *event) This method can be reimplemented in a derived class. |
sizeHint | Signature: [const] QSize sizeHint Description: Virtual method QSize QLabel::sizeHint() This method can be reimplemented in a derived class. |
staticMetaObject | Signature: [static] QMetaObject staticMetaObject Description: Obtains the static MetaObject for this class. |
tabletEvent | Signature: void tabletEvent (QTabletEvent ptr event) Description: Virtual method void QLabel::tabletEvent(QTabletEvent *event) This method can be reimplemented in a derived class. |
text | Signature: [const] string text Description: Method QString QLabel::text() Python specific notes: |
text= | Signature: void text= (string arg1) Description: Method void QLabel::setText(const QString &) Python specific notes: |
textFormat | Signature: [const] Qt_TextFormat textFormat Description: Method Qt::TextFormat QLabel::textFormat() Python specific notes: |
textFormat= | Signature: void textFormat= (const Qt_TextFormat arg1) Description: Method void QLabel::setTextFormat(Qt::TextFormat) Python specific notes: |
textInteractionFlags | Signature: [const] Qt_QFlags_TextInteractionFlag textInteractionFlags Description: Method QFlags<Qt::TextInteractionFlag> QLabel::textInteractionFlags() Python specific notes: |
textInteractionFlags= | Signature: void textInteractionFlags= (Qt_QFlags_TextInteractionFlag flags) Description: Method void QLabel::setTextInteractionFlags(QFlags<Qt::TextInteractionFlag> flags) Python specific notes: |
timerEvent | Signature: void timerEvent (QTimerEvent ptr event) Description: Virtual method void QLabel::timerEvent(QTimerEvent *event) This method can be reimplemented in a derived class. |
tr | Signature: [static] string tr (string s, string c = nullptr, int n = -1) Description: Static method QString QLabel::tr(const char *s, const char *c, int n) This method is static and can be called without an instance. |
trUtf8 | Signature: [static] string trUtf8 (string s, string c = nullptr, int n = -1) Description: Static method QString QLabel::trUtf8(const char *s, const char *c, int n) This method is static and can be called without an instance. |
updateMicroFocus | Signature: void updateMicroFocus Description: Method void QLabel::updateMicroFocus() This method is protected and can only be called from inside a derived class. |
wheelEvent | Signature: void wheelEvent (QWheelEvent ptr event) Description: Virtual method void QLabel::wheelEvent(QWheelEvent *event) This method can be reimplemented in a derived class. |
windowIconChanged | Signature: [signal] void windowIconChanged (const QIcon icon) Description: Signal declaration for QLabel::windowIconChanged(const QIcon &icon) You can bind a procedure to this signal. Python specific notes: |
windowIconTextChanged | Signature: [signal] void windowIconTextChanged (string iconText) Description: Signal declaration for QLabel::windowIconTextChanged(const QString &iconText) You can bind a procedure to this signal. Python specific notes: |
windowTitleChanged | Signature: [signal] void windowTitleChanged (string title) Description: Signal declaration for QLabel::windowTitleChanged(const QString &title) You can bind a procedure to this signal. Python specific notes: |
wordWrap | Signature: [const] bool wordWrap Description: Method bool QLabel::wordWrap() Python specific notes: |
wordWrap= | Signature: void wordWrap= (bool on) Description: Method void QLabel::setWordWrap(bool on) Python specific notes: |