aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cerence/xt9/xt9common/xt9kdblayout.h
blob: 1dc180536f67667cd816b6bb9b51e0448e30ee94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#ifndef XT9KDBLAYOUT_H
#define XT9KDBLAYOUT_H

#include "xt9kdbarea.h"

QT_BEGIN_NAMESPACE
namespace QtVirtualKeyboard {

class Xt9KdbLayout : public Xt9KdbElement
{
public:
    Xt9KdbLayout();

    void serialize(QXmlStreamWriter &writer) const;

    int primaryId;
    int secondaryId;
    int defaultLayoutWidth;
    int defaultLayoutHeight;
    bool supportsExact;
    bool smartTouchActive;
    QList<Xt9KdbArea> areas;
};

} // namespace QtVirtualKeyboard
QT_END_NAMESPACE

#endif // XT9KDBLAYOUT_H