Qudi
Public Member Functions | List of all members
logwidget.AutoToolTipDelegate Class Reference

A subclass of QStyledItemDelegate to display a tooltip if the text doesn't fit into the cell. More...

Inheritance diagram for logwidget.AutoToolTipDelegate:
Inheritance graph
[legend]
Collaboration diagram for logwidget.AutoToolTipDelegate:
Collaboration graph
[legend]

Public Member Functions

def helpEvent (self, e, view, option, index)
 The method responsible for displaying the tooltip. More...
 

Detailed Description

A subclass of QStyledItemDelegate to display a tooltip if the text doesn't fit into the cell.

Member Function Documentation

◆ helpEvent()

def logwidget.AutoToolTipDelegate.helpEvent (   self,
  e,
  view,
  option,
  index 
)

The method responsible for displaying the tooltip.

It ignores custom tooltips.

Parameters
QHelpEvente: the help event
QAbstractItemViewview: the view
QStyleOptionViewItemoption: the options
QModelIndexindex: the model index

The documentation for this class was generated from the following file: