marble
FrameGraphicsItem.cpp
Go to the documentation of this file.
virtual void paint(QPainter *painter)
This function won't be reimplemented in most cases.
Definition: FrameGraphicsItem.cpp:235
qreal borderWidth() const
Returns the border width of the item.
Definition: FrameGraphicsItem.cpp:113
void setBorderStyle(Qt::PenStyle style)
Change the style of the border.
Definition: FrameGraphicsItem.cpp:154
qreal m_marginBottom
Definition: FrameGraphicsItem_p.h:67
void setMarginTop(qreal marginTop)
Set the top margin of the item.
Definition: FrameGraphicsItem.cpp:70
QSizeF contentSize() const
Returns the size of the content of the MarbleGraphicsItem.
Definition: FrameGraphicsItem.cpp:184
void setBackground(const QBrush &background)
Changes the background brush of the item.
Definition: FrameGraphicsItem.cpp:165
void setMarginLeft(qreal marginLeft)
Set the left margin of the item.
Definition: FrameGraphicsItem.cpp:94
Qt::PenStyle borderStyle() const
Returns the style of the border.
Definition: FrameGraphicsItem.cpp:149
qreal m_marginLeft
Definition: FrameGraphicsItem_p.h:68
QBrush m_borderBrush
Definition: FrameGraphicsItem_p.h:75
qreal m_marginRight
Definition: FrameGraphicsItem_p.h:69
void setBorderBrush(const QBrush &brush)
Change the brush of the border.
Definition: FrameGraphicsItem.cpp:143
virtual void paintBackground(QPainter *painter)
Paints the background.
Definition: FrameGraphicsItem.cpp:225
QRectF paintedRect() const
Definition: FrameGraphicsItem.cpp:189
QBrush background() const
Returns the background brush of the item.
Definition: FrameGraphicsItem.cpp:160
QRectF contentRect() const
Returns the rect of the content in item coordinates.
Definition: FrameGraphicsItem.cpp:171
QSizeF m_contentSize
Definition: FrameGraphicsItem_p.h:62
void setMarginRight(qreal marginRight)
Set the right margin of the item.
Definition: FrameGraphicsItem.cpp:106
qreal marginRight() const
Returns the right margin of the item.
Definition: FrameGraphicsItem.cpp:101
qreal marginBottom() const
Returns the bottom margin of the item.
Definition: FrameGraphicsItem.cpp:77
QBrush m_backgroundBrush
Definition: FrameGraphicsItem_p.h:77
qreal m_borderWidth
Definition: FrameGraphicsItem_p.h:74
void setMarginBottom(qreal marginBottom)
Set the bottom margin of the item.
Definition: FrameGraphicsItem.cpp:82
Qt::PenStyle m_borderStyle
Definition: FrameGraphicsItem_p.h:76
virtual void paintContent(QPainter *painter)
Here the items paint their content.
Definition: FrameGraphicsItem.cpp:258
void setBorderWidth(qreal width)
Set the border width of the item.
Definition: FrameGraphicsItem.cpp:118
FrameGraphicsItem(MarbleGraphicsItem *parent=0)
Definition: FrameGraphicsItem.cpp:31
virtual QPainterPath backgroundShape() const
Returns the shape of the background.
Definition: FrameGraphicsItem.cpp:210
void setContentSize(const QSizeF &size)
Sets the size of the content of the item.
Definition: FrameGraphicsItem.cpp:204
virtual ~FrameGraphicsItem()
Definition: FrameGraphicsItem.cpp:37
const int ROUNDED_RECT_FRAME_MIN_PADDING
Definition: FrameGraphicsItem.cpp:29
FrameGraphicsItem::FrameType m_frame
Definition: FrameGraphicsItem_p.h:61
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.