From c3683bb20304a7bb8bc77871bc5f02d3fc016148 Mon Sep 17 00:00:00 2001 From: Lars Mewes Date: Thu, 17 Feb 2022 10:37:12 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=9EPianoKeyBoard.h=E2=80=9C=20l=C3=B6sche?= =?UTF-8?q?n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PianoKeyBoard.h | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 PianoKeyBoard.h diff --git a/PianoKeyBoard.h b/PianoKeyBoard.h deleted file mode 100644 index 779197b..0000000 --- a/PianoKeyBoard.h +++ /dev/null @@ -1,35 +0,0 @@ -/* PIANOKEYBOARD_H - * CLASS DECLARATION - * - * CHANGLOG: - * NAME: | CHANGES: | DATE: | - * Mewes, Lars | Neuerstellung | 24.09.2021 | - * | | | - * | | | - * | | | - * - * DESCRIPTION: - * Diese Klasse stellt eine Klaviatur in einer "QGraphicsScene" dar und besitzt alle "PianoKey"-Elemente, die mit getter-setter-Funktionen genutzt werden. - * - * TO-DOs: - * Beschriftung auf den Elementen ergänzen - * - */ -#pragma once -#include -#include "PianoKey.h" -#include - -class MainWindow; - -class PianoKeyBoard: public QGraphicsScene{ - PianoKey * keys[12]; -public: - - void mousePressEvent(QGraphicsSceneMouseEvent *event); - - PianoKeyBoard(qreal x, qreal y, qreal w, qreal h, MainWindow *parent=nullptr); - - virtual ~PianoKeyBoard(); - PianoKey * getKey(int number)const; -};