MythTV  master
panedvbt.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 PANE_DVBT_H
31 #define PANE_DVBT_H
32 
33 // MythTV headers
35 
36 class PaneDVBT : public GroupSetting
37 {
38  public:
39  PaneDVBT(const QString &target, StandardSetting *setting)
40  {
41  setVisible(false);
42  setting->addTargetedChildren(target,
43  {this,
52  m_phierarchy = new ScanHierarchy()});
53  }
54 
55  QString frequency(void) const { return m_pfrequency->getValue(); }
56  QString bandwidth(void) const { return m_pbandwidth->getValue(); }
57  QString inversion(void) const { return m_pinversion->getValue(); }
58  QString constellation(void) const { return m_pconstellation->getValue(); }
59  QString coderate_lp(void) const { return m_pcoderate_lp->getValue(); }
60  QString coderate_hp(void) const { return m_pcoderate_hp->getValue(); }
61  QString trans_mode(void) const { return m_ptrans_mode->getValue(); }
62  QString guard_interval(void) const { return m_pguard_interval->getValue();}
63  QString hierarchy(void) const { return m_phierarchy->getValue(); }
64 
74 
75  protected:
85 };
86 
87 #endif // PANE_DVBT_H
StandardSetting::setValue
virtual void setValue(const QString &newValue)
Definition: standardsettings.cpp:163
PaneDVBT::m_pguard_interval
ScanGuardInterval * m_pguard_interval
Definition: panedvbt.h:83
PaneDVBT::guard_interval
QString guard_interval(void) const
Definition: panedvbt.h:62
PaneDVBT::coderate_hp
QString coderate_hp(void) const
Definition: panedvbt.h:60
PaneDVBT::setHierarchy
void setHierarchy(const QString &hierarchy)
Definition: panedvbt.h:73
PaneDVBT
Definition: panedvbt.h:36
ScanHierarchy
Definition: channelscanmiscsettings.h:409
ScanTransmissionMode
Definition: channelscanmiscsettings.h:396
PaneDVBT::inversion
QString inversion(void) const
Definition: panedvbt.h:57
PaneDVBT::m_pcoderate_lp
ScanCodeRateLP * m_pcoderate_lp
Definition: panedvbt.h:80
PaneDVBT::setGuardInterval
void setGuardInterval(const QString &guard_interval)
Definition: panedvbt.h:72
PaneDVBT::setTransmode
void setTransmode(const QString &trans_mode)
Definition: panedvbt.h:71
ScanCodeRateLP
Definition: channelscanmiscsettings.h:361
ScanBandwidth
Definition: channelscanmiscsettings.h:316
PaneDVBT::coderate_lp
QString coderate_lp(void) const
Definition: panedvbt.h:59
PaneDVBT::m_pfrequency
ScanFrequency * m_pfrequency
Definition: panedvbt.h:76
ScanFrequency
Definition: channelscanmiscsettings.h:231
ScanConstellation
Definition: modulationsetting.h:97
PaneDVBT::setBandwidth
void setBandwidth(const QString &bandwidth)
Definition: panedvbt.h:66
ScanInversion
Definition: channelscanmiscsettings.h:300
StandardSetting::getValue
virtual QString getValue(void) const
Definition: standardsettings.h:51
uint
unsigned int uint
Definition: compat.h:140
PaneDVBT::setConstellation
void setConstellation(const QString &constellation)
Definition: panedvbt.h:68
PaneDVBT::frequency
QString frequency(void) const
Definition: panedvbt.h:55
PaneDVBT::bandwidth
QString bandwidth(void) const
Definition: panedvbt.h:56
channelscanmiscsettings.h
ScanCodeRateHP
Definition: channelscanmiscsettings.h:371
PaneDVBT::setCodeRateHP
void setCodeRateHP(const QString &coderate_hp)
Definition: panedvbt.h:70
PaneDVBT::setFrequency
void setFrequency(uint frequency)
Definition: panedvbt.h:65
PaneDVBT::PaneDVBT
PaneDVBT(const QString &target, StandardSetting *setting)
Definition: panedvbt.h:39
ScanGuardInterval
Definition: channelscanmiscsettings.h:381
PaneDVBT::m_pbandwidth
ScanBandwidth * m_pbandwidth
Definition: panedvbt.h:78
PaneDVBT::m_ptrans_mode
ScanTransmissionMode * m_ptrans_mode
Definition: panedvbt.h:82
PaneDVBT::m_pinversion
ScanInversion * m_pinversion
Definition: panedvbt.h:77
PaneDVBT::hierarchy
QString hierarchy(void) const
Definition: panedvbt.h:63
PaneDVBT::setCodeRateLP
void setCodeRateLP(const QString &coderate_lp)
Definition: panedvbt.h:69
PaneDVBT::m_pcoderate_hp
ScanCodeRateHP * m_pcoderate_hp
Definition: panedvbt.h:81
PaneDVBT::setInversion
void setInversion(const QString &inversion)
Definition: panedvbt.h:67
PaneDVBT::m_phierarchy
ScanHierarchy * m_phierarchy
Definition: panedvbt.h:84
PaneDVBT::constellation
QString constellation(void) const
Definition: panedvbt.h:58
StandardSetting::setVisible
void setVisible(bool visible)
Definition: standardsettings.cpp:53
StandardSetting
Definition: standardsettings.h:29
StandardSetting::addTargetedChildren
void addTargetedChildren(const QString &value, std::initializer_list< StandardSetting * > settings)
Definition: standardsettings.cpp:100
PaneDVBT::trans_mode
QString trans_mode(void) const
Definition: panedvbt.h:61
MythUIComboBoxSetting::setValue
void setValue(int value) override
Definition: standardsettings.cpp:459
GroupSetting
Definition: standardsettings.h:432
PaneDVBT::m_pconstellation
ScanConstellation * m_pconstellation
Definition: panedvbt.h:79