File indexing completed on 2024-05-05 03:49:47

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2009 Bastian Holst <bastianholst@gmx.de>
0004 //
0005 
0006 #ifndef MARBLE_LABELGRAPHICSITEMPRIVATE_H
0007 #define MARBLE_LABELGRAPHICSITEMPRIVATE_H
0008 
0009 #include "FrameGraphicsItem_p.h"
0010 
0011 #include <QString>
0012 #include <QSizeF>
0013 #include <QImage>
0014 #include <QIcon>
0015 
0016 class QFont;
0017 
0018 namespace Marble
0019 {
0020 
0021 class LabelGraphicsItem;
0022 
0023 class LabelGraphicsItemPrivate : public FrameGraphicsItemPrivate
0024 {
0025  public:
0026     LabelGraphicsItemPrivate(LabelGraphicsItem *labelGraphicsItem,
0027                              MarbleGraphicsItem *parent);
0028 
0029     // TODO: This has to go up to MarbleGraphicsItem
0030     static QFont font();
0031 
0032     QString m_text;
0033     QImage m_image;
0034     QIcon m_icon;
0035 
0036     QSizeF m_minimumSize;
0037 };
0038 
0039 } // namespace Marble
0040 
0041 #endif