4 # |
4 # |
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 |
|
10 |
9 |
11 from PyQt5.QtCore import pyqtSignal, Qt, QModelIndex, QPoint, QEvent |
10 from PyQt5.QtCore import pyqtSignal, Qt, QModelIndex, QPoint, QEvent |
12 from PyQt5.QtGui import QDrag, QIcon |
11 from PyQt5.QtGui import QDrag, QIcon |
13 from PyQt5.QtWidgets import QApplication, QToolBar, QToolButton |
12 from PyQt5.QtWidgets import QApplication, QToolBar, QToolButton |
14 |
13 |