PySide6.QtGraphs.QGraphsLine

class QGraphsLine

Added in version 6.8.

Synopsis

Properties

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

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property labelTextColorᅟ: QColor
Access functions:
property mainColorᅟ: QColor
Access functions:
property mainWidthᅟ: float
Access functions:
property subColorᅟ: QColor
Access functions:
property subWidthᅟ: float
Access functions:
__init__()
__init__(other)
Parameters:

otherQGraphsLine

labelTextColor()
Return type:

QColor

Getter of property labelTextColorᅟ .

mainColor()
Return type:

QColor

Getter of property mainColorᅟ .

mainWidth()
Return type:

float

Getter of property mainWidthᅟ .

__ne__(rhs)
Parameters:

rhsQGraphsLine

Return type:

bool

__eq__(rhs)
Parameters:

rhsQGraphsLine

Return type:

bool

setLabelTextColor(newColor)
Parameters:

newColorQColor

Setter of property labelTextColorᅟ .

setMainColor(newColor)
Parameters:

newColorQColor

Setter of property mainColorᅟ .

setMainWidth(newWidth)
Parameters:

newWidth – float

Setter of property mainWidthᅟ .

setSubColor(newColor)
Parameters:

newColorQColor

Setter of property subColorᅟ .

setSubWidth(newWidth)
Parameters:

newWidth – float

Setter of property subWidthᅟ .

subColor()
Return type:

QColor

Getter of property subColorᅟ .

subWidth()
Return type:

float

Getter of property subWidthᅟ .