KChart
KChartTernaryLineDiagram.cpp
102 x = qMax<qreal>( model()->data( model()->index( row, column, rootIndex() ) ).toReal(), // checked
104 y = qMax<qreal>( model()->data( model()->index( row, column+1, rootIndex() ) ).toReal(), // checked
Declaring the class KChart::DataValueAttributes.
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
void setMarkerAttributes(const MarkerAttributes &a)
Set the marker attributes to use for the data values.
Definition KChartDataValueAttributes.cpp:183
void setVisible(bool visible)
Set whether data value labels should be displayed.
Definition KChartDataValueAttributes.cpp:143
A set of attributes controlling the appearance of data set markers.
Definition KChartMarkerAttributes.h:30
void setMarkerStyle(uint style)
Set the marker-style to use.
Definition KChartMarkerAttributes.cpp:132
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 KChartTernaryLineDiagram.cpp:60
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 KChartTernaryLineDiagram.cpp:65
TernaryPoint defines a point within a ternary coordinate plane.
Definition TernaryPoint.h:20
Q_SCRIPTABLE Q_NOREPLY void start()
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 drawLine(const QLine &line)
void setBrush(Qt::BrushStyle style)
void setPen(Qt::PenStyle style)
qreal x() const const
QString arg(Args &&... args) const const
QVariant fromValue(T &&value)
void resize(const QSize &)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:18:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:18:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.