QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskTextNode.h
1/******************************************************************************
2 * QSkinny - Copyright (C) The authors
3 * SPDX-License-Identifier: BSD-3-Clause
4 *****************************************************************************/
5
6#ifndef QSK_TEXT_NODE_H
7#define QSK_TEXT_NODE_H
8
9#include "QskNamespace.h"
10
11#include <qrect.h>
12#include <qsgnode.h>
13
14class QskTextOptions;
15class QskTextColors;
16class QString;
17class QFont;
18class QQuickItem;
19
20class QSK_EXPORT QskTextNode : public QSGTransformNode
21{
22 public:
24 ~QskTextNode() override;
25
26 void setTextData( const QQuickItem* item,
27 const QString& text, const QRectF&, const QFont&,
28 const QskTextOptions&, const QskTextColors&,
29 Qt::Alignment, Qsk::TextStyle );
30
31 private:
32 QskHashValue m_hash;
33};
34
35#endif