QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskTextInputSkinlet.h
1/******************************************************************************
2 * QSkinny - Copyright (C) The authors
3 * SPDX-License-Identifier: BSD-3-Clause
4 *****************************************************************************/
5
6#ifndef QSK_TEXT_INPUT_SKINLET_H
7#define QSK_TEXT_INPUT_SKINLET_H
8
9#include "QskSkinlet.h"
10
11class QSK_EXPORT QskTextInputSkinlet : public QskSkinlet
12{
13 Q_GADGET
14
15 using Inherited = QskSkinlet;
16
17 public:
18 enum NodeRole
19 {
20 PanelRole,
21 RoleCount
22 };
23
24 Q_INVOKABLE QskTextInputSkinlet( QskSkin* = nullptr );
25 ~QskTextInputSkinlet() override;
26
27 QRectF subControlRect( const QskSkinnable*,
28 const QRectF& rect, QskAspect::Subcontrol ) const override;
29
30 protected:
31 QSGNode* updateSubNode( const QskSkinnable*,
32 quint8 nodeRole, QSGNode* ) const override;
33};
34
35#endif
Subcontrol
For use within the rendering or lay-outing of a specific QskSkinnable.
Definition QskAspect.h:104
Describes the rendering interface of a QskControl. Change the skinlet to change the appearance of the...
Definition QskSkinlet.h:34