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 33 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-2020 The KDE developers.
Generated on Sat Nov 21 2020 23:20:16 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.