//
// This file is part of the Marble Desktop Globe.
//
// This program is free software licensed under the GNU LGPL. You can
// find a copy of this license in LICENSE.txt in the top directory of
// the source code.
//
// Copyright 2009      Bastian Holst <bastianholst@gmx.de>
//

#ifndef MARBLE_LABELGRAPHICSITEMPRIVATE_H
#define MARBLE_LABELGRAPHICSITEMPRIVATE_H

#include <QtCore/QString>
#include <QtCore/QSizeF>
#include <QtGui/QImage>
#include <QtGui/QIcon>

class QFont;

namespace Marble
{

class LabelGraphicsItem;

class LabelGraphicsItemPrivate
{
 public:
    LabelGraphicsItemPrivate( LabelGraphicsItem *parent );

    void updateSize();

    // TODO: This has to go up to MarbleGraphicsItem
    QFont font() const;

    QString m_text;
    QImage m_image;
    QIcon m_icon;

    QSizeF m_minimumSize;
    QSizeF m_calculatedSize;

    LabelGraphicsItem *m_parent;
};

} // namespace Marble

#endif
