„PianoKey.h“ löschen

This commit is contained in:
Lars Mewes 2022-02-17 10:37:01 +00:00
parent 4136e5b86a
commit 1951552a14

View File

@ -1,39 +0,0 @@
/* PIANOKEY_H
* CLASS DECLARATION
*
* CHANGLOG:
* NAME: | CHANGES: | DATE: |
* Mewes, Lars | Neuerstellung | 24.09.2021 |
* | | |
* | | |
* | | |
*
* DESCRIPTION:
* Diese Klasse enthält analog zu "CircleElement" alle Bestandteile einer Klaviertaste.
*
* TO-DOs:
* Beschriftung auf den Tasten ergänzen
*
*/
#pragma once
#include <QGraphicsRectItem>
#include <QString>
#include "Tone.h"
class PianoKey: public QObject, public QGraphicsRectItem{
Q_OBJECT
Tone * tone;
public:
PianoKey(QString _tone, int pos, QColor _col, bool flatTone = true);
PianoKey(Tone * tone);
virtual ~PianoKey();
Tone * getTone()const;
public slots:
void redraw();
};