RadialGradient
Qt Base Class: QRadialGradient
Signature: QRadialGradient(self) -> None
QRadialGradient(self, QRadialGradient: PySide6.QtGui.QRadialGradient) -> None
QRadialGradient(self, center: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element], centerRadius: float, focalPoint: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element], focalRadius: float) -> None
QRadialGradient(self, center: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element], radius: float) -> None
QRadialGradient(self, center: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element], radius: float, focalPoint: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, PySide6.QtGui.QPainterPath.Element]) -> None
QRadialGradient(self, cx: float, cy: float, centerRadius: float, fx: float, fy: float, focalRadius: float) -> None
QRadialGradient(self, cx: float, cy: float, radius: float) -> None
QRadialGradient(self, cx: float, cy: float, radius: float, fx: float, fy: float) -> None
Base classes
Name | Children | Inherits |
---|---|---|
GradientMixin prettyqt.gui.gradient |
||
QRadialGradient PySide6.QtGui QRadialGradient(self) -> None |
⋔ Inheritance diagram
graph TD
1473245601184["gui.RadialGradient"]
1473245598256["gui.GradientMixin"]
140713234304496["builtins.object"]
1473300147760["QtGui.QRadialGradient"]
1473300122384["QtGui.QGradient"]
1473291690208["Shiboken.Object"]
1473245598256 --> 1473245601184
140713234304496 --> 1473245598256
1473300147760 --> 1473245601184
1473300122384 --> 1473300147760
1473291690208 --> 1473300122384
140713234304496 --> 1473291690208
🛈 DocStrings
Bases: GradientMixin
, QRadialGradient
Used in combination with QBrush to specify a radial gradient brush.
Source code in prettyqt\gui\radialgradient.py
get_css() -> str
Convert gradient to a CSS string. Can be used for stylesheets.