KDEUI
Go to the documentation of this file.
26 #include <QtGui/QFrame>
27 #include <QtCore/QList>
82 Q_PROPERTY(
int leftPadding READ leftPadding)
83 Q_PROPERTY(
int rightPadding READ rightPadding)
84 Q_PROPERTY(
int topPadding READ topPadding)
85 Q_PROPERTY(
int bottomPadding READ bottomPadding)
86 Q_PROPERTY(
QColor backgroundColor READ backgroundColor WRITE setBackgroundColor)
87 Q_PROPERTY(
QColor foregroundColor READ foregroundColor WRITE setForegroundColor)
88 Q_PROPERTY(
QColor gridColor READ gridColor WRITE setGridColor)
89 Q_PROPERTY(
bool grid READ isGridShown WRITE setShowGrid)
90 Q_PROPERTY(
bool objectToolTip READ isObjectToolTipShown WRITE setObjectToolTipShown)
131 void setLimits(
double x1,
double x2,
double y1,
double y2 );
154 void setSecondaryLimits(
double x1,
double x2,
double y1,
double y2 );
161 void clearSecondaryLimits();
176 QRectF secondaryDataRect()
const;
182 QRect pixRect()
const;
206 void removeAllPlotObjects();
212 void resetPlotMask();
231 QColor backgroundColor()
const;
239 QColor foregroundColor()
const;
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.0 );
386 void maskAlongLine(
const QPointF &p1,
const QPointF &p2,
float value=1.0 );
412 const KPlotAxis* axis( Axis type )
const;
421 void setShowGrid(
bool show );
428 void setObjectToolTipShown(
bool show );
452 virtual void drawAxes(
QPainter *p );
Encapsulates a point in the plot.
virtual QSize sizeHint() const
virtual void paintEvent(QPaintEvent *)
Encapsulates a data set to be plotted in a KPlotWidget.
virtual bool event(QEvent *e)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:00 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.