summaryrefslogtreecommitdiffstats
path: root/src/app/audioView.h
blob: f793e5d0d56c430e1a0f6fcfa96714b7771dc94a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// SPDX-FileCopyrightText: 2025 mio <stigma@disroot.org>
//
// SPDX-License-Identifier: GPL-2.0-or-later.

#ifndef CODEINE_AUDIOVIEW_H
#define CODEINE_AUDIOVIEW_H

#include <tqframe.h>

namespace Codeine
{

class AudioView : public TQFrame
{
    TQ_OBJECT

    public:
        AudioView(TQWidget *parent, const char *name = nullptr);
        ~AudioView();

    protected:
        void contextMenuEvent(TQContextMenuEvent *e) override;

    protected slots:
        void slotToggleVisibility();

    private:
        TQWidget *m_analyzer;
};

}

#endif /* CODEINE_AUDIOVIEW_H */