Sayonara Player
GUI_Podcasts.h
1 /* GUI_Podcasts.h */
2 
3 /* Copyright (C) 2011-2017 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_PODCASTS_H
22 #define GUI_PODCASTS_H
23 
24 #include "GUI_AbstractStream.h"
25 
26 namespace Ui { class GUI_Podcasts; }
27 
28 class GUI_Podcasts :
29  public GUI_AbstractStream
30 
31 {
32  Q_OBJECT
33 
34 public:
35  explicit GUI_Podcasts(QWidget *parent=nullptr);
36  virtual ~GUI_Podcasts();
37 
38  QString get_name() const override;
39  QString get_display_name() const override;
40 
41 
42 private:
43  Ui::GUI_Podcasts* ui=nullptr;
44 
45  void init_ui() override;
46  void retranslate_ui() override;
47  QString get_title_fallback_name() const override;
48 
49  // GUI_AbstractStream interface
50  protected:
51  QLineEdit* le_url() override;
52  QComboBox* combo_stream() override;
53  QPushButton* btn_play() override;
54  MenuToolButton* btn_menu() override;
55  QLabel* lab_listen() override;
56 };
57 
58 #endif // GUI_PODCASTS_H
Definition: GUI_AbstractStream.h:34
Definition: GUI_SomaFM.h:34
Definition: GUI_Podcasts.h:28
Definition: ui_GUI_Podcasts.h:115
This is the little button you often see near comboboxes It opens up a menu when clicked. The actions in the menu a configurable.
Definition: MenuTool.h:32