Class: QgsCoordinateBoundsPreviewMapWidget¶
-
class
qgis.gui.
QgsCoordinateBoundsPreviewMapWidget
(parent: QWidget = None)¶ Bases:
qgis._gui.QgsMapCanvas
Constructor for QgsCoordinateBoundsPreviewMapWidget.
A widget for showing the bounds of a rectangular region on an interactive map.
New in version 3.8.1: Enums
Methods
Returns the current canvas bounds rectangle shown in the map.
Sets the canvas bounds rectangle for the bounds overview map.
Sets the “preview” rectangle for the bounds overview map.
Signals
Attributes
-
actionEvent
()¶
-
canvasRect
(self) → QgsRectangle¶ Returns the current canvas bounds rectangle shown in the map.
See also
-
changeEvent
()¶
-
childEvent
()¶
-
closeEvent
()¶
-
connectNotify
()¶
-
contextMenuEvent
()¶
-
create
()¶
-
customEvent
()¶
-
destroy
()¶
-
disconnectNotify
()¶
-
dragEnterEvent
()¶
-
dragLeaveEvent
()¶
-
dragMoveEvent
()¶
-
drawBackground
()¶
-
drawForeground
()¶
-
drawFrame
()¶
-
dropEvent
()¶
-
enterEvent
()¶
-
event
()¶
-
eventFilter
()¶
-
focusInEvent
()¶
-
focusNextChild
()¶
-
focusNextPrevChild
()¶
-
focusOutEvent
()¶
-
focusPreviousChild
()¶
-
hideEvent
()¶
-
initPainter
()¶
-
initStyleOption
()¶
-
inputMethodEvent
()¶
-
isSignalConnected
()¶
-
keyPressEvent
()¶
-
keyReleaseEvent
()¶
-
leaveEvent
()¶
-
metric
()¶
-
mouseDoubleClickEvent
()¶
-
mouseMoveEvent
()¶
-
mousePressEvent
()¶
-
mouseReleaseEvent
()¶
-
moveCanvasContents
()¶
-
moveEvent
()¶
-
nativeEvent
()¶
-
paintEvent
()¶
-
receivers
()¶
-
resizeEvent
()¶
-
scrollContentsBy
()¶
-
sender
()¶
-
senderSignalIndex
()¶
-
setCanvasRect
(self, rect: QgsRectangle)¶ Sets the canvas bounds rectangle for the bounds overview map.
Must be in EPSG:4326 coordinate reference system.
See also
-
setPreviewRect
(self, rect: QgsRectangle)¶ Sets the “preview” rectangle for the bounds overview map. Must be in EPSG:4326 coordinate reference system.
-
setViewportMargins
()¶
-
setupViewport
()¶
-
showEvent
()¶
-
tabletEvent
()¶
-
timerEvent
()¶
-
updateCanvasItemPositions
()¶
-
updateMicroFocus
()¶
-
viewportEvent
()¶
-
viewportMargins
()¶
-
viewportSizeHint
()¶
-
wheelEvent
()¶
-