summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qstatictext_p.h
blob: d0e0c2a29b1f3518c249e3df5873fe8e81003af8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef QSTATICTEXT_P_H
#define QSTATICTEXT_P_H

QT_BEGIN_NAMESPACE

#include <private/qtextengine_p.h>

class QStaticText;
class QStaticTextPrivate
{
public:
    QStaticTextPrivate();
    void init(const QString &text, const QFont &font, qreal width);

    QTextLayout *textLayout;
    
    static QStaticTextPrivate *get(const QStaticText *q);
};

QT_END_NAMESPACE

#endif // QSTATICTEXT_P_H