E5Gui/E5ModelToolBar.py

changeset 3656
441956d8fce5
parent 3484
645c12de6b0c
child 3658
edcfadf0152d
equal deleted inserted replaced
3654:ffeb85cdc72d 3656:441956d8fce5
7 Module implementing a tool bar populated from a QAbstractItemModel. 7 Module implementing a tool bar populated from a QAbstractItemModel.
8 """ 8 """
9 9
10 from __future__ import unicode_literals 10 from __future__ import unicode_literals
11 11
12 from PyQt4.QtCore import pyqtSignal, qVersion, Qt, QModelIndex, QPoint, QEvent 12 from PyQt5.QtCore import pyqtSignal, qVersion, Qt, QModelIndex, QPoint, QEvent
13 from PyQt4.QtGui import QApplication, QDrag, QPixmap, QToolBar, QIcon, \ 13 from PyQt5.QtGui import QDrag, QPixmap, QIcon
14 QToolButton 14 from PyQt5.QtWidgets import QApplication, QToolBar, QToolButton
15 15
16 16
17 class E5ModelToolBar(QToolBar): 17 class E5ModelToolBar(QToolBar):
18 """ 18 """
19 Class implementing a tool bar populated from a QAbstractItemModel. 19 Class implementing a tool bar populated from a QAbstractItemModel.

eric ide

mercurial