src/eric7/Snapshot/SnapshotRegionGrabber.py

branch
eric7
changeset 9473
3f23dbf37dbe
parent 9413
80c06d472826
child 9624
b47dfa7a137d
equal deleted inserted replaced
9472:5798ee4a8807 9473:3f23dbf37dbe
5 5
6 """ 6 """
7 Module implementing a grabber widget for a rectangular snapshot region. 7 Module implementing a grabber widget for a rectangular snapshot region.
8 """ 8 """
9 9
10 from PyQt6.QtCore import pyqtSignal, Qt, QRect, QPoint, QTimer, QLocale 10 from PyQt6.QtCore import QLocale, QPoint, QRect, Qt, QTimer, pyqtSignal
11 from PyQt6.QtGui import ( 11 from PyQt6.QtGui import (
12 QPixmap, 12 QBrush,
13 QColor, 13 QColor,
14 QRegion, 14 QCursor,
15 QGuiApplication,
16 QPaintEngine,
15 QPainter, 17 QPainter,
16 QPalette, 18 QPalette,
17 QPaintEngine,
18 QPen, 19 QPen,
19 QBrush, 20 QPixmap,
20 QGuiApplication, 21 QRegion,
21 QCursor,
22 ) 22 )
23 from PyQt6.QtWidgets import QWidget, QToolTip 23 from PyQt6.QtWidgets import QToolTip, QWidget
24 24
25 from eric7 import Globals 25 from eric7 import Globals
26 26
27 27
28 def drawRect(painter, rect, outline, fill=None): 28 def drawRect(painter, rect, outline, fill=None):

eric ide

mercurial