Skip to content

PythonQt.QtGui.QStatusBar · declarations 001

Back to PythonQt.QtGui.QStatusBar

addPermanentWidget

addPermanentWidget(widget: Any, stretch: int) -> None

X.addPermanentWidget(widget, stretch)

Supplemental documentation: Qt 5 reference:

void QStatusBar::addPermanentWidget(QWidget *widget, int stretch \= 0)

Adds the given widget permanently to this status bar, reparenting the widget if it isn't already a child of this QStatusBar object. The stretch parameter is used to compute a suitable size for the given widget as the status bar grows and shrinks. The default stretch factor is 0, i.e giving the widget a minimum of space.

Permanently means that the widget may not be obscured by temporary messages. It is is located at the far right of the status bar.

See also insertPermanentWidget(), removeWidget(), and addWidget().

Upstream PySide2 reference signatures (binding differences may apply):

addPermanentWidget(self, widget: PySide2.QtWidgets.QWidget, stretch: int=...) -> None

Source: https://doc.qt.io/archives/qt-5.15/qstatusbar.html#addPermanentWidget

addWidget

addWidget(widget: Any, stretch: int) -> None

X.addWidget(widget, stretch)

Supplemental documentation: Qt 5 reference:

void QStatusBar::addWidget(QWidget *widget, int stretch \= 0)

Adds the given widget to this status bar, reparenting the widget if it isn't already a child of this QStatusBar object. The stretch parameter is used to compute a suitable size for the given widget as the status bar grows and shrinks. The default stretch factor is 0, i.e giving the widget a minimum of space.

The widget is located to the far left of the first permanent widget (see addPermanentWidget()) and may be obscured by temporary messages.

See also insertWidget(), removeWidget(), and addPermanentWidget().

Upstream PySide2 reference signatures (binding differences may apply):

addWidget(self, widget: PySide2.QtWidgets.QWidget, stretch: int=...) -> None

Source: https://doc.qt.io/archives/qt-5.15/qstatusbar.html#addWidget

clearMessage

clearMessage() -> None

X.clearMessage()

Supplemental documentation: Qt 5 reference:

[slot] void QStatusBar::clearMessage()

Removes any temporary message being shown.

See also currentMessage(), showMessage(), and removeWidget().

Upstream PySide2 reference signatures (binding differences may apply):

clearMessage(self) -> None

Source: https://doc.qt.io/archives/qt-5.15/qstatusbar.html#clearMessage

currentMessage

currentMessage() -> str

X.currentMessage() -> str

Supplemental documentation: Qt 5 reference:

QString QStatusBar::currentMessage() const

Returns the temporary message currently shown, or an empty string if there is no such message.

See also showMessage().

Upstream PySide2 reference signatures (binding differences may apply):

currentMessage(self) -> str

Source: https://doc.qt.io/archives/qt-5.15/qstatusbar.html#currentMessage

customContextMenuRequested

