Skip to content

CandlestickSet

Qt Base Class: QCandlestickSet

Signature: QCandlestickSet(self, open: float, high: float, low: float, close: float, timestamp: float = 0.0, parent: Optional[PySide6.QtCore.QObject] = None) -> None QCandlestickSet(self, timestamp: float = 0.0, parent: Optional[PySide6.QtCore.QObject] = None) -> None

Base classes

Name Children Inherits
ObjectMixin
prettyqt.core.object
QCandlestickSet
PySide6.QtCharts
QCandlestickSet(self, open: float, high: float, low: float, close: float, timestamp: float \= 0.0, parent: Optional[PySide6.QtCore.QObject] \= None) -> None

⋔ Inheritance diagram

graph TD
  1473367652720["charts.CandlestickSet"]
  1473299815024["core.ObjectMixin"]
  140713234304496["builtins.object"]
  1473367615632["QtCharts.QCandlestickSet"]
  1473288842240["QtCore.QObject"]
  1473291690208["Shiboken.Object"]
  1473299815024 --> 1473367652720
  140713234304496 --> 1473299815024
  1473367615632 --> 1473367652720
  1473288842240 --> 1473367615632
  1473291690208 --> 1473288842240
  140713234304496 --> 1473291690208

🛈 DocStrings

Bases: ObjectMixin, QCandlestickSet

Source code in prettyqt\charts\candlestickset.py
class CandlestickSet(core.ObjectMixin, QtCharts.QCandlestickSet):
    def __repr__(self):
        return get_repr(
            self, self.open(), self.high(), self.low(), self.close(), self.timestamp()
        )

    def get_pen(self) -> gui.Pen:
        return gui.Pen(self.pen())

    def get_brush(self) -> gui.Brush:
        return gui.Brush(self.brush())

⌗ Property table

Qt Property Type Doc
objectName QString
timestamp double
open double
high double
low double
close double
brush QBrush
pen QPen