Sayonara Player
src
Gui
Player
GUI_Controls.h
1
/* GUI_Controls.h */
2
3
/* Copyright (C) 2011-2019 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
31
class
GUI_Controls
:
32
public
GUI_ControlsBase
33
{
34
Q_OBJECT
35
UI_CLASS(
GUI_Controls
)
36
37
public
:
38
explicit
GUI_Controls
(QWidget *parent=
nullptr
);
39
~
GUI_Controls
();
40
41
// GUI_ControlsBase interface
42
public
:
43
QLabel* lab_sayonara()
const override
;
44
QLabel* lab_title()
const override
;
45
QLabel* lab_version()
const override
;
46
QLabel* lab_album()
const override
;
47
QLabel* lab_artist()
const override
;
48
QLabel* lab_writtenby()
const override
;
49
QLabel* lab_bitrate()
const override
;
50
QLabel* lab_filesize()
const override
;
51
QLabel* lab_copyright()
const override
;
52
QLabel* lab_current_time()
const override
;
53
QLabel* lab_max_time()
const override
;
54
QWidget* widget_details()
const override
;
55
Gui::SearchSlider
* sli_progress()
const override
;
56
Gui::SearchSlider
* sli_volume()
const override
;
57
QPushButton* btn_mute()
const override
;
58
QPushButton* btn_play()
const override
;
59
QPushButton* btn_rec()
const override
;
60
QPushButton* btn_bwd()
const override
;
61
QPushButton* btn_fwd()
const override
;
62
QPushButton* btn_stop()
const override
;
63
Gui::CoverButton
* btn_cover()
const override
;
64
65
bool
is_extern_resize_allowed()
const override
;
66
67
protected
:
68
void
language_changed()
override
;
69
};
70
71
72
73
#endif // GUI_CONTROLS_H
MetaDataList
The MetaDataList class.
Definition:
MetaDataList.h:37
GUI_Controls
Definition:
GUI_Controls.h:31
Gui::SearchSlider
A slider as it is used by the progress bar You can also set a different value by calling set_bufferin...
Definition:
SearchSlider.h:39
Gui::CoverButton
The CoverButton class.
Definition:
CoverButton.h:63
MetaData
The MetaData class.
Definition:
MetaData.h:44
GUI_ControlsBase
Definition:
GUI_ControlsBase.h:45
Generated on Sun Nov 17 2019 00:00:00 for Sayonara Player by
1.8.16