PyPrintLayout.GKPrintLayoutItem¶
- class GKPrintLayoutItem¶
Inherited by:
GKPrintLayoutItemText,GKPrintLayoutItemTS,GKPrintLayoutItemScale,GKPrintLayoutItemNodeView,GKPrintLayoutItemMap2D,GKPrintLayoutItemLines,GKPrintLayoutItemLegend,GKPrintLayoutItemImageSynopsis¶
Methods¶
def
__init__()def
drawFrame()def
getBBox()def
getBBoxInPage()def
getBckColor()def
getHeight()def
getLayout()def
getPosInPage()def
getSizeInPage()def
getTick()def
getWidth()def
getX()def
getY()def
isLocked()def
isSelected()def
setBckColor()def
setDrawFrame()def
setHeight()def
setLayout()def
setLocked()def
setSelected()def
setUseBckColor()def
setWidth()def
setX()def
setY()def
useBckColor()
Virtual methods¶
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
Detailed Description¶
Abstract Class implemented by the differents items to be drawn. The positons and the size of the elements are relative to the PageSize from his owner:
GKPrintLayoutUnknownCommand
GKPrintLayout- __init__(x, y, width, height)¶
- Parameters:
x – float
y – float
width – float
height – float
- clone()¶
- Return type:
Returns true if set to draw a black frame at the border of the element. False otherwise
See also
- getLayout()¶
- Return type:
The relative (to the layout) position of this item.
- setDisableSimpleDrawing(disableSimpleDraw)¶
- Parameters:
disableSimpleDraw – bool
- setDrawFrame(value)¶
- Parameters:
value – bool
Use true to draw a black frame at the border of the element. False otherwise
See also
- setLayout(_layout)¶
- Parameters:
_layout –
GKPrintLayout
- setLocked(locked)¶
- Parameters:
locked – bool
- setSelected(s)¶
- Parameters:
s – bool
- setUseBckColor(value)¶
- Parameters:
value – bool