lmms
Cross-platform music production software
Toggle main menu visibility
Loading...
Searching...
No Matches
plugins
TapTempo
TapTempoView.h
Go to the documentation of this file.
1
/*
2
* TapTempoView.h - Plugin to count beats per minute
3
*
4
* Copyright (c) 2026 saker <sakertooth@gmail.com>
5
*
6
* This file is part of LMMS - https://lmms.io
7
*
8
* This program is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU General Public
10
* License as published by the Free Software Foundation; either
11
* version 2 of the License, or (at your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public
19
* License along with this program (see COPYING); if not, write to the
20
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21
* Boston, MA 02110-1301 USA.
22
*
23
*/
24
25
#ifndef LMMS_GUI_TAP_TEMPO_VIEW_H
26
#define LMMS_GUI_TAP_TEMPO_VIEW_H
27
28
#include "
ToolPluginView.h
"
29
30
class
QCheckBox;
31
class
QLabel;
32
class
QPushButton;
33
34
namespace
lmms
{
35
class
TapTempo
;
36
}
37
38
namespace
lmms::gui
{
39
40
class
TapTempoView
:
public
ToolPluginView
41
{
42
Q_OBJECT
43
public
:
44
TapTempoView
(
TapTempo
* plugin);
45
46
private
:
47
void
closeEvent
(QCloseEvent*)
override
;
48
void
keyPressEvent
(QKeyEvent*)
override
;
49
void
update
();
50
void
reset
();
51
QPushButton*
m_tapButton
;
52
QPushButton*
m_resetButton
;
53
QPushButton*
m_syncButton
;
54
QCheckBox*
m_precisionCheckBox
;
55
QCheckBox*
m_muteCheckBox
;
56
QLabel*
m_msLabel
;
57
QLabel*
m_hzLabel
;
58
TapTempo
*
m_plugin
;
59
};
60
}
// namespace lmms::gui
61
62
#endif
// LMMS_GUI_TAP_TEMPO_VIEW_H
ToolPluginView.h
lmms::TapTempo
Definition
TapTempo.h:37
lmms::gui::TapTempoView::m_precisionCheckBox
QCheckBox * m_precisionCheckBox
Definition
TapTempoView.h:54
lmms::gui::TapTempoView::m_msLabel
QLabel * m_msLabel
Definition
TapTempoView.h:56
lmms::gui::TapTempoView::m_muteCheckBox
QCheckBox * m_muteCheckBox
Definition
TapTempoView.h:55
lmms::gui::TapTempoView::update
void update()
Definition
TapTempoView.cpp:126
lmms::gui::TapTempoView::reset
void reset()
Definition
TapTempoView.cpp:137
lmms::gui::TapTempoView::closeEvent
void closeEvent(QCloseEvent *) override
Definition
TapTempoView.cpp:145
lmms::gui::TapTempoView::m_plugin
TapTempo * m_plugin
Definition
TapTempoView.h:58
lmms::gui::TapTempoView::m_syncButton
QPushButton * m_syncButton
Definition
TapTempoView.h:53
lmms::gui::TapTempoView::m_resetButton
QPushButton * m_resetButton
Definition
TapTempoView.h:52
lmms::gui::TapTempoView::m_hzLabel
QLabel * m_hzLabel
Definition
TapTempoView.h:57
lmms::gui::TapTempoView::keyPressEvent
void keyPressEvent(QKeyEvent *) override
Definition
TapTempoView.cpp:151
lmms::gui::TapTempoView::TapTempoView
TapTempoView(TapTempo *plugin)
Definition
TapTempoView.cpp:39
lmms::gui::TapTempoView::m_tapButton
QPushButton * m_tapButton
Definition
TapTempoView.h:51
lmms::gui::ToolPluginView::ToolPluginView
ToolPluginView(ToolPlugin *_toolPlugin)
Definition
ToolPluginView.cpp:39
lmms::gui
Definition
AudioPortAudio.cpp:209
lmms
Definition
RemotePluginBase.cpp:34
Generated on
for lmms by
1.18.0