PyPrintLayout.GKPrintLayoutItemMap2D

class GKPrintLayoutItemMap2D

2D Map view item in a print layout.

Inheritance diagram of PyPrintLayout.GKPrintLayoutItemMap2D

Synopsis

Methods

Virtual methods

Static functions

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

__init__()
__init__(mX, mY, mWidth, mHeight)
Parameters:
  • mX – float

  • mY – float

  • mWidth – float

  • mHeight – float

getCenter()
Return type:

GKPoint

static getClassType()
Return type:

str

getContext()
Return type:

GKContext

getExperiment()
Return type:

GKGenericExperiment

getGreyMode()
Return type:

bool

getMode()
Return type:

GKViewMode

getModeContents()
Return type:

GKContents

getOriginator()
Return type:

GKObject

getUseActiveViewSetup()
Return type:

bool

getZoom()
Return type:

float

isMapModeEnabled()
Return type:

bool

setCenter(c)
Parameters:

cGKPoint

setContext(c)
Parameters:

cGKContext

setGreyMode(greyMode)
Parameters:

greyMode – bool

setMapMode(mapModeOn)
Parameters:

mapModeOn – bool

setMode(vm)
Parameters:

vmGKViewMode

setModeContents(_contents)
Parameters:

_contentsGKContents

setOriginator(obj)
Parameters:

objGKObject

setUseActiveViewSetup(useView)
Parameters:

useView – bool

setZoom(z)
Parameters:

z – float

zoomIn()
zoomOut()