hydrogen
1.2.6
VirtualPatternDialog.cpp
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
24
#include "
VirtualPatternDialog.h
"
25
26
#include <
core/Hydrogen.h
>
27
#include <
core/Basics/Song.h
>
28
#include <
core/Basics/Pattern.h
>
29
#include <
core/Basics/PatternList.h
>
30
31
VirtualPatternDialog::VirtualPatternDialog
(QWidget* parent)
32
: QDialog(parent)
33
{
34
setupUi(
this
);
35
setWindowTitle( tr(
"Select virtual pattern"
) );
36
adjustSize();
37
setMinimumSize( width(), height() );
38
}
39
40
VirtualPatternDialog::~VirtualPatternDialog
()
41
{
42
}
43
44
void
VirtualPatternDialog::on_cancelBtn_clicked
()
45
{
46
reject();
47
}
48
49
void
VirtualPatternDialog::on_okBtn_clicked
()
50
{
51
accept();
52
}
53
Hydrogen.h
PatternList.h
Pattern.h
Song.h
VirtualPatternDialog.h
VirtualPatternDialog::~VirtualPatternDialog
~VirtualPatternDialog()
Definition
VirtualPatternDialog.cpp:40
VirtualPatternDialog::on_cancelBtn_clicked
void on_cancelBtn_clicked()
Definition
VirtualPatternDialog.cpp:44
VirtualPatternDialog::VirtualPatternDialog
VirtualPatternDialog(QWidget *parent)
Definition
VirtualPatternDialog.cpp:31
VirtualPatternDialog::on_okBtn_clicked
void on_okBtn_clicked()
Definition
VirtualPatternDialog.cpp:49
src
gui
src
SongEditor
VirtualPatternDialog.cpp
Generated by
1.13.2