9#include "KChartFrameAttributes.h"
11#include "KChartMath_p.h"
29FrameAttributes::Private::Private() :
37FrameAttributes::FrameAttributes()
43 : _d( new Private( *r.d ) )
57FrameAttributes::~FrameAttributes()
59 delete _d; _d =
nullptr;
65 return ( isVisible() == r.isVisible() &&
67 cornerRadius() == r.cornerRadius() &&
68 padding() == r.padding() );
74void FrameAttributes::setVisible(
bool visible )
79bool FrameAttributes::isVisible()
const
84void FrameAttributes::setPen(
const QPen & pen )
89QPen FrameAttributes::pen()
const
94void FrameAttributes::setCornerRadius(qreal radius)
96 d->cornerRadius = radius;
99qreal FrameAttributes::cornerRadius()
const
101 return d->cornerRadius;
104void FrameAttributes::setPadding(
int padding )
106 d->padding = padding;
109int FrameAttributes::padding()
const
114#if !defined(QT_NO_DEBUG_STREAM)
117 dbg <<
"KChart::FrameAttributes("
118 <<
"visible="<<fa.isVisible()
120 <<
"cornerRadius="<<fa.cornerRadius()
121 <<
"padding="<<fa.padding()
A set of attributes for frames around items.
QDebug operator<<(QDebug dbg, const PerceptualColor::MultiSpinBoxSection &value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:30 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.