KChart
KChartTernaryPointDiagram.cpp
90 x = qMax<qreal>( model()->data( model()->index( row, column+0, rootIndex() ) ).toReal(), // checked
92 y = qMax<qreal>( model()->data( model()->index( row, column+1, rootIndex() ) ).toReal(), // checked
DataValueAttributes dataValueAttributes() const
Retrieve the DataValueAttributes specified globally.
Definition KChartAbstractDiagram.cpp:306
QPen pen() const
Retrieve the pen to be used for painting datapoints globally.
Definition KChartAbstractDiagram.cpp:843
QBrush brush() const
Retrieve the brush to be used for painting datapoints globally.
Definition KChartAbstractDiagram.cpp:884
int datasetDimension() const
The dataset dimension of a diagram determines how many value dimensions it expects each datapoint to ...
Definition KChartAbstractDiagram.cpp:1138
Base class for diagrams based on a ternary coordinate plane.
Definition KChartAbstractTernaryDiagram.h:24
Diagram attributes dealing with data value labels.
Definition KChartDataValueAttributes.h:42
const QPointF translate(const QPointF &diagramPoint) const override
Translate the given point in value space coordinates to a position in pixel space.
Definition KChartTernaryCoordinatePlane.cpp:123
void resize(const QSizeF &area) override
Called by the widget's sizeEvent.
Definition KChartTernaryPointDiagram.cpp:47
void paint(PaintContext *paintContext) override
Draw the diagram contents to the rectangle and painter, that are passed in as part of the paint conte...
Definition KChartTernaryPointDiagram.cpp:52
TernaryPoint defines a point within a ternary coordinate plane.
Definition TernaryPoint.h:20
void init(KXmlGuiWindow *window, KGameDifficulty *difficulty=nullptr)
virtual int columnCount(const QModelIndex &parent) const const=0
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const const=0
virtual int rowCount(const QModelIndex &parent) const const=0
QAbstractItemModel * model() const const
QModelIndex rootIndex() const const
QString tr(const char *sourceText, const char *disambiguation, int n)
void setBrush(Qt::BrushStyle style)
void setPen(Qt::PenStyle style)
qreal x() const const
QString arg(Args &&... args) const const
void resize(const QSize &)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:02:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:02:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.