Go to the documentation of this file.
31 return !(grabber ==
"eitonly" ||
32 grabber ==
"/bin/true");
45 const QString &name) :
64 bool _must_have_mplexid);
66 void Load(
void)
override;
83 void Load(
void)
override;
106 void Load(
void)
override;
108 void Save(
void)
override;
126 void Save(
void)
override;
143 void Save(
void)
override;
155 void Save(
void)
override;
164 IdSetting(
const QString &table,
const QString &setting):
172 {
setValue(QString::number(value)); }
220 setLabel(QObject::tr(
"Video source name"));
234 const QString &_name) :
253 const QString &setting) :
265 QString dev = QString(),
266 QString
type = QString());
293 void Save(
const QString& destination)
318 void Save(
const QString& destination)
333 #ifdef USING_HDHOMERUN
375 void Load(
void)
override;
376 void Save(
void)
override;
381 #endif // USING_HDHOMERUN
388 QString m_mythDeviceId;
390 QString m_friendlyName;
394 bool m_inUse {
false};
395 bool m_discovered {
false};
398 using SatIPDeviceList = QMap<QString, SatIPDevice>;
400 class SatIPDeviceIDList;
402 class SatIPDeviceAttribute;
411 void FillDeviceList(
void);
415 SatIPDeviceIDList *m_deviceIdList {
nullptr};
416 SatIPDeviceID *m_deviceId {
nullptr};
417 SatIPDeviceAttribute *m_friendlyName {
nullptr};
418 SatIPDeviceAttribute *m_tunerType {
nullptr};
419 SatIPDeviceAttribute *m_tunerIndex {
nullptr};
420 SatIPDeviceList m_deviceList;
428 SatIPDeviceIDList(SatIPDeviceID *deviceId,
429 SatIPDeviceAttribute *friendlyName,
430 SatIPDeviceAttribute *tunerType,
431 SatIPDeviceAttribute *tunerIndex,
432 SatIPDeviceList *deviceList,
435 void fillSelections(
const QString &
current);
437 void Load(
void)
override;
440 void UpdateDevices(
const QString& );
443 void NewTuner(
const QString&);
446 SatIPDeviceID *m_deviceId;
447 SatIPDeviceAttribute *m_friendlyName;
448 SatIPDeviceAttribute *m_tunerType;
449 SatIPDeviceAttribute *m_tunerIndex;
450 SatIPDeviceList *m_deviceList;
461 void Load(
void)
override;
464 void SetTuner(
const QString& );
475 SatIPDeviceAttribute(
const QString& label,
476 const QString& helpText);
478 #endif // USING_SATIP
640 #if !defined( USING_MINGW ) && !defined( _MSC_VER )
649 void probeApp(
const QString & path);
672 void Load(
void)
override;
674 void Save(
void)
override;
677 void probeCard(
const QString& videodevice);
702 void SetGUID(
const QString &_guid);
717 void SetGUID(
const QString &_guid);
745 void Save(
void)
override;
782 const QString& _name) :
813 void Clicked(
const QString &choice);
827 void Load(
void)
override;
831 void AddSelection(
const QString &label,
CCESlot slot);
832 void AddSelection(
const QString &label,
CCESlotConst slot);
835 void ShowDeleteAllCaptureCardsDialog(
void)
const;
836 void ShowDeleteAllCaptureCardsDialogOnHost(
void)
const;
837 void DeleteAllCaptureCards(
bool doDelete);
838 void DeleteAllCaptureCardsOnHost(
bool doDelete);
839 void AddNewCard(
void);
849 static bool cardTypesInclude(
int SourceID,
850 const QString& thecardtype);
852 void Load(
void)
override;
855 void AddSelection(
const QString &label,
VSESlot slot);
856 void AddSelection(
const QString &label,
VSESlotConst slot);
859 void NewSource(
void);
860 void ShowDeleteAllSourcesDialog(
void)
const;
861 void DeleteAllSources(
bool doDelete);
871 void Load(
void)
override;
885 setLabel(QObject::tr(
"Starting channel"));
886 setHelpText(QObject::tr(
"This channel is shown when 'Watch TV' is selected on the main menu. "
887 "It is updated on every Live TV channel change. "
888 "When the value is not valid a suitable default will be chosen."));
899 CardInput(
const QString & cardtype,
const QString & device,
906 void loadByInput(
int cardid,
const QString& inputname);
909 void Save(
void)
override;
956 void NewIP(
const QString&);
1000 void Load(
void)
override;
1023 void Load(
void)
override;
1026 void SetIP(
const QString &ip);
1027 void SetTuner(
const QString &tuner);
1060 void Load(
void)
override;
1069 void SetIP(
const QString &ip);
1070 void SetTuner(
const QString &tuner);
1078 #endif // USING_CETON
virtual void Save(const QString &)
NoGrabber_config(const VideoSource &_parent)
VideoSourceShow(uint _initial_sourceid)
QMap< QString, QVariant > MSqlBindings
typedef for a map of string -> string bindings for generic queries.
StartingChannel(const CardInput &parent)
HDHomeRunDeviceID * m_deviceId
void SetGUID(const QString &_guid)
DVBTuningDelay * m_tuningDelay
HDHomeRunConfigurationGroup(CaptureCard &parent, CardType &cardtype)
void(CaptureCardEditor::*)(void) CCESlot
FirewireModel(const CaptureCard &parent, const FirewireGUID *_guid)
void UpdateDevices(const QString &v)
FreqTableSelector(const VideoSource &parent)
QString GetDeviceCheckBoxes(void)
V4LConfigurationGroup(CaptureCard &parent, CardType &cardtype, const QString &inputtype)
virtual void setValue(const QString &newValue)
const FirewireGUID * m_guid
int getCardID(void) const
CardType(const CaptureCard &parent)
VBoxDeviceList * m_deviceList
void(VideoSourceEditor::*)(void) VSESlot
void LoadValue(const QString &value)
const FirewireGUID * m_guid
CaptureCardComboBoxSetting(const CaptureCard &parent, bool rw, const QString &setting)
VBoxDeviceID * m_deviceId
bool canDelete(void) override
EmptyVBIDevice(const CaptureCard &parent)
GroupSetting * m_cardInfo
void SetTuner(const QString &tuner)
const CaptureCard & m_parent
SignalTimeout * m_signalTimeout
void(CaptureCardEditor::*)(void) const CCESlotConst
Name(const VideoSource &parent)
CaptureCardDBStorage(StorageUser *_user, const CaptureCard &_parent, const QString &_name)
void SetDeviceCheckBoxes(const QString &devices)
DiSEqCDevTree * m_diseqcTree
HDHomeRunDeviceList m_deviceList
static void CetonConfigurationGroup(CaptureCard &parent, CardType &cardtype)
QString GetSetClause(MSqlBindings &bindings) const override
void(VideoSourceEditor::*)(void) const VSESlotConst
DVBConfigurationGroup(CaptureCard &a_parent, CardType &cardType)
VideoSourceSelector(uint _initial_sourceid, QString _card_types, bool _must_have_mplexid)
QString m_loadedFreqTable
XMLTV_generic_config(const VideoSource &_parent, const QString &_grabber, StandardSetting *_setting)
QStringList m_grabberArgs
void SetSourceID(const QString &sourceid)
void probeCard(const QString &device)
Screen in which all other widgets are contained and rendered.
void SetTuner(const QString &tuner)
TransTextEditSetting * m_cardInfo
GroupSetting * m_cardInfo
void setEnabled(bool e) override
virtual void Save(const QString &)
VideoSourceDBStorage(StorageUser *_user, const VideoSource &_parent, const QString &name)
virtual void Save(const QString &)
static void fillSelections(MythUIComboBoxSetting *setting)
Hostname(const CaptureCard &parent)
void probeCard(const QString &videodevice)
const CaptureCard & m_parent
void resultEdit(DialogCompletionEvent *) override
QMap< QString, VBoxDevice > VBoxDeviceList
QDateTime current(bool stripped)
Returns current Date and Time in UTC.
void FillDeviceList(void)
const VideoSource & m_parent
int getCardID(void) const
FirewireDesc(const FirewireGUID *_guid)
DVB-S device settings class.
void SetIP(const QString &ip)
QString GetSetClause(MSqlBindings &bindings) const override
Storage * GetStorage(void) const
void probeCard(const QString &device)
friend class HDHomeRunExtra
VBoxDeviceID(const CaptureCard &parent)
TransFreqTableSelector(uint sourceid)
ImportConfigurationGroup(CaptureCard &parent, CardType &cardtype)
GroupSetting * m_cardInfo
HDPVRConfigurationGroup(CaptureCard &parent, CardType &cardtype)
ASIConfigurationGroup(CaptureCard &parent, CardType &cardType)
HDHomeRunDeviceID(const CaptureCard &parent, HDHomeRunConfigurationGroup &_group)
VBoxDeviceIDList * m_deviceIdList
static bool is_grabber_labs([[maybe_unused]] const QString &grabber)
void probeCard(const QString &device)
void setEnabled(bool e) override
UseHDHomeRunDevice * m_checkbox
void fillSelections(const QString ¤t)
Adds all available device-tuner combinations to list.
uint GetSourceID(void) const
virtual void setHelpText(const QString &str)
void probeCard(const QString &device)
static bool is_grabber_external(const QString &grabber)
void UpdateDevices(const QString &v)
CaptureCard(bool use_card_group=true)
void SetIP(const QString &ip)
virtual QString getValue(void) const
virtual void SetSaveRequired(void)
void probeCard(const QString &device)
EmptyAudioDevice(const CaptureCard &parent)
void edit(MythScreenType *) override
MythCoreContext * gCoreContext
This global variable contains the MythCoreContext instance for the app.
void UpdateDevices(const QString &v)
void probeCard(const QString &device)
void Save(const QString &destination)
virtual void Save(void)=0
static void fillSelections(GroupSetting *setting)
VBoxConfigurationGroup(CaptureCard &parent, CardType &cardtype)
virtual void setLabel(QString str)
void SetOldValue(const QString &s)
~DVBConfigurationGroup() override
void LoadedCard(const QString &)
QString GetWhereClause(MSqlBindings &bindings) const override
void FillDeviceList(void)
VBoxTunerIndex * m_cardTuner
VBoxDeviceIDList(VBoxDeviceID *deviceid, StandardSetting *desc, VBoxIP *cardip, VBoxTunerIndex *cardtuner, VBoxDeviceList *devicelist, const CaptureCard &parent)
void deleteEntry(void) override
CetonSetting(QString label, const QString &helptext)
CaptureCardGroup(CaptureCard &parent)
int getSourceID(void) const
static QString idToName(int id)
const CaptureCard & m_parent
MPEGConfigurationGroup(CaptureCard &parent, CardType &cardtype)
void probeCard(const QString &device)
virtual void Save(const QString &)
static void fillSelections(GroupSetting *setting)
ChannelTimeout * m_channelTimeout
VBoxDeviceList m_deviceList
V4L2encGroup(CaptureCard &parent, CardType &cardType)
Event dispatched from MythUI modal dialogs to a listening class containing a result of some form.
GroupSetting * m_cardInfo
static void fillSelections(void)
void SetOverrideDeviceID(const QString &deviceid)
void deleteEntry(void) override
VBoxTunerIndex * m_cardTuner
void SetSourceID(uint sourceid)
HDHomeRunConfigurationGroup & m_group
void NewTuner(const QString &)
void SetGUID(const QString &_guid)
void setValue(int value) override
uint GetSourceID(void) const
void NewIP(const QString &)
void LoadedTuner(const QString &)
DVB-S device tree class. Represents a tree of DVB-S devices.
StandardSetting * m_parent
CetonDeviceID(const CaptureCard &parent)
void setVisible(bool visible)
DemoConfigurationGroup(CaptureCard &parent, CardType &cardtype)
QString GetHostName(void)
TunerCardAudioInput * m_audioInput
void NewValue(const QString &)
bool canDelete(void) override
VBoxDeviceID * m_deviceId
EITOnly_config(const VideoSource &_parent, StandardSetting *_setting)
QMap< QString, HDHomeRunDevice > HDHomeRunDeviceList
void UpdateDevices(const QString &v)
void SetOldValue(const QString &s)
void Save(const QString &destination)
QString getSourceName(void) const
QString m_overrideDeviceId
IdSetting(const QString &table, const QString &setting)
const VideoSource & m_parent
void LoadedIP(const QString &)
QString GetRawCardType(void) const
QString GetWhereClause(MSqlBindings &bindings) const override
void reloadDiseqcTree(const QString &device)