E5Gui/E5ModelMenu.py

changeset 1112
8a7d1b9d18db
parent 945
8cd4d08fa9f6
child 1131
7781e396c903
equal deleted inserted replaced
1109:9552b5e16a07 1112:8a7d1b9d18db
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 PyQt4.QtCore import * 10 from PyQt4.QtCore import pyqtSignal, Qt, QModelIndex, QPoint
11 from PyQt4.QtGui import * 11 from PyQt4.QtGui import QMenu, QFontMetrics, QAction, QApplication, QDrag, QPixmap
12 12
13 import UI.PixmapCache 13 import UI.PixmapCache
14 14
15 15
16 class E5ModelMenu(QMenu): 16 class E5ModelMenu(QMenu):

eric ide

mercurial