customContextMenuRequested(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QStatusBar.customContextMenuRequested; argument details are not documented.

destroyed

destroyed(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QStatusBar.destroyed; argument details are not documented.

event

event(arg__1: Any) -> bool

X.event(arg__1) -> bool

Supplemental documentation: Qt 5 reference:

[override virtual protected] bool QStatusBar::event(QEvent *e)

Reimplements: QWidget::event(QEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

event(self, arg__1: PySide2.QtCore.QEvent) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qstatusbar.html#event

hideOrShow

hideOrShow() -> None

X.hideOrShow()

Supplemental documentation: Qt 5 reference:

[protected] void QStatusBar::hideOrShow()

Ensures that the right widgets are visible.

Used by the showMessage() and clearMessage() functions.

Upstream PySide2 reference signatures (binding differences may apply):

hideOrShow(self) -> None

Source: https://doc.qt.io/archives/qt-5.15/qstatusbar.html#hideOrShow

insertPermanentWidget

insertPermanentWidget(index: int, widget: Any, stretch: int) -> int

X.insertPermanentWidget(index, widget, stretch) -> int

Supplemental documentation: Qt 5 reference:

int QStatusBar::insertPermanentWidget(int index, QWidget *widget, int stretch \= 0)

Inserts the given widget at the given index permanently to this status bar, reparenting the widget if it isn't already a child of this QStatusBar object. If index is out of range, the widget is appended (in which case it is the actual index of the widget that is returned).

The stretch parameter is used to compute a suitable size for the given widget as the status bar grows and shrinks. The default stretch factor is 0, i.e giving the widget a minimum of space.

Permanently means that the widget may not be obscured by temporary messages. It is is located at the far right of the status bar.

This function was introduced in Qt 4.2.

See also addPermanentWidget(), removeWidget(), and addWidget().

Upstream PySide2 reference signatures (binding differences may apply):

insertPermanentWidget(self, index: int, widget: PySide2.QtWidgets.QWidget, stretch: int=...) -> int

Source: https://doc.qt.io/archives/qt-5.15/qstatusbar.html#insertPermanentWidget

insertWidget

insertWidget(index: int, widget: Any, stretch: int) -> int

X.insertWidget(index, widget, stretch) -> int

Supplemental documentation: Qt 5 reference:

int QStatusBar::insertWidget(int index, QWidget *widget, int stretch \= 0)

Inserts the given widget at the given index to this status bar, reparenting the widget if it isn't already a child of this QStatusBar object. If index is out of range, the widget is appended (in which case it is the actual index of the widget that is returned).

The stretch parameter is used to compute a suitable size for the given widget as the status bar grows and shrinks. The default stretch factor is 0, i.e giving the widget a minimum of space.

The widget is located to the far left of the first permanent widget (see addPermanentWidget()) and may be obscured by temporary messages.

This function was introduced in Qt 4.2.

See also addWidget(), removeWidget(), and addPermanentWidget().

Upstream PySide2 reference signatures (binding differences may apply):

insertWidget(self, index: int, widget: PySide2.QtWidgets.QWidget, stretch: int=...) -> int

Source: https://doc.qt.io/archives/qt-5.15/qstatusbar.html#insertWidget

isSizeGripEnabled

isSizeGripEnabled() -> bool

X.isSizeGripEnabled() -> bool

Upstream PySide2 reference signatures (binding differences may apply):

isSizeGripEnabled(self) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qstatusbar.html#isSizeGripEnabled

messageChanged

messageChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QStatusBar.messageChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QStatusBar::messageChanged(const QString \&message)

This signal is emitted whenever the temporary status message changes. The new temporary message is passed in the message parameter which is a null-string when the message has been removed.

See also showMessage() and clearMessage().

Source: https://doc.qt.io/archives/qt-5.15/qstatusbar.html#messageChanged

objectNameChanged

objectNameChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QStatusBar.objectNameChanged; argument details are not documented.

paintEvent

paintEvent(arg__1: Any) -> None

X.paintEvent(arg__1)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QStatusBar::paintEvent(QPaintEvent *event)

Reimplements: QWidget::paintEvent(QPaintEvent *event).

Shows the temporary message, if appropriate, in response to the paint event.

Upstream PySide2 reference signatures (binding differences may apply):

paintEvent(self, arg__1: PySide2.QtGui.QPaintEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qstatusbar.html#paintEvent

reformat

reformat() -> None

X.reformat()

Supplemental documentation: Qt 5 reference:

[protected] void QStatusBar::reformat()

Changes the status bar's appearance to account for item changes.

Special subclasses may need this function, but geometry management will usually take care of any necessary rearrangements.

Upstream PySide2 reference signatures (binding differences may apply):

reformat(self) -> None

Source: https://doc.qt.io/archives/qt-5.15/qstatusbar.html#reformat

removeWidget

removeWidget(widget: Any) -> None

X.removeWidget(widget)

Supplemental documentation: Qt 5 reference:

void QStatusBar::removeWidget(QWidget *widget)

Removes the specified widget from the status bar.

Note: This function does not delete the widget but hides it. To add the widget again, you must call both the addWidget() and show() functions.

See also addWidget(), addPermanentWidget(), and clearMessage().

Upstream PySide2 reference signatures (binding differences may apply):

removeWidget(self, widget: PySide2.QtWidgets.QWidget) -> None

Source: https://doc.qt.io/archives/qt-5.15/qstatusbar.html#removeWidget

resizeEvent

resizeEvent(arg__1: Any) -> None

X.resizeEvent(arg__1)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QStatusBar::resizeEvent(QResizeEvent *e)

Reimplements: QWidget::resizeEvent(QResizeEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

resizeEvent(self, arg__1: PySide2.QtGui.QResizeEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qstatusbar.html#resizeEvent

setSizeGripEnabled

setSizeGripEnabled(arg__1: bool) -> None

X.setSizeGripEnabled(arg__1)

Upstream PySide2 reference signatures (binding differences may apply):

setSizeGripEnabled(self, arg__1: bool) -> None

Source: https://doc.qt.io/archives/qt-5.15/qstatusbar.html#setSizeGripEnabled

showEvent

showEvent(arg__1: Any) -> None

X.showEvent(arg__1)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QStatusBar::showEvent(QShowEvent *)

Reimplements: QWidget::showEvent(QShowEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

showEvent(self, arg__1: PySide2.QtGui.QShowEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qstatusbar.html#showEvent

showMessage

showMessage(text: str, timeout: int) -> None

X.showMessage(text, timeout)

Supplemental documentation: Qt 5 reference:

[slot] void QStatusBar::showMessage(const QString \&message, int timeout \= 0)

Hides the normal status indications and displays the given message for the specified number of milli-seconds (timeout). If timeout is 0 (default), the message remains displayed until the clearMessage() slot is called or until the showMessage() slot is called again to change the message.

Note that showMessage() is called to show temporary explanations of tool tip texts, so passing a timeout of 0 is not sufficient to display a permanent message.

See also messageChanged(), currentMessage(), and clearMessage().

Upstream PySide2 reference signatures (binding differences may apply):

showMessage(self, text: str, timeout: int=...) -> None

Source: https://doc.qt.io/archives/qt-5.15/qstatusbar.html#showMessage

sizeGripEnabled instance-attribute

sizeGripEnabled: Any

Qt 5 reference:

sizeGripEnabled : bool

This property holds whether the QSizeGrip in the bottom-right corner of the status bar is enabled

The size grip is enabled by default.

Access functions:

bool isSizeGripEnabled() const
void setSizeGripEnabled(bool)

Source: https://doc.qt.io/archives/qt-5.15/qstatusbar.html#sizeGripEnabled

windowIconChanged

windowIconChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QStatusBar.windowIconChanged; argument details are not documented.

windowIconTextChanged

windowIconTextChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QStatusBar.windowIconTextChanged; argument details are not documented.

windowTitleChanged

windowTitleChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QStatusBar.windowTitleChanged; argument details are not documented.