11#include <kplotting_export.h>
75 Q_PROPERTY(
int bottomPadding READ bottomPadding)
76 Q_PROPERTY(
QColor backgroundColor READ backgroundColor WRITE setBackgroundColor)
77 Q_PROPERTY(
QColor foregroundColor READ foregroundColor WRITE setForegroundColor)
79 Q_PROPERTY(
bool grid READ isGridShown WRITE setShowGrid)
80 Q_PROPERTY(
bool objectToolTip READ isObjectToolTipShown WRITE setObjectToolTipShown)
120 void setLimits(
double x1,
double x2,
double y1,
double y2);
143 void setSecondaryLimits(
double x1,
double x2,
double y1,
double y2);
150 void clearSecondaryLimits();
165 QRectF secondaryDataRect()
const;
171 QRect pixRect()
const;
197 void setAutoDeletePlotObjects(
bool autoDelete);
203 void removeAllPlotObjects();
209 void resetPlotMask();
233 QColor backgroundColor()
const;
241 QColor foregroundColor()
const;
254 void setBackgroundColor(
const QColor &bg);
260 void setForegroundColor(
const QColor &fg);
266 void setGridColor(
const QColor &gc);
272 bool isGridShown()
const;
278 bool isObjectToolTipShown()
const;
284 bool antialiasing()
const;
290 void setAntialiasing(
bool b);
299 int leftPadding()
const;
307 int rightPadding()
const;
315 int topPadding()
const;
323 int bottomPadding()
const;
329 void setLeftPadding(
int padding);
335 void setRightPadding(
int padding);
341 void setTopPadding(
int padding);
347 void setBottomPadding(
int padding);
353 void setDefaultPaddings();
375 void maskRect(
const QRectF &r,
float value = 1.0f);
388 void maskAlongLine(
const QPointF &p1,
const QPointF &p2,
float value = 1.0f);
422 void setShowGrid(
bool show);
429 void setObjectToolTipShown(
bool show);
470 std::unique_ptr<Private>
const d;
Encapsulates a data set to be plotted in a KPlotWidget.
Encapsulates a point in the plot.
virtual bool event(QEvent *e) override
virtual void paintEvent(QPaintEvent *) override
virtual QSize sizeHint() const const override
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:23 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.