5 |
5 |
6 """ |
6 """ |
7 Module implementing a toolbar configuration dialog. |
7 Module implementing a toolbar configuration dialog. |
8 """ |
8 """ |
9 |
9 |
10 from PyQt6.QtCore import pyqtSlot, Qt |
10 from PyQt6.QtCore import Qt, pyqtSlot |
11 from PyQt6.QtGui import QColor |
11 from PyQt6.QtGui import QColor |
12 from PyQt6.QtWidgets import ( |
12 from PyQt6.QtWidgets import ( |
|
13 QAbstractButton, |
13 QDialog, |
14 QDialog, |
14 QDialogButtonBox, |
15 QDialogButtonBox, |
15 QTreeWidgetItem, |
|
16 QInputDialog, |
16 QInputDialog, |
17 QLineEdit, |
17 QLineEdit, |
18 QListWidgetItem, |
18 QListWidgetItem, |
19 QAbstractButton, |
19 QTreeWidgetItem, |
20 ) |
20 ) |
21 |
21 |
|
22 from eric7.EricGui import EricPixmapCache |
22 from eric7.EricWidgets import EricMessageBox |
23 from eric7.EricWidgets import EricMessageBox |
23 |
24 |
24 from .Ui_EricToolBarDialog import Ui_EricToolBarDialog |
25 from .Ui_EricToolBarDialog import Ui_EricToolBarDialog |
25 |
|
26 from eric7.EricGui import EricPixmapCache |
|
27 |
26 |
28 |
27 |
29 class EricToolBarItem: |
28 class EricToolBarItem: |
30 """ |
29 """ |
31 Class storing data belonging to a toolbar entry of the toolbar dialog. |
30 Class storing data belonging to a toolbar entry of the toolbar dialog. |