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:231
qreal borderWidth() const
Returns the border width of the item.
Definition: FrameGraphicsItem.cpp:109
void setBorderStyle(Qt::PenStyle style)
Change the style of the border.
Definition: FrameGraphicsItem.cpp:150
qreal m_marginBottom
Definition: FrameGraphicsItem_p.h:67
void setMarginTop(qreal marginTop)
Set the top margin of the item.
Definition: FrameGraphicsItem.cpp:66
QSizeF size() const
void addRoundedRect(const QRectF &rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode)
QSizeF contentSize() const
Returns the size of the content of the MarbleGraphicsItem.
Definition: FrameGraphicsItem.cpp:180
void save()
void setBackground(const QBrush &background)
Changes the background brush of the item.
Definition: FrameGraphicsItem.cpp:161
void setMarginLeft(qreal marginLeft)
Set the left margin of the item.
Definition: FrameGraphicsItem.cpp:90
Qt::PenStyle borderStyle() const
Returns the style of the border.
Definition: FrameGraphicsItem.cpp:145
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:139
virtual void paintBackground(QPainter *painter)
Paints the background.
Definition: FrameGraphicsItem.cpp:221
QRectF paintedRect() const
Definition: FrameGraphicsItem.cpp:185
QBrush background() const
Returns the background brush of the item.
Definition: FrameGraphicsItem.cpp:156
void setPen(const QColor &color)
QRectF contentRect() const
Returns the rect of the content in item coordinates.
Definition: FrameGraphicsItem.cpp:167
QSizeF m_contentSize
Definition: FrameGraphicsItem_p.h:62
void addRect(const QRectF &rectangle)
void setBrush(const QBrush &brush)
void setMarginRight(qreal marginRight)
Set the right margin of the item.
Definition: FrameGraphicsItem.cpp:102
qreal marginRight() const
Returns the right margin of the item.
Definition: FrameGraphicsItem.cpp:97
void restore()
void drawPath(const QPainterPath &path)
qreal marginBottom() const
Returns the bottom margin of the item.
Definition: FrameGraphicsItem.cpp:73
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:78
Qt::PenStyle m_borderStyle
Definition: FrameGraphicsItem_p.h:76
QPixmap * find(const QString &key)
void translate(const QPointF &offset)
virtual void paintContent(QPainter *painter)
Here the items paint their content.
Definition: FrameGraphicsItem.cpp:254
void setBorderWidth(qreal width)
Set the border width of the item.
Definition: FrameGraphicsItem.cpp:114
FrameGraphicsItem(MarbleGraphicsItem *parent=0)
Definition: FrameGraphicsItem.cpp:27
virtual QPainterPath backgroundShape() const
Returns the shape of the background.
Definition: FrameGraphicsItem.cpp:206
qreal height() const
bool insert(const QString &key, const QPixmap &pixmap)
void setContentSize(const QSizeF &size)
Sets the size of the content of the item.
Definition: FrameGraphicsItem.cpp:200
virtual ~FrameGraphicsItem()
Definition: FrameGraphicsItem.cpp:33
qreal width() const
FrameGraphicsItem::FrameType m_frame
Definition: FrameGraphicsItem_p.h:61
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
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.