annotate widgets/MIDIFileImportDialog.h @ 1534:bfd8b22fd67c

Fix #1904 Scrolling colour 3d plot does not always work when in View normalisation mode. We shouldn't imagine we've just invalidated the cache if the truth is that we've only just created the renderer
author Chris Cannam
date Wed, 09 Oct 2019 13:45:17 +0100
parents 05d614f6e46d
children
rev   line source
Chris@378 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
Chris@378 2
Chris@378 3 /*
Chris@378 4 Sonic Visualiser
Chris@378 5 An audio file viewer and annotation editor.
Chris@378 6 Centre for Digital Music, Queen Mary, University of London.
Chris@378 7
Chris@378 8 This program is free software; you can redistribute it and/or
Chris@378 9 modify it under the terms of the GNU General Public License as
Chris@378 10 published by the Free Software Foundation; either version 2 of the
Chris@378 11 License, or (at your option) any later version. See the file
Chris@378 12 COPYING included with this distribution for more information.
Chris@378 13 */
Chris@378 14
Chris@1407 15 #ifndef SV_MIDI_FILE_IMPORT_DIALOG_H
Chris@1407 16 #define SV_MIDI_FILE_IMPORT_DIALOG_H
Chris@378 17
Chris@378 18 #include <QObject>
Chris@378 19
Chris@378 20 #include "data/fileio/MIDIFileReader.h"
Chris@378 21
Chris@378 22 class MIDIFileImportDialog : public QObject,
Chris@378 23 public MIDIFileImportPreferenceAcquirer
Chris@378 24 {
Chris@397 25 Q_OBJECT
Chris@397 26
Chris@378 27 public:
Chris@378 28 MIDIFileImportDialog(QWidget *parent = 0);
Chris@378 29
Chris@1406 30 TrackPreference getTrackImportPreference
Chris@378 31 (QStringList trackNames, bool haveSomePercussion,
Chris@1406 32 QString &singleTrack) const override;
Chris@378 33
Chris@1406 34 void showError(QString error) override;
Chris@378 35
Chris@378 36 protected:
Chris@378 37 QWidget *m_parent;
Chris@378 38 };
Chris@378 39
Chris@378 40 #endif