5 |
5 |
6 """ |
6 """ |
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 PyQt4.QtCore import * |
10 from PyQt4.QtCore import pyqtSignal, Qt, QModelIndex, QPoint, QEvent |
11 from PyQt4.QtGui import * |
11 from PyQt4.QtGui import QApplication, QDrag, QPixmap, QToolBar, QIcon, QToolButton |
12 |
12 |
13 from .E5ModelMenu import E5ModelMenu |
13 from .E5ModelMenu import E5ModelMenu |
14 |
14 |
15 |
15 |
16 class E5ModelToolBar(QToolBar): |
16 class E5ModelToolBar(QToolBar): |