7 Module implementing a dialog to enter data for an image markup. |
7 Module implementing a dialog to enter data for an image markup. |
8 """ |
8 """ |
9 |
9 |
10 import contextlib |
10 import contextlib |
11 |
11 |
12 from PyQt6.QtCore import pyqtSlot, QSize |
12 from PyQt6.QtCore import QSize, pyqtSlot |
13 from PyQt6.QtGui import QImage, QImageReader |
13 from PyQt6.QtGui import QImage, QImageReader |
14 from PyQt6.QtWidgets import QDialog, QDialogButtonBox |
14 from PyQt6.QtWidgets import QDialog, QDialogButtonBox |
15 |
15 |
16 from eric7.EricWidgets.EricPathPicker import EricPathPickerModes |
16 from eric7.EricWidgets.EricPathPicker import EricPathPickerModes |
17 |
17 |