36 lines
852 B
C++
36 lines
852 B
C++
/******************************************************************************
|
|
* QSkinny - Copyright (C) 2016 Uwe Rathmann
|
|
* This file may be used under the terms of the QSkinny License, Version 1.0
|
|
*****************************************************************************/
|
|
|
|
#ifndef QSK_TEXT_NODE_H
|
|
#define QSK_TEXT_NODE_H
|
|
|
|
#include "QskNamespace.h"
|
|
|
|
#include <qrect.h>
|
|
#include <qsgnode.h>
|
|
|
|
class QskTextOptions;
|
|
class QskTextColors;
|
|
class QString;
|
|
class QFont;
|
|
class QQuickItem;
|
|
|
|
class QSK_EXPORT QskTextNode : public QSGTransformNode
|
|
{
|
|
public:
|
|
QskTextNode();
|
|
~QskTextNode() override;
|
|
|
|
void setTextData( const QQuickItem* item,
|
|
const QString& text, const QRectF&, const QFont&,
|
|
const QskTextOptions&, const QskTextColors&,
|
|
Qt::Alignment, Qsk::TextStyle );
|
|
|
|
private:
|
|
QskHashValue m_hash;
|
|
};
|
|
|
|
#endif
|