KPlotting
11 #include <kplotting_export.h>
73 Q_PROPERTY(
int bottomPadding READ bottomPadding)
74 Q_PROPERTY(
QColor backgroundColor READ backgroundColor WRITE setBackgroundColor)
75 Q_PROPERTY(
QColor foregroundColor READ foregroundColor WRITE setForegroundColor)
77 Q_PROPERTY(
bool grid READ isGridShown WRITE setShowGrid)
78 Q_PROPERTY(
bool objectToolTip READ isObjectToolTipShown WRITE setObjectToolTipShown)
118 void setLimits(
double x1,
double x2,
double y1,
double y2);
141 void setSecondaryLimits(
double x1,
double x2,
double y1,
double y2);
148 void clearSecondaryLimits();
163 QRectF secondaryDataRect()
const;
169 QRect pixRect()
const;
195 void setAutoDeletePlotObjects(
bool autoDelete);
201 void removeAllPlotObjects();
207 void resetPlotMask();
231 QColor backgroundColor()
const;
239 QColor foregroundColor()
const;
252 void setBackgroundColor(
const QColor &bg);
258 void setForegroundColor(
const QColor &fg);
264 void setGridColor(
const QColor &gc);
270 bool isGridShown()
const;
276 bool isObjectToolTipShown()
const;
282 bool antialiasing()
const;
288 void setAntialiasing(
bool b);
297 int leftPadding()
const;
305 int rightPadding()
const;
313 int topPadding()
const;
321 int bottomPadding()
const;
327 void setLeftPadding(
int padding);
333 void setRightPadding(
int padding);
339 void setTopPadding(
int padding);
345 void setBottomPadding(
int padding);
351 void setDefaultPaddings();
373 void maskRect(
const QRectF &r,
float value = 1.0f);
386 void maskAlongLine(
const QPointF &p1,
const QPointF &p2,
float value = 1.0f);
420 void setShowGrid(
bool show);
427 void setObjectToolTipShown(
bool show);
Encapsulates a point in the plot. A KPlotPoint consists of X and Y coordinates (in Data units),...
virtual bool event(QEvent *e) override
Encapsulates a data set to be plotted in a KPlotWidget.
virtual QSize sizeHint() const const override
virtual void paintEvent(QPaintEvent *) override
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Sep 28 2023 03:49:49 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.