00001 /* -*- Mode: c++ -*- 00002 * vim: set expandtab tabstop=4 shiftwidth=4: 00003 * 00004 * Original Project 00005 * MythTV http://www.mythtv.org 00006 * 00007 * Copyright (c) 2004, 2005 John Pullan <john@pullan.org> 00008 * Copyright (c) 2005 - 2007 Daniel Kristjansson 00009 * 00010 * Description: 00011 * Collection of classes to provide channel scanning functionallity 00012 * 00013 * This program is free software; you can redistribute it and/or 00014 * modify it under the terms of the GNU General Public License 00015 * as published by the Free Software Foundation; either version 2 00016 * of the License, or (at your option) any later version. 00017 * 00018 * This program is distributed in the hope that it will be useful, 00019 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00020 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00021 * GNU General Public License for more details. 00022 * 00023 * You should have received a copy of the GNU General Public License 00024 * along with this program; if not, write to the Free Software 00025 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00026 * Or, point your browser to http://www.gnu.org/copyleft/gpl.html 00027 * 00028 */ 00029 00030 #ifndef _PANE_DVBT_H_ 00031 #define _PANE_DVBT_H_ 00032 00033 // MythTV headers 00034 #include "channelscanmiscsettings.h" 00035 00036 class PaneDVBT : public HorizontalConfigurationGroup 00037 { 00038 public: 00039 PaneDVBT() : HorizontalConfigurationGroup(false, false, true, true) 00040 { 00041 setUseFrame(false); 00042 VerticalConfigurationGroup *left = 00043 new VerticalConfigurationGroup(false,true,true,false); 00044 VerticalConfigurationGroup *right = 00045 new VerticalConfigurationGroup(false,true,true,false); 00046 left->addChild(pfrequency = new ScanFrequency()); 00047 left->addChild(pbandwidth = new ScanBandwidth()); 00048 left->addChild(pinversion = new ScanInversion()); 00049 left->addChild(pconstellation = new ScanConstellation()); 00050 right->addChild(pcoderate_lp = new ScanCodeRateLP()); 00051 right->addChild(pcoderate_hp = new ScanCodeRateHP()); 00052 right->addChild(ptrans_mode = new ScanTransmissionMode()); 00053 right->addChild(pguard_interval = new ScanGuardInterval()); 00054 right->addChild(phierarchy = new ScanHierarchy()); 00055 addChild(left); 00056 addChild(right); 00057 } 00058 00059 QString frequency(void) const { return pfrequency->getValue(); } 00060 QString bandwidth(void) const { return pbandwidth->getValue(); } 00061 QString inversion(void) const { return pinversion->getValue(); } 00062 QString constellation(void) const { return pconstellation->getValue(); } 00063 QString coderate_lp(void) const { return pcoderate_lp->getValue(); } 00064 QString coderate_hp(void) const { return pcoderate_hp->getValue(); } 00065 QString trans_mode(void) const { return ptrans_mode->getValue(); } 00066 QString guard_interval(void) const { return pguard_interval->getValue(); } 00067 QString hierarchy(void) const { return phierarchy->getValue(); } 00068 00069 protected: 00070 ScanFrequency *pfrequency; 00071 ScanInversion *pinversion; 00072 ScanBandwidth *pbandwidth; 00073 ScanConstellation *pconstellation; 00074 ScanCodeRateLP *pcoderate_lp; 00075 ScanCodeRateHP *pcoderate_hp; 00076 ScanTransmissionMode *ptrans_mode; 00077 ScanGuardInterval *pguard_interval; 00078 ScanHierarchy *phierarchy; 00079 }; 00080 00081 #endif // _PANE_DVBT_H_
1.6.3