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)
117 virtual QSize minimumSizeHint()
const;
122 virtual QSize sizeHint()
const;
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();
168 QRectF dataRect()
const;
176 QRectF secondaryDataRect()
const;
182 QRect pixRect()
const;
206 void removeAllPlotObjects();
212 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();
360 QPointF mapToWidget(
const QPointF& p )
const;
373 void maskRect(
const QRectF &r,
float value=1.0 );
386 void maskAlongLine(
const QPointF &p1,
const QPointF &p2,
float value=1.0 );
400 void placeLabel( QPainter *painter,
KPlotPoint *pp );
412 const KPlotAxis* axis( Axis type )
const;
421 void setShowGrid(
bool show );
428 void setObjectToolTipShown(
bool show );
434 virtual bool event( QEvent* );
439 virtual void paintEvent( QPaintEvent* );
444 virtual void resizeEvent( QResizeEvent* );
452 virtual void drawAxes( QPainter *p );
Encapsulates a point in the plot.
Encapsulates a data set to be plotted in a KPlotWidget.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:15 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.