Add missing read function
svn path=/trunk/KDE/kdelibs/; revision=981749
This commit is contained in:
parent
70b367d7df
commit
5dd9e528fa
@ -538,6 +538,11 @@ void SignalPlotter::setThinFrame(bool set)
|
||||
d->backgroundPixmap = QPixmap(); // we changed a paint setting, so reset the cache
|
||||
}
|
||||
|
||||
bool SignalPlotter::thinFrame() const
|
||||
{
|
||||
return d->showThinFrame;
|
||||
}
|
||||
|
||||
void SignalPlotter::setStackPlots(bool stack)
|
||||
{
|
||||
d->stackPlots = stack;
|
||||
|
@ -63,7 +63,7 @@ class PLASMA_EXPORT SignalPlotter : public QGraphicsWidget
|
||||
Q_PROPERTY(bool showTopBar READ showTopBar WRITE setShowTopBar)
|
||||
Q_PROPERTY(QColor backgroundColor READ backgroundColor WRITE setBackgroundColor)
|
||||
Q_PROPERTY(QString svgBackground READ svgBackground WRITE setSvgBackground)
|
||||
Q_PROPERTY(bool thinFrame WRITE setThinFrame)
|
||||
Q_PROPERTY(bool thinFrame READ thinFrame WRITE setThinFrame)
|
||||
Q_PROPERTY(bool stackPlots READ stackPlots WRITE setStackPlots)
|
||||
|
||||
public:
|
||||
@ -392,6 +392,12 @@ public:
|
||||
*/
|
||||
void setThinFrame(bool set);
|
||||
|
||||
/**
|
||||
* show a white line on the left and botton of the widget for a 3D effect
|
||||
* @return true if frame show be draw
|
||||
*/
|
||||
bool thinFrame() const;
|
||||
|
||||
/**
|
||||
* Whether to stack the plots on top of each other. The first plot
|
||||
* added will be at the bottom. The next plot will be drawn on top,
|
||||
|
Loading…
Reference in New Issue
Block a user