Class: QgsToolTipComboBox

QComboBox subclass which features a tooltip when mouse hovering the combobox.

The tooltip string is taken from the current item’s Qt.ToolTipRole data.

Added in version 3.32.

Class Hierarchy

Inheritance diagram of qgis.gui.QgsToolTipComboBox

Base classes

QComboBox

QWidget

QObject

QPaintDevice

class qgis.gui.QgsToolTipComboBox[source]

Bases: QComboBox

__init__(parent: QWidget | None = None)

Constructor for QgsToolTipComboBox.

Parameters:

parent (Optional[QWidget] = None)