Sayonara Player
src
Gui
Library
Utils
GUI_ReloadLibraryDialog.h
1
/* GUI_ReloadLibraryDialog.h */
2
3
/* Copyright (C) 2011-2020 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
#ifndef GUI_LIBRARYRELOAD_DIALOG_H
22
#define GUI_LIBRARYRELOAD_DIALOG_H
23
24
#include "Gui/Utils/Widgets/Dialog.h"
25
26
#include "Utils/Pimpl.h"
27
#include "Utils/Library/LibraryNamespaces.h"
28
29
UI_FWD(GUI_LibraryReloadDialog)
30
31
namespace
Library
32
{
38
class
GUI_LibraryReloadDialog
:
39
public
Gui::Dialog
40
{
41
Q_OBJECT
42
PIMPL(
GUI_LibraryReloadDialog
)
43
UI_CLASS(
GUI_LibraryReloadDialog
)
44
45
signals:
46
void
sigAccepted(
ReloadQuality
quality);
47
48
public
:
49
explicit
GUI_LibraryReloadDialog
(
const
QString& libraryName, QWidget* parent =
nullptr
);
50
~
GUI_LibraryReloadDialog
()
override
;
51
52
void
setQuality(
ReloadQuality
quality);
53
54
private
slots:
55
void
okClicked();
56
void
cancelClicked();
57
void
comboChanged(
int
);
58
59
protected
:
60
void
languageChanged()
override
;
61
};
62
}
63
64
#endif // GUI_LIBRARYRELOAD_DIALOG_H
Library::ReloadQuality
ReloadQuality
The ReloadQuality enum.
Definition:
LibraryNamespaces.h:48
Gui::Dialog
Dialog with Settings connection. Also contains triggers for language_changed() and skin_changed()....
Definition:
Dialog.h:37
Library::GUI_LibraryReloadDialog
Reload dialog containing a combo box which allows you choosing between fast and deep reloading.
Definition:
GUI_ReloadLibraryDialog.h:40
Library
An interface class needed when implementing a library plugin.
Definition:
LocalLibraryWatcher.h:31
Generated on Wed Jan 6 2021 00:00:00 for Sayonara Player by
1.8.20