MythTV master
channelscanner_gui_scan_pane.h
Go to the documentation of this file.
1/* -*- Mode: c++ -*-
2 * vim: set expandtab tabstop=4 shiftwidth=4:
3 *
4 * Original Project
5 * MythTV http://www.mythtv.org
6 *
7 * Copyright (c) 2004, 2005 John Pullan <john@pullan.org>
8 * Copyright (c) 2005 - 2007 Daniel Kristjansson
9 *
10 * Description:
11 * Collection of classes to provide channel scanning functionallity
12 *
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License
15 * as published by the Free Software Foundation; either version 2
16 * of the License, or (at your option) any later version.
17 *
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, write to the Free Software
25 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
26 * Or, point your browser to http://www.gnu.org/copyleft/gpl.html
27 *
28 */
29
30#ifndef CHANNEL_SCANNER_GUI_SCAN_PANE_H
31#define CHANNEL_SCANNER_GUI_SCAN_PANE_H
32
33// MythTV headers
36
37class MythUIText;
39
41{
42 Q_OBJECT
43
44 friend class QObject; // quiet OSX gcc warning
45
46 public:
47 ChannelScannerGUIScanPane(bool lock, bool strength, bool snr,
48 bool rotorpos, MythScreenStack *parent)
49 : MythScreenType(parent, "channelscanner"),
51 m_showSignalNoise(snr), m_showRotorPos(rotorpos) {}
52
53 bool Create() override; // MythScreenType
54
55 void SetStatusRotorPosition(int value);
56 void SetStatusSignalToNoise(int value);
57 void SetStatusSignalStrength(int value);
58 void SetStatusLock(int value);
59 void SetScanProgress(double value);
60
61 void SetStatusText(const QString &value);
62 void SetStatusTitleText(const QString &value);
63
64 void AppendLine(const QString &text);
65
66 private:
71
76
84
86};
87
88#endif // CHANNEL_SCANNER_GUI_SCAN_PANE_H
void SetStatusText(const QString &value)
void SetStatusTitleText(const QString &value)
ChannelScannerGUIScanPane(bool lock, bool strength, bool snr, bool rotorpos, MythScreenStack *parent)
Screen in which all other widgets are contained and rendered.
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
Progress bar widget.
All purpose text widget, displays a text string.
Definition: mythuitext.h:29