20 #ifndef EDITPIANOSHEETDIALOG_H
21 #define EDITPIANOSHEETDIALOG_H
110 Ui::EditPianoSheetDialog *
ui;
113 #endif // EDITPIANOSHEETDIALOG_H
void onDefaultKeyNumberOfA()
Slot to set the key number of A to its default value.
Dialog to edit the piano data sheet stored in a Piano.
Ui::EditPianoSheetDialog * ui
The Ui of the dialog.
void keyPressEvent(QKeyEvent *event)
Reimplemented keyPressEvent(QKeyEvent*)
EditPianoSheetDialog(const Piano &piano, QWidget *parent=0)
Default constructor.
void onDefaultConcertPitch()
Slot to set the concert pitch to its default value.
void onDefaultKeysOnBassBridge()
Slot to set the keys on bass bridge to its default value.
void onNumberOfKeysChanged(int k)
The current number of keys changed.
~EditPianoSheetDialog()
Default destructor.
void onSetTuningTimeToNow()
Slot to set the tuning time to the current time.
void onDefaultNumberOfKeys()
Slot to set the number of keys to its default value.
void applyData(Piano *piano) const
Applys the current values in the dialog to the given piano.