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 PyQt6.QtCore import pyqtSignal, Qt, QModelIndex, QPoint, QEvent |
10 from PyQt6.QtCore import QEvent, QModelIndex, QPoint, Qt, pyqtSignal |
11 from PyQt6.QtGui import QDrag, QIcon |
11 from PyQt6.QtGui import QDrag, QIcon |
12 from PyQt6.QtWidgets import QApplication, QToolBar, QToolButton |
12 from PyQt6.QtWidgets import QApplication, QToolBar, QToolButton |
13 |
13 |
14 |
14 |
15 class EricModelToolBar(QToolBar): |
15 class EricModelToolBar(QToolBar): |