QortalOS Brooklyn for Raspberry Pi 4
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
802 B

/*
SPDX-FileCopyrightText: 2019 Harald Sitter <[email protected]>
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#ifndef GEOMETRY_H
#define GEOMETRY_H
#include "xkbobject.h"
class Geometry : public XkbObject
{
Q_OBJECT
Q_PROPERTY(QList<QObject *> doodads MEMBER doodads CONSTANT)
Q_PROPERTY(QList<QObject *> sections MEMBER sections CONSTANT)
Q_PROPERTY(qreal widthMM MEMBER widthMM CONSTANT)
Q_PROPERTY(qreal heightMM MEMBER heightMM CONSTANT)
public:
Geometry(XkbGeometryPtr geom_, XkbDescPtr xkb_, QObject *parent = nullptr);
~Geometry() override;
XkbGeometryPtr geom = nullptr;
QList<QObject *> doodads;
QList<QObject *> sections;
qreal widthMM = -1;
qreal heightMM = -1;
};
#endif // GEOMETRY_H