Skip to content

WhatsThis

Qt Base Class: QWhatsThis

Signature: None

Base classes

Name Children Inherits
QWhatsThis
PySide6.QtWidgets

⋔ Inheritance diagram

graph TD
  1473296218800["widgets.WhatsThis"]
  1473290732560["QtWidgets.QWhatsThis"]
  1473291690208["Shiboken.Object"]
  140713234304496["builtins.object"]
  1473290732560 --> 1473296218800
  1473291690208 --> 1473290732560
  140713234304496 --> 1473291690208

🛈 DocStrings

Bases: QWhatsThis

Simple description of any widget, i.e. answering the question "What's This?".

Source code in prettyqt\widgets\whatsthis.py
class WhatsThis(QtWidgets.QWhatsThis):
    """Simple description of any widget, i.e. answering the question "What's This?"."""

    @classmethod
    @contextlib.contextmanager
    def enter_mode(cls):
        cls.enterWhatsThisMode()
        yield cls
        cls.leaveWhatsThisMode()