File indexing completed on 2024-06-23 05:29:28
0001 /* 0002 SPDX-FileCopyrightText: 2019 Harald Sitter <sitter@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 */ 0006 0007 #pragma once 0008 0009 #include <QRect> 0010 0011 #include "xkbobject.h" 0012 0013 class Shape : public XkbObject 0014 { 0015 Q_OBJECT 0016 0017 Q_PROPERTY(QList<QObject *> outlines MEMBER outlines CONSTANT) 0018 Q_PROPERTY(QRect bounds MEMBER bounds CONSTANT) 0019 public: 0020 Shape(XkbShapePtr shape_, XkbDescPtr xkb_, QObject *parent = nullptr); 0021 0022 XkbShapePtr shape = nullptr; 0023 QList<QObject *> outlines; 0024 QRect bounds; 0025 };