hydrogen
1.2.6
SongEditorPanelTagWidget.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_TAG_WIDGET_H
24
#define SONG_EDITOR_PANEL_TAG_WIDGET_H
25
26
#include <QDialog>
27
#include "ui_SongEditorPanelTagWidget_UI.h"
28
#include <
core/Object.h
>
29
30
#include <memory>
31
34
namespace
H2Core
35
{
36
37
39
class
SongEditorPanelTagWidget
:
public
QDialog,
public
Ui_SongEditorPanelTagWidget_UI,
public
H2Core::Object
<SongEditorPanelTagWidget>
40
{
41
H2_OBJECT
(
SongEditorPanelTagWidget
)
42
43
//lineEditBEAT
44
//lineEditBPM
45
//deleteBtn
46
47
Q_OBJECT
48
public
:
49
SongEditorPanelTagWidget
( QWidget* pParent,
int
beat );
50
~SongEditorPanelTagWidget
();
51
52
private
slots:
53
54
void
on_CancelBtn_clicked
();
55
void
on_okBtn_clicked
();
56
void
on_tagTableWidget_currentItemChanged
( QTableWidgetItem * current, QTableWidgetItem * previous );
57
58
private
:
59
int
m_nMaxRows
;
60
int
m_nTimelinePosition
;
61
void
createTheTagTableWidget
();
62
std::vector<QString>
m_oldTags
;
63
};
64
65
}
66
#endif
Object.h
H2_OBJECT
#define H2_OBJECT(name)
Definition
Object.h:227
H2Core::Object
Definition
Object.h:181
H2Core::SongEditorPanelTagWidget::~SongEditorPanelTagWidget
~SongEditorPanelTagWidget()
Definition
SongEditorPanelTagWidget.cpp:49
H2Core::SongEditorPanelTagWidget::on_tagTableWidget_currentItemChanged
void on_tagTableWidget_currentItemChanged(QTableWidgetItem *current, QTableWidgetItem *previous)
Definition
SongEditorPanelTagWidget.cpp:122
H2Core::SongEditorPanelTagWidget::m_oldTags
std::vector< QString > m_oldTags
Definition
SongEditorPanelTagWidget.h:62
H2Core::SongEditorPanelTagWidget::on_CancelBtn_clicked
void on_CancelBtn_clicked()
Definition
SongEditorPanelTagWidget.cpp:93
H2Core::SongEditorPanelTagWidget::SongEditorPanelTagWidget
SongEditorPanelTagWidget(QWidget *pParent, int beat)
Definition
SongEditorPanelTagWidget.cpp:38
H2Core::SongEditorPanelTagWidget::m_nMaxRows
int m_nMaxRows
Definition
SongEditorPanelTagWidget.h:59
H2Core::SongEditorPanelTagWidget::createTheTagTableWidget
void createTheTagTableWidget()
Definition
SongEditorPanelTagWidget.cpp:52
H2Core::SongEditorPanelTagWidget::on_okBtn_clicked
void on_okBtn_clicked()
Definition
SongEditorPanelTagWidget.cpp:99
H2Core::SongEditorPanelTagWidget::m_nTimelinePosition
int m_nTimelinePosition
Definition
SongEditorPanelTagWidget.h:60
H2Core
Definition
ExportMidiDialog.h:31
src
gui
src
SongEditor
SongEditorPanelTagWidget.h
Generated by
1.13.2