Move project files to repo root

This commit is contained in:
Dark Steveneq
2025-10-11 19:22:51 +02:00
parent 557938bb0d
commit c82b457ccc
45 changed files with 89 additions and 3149 deletions

27
QYRComponents/qyrcomponents.cpp Executable file
View File

@@ -0,0 +1,27 @@
#include "qyrcomponents.h"
#include <QPainter>
QYRComponents::QYRComponents(QQuickItem *parent)
: QQuickPaintedItem(parent)
{
// By default, QQuickItem does not draw anything. If you subclass
// QQuickItem to create a visual item, you will need to uncomment the
// following line and re-implement updatePaintNode()
// setFlag(ItemHasContents, true);
}
void QYRComponents::paint(QPainter *painter)
{
QPen pen(QColorConstants::Red, 2);
QBrush brush(QColorConstants::Red);
painter->setPen(pen);
painter->setBrush(brush);
painter->drawRect(0, 0, 100, 100);
}
QYRComponents::~QYRComponents()
{
}