// // 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 // #ifndef LABELGRAPHICSITEMPRIVATE_H #define LABELGRAPHICSITEMPRIVATE_H #include #include #include #include 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 // LABELGRAPHICSITEMPRIVATE_H