File indexing completed on 2024-04-28 04:48:37
0001 /* 0002 SPDX-FileCopyrightText: 2012 Harald Sitter <sitter@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 */ 0006 0007 #ifndef DRAGON_AUDIOVIEW2_H 0008 #define DRAGON_AUDIOVIEW2_H 0009 0010 #include <QWidget> 0011 0012 namespace Dragon 0013 { 0014 0015 namespace Ui 0016 { 0017 class AudioView2; 0018 } 0019 0020 class AudioView2 : public QWidget 0021 { 0022 Q_OBJECT 0023 0024 public: 0025 explicit AudioView2(QWidget *parent = nullptr); 0026 ~AudioView2() override; 0027 0028 void setupAnalyzer(); 0029 0030 public Q_SLOTS: 0031 void enableDemo(bool enable); 0032 void update(); 0033 0034 protected: 0035 void changeEvent(QEvent *e) override; 0036 0037 private: 0038 Ui::AudioView2 *ui; 0039 }; 0040 0041 } // namespace Dragon 0042 #endif // DRAGON_AUDIOVIEW2_H