Sayonara Player
Toggle main menu visibility
Loading...
Searching...
No Matches
src
Gui
Player
GUI_Controls.h
1
/* GUI_Controls.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
#ifndef GUI_CONTROLS_H
22
#define GUI_CONTROLS_H
23
24
#include "GUI_ControlsBase.h"
25
26
UI_FWD(
GUI_Controls
)
27
28
class
MetaData
;
29
class
MetaDataList
;
30
class
PlayManager
;
31
32
class
GUI_Controls :
33
public
GUI_ControlsBase
34
{
35
Q_OBJECT
36
UI_CLASS_SHARED_PTR(GUI_Controls)
37
38
public
:
39
explicit
GUI_Controls(
PlayManager
* playManager,
CoverDataProvider
* coverProvider, QWidget* parent =
nullptr
);
40
~GUI_Controls()
override
;
41
42
[[nodiscard]] QLabel* labSayonara()
const override
;
43
[[nodiscard]] QLabel* labTitle()
const override
;
44
[[nodiscard]] QLabel* labVersion()
const override
;
45
[[nodiscard]] QLabel* labAlbum()
const override
;
46
[[nodiscard]] QLabel* labArtist()
const override
;
47
[[nodiscard]] QLabel* labWrittenBy()
const override
;
48
[[nodiscard]] QLabel* labBitrate()
const override
;
49
[[nodiscard]] QLabel* labFilesize()
const override
;
50
[[nodiscard]] QLabel* labCopyright()
const override
;
51
[[nodiscard]] QLabel* labCurrentTime()
const override
;
52
[[nodiscard]] QLabel* labMaxTime()
const override
;
53
[[nodiscard]]
Gui::SearchSlider
* sliProgress()
const override
;
54
[[nodiscard]]
Gui::SearchSlider
* sliVolume()
const override
;
55
[[nodiscard]] QPushButton* btnMute()
const override
;
56
[[nodiscard]] QPushButton* btnPlay()
const override
;
57
[[nodiscard]] QPushButton* btnRecord()
const override
;
58
[[nodiscard]] QPushButton* btnPrevious()
const override
;
59
[[nodiscard]] QPushButton* btnNext()
const override
;
60
[[nodiscard]] QPushButton* btnStop()
const override
;
61
[[nodiscard]]
Gui::CoverButton
* btnCover()
const override
;
62
63
[[nodiscard]]
bool
isExternResizeAllowed()
const override
;
64
65
void
showTrackInfoPage(
bool
b)
override
;
66
67
protected
:
68
void
languageChanged()
override
;
69
};
70
71
#endif
// GUI_CONTROLS_H
CoverDataProvider
Definition
CoverDataProvider.h:28
GUI_Controls
Definition
GUI_Controls.h:34
Gui::CoverButton
The CoverButton class.
Definition
CoverButton.h:40
Gui::SearchSlider
Definition
SearchSlider.h:35
MetaDataList
Definition
MetaDataList.h:34
MetaData
Definition
MetaData.h:43
PlayManager
Definition
PlayManager.h:34
Generated on
for Sayonara Player by
1.17.0