PyPrintLayout.GKPrintLayoutItemLegend

class GKPrintLayoutItemLegend

Legend window item in a print layout.

Inheritance diagram of PyPrintLayout.GKPrintLayoutItemLegend

Synopsis

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

static getClassType()
Return type:

str

getFont()
Return type:

QFont

getMode()
Return type:

GKViewMode

getStyle()
Return type:

GKViewModeStyle

getZoom()
Return type:

float

setFont(_font)
Parameters:

_fontQFont

setMode(vm)
Parameters:

vmGKViewMode

setStyle(s)
Parameters:

sGKViewModeStyle

setZoom(z)
Parameters:

z – float