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
34namespace H2Core
35{
36
37
39class SongEditorPanelTagWidget : public QDialog, public Ui_SongEditorPanelTagWidget_UI, public H2Core::Object<SongEditorPanelTagWidget>
40{
42
43//lineEditBEAT
44//lineEditBPM
45//deleteBtn
46
47 Q_OBJECT
48 public:
49 SongEditorPanelTagWidget( QWidget* pParent, int beat );
51
52 private slots:
53
55 void on_okBtn_clicked();
56 void on_tagTableWidget_currentItemChanged( QTableWidgetItem * current, QTableWidgetItem * previous );
57
58 private:
62 std::vector<QString> m_oldTags;
63};
64
65}
66#endif
#define H2_OBJECT(name)
Definition Object.h:227
void on_tagTableWidget_currentItemChanged(QTableWidgetItem *current, QTableWidgetItem *previous)
SongEditorPanelTagWidget(QWidget *pParent, int beat)