src/eric7/EricWidgets/EricModelMenu.py

branch
eric7
changeset 9473
3f23dbf37dbe
parent 9413
80c06d472826
child 9482
a2bc06a54d9d
equal deleted inserted replaced
9472:5798ee4a8807 9473:3f23dbf37dbe
5 5
6 """ 6 """
7 Module implementing a menu populated from a QAbstractItemModel. 7 Module implementing a menu populated from a QAbstractItemModel.
8 """ 8 """
9 9
10 from PyQt6.QtCore import pyqtSignal, Qt, QModelIndex, QPoint 10 from PyQt6.QtCore import QModelIndex, QPoint, Qt, pyqtSignal
11 from PyQt6.QtGui import QFontMetrics, QDrag, QAction 11 from PyQt6.QtGui import QAction, QDrag, QFontMetrics
12 from PyQt6.QtWidgets import QMenu, QApplication 12 from PyQt6.QtWidgets import QApplication, QMenu
13 13
14 from eric7.EricGui import EricPixmapCache 14 from eric7.EricGui import EricPixmapCache
15 15
16 16
17 class EricModelMenu(QMenu): 17 class EricModelMenu(QMenu):

eric ide

mercurial