hydrogen
1.2.6
SongEditorPanelBpmWidget.h
Go to the documentation of this file.
1
/*
2
* Hydrogen
3
* Copyright(c) 2002-2008 by Alex >Comix< Cominu [comix@users.sourceforge.net]
4
* Copyright(c) 2008-2025 The hydrogen development team [hydrogen-devel@lists.sourceforge.net]
5
*
6
* http://www.hydrogen-music.org
7
*
8
* This program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation; either version 2 of the License, or
11
* (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
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with this program. If not, see https://www.gnu.org/licenses
20
*
21
*/
22
23
#ifndef SONG_EDITOR_PANEL_BPM_WIDGET_H
24
#define SONG_EDITOR_PANEL_BPM_WIDGET_H
25
26
#include <QDialog>
27
#include "ui_SongEditorPanelBpmWidget_UI.h"
28
#include <
core/Object.h
>
29
32
namespace
H2Core
33
{
34
35
37
class
SongEditorPanelBpmWidget
:
public
QDialog,
public
Ui_SongEditorPanelBpmWidget_UI,
public
H2Core::Object
<SongEditorPanelBpmWidget>
38
{
39
H2_OBJECT
(
SongEditorPanelBpmWidget
)
40
41
//lineEditBEAT
42
//lineEditBPM
43
//deleteBtn
44
45
Q_OBJECT
46
public
:
47
SongEditorPanelBpmWidget
( QWidget* pParent,
int
nColumn,
bool
bTempoMarkerPresent );
48
~SongEditorPanelBpmWidget
();
49
50
private
slots:
51
52
void
on_CancelBtn_clicked
();
53
void
on_okBtn_clicked
();
54
void
on_deleteBtn_clicked
();
55
56
private
:
57
int
m_nColumn
;
58
bool
m_bTempoMarkerPresent
;
59
};
60
61
}
62
#endif
Object.h
H2_OBJECT
#define H2_OBJECT(name)
Definition
Object.h:227
H2Core::Object
Definition
Object.h:181
H2Core::SongEditorPanelBpmWidget::SongEditorPanelBpmWidget
SongEditorPanelBpmWidget(QWidget *pParent, int nColumn, bool bTempoMarkerPresent)
Definition
SongEditorPanelBpmWidget.cpp:40
H2Core::SongEditorPanelBpmWidget::m_bTempoMarkerPresent
bool m_bTempoMarkerPresent
Definition
SongEditorPanelBpmWidget.h:58
H2Core::SongEditorPanelBpmWidget::m_nColumn
int m_nColumn
Definition
SongEditorPanelBpmWidget.h:57
H2Core::SongEditorPanelBpmWidget::on_CancelBtn_clicked
void on_CancelBtn_clicked()
Definition
SongEditorPanelBpmWidget.cpp:88
H2Core::SongEditorPanelBpmWidget::~SongEditorPanelBpmWidget
~SongEditorPanelBpmWidget()
Definition
SongEditorPanelBpmWidget.cpp:82
H2Core::SongEditorPanelBpmWidget::on_deleteBtn_clicked
void on_deleteBtn_clicked()
Definition
SongEditorPanelBpmWidget.cpp:131
H2Core::SongEditorPanelBpmWidget::on_okBtn_clicked
void on_okBtn_clicked()
Definition
SongEditorPanelBpmWidget.cpp:95
H2Core
Definition
ExportMidiDialog.h:31
src
gui
src
SongEditor
SongEditorPanelBpmWidget.h
Generated by
1.13.2