5 |
5 |
6 """ |
6 """ |
7 Module implementing a delegate for the special list widget for GreaseMonkey |
7 Module implementing a delegate for the special list widget for GreaseMonkey |
8 scripts. |
8 scripts. |
9 """ |
9 """ |
10 |
|
11 |
10 |
12 from PyQt5.QtCore import Qt, QSize, QRect |
11 from PyQt5.QtCore import Qt, QSize, QRect |
13 from PyQt5.QtGui import QFontMetrics, QPalette, QFont |
12 from PyQt5.QtGui import QFontMetrics, QPalette, QFont |
14 from PyQt5.QtWidgets import QStyle, QStyledItemDelegate, QApplication |
13 from PyQt5.QtWidgets import QStyle, QStyledItemDelegate, QApplication |
15 from PyQt5.QtWidgets import QStyleOptionViewItem |
14 from PyQt5.QtWidgets import QStyleOptionViewItem |