marble
Go to the documentation of this file.
11 #ifndef MARBLE_FRAMEGRAPHICSITEM_H
12 #define MARBLE_FRAMEGRAPHICSITEM_H
17 #include <QPainterPath>
23 class FrameGraphicsItemPrivate;
42 FrameType frame()
const;
47 void setFrame( FrameType type );
58 void setMargin( qreal margin );
63 qreal marginTop()
const;
68 void setMarginTop( qreal marginTop );
73 qreal marginBottom()
const;
78 void setMarginBottom( qreal marginBottom );
83 qreal marginLeft()
const;
88 void setMarginLeft( qreal marginLeft );
93 qreal marginRight()
const;
98 void setMarginRight( qreal marginRight );
103 qreal borderWidth()
const;
108 void setBorderWidth( qreal width );
114 qreal padding()
const;
119 void setPadding( qreal width );
124 QBrush borderBrush()
const;
129 void setBorderBrush(
const QBrush &brush );
134 Qt::PenStyle borderStyle ()
const;
139 void setBorderStyle( Qt::PenStyle style );
144 QBrush background()
const;
149 void setBackground(
const QBrush &background );
151 QRectF paintedRect()
const;
153 QRectF contentRect()
const;
154 QSizeF contentSize()
const;
160 void setContentSize(
const QSizeF& size );
171 virtual void paint(
QPainter *painter );
176 virtual void paintContent(
QPainter *painter );
181 virtual void paintBackground(
QPainter *painter );
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.