Marble::LabelGraphicsItem
Marble::LabelGraphicsItem Class Reference
#include <LabelGraphicsItem.h>
Inherits Marble::FrameGraphicsItem.
Public Member Functions | |
LabelGraphicsItem (MarbleGraphicsItem *parent=nullptr) | |
void | clear () |
QIcon | icon () const |
QImage | image () const |
QSizeF | minimumSize () const |
void | setContentSize (const QSizeF &contentSize) override |
void | setIcon (const QIcon &icon, const QSize &size) |
void | setImage (const QImage &image, const QSize &size=QSize()) |
void | setMinimumSize (const QSizeF &size) |
void | setText (const QString &text) |
QString | text () const |
Protected Member Functions | |
void | paintContent (QPainter *painter) override |
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 28 of file LabelGraphicsItem.h.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Sep 26 2023 03:51:18 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Sep 26 2023 03:51:18 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.