Skip to content

WhatsThis

Base classes

Name Children Inherits
QWhatsThis
PySide6.QtWidgets

⋔ Inheritance diagram

graph TD
  698192828["widgets.WhatsThis"]
  2251549245["QtWidgets.QWhatsThis"]
  37984305["Shiboken.Object"]
  2751680898["builtins.object"]
  2251549245 --> 698192828
  37984305 --> 2251549245
  2751680898 --> 37984305

🛈 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()

:fa-brands-github: Show source on GitHub