marble
#include <LabelGraphicsItem.h>
Protected Member Functions | |
void | paintContent (QPainter *painter) |
Protected Member Functions inherited from Marble::FrameGraphicsItem | |
virtual QPainterPath | backgroundShape () const |
virtual void | paint (QPainter *painter) |
virtual void | paintBackground (QPainter *painter) |
Protected Member Functions inherited from Marble::ScreenGraphicsItem | |
ScreenGraphicsItem (ScreenGraphicsItemPrivate *d_ptr) | |
virtual bool | eventFilter (QObject *, QEvent *) |
Protected Member Functions inherited from Marble::MarbleGraphicsItem | |
MarbleGraphicsItem (MarbleGraphicsItemPrivate *d_ptr) | |
void | update () |
Additional Inherited Members | |
Public Types inherited from Marble::FrameGraphicsItem | |
enum | FrameType { NoFrame, RectFrame, RoundedRectFrame, ShadowFrame } |
Public Types inherited from Marble::ScreenGraphicsItem | |
enum | GraphicsItemFlag { ItemIsMovable = 0x1, ItemIsHideable = 0x2 } |
Public Types inherited from Marble::MarbleGraphicsItem | |
enum | CacheMode { NoCache, ItemCoordinateCache, DeviceCoordinateCache } |
Protected Attributes inherited from Marble::MarbleGraphicsItem | |
MarbleGraphicsItemPrivate *const | d |
Detailed Description
A label item provides an Item that displays text or images/pixmaps.
The text is displayed as plain text. The item also provides frames.
Definition at line 31 of file LabelGraphicsItem.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 55 of file LabelGraphicsItem.cpp.
LabelGraphicsItem::~LabelGraphicsItem | ( | ) |
Definition at line 61 of file LabelGraphicsItem.cpp.
Member Function Documentation
void LabelGraphicsItem::clear | ( | ) |
Definition at line 121 of file LabelGraphicsItem.cpp.
QIcon LabelGraphicsItem::icon | ( | ) | const |
Definition at line 97 of file LabelGraphicsItem.cpp.
QImage LabelGraphicsItem::image | ( | ) | const |
Definition at line 80 of file LabelGraphicsItem.cpp.
QSizeF LabelGraphicsItem::minimumSize | ( | ) | const |
Definition at line 109 of file LabelGraphicsItem.cpp.
|
protectedvirtual |
Here the items paint their content.
Reimplemented from Marble::FrameGraphicsItem.
Definition at line 129 of file LabelGraphicsItem.cpp.
|
virtual |
Sets the size of the content of the item.
size
is the size required for contents.
Reimplemented from Marble::FrameGraphicsItem.
Definition at line 34 of file LabelGraphicsItem.cpp.
Definition at line 102 of file LabelGraphicsItem.cpp.
Definition at line 85 of file LabelGraphicsItem.cpp.
void LabelGraphicsItem::setMinimumSize | ( | const QSizeF & | size | ) |
Definition at line 114 of file LabelGraphicsItem.cpp.
void LabelGraphicsItem::setText | ( | const QString & | text | ) |
Definition at line 71 of file LabelGraphicsItem.cpp.
QString LabelGraphicsItem::text | ( | ) | const |
Definition at line 66 of file LabelGraphicsItem.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.