PyPrintLayout.GKPrintLayoutItemText¶
- class GKPrintLayoutItemText¶
Text box with options for tagged text item in a print layout.
Synopsis¶
Methods¶
def
__init__()def
getAlignment()def
getColor()def
getFont()def
getFontSize()def
getText()def
hasWordWrap()def
setAlignment()def
setColor()def
setFont()def
setFontSize()def
setText()def
setWordWrap()
Static functions¶
def
getClassType()
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__(x, y, width, height)
- Parameters:
x – float
y – float
width – float
height – float
- getAlignment()¶
- Return type:
Combination of
AlignmentFlag
- setAlignment(a)¶
- Parameters:
a – Combination of
AlignmentFlag
- setFontSize(z)¶
- Parameters:
z – int
- setText(t)¶
- Parameters:
t – str
- setWordWrap(ww)¶
- Parameters:
ww – bool