Sayonara Player
Toggle main menu visibility
Loading...
Searching...
No Matches
src
Gui
Tagging
GUI_CoverEdit.h
1
/* GUI_CoverEdit.h */
2
3
/* Copyright (C) 2011-2024 Michael Lugmair (Lucio Carreras)
4
*
5
* This file is part of sayonara player
6
*
7
* This program is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
11
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <http://www.gnu.org/licenses/>.
19
*/
20
21
22
23
#ifndef GUI_COVEREDIT_H
24
#define GUI_COVEREDIT_H
25
26
#include "Gui/Utils/Widgets/Widget.h"
27
#include "Utils/Pimpl.h"
28
29
UI_FWD(
GUI_CoverEdit
)
30
31
namespace
Tagging
32
{
33
class
Editor
;
34
}
35
36
class
MetaData
;
37
class
MetaDataList
;
38
class
QPixmap;
39
40
namespace
Tagging
41
{
42
class
Editor
;
43
}
44
45
class
GUI_CoverEdit :
46
public
Gui::Widget
47
{
48
Q_OBJECT
49
PIMPL(GUI_CoverEdit)
50
UI_CLASS(GUI_CoverEdit)
51
52
public
:
53
GUI_CoverEdit(
Tagging::Editor
* tagEditor, QWidget* parent);
54
~GUI_CoverEdit()
override
;
55
56
void
setCurrentIndex(
int
index);
57
58
void
refreshCurrentTrack();
59
void
reset();
60
void
updateTrack(
int
index);
61
62
private
:
63
void
refreshOriginalCover();
64
void
refreshReplacementCover();
65
66
private
slots:
67
void
coverChanged();
68
void
replaceToggled(
bool
b);
69
void
btnAllToggled(
bool
b);
70
71
protected
:
72
void
showEvent(QShowEvent* event)
override
;
73
void
languageChanged()
override
;
74
};
75
76
#endif
// GUI_COVEREDIT_H
GUI_CoverEdit
Definition
GUI_CoverEdit.h:47
Gui::Widget
Widget with Settings connection. Also contains triggers for language_changed() and skin_changed() \nT...
Definition
Widget.h:39
MetaDataList
Definition
MetaDataList.h:34
MetaData
Definition
MetaData.h:43
Tagging::Editor
Definition
Editor.h:37
Tagging
The GUI_TagEdit class.
Definition
Engine.h:33
Generated on
for Sayonara Player by
1.17.0