5 |
5 |
6 """ |
6 """ |
7 Module implementing a dialog to save a screenshot of a web page. |
7 Module implementing a dialog to save a screenshot of a web page. |
8 """ |
8 """ |
9 |
9 |
10 from PyQt5.QtCore import pyqtSlot, Qt, QFile, QFileInfo, QSize |
10 from PyQt6.QtCore import pyqtSlot, Qt, QFile, QFileInfo, QSize |
11 from PyQt5.QtGui import QImage, QPainter, QPixmap |
11 from PyQt6.QtGui import QImage, QPainter, QPixmap |
12 from PyQt5.QtWidgets import QDialog, QDialogButtonBox, QAbstractButton |
12 from PyQt6.QtWidgets import QDialog, QDialogButtonBox, QAbstractButton |
13 |
13 |
14 from E5Gui import E5FileDialog, E5MessageBox |
14 from E5Gui import E5FileDialog, E5MessageBox |
15 |
15 |
16 from .Ui_PageScreenDialog import Ui_PageScreenDialog |
16 from .Ui_PageScreenDialog import Ui_PageScreenDialog |
17 |
17 |