MythTV  master
videosource.h
Go to the documentation of this file.
1 #ifndef VIDEOSOURCE_H
2 #define VIDEOSOURCE_H
3 
4 #include <vector>
5 using namespace std;
6 
7 #include "mthread.h"
8 #include "standardsettings.h"
9 #include "mythcontext.h"
10 #include "mythtvexp.h"
11 
12 class SignalTimeout;
13 class ChannelTimeout;
14 class UseEIT;
15 class VideoSource;
16 class CaptureCard;
17 class VBIDevice;
18 class CardInput;
19 class CardID;
20 class InputName;
21 class SourceID;
22 class DeviceTree;
23 class DiSEqCDevTree;
24 class DiSEqCDevSettings;
25 class InputGroup;
26 
27 static inline bool is_grabber_external(const QString &grabber)
28 {
29  return !(grabber == "eitonly" ||
30  grabber == "/bin/true");
31 }
32 
33 static inline bool is_grabber_labs(const QString &grabber)
34 {
35  Q_UNUSED(grabber);
36  return false;
37 }
38 
40 {
41  public:
43  const VideoSource &_parent,
44  const QString &name) :
45  SimpleDBStorage(_user, "videosource", name), m_parent(_parent)
46  {
47  }
48 
49  protected:
50  QString GetSetClause(MSqlBindings &bindings) const override; // SimpleDBStorage
51  QString GetWhereClause(MSqlBindings &bindings) const override; // SimpleDBStorage
52 
54 };
55 
57 {
58  Q_OBJECT
59 
60  public:
61  VideoSourceSelector(uint _initial_sourceid,
62  const QString &_card_types,
63  bool _must_have_mplexid);
64 
65  void Load(void) override; // StandardSetting
66 
67  uint GetSourceID(void) const { return getValue().toUInt(); }
68 
69  private:
71  QString m_cardTypes;
73 };
74 
77 {
78  Q_OBJECT
79 public:
80  explicit FreqTableSelector(const VideoSource& parent);
81 protected:
82  QString freq;
83 };
84 
86 {
87  public:
88  explicit TransFreqTableSelector(uint _sourceid);
89 
90  void Load(void) override; // StandardSetting
91 
92  void Save(void) override; // StandardSetting
93  virtual void Save(QString /*destination*/) { Save(); }
94 
95  void SetSourceID(uint _sourceid);
96 
97  private:
100 };
101 
103 {
104  Q_OBJECT
105 
106  public:
107  XMLTV_generic_config(const VideoSource& _parent, const QString& _grabber,
108  StandardSetting *_setting);
109 
110  void Save(void) override; // StandardSetting
111  virtual void Save(QString) { Save(); }
112 
113  public slots:
114  void RunConfig(void);
115 
116  protected:
118  QString m_grabber;
119  QStringList m_grabberArgs;
120 };
121 
123 {
124 public:
125  EITOnly_config(const VideoSource& _parent, StandardSetting *_setting);
126 
127  void Save(void) override; // StandardSetting
128  virtual void Save(QString) { Save(); }
129 
130 protected:
131  UseEIT *m_useeit {nullptr};
132 };
133 
135 {
136 public:
137  explicit NoGrabber_config(const VideoSource& _parent);
138 
139  void Save(void) override; // StandardSetting
140  virtual void Save(QString) { Save(); }
141 
142 protected:
143  UseEIT *m_useeit {nullptr};
144 };
145 
147 public:
148  IdSetting(const QString &table, const QString &setting):
149  AutoIncrementSetting(table, setting)
150  {
151  setVisible(false);
152  }
153 
154  int intValue() { return getValue().toInt(); }
155  void setValue(int value) override // StandardSetting
156  { setValue(QString::number(value)); }
158 };
159 
160 class VideoSource : public GroupSetting {
161  Q_OBJECT
162 
163  public:
164  VideoSource();
165 
166  int getSourceID(void) const { return m_id->intValue(); };
167 
168  void loadByID(int id);
169 
170  static void fillSelections(GroupSetting* setting);
171  static void fillSelections(MythUIComboBoxSetting* setting);
172  static QString idToName(int id);
173 
174  QString getSourceName(void) const { return m_name->getValue(); };
175 
176  void Load(void) override // StandardSetting
177  {
179  }
180 
181  void Save(void) override // StandardSetting
182  {
183  if (m_name)
185  }
186  bool canDelete(void) override; // GroupSetting
187  void deleteEntry(void) override; // GroupSetting
188 
189  private:
190  class ID: public IdSetting
191  {
192  public:
193  ID() : IdSetting("videosource", "sourceid")
194  {
195  };
196  };
197 
199  {
200  public:
201  explicit Name(const VideoSource &parent) :
202  MythUITextEditSetting(new VideoSourceDBStorage(this, parent, "name"))
203  {
204  setLabel(QObject::tr("Video source name"));
205  }
206  };
207 
208 private:
209  ID *m_id {nullptr};
210  Name *m_name {nullptr};
211 };
212 
214 {
215  public:
217  const CaptureCard &_parent,
218  const QString &_name) :
219  SimpleDBStorage(_user, "capturecard", _name), m_parent(_parent)
220  {
221  }
222 
223 
224 protected:
225  int getCardID(void) const;
226  QString GetSetClause(MSqlBindings &bindings) const override; // SimpleDBStorage
227  QString GetWhereClause(MSqlBindings &bindings) const override; // SimpleDBStorage
228 private:
230 };
231 
233 {
234  public:
236  bool rw,
237  const QString &setting) :
238  MythUIComboBoxSetting(new CaptureCardDBStorage(this, parent, setting),
239  rw)
240  {
241  }
242 };
243 
245 {
246  Q_OBJECT
247  public:
248  TunerCardAudioInput(const CaptureCard &parent,
249  QString dev = QString(),
250  QString type = QString());
251 
252  public slots:
253  int fillSelections(const QString &device);
254 
255  private:
256  QString m_lastDevice;
257  QString m_lastCardType;
258 };
259 
261 {
262  Q_OBJECT
263  public:
264  explicit EmptyAudioDevice(const CaptureCard &parent) :
266  "audiodevice"))
267  {
268  setVisible(false);
269  }
270 
271  void Save(void) override // StandardSetting
272  {
273  GetStorage()->SetSaveRequired();
274  setValue("");
275  GetStorage()->Save();
276  }
277  void Save(QString destination)
278  {
279  GetStorage()->SetSaveRequired();
280  setValue("");
281  GetStorage()->Save(destination);
282  }
283 };
284 
286 {
287  Q_OBJECT
288 
289  public:
290  explicit EmptyVBIDevice(const CaptureCard &parent) :
291  MythUITextEditSetting(new CaptureCardDBStorage(this, parent, "vbidevice"))
292  {
293  setVisible(false);
294  };
295 
296  void Save(void) override // StandardSetting
297  {
298  GetStorage()->SetSaveRequired();
299  setValue("");
300  GetStorage()->Save();
301  }
302  void Save(QString destination)
303  {
304  GetStorage()->SetSaveRequired();
305  setValue("");
306  GetStorage()->Save(destination);
307  }
308 };
309 
311 {
312 public:
313  explicit CardType(const CaptureCard& parent);
314  static void fillSelections(MythUIComboBoxSetting* setting);
315 };
316 
317 #ifdef USING_HDHOMERUN
318 
319 class UseHDHomeRunDevice;
321 {
322  public:
323  QString deviceid;
324  QString model;
325  QString cardip;
327 };
328 
329 typedef QMap<QString, HDHomeRunDevice> HDHomeRunDeviceList;
330 
331 class HDHomeRunDeviceID;
333 {
334  Q_OBJECT
335 
336  friend class HDHomeRunExtra;
337 
338  public:
340  void SetDeviceCheckBoxes(const QString& devices);
341  QString GetDeviceCheckBoxes(void);
342 
343  private:
344  void FillDeviceList(void);
345 
346  private:
348  HDHomeRunDeviceID *m_deviceId {nullptr};
350 };
351 
353 {
354  Q_OBJECT
355 
356  public:
357  HDHomeRunDeviceID(const CaptureCard &parent,
359  void Load(void) override; // StandardSetting
360  void Save(void) override; // StandardSetting
361 
362  private:
364 };
365 
366 #endif
367 
369 {
370  public:
371  QString mythdeviceid;
372  QString deviceid;
373  QString desc;
374  QString cardip;
375  QString tunerno;
376  QString tunertype;
377  bool inuse;
379 };
380 
381 typedef QMap<QString, VBoxDevice> VBoxDeviceList;
382 
383 class VBoxDeviceIDList;
384 class VBoxDeviceID;
385 class VBoxIP;
386 class VBoxTunerIndex;
388 {
389  Q_OBJECT
390 
391  public:
392  VBoxConfigurationGroup(CaptureCard &parent, CardType &cardtype);
393 
394  private:
395  void FillDeviceList(void);
396 
397  private:
399  StandardSetting *m_desc {nullptr};
400  VBoxDeviceIDList *m_deviceIdList {nullptr};
401  VBoxDeviceID *m_deviceId {nullptr};
402  VBoxIP *m_cardIp {nullptr};
403  VBoxTunerIndex *m_cardTuner {nullptr};
405 };
406 
408 {
409  Q_OBJECT
410 
411  public:
412  V4LConfigurationGroup(CaptureCard &parent, CardType &cardtype);
413 
414  public slots:
415  void probeCard(const QString &device);
416 
417  private:
419  TransTextEditSetting *m_cardInfo {nullptr};
420  VBIDevice *m_vbiDev {nullptr};
421 };
422 
423 class VideoDevice;
424 class VBIDevice;
425 
427 {
428  Q_OBJECT
429 
430  public:
431  MPEGConfigurationGroup(CaptureCard &parent, CardType &cardtype);
432 
433  public slots:
434  void probeCard(const QString &device);
435 
436  private:
438  VideoDevice *m_device {nullptr};
439  VBIDevice *m_vbiDevice {nullptr};
440  TransTextEditSetting *m_cardInfo {nullptr};
441 };
442 
444 {
445  Q_OBJECT
446 
447  public:
448  HDPVRConfigurationGroup(CaptureCard &parent, CardType &cardtype);
449 
450  public slots:
451  void probeCard(const QString &device);
452 
453  private:
455  GroupSetting *m_cardInfo {nullptr};
456  TunerCardAudioInput *m_audioInput {nullptr};
457  VBIDevice *m_vbiDevice {nullptr};
458 };
459 
460 class ASIDevice;
461 
463 {
464  Q_OBJECT
465 
466  public:
467  V4L2encGroup(CaptureCard& parent, CardType& cardType);
468 
469  private:
471  TransTextEditSetting *m_cardInfo {nullptr};
472  VideoDevice *m_device {nullptr};
473 
474  QString m_DriverName;
475 
476  protected slots:
477  void probeCard(const QString &device);
478 };
479 
481 {
482  Q_OBJECT
483 
484  public:
485  ASIConfigurationGroup(CaptureCard &parent, CardType &cardType);
486 
487  public slots:
488  void probeCard(const QString &device);
489 
490  private:
492  ASIDevice *m_device {nullptr};
493  TransTextEditSetting *m_cardInfo {nullptr};
494 };
495 
497 {
498  Q_OBJECT
499 
500  public:
501  ImportConfigurationGroup(CaptureCard &parent, CardType &cardtype);
502 
503  public slots:
504  void probeCard(const QString &device);
505 
506  private:
508  TransTextEditSetting *m_info {nullptr};
509  TransTextEditSetting *m_size {nullptr};
510 };
511 
513 {
514  Q_OBJECT
515 
516  public:
517  DemoConfigurationGroup(CaptureCard &parent, CardType &cardtype);
518 
519  public slots:
520  void probeCard(const QString &device);
521 
522  private:
524  TransTextEditSetting *m_info {nullptr};
525  TransTextEditSetting *m_size {nullptr};
526 };
527 
528 #if !defined( USING_MINGW ) && !defined( _MSC_VER )
529 class ExternalConfigurationGroup: public GroupSetting
530 {
531  Q_OBJECT
532 
533  public:
534  ExternalConfigurationGroup(CaptureCard &parent, CardType &cardtype);
535 
536  public slots:
537  void probeApp(const QString & path);
538 
539  private:
540  CaptureCard &m_parent;
541  TransTextEditSetting *m_info {nullptr};
542 };
543 #endif
544 
545 class DVBCardNum;
546 class DVBCardName;
547 class DVBCardType;
548 class DVBTuningDelay;
549 
551 {
552  Q_OBJECT
553 
554  friend class DVBExtra;
555 
556  public:
557  DVBConfigurationGroup(CaptureCard& a_parent, CardType& cardType);
559 
560  void Load(void) override; // StandardSetting
561 
562  void Save(void) override; // StandardSetting
563 
564  public slots:
565  void probeCard(const QString& videodevice);
566  void reloadDiseqcTree(const QString &device);
567 
568  private:
570 
571  DVBCardNum *m_cardNum {nullptr};
572  DVBCardName *m_cardName {nullptr};
573  DVBCardType *m_cardType {nullptr};
574  SignalTimeout *m_signalTimeout {nullptr};
575  ChannelTimeout *m_channelTimeout {nullptr};
576 #if 0
577  TransButtonSetting *m_buttonAnalog {nullptr};
578 #endif
579  DVBTuningDelay *m_tuningDelay {nullptr};
580  DiSEqCDevTree *m_diseqcTree {nullptr};
581  DeviceTree *m_diseqcBtn {nullptr};
582 };
583 
584 class FirewireGUID;
586 {
587  Q_OBJECT
588 
589  public:
590  FirewireModel(const CaptureCard &parent, const FirewireGUID*);
591 
592  public slots:
593  void SetGUID(const QString&);
594 
595  private:
596  const FirewireGUID *m_guid {nullptr};
597 };
598 
600 {
601  Q_OBJECT
602 
603  public:
604  explicit FirewireDesc(const FirewireGUID *_guid) :
605  GroupSetting(), m_guid(_guid) { }
606 
607  public slots:
608  void SetGUID(const QString&);
609 
610  private:
611  const FirewireGUID *m_guid {nullptr};
612 };
613 
615 {
616  Q_OBJECT
617 public:
618  explicit CaptureCardGroup(CaptureCard& parent);
619 };
620 
621 class CaptureCard : public GroupSetting
622 {
623  Q_OBJECT
624 public:
625  explicit CaptureCard(bool use_card_group = true);
626 
627  int getCardID(void) const { return m_id->intValue(); }
628  QString GetRawCardType(void) const;
629 
630  void loadByID(int id);
631 
632  static void fillSelections(GroupSetting* setting);
633 
634  void reload(void);
635 
636  void Save(void) override; // StandardSetting
637 
638  bool canDelete(void) override; // GroupSetting
639  void deleteEntry(void) override; // GroupSetting
640 
641 private:
642 
643  class ID: public IdSetting {
644  public:
645  ID():
646  IdSetting("capturecard", "cardid")
647  {
648  }
649  };
650 
651  class Hostname : public StandardSetting
652  {
653  public:
654  explicit Hostname(const CaptureCard &parent) :
655  StandardSetting(new CaptureCardDBStorage(this, parent, "hostname"))
656  {
657  setVisible(false);
658  setValue(gCoreContext->GetHostName());
659  }
660  void edit(MythScreenType *) override {} // StandardSetting
661  void resultEdit(DialogCompletionEvent *) override {} // StandardSetting
662  };
663 
664 private:
665  ID *m_id {nullptr};
666 };
667 
669 {
670  public:
672  const CardInput &_parent,
673  const QString& _name) :
674  SimpleDBStorage(_user, "capturecard", _name), m_parent(_parent)
675  {
676  }
677 
678  int getInputID(void) const;
679 
680  protected:
681  void fillSelections();
682 
683  QString GetSetClause(MSqlBindings &bindings) const override; // SimpleDBStorage
684  QString GetWhereClause(MSqlBindings &bindings) const override; // SimpleDBStorage
685 
686  private:
688 };
689 
691 {
692  Q_OBJECT
693 
694  public:
695  CaptureCardButton(const QString &label, const QString &value)
696  : ButtonStandardSetting(label),
697  m_value(value)
698  {
699  }
700 
701  void edit(MythScreenType *screen) override; // ButtonStandardSetting
702 
703  signals:
704  void Clicked(const QString &choice);
705 
706  private:
707  QString m_value;
708 };
709 
711 {
712  Q_OBJECT
713 
714  public:
716 
717  void Load(void) override; // StandardSetting
718 
719  void AddSelection(const QString &label, const char *slot);
720 
721  public slots:
722  void ShowDeleteAllCaptureCardsDialog(void);
723  void ShowDeleteAllCaptureCardsDialogOnHost(void);
724  void DeleteAllCaptureCards(bool);
725  void DeleteAllCaptureCardsOnHost(bool);
726  void AddNewCard(void);
727 };
728 
730 {
731  Q_OBJECT
732 
733  public:
735 
736  bool cardTypesInclude(const int& SourceID,
737  const QString& thecardtype);
738 
739  void Load(void) override; // StandardSetting
740  void AddSelection(const QString &label, const char *slot);
741 
742  public slots:
743  void NewSource(void);
744  void ShowDeleteAllSourcesDialog(void);
745  void DeleteAllSources(bool);
746 };
747 
749 {
750  Q_OBJECT
751 
752  public:
753  CardInputEditor();
754 
755  void Load(void) override; // StandardSetting
756 
757  private:
758  vector<CardInput*> m_cardInputs;
759 };
760 
762 {
763  Q_OBJECT
764  public:
765  explicit StartingChannel(const CardInput &parent) :
766  MythUIComboBoxSetting(new CardInputDBStorage(this, parent, "startchan"),
767  false)
768  {
769  setLabel(QObject::tr("Starting channel"));
770  setHelpText(QObject::tr("Starting Live TV channel.") + " " +
771  QObject::tr("This is updated on every successful "
772  "channel change."));
773  }
774  void fillSelections(void) {;}
775  public slots:
776  void SetSourceID(const QString &sourceid);
777 };
778 
779 class CardInput : public GroupSetting
780 {
781  Q_OBJECT
782  public:
783  CardInput(const QString & cardtype, const QString & device,
784  int cardid);
785  ~CardInput();
786 
787  int getInputID(void) const { return m_id->intValue(); };
788 
789  void loadByID(int id);
790  void loadByInput(int cardid, const QString& inputname);
791  QString getSourceName(void) const;
792 
793  void Save(void) override; // StandardSetting
794 
795  public slots:
796  void CreateNewInputGroup();
797  void channelScanner();
798  void sourceFetch();
799  void SetSourceID(const QString &sourceid);
800  void CreateNewInputGroupSlot(const QString &name);
801 
802  private:
803  class ID: public IdSetting
804  {
805  public:
806  ID() : IdSetting("capturecard", "cardid")
807  {
808  }
809  };
810 
811  ID *m_id {nullptr};
812  InputName *m_inputName {nullptr};
813  SourceID *m_sourceId {nullptr};
814  StartingChannel *m_startChan {nullptr};
815  ButtonStandardSetting *m_scan {nullptr};
816  ButtonStandardSetting *m_srcFetch {nullptr};
817  DiSEqCDevSettings *m_externalInputSettings {nullptr};
818  InputGroup *m_inputGrp0 {nullptr};
819  InputGroup *m_inputGrp1 {nullptr};
820  MythUISpinBoxSetting *m_instanceCount {nullptr};
821  MythUICheckBoxSetting *m_schedGroup {nullptr};
822 };
823 
825 class VBoxDeviceID;
826 class VBoxTunerIndex;
827 
829 {
830  Q_OBJECT
831 
832  public:
833  VBoxIP();
834 
835  void setEnabled(bool e) override; // StandardSetting
836  void SetOldValue(const QString &s)
837  { m_oldValue = s; };
838 
839  signals:
840  void NewIP(const QString&);
841 
842  public slots:
843  void UpdateDevices(const QString&);
844 
845  private:
846  QString m_oldValue;
847 };
848 
850 {
851  Q_OBJECT
852 
853  public:
854  VBoxTunerIndex();
855 
856  void setEnabled(bool e) override; // StandardSetting
857  void SetOldValue(const QString &s)
858  { m_oldValue = s; };
859 
860  signals:
861  void NewTuner(const QString&);
862 
863  public slots:
864  void UpdateDevices(const QString&);
865 
866  private:
867  QString m_oldValue;
868 };
869 
871 {
872  Q_OBJECT
873 
874  public:
875  VBoxDeviceIDList(VBoxDeviceID *deviceid,
876  StandardSetting *desc,
877  VBoxIP *cardip,
878  VBoxTunerIndex *cardtuner,
879  VBoxDeviceList *devicelist,
880  const CaptureCard &parent);
881 
882  void fillSelections(const QString &current);
883 
884  void Load(void) override; // StandardSetting
885 
886  public slots:
887  void UpdateDevices(const QString&);
888 
889  private:
896 
897  QString m_oldValue;
898 };
899 
901 {
902  Q_OBJECT
903 
904  public:
905  explicit VBoxDeviceID(const CaptureCard &parent);
906 
907  void Load(void) override; // StandardSetting
908 
909  public slots:
910  void SetIP(const QString&);
911  void SetTuner(const QString&);
912  void SetOverrideDeviceID(const QString&);
913 
914  private:
915  QString m_ip;
916  QString m_tuner;
918 };
919 
921 {
922  Q_OBJECT
923 
924  public:
925  CetonSetting(const char* label, const char* helptext);
926 
927  signals:
928  void NewValue(const QString&);
929 
930  public slots:
931  void UpdateDevices(const QString&);
932  void LoadValue(const QString&);
933 };
934 
936 {
937  Q_OBJECT
938 
939  public:
940  explicit CetonDeviceID(const CaptureCard &parent);
941 
942  void Load(void) override; // StandardSetting
943  void UpdateValues();
944 
945  signals:
946  void LoadedIP(const QString&);
947  void LoadedCard(const QString&);
948  void LoadedTuner(const QString&);
949 
950  public slots:
951  void SetIP(const QString&);
952  void SetTuner(const QString&);
953 
954  private:
955  QString m_ip;
956  QString m_card;
957  QString m_tuner;
959 };
960 
961 #endif
QString m_ip
Definition: videosource.h:915
CaptureCard & m_parent
Definition: videosource.h:418
unsigned int slots[4]
Definition: element.c:38
QString getSourceName(void) const
Definition: videosource.h:174
DVB-S device settings class.
Definition: diseqc.h:35
CaptureCardDBStorage(StorageUser *_user, const CaptureCard &_parent, const QString &_name)
Definition: videosource.h:216
vector< CardInput * > m_cardInputs
Definition: videosource.h:758
CaptureCardComboBoxSetting(const CaptureCard &parent, bool rw, const QString &setting)
Definition: videosource.h:235
QString cardip
Definition: videosource.h:374
UseHDHomeRunDevice * checkbox
Definition: videosource.h:326
VBoxDeviceID * m_deviceId
Definition: videosource.h:890
QString m_oldValue
Definition: videosource.h:897
void resultEdit(DialogCompletionEvent *) override
Definition: videosource.h:661
CaptureCard & m_parent
Definition: videosource.h:523
virtual void Load(void)
const CaptureCard & m_parent
Definition: videosource.h:895
QString deviceid
Definition: videosource.h:372
HDHomeRunConfigurationGroup & group
Definition: videosource.h:363
void Save(QString destination)
Definition: videosource.h:302
void Save(void) override
Definition: videosource.h:296
unsigned int uint
Definition: compat.h:140
MythCoreContext * gCoreContext
This global variable contains the MythCoreContext instance for the app.
int getCardID(void) const
Definition: videosource.h:627
QStringList m_grabberArgs
Definition: videosource.h:119
StartingChannel(const CardInput &parent)
Definition: videosource.h:765
QMap< QString, VBoxDevice > VBoxDeviceList
Definition: videosource.h:381
QMap< QString, HDHomeRunDevice > HDHomeRunDeviceList
Definition: videosource.h:329
Hostname(const CaptureCard &parent)
Definition: videosource.h:654
QString deviceid
Definition: videosource.h:323
const CaptureCard & m_parent
Definition: videosource.h:229
void edit(MythScreenType *) override
Definition: videosource.h:660
FirewireDesc(const FirewireGUID *_guid)
Definition: videosource.h:604
VERBOSE_PREAMBLE false
Definition: verbosedefs.h:85
CardInputDBStorage(StorageUser *_user, const CardInput &_parent, const QString &_name)
Definition: videosource.h:671
#define MTV_PUBLIC
Definition: mythtvexp.h:15
uint GetSourceID(void) const
Definition: videosource.h:67
void SetOldValue(const QString &s)
Definition: videosource.h:836
HDHomeRunDeviceList m_deviceList
Definition: videosource.h:349
QDateTime current(bool stripped)
Returns current Date and Time in UTC.
Definition: mythdate.cpp:10
VBoxDeviceList m_deviceList
Definition: videosource.h:404
void fillSelections(void)
Definition: videosource.h:774
QString tunertype
Definition: videosource.h:376
VBoxIP * m_cardIp
Definition: videosource.h:892
void Load(void) override
Definition: videosource.h:176
bool discovered
Definition: videosource.h:378
QString m_tuner
Definition: videosource.h:957
const char * name
Definition: ParseText.cpp:328
CaptureCard & m_parent
Definition: videosource.h:437
CaptureCard & m_parent
Definition: videosource.h:470
const VideoSource & m_parent
Definition: videosource.h:53
const CaptureCard & m_parent
Definition: videosource.h:958
virtual void Save(void)
QString m_card
Definition: videosource.h:956
void Save(QString destination)
Definition: videosource.h:277
QString tunerno
Definition: videosource.h:375
CaptureCard & m_parent
Definition: videosource.h:398
QString m_overrideDeviceId
Definition: videosource.h:917
int intValue()
Definition: videosource.h:154
void SetOldValue(const QString &s)
Definition: videosource.h:857
const VideoSource & m_parent
Definition: videosource.h:117
virtual void Save(QString)
Definition: videosource.h:111
CaptureCard & m_parent
Definition: videosource.h:491
QString m_DriverName
Definition: videosource.h:474
void setValue(int value) override
Definition: videosource.h:155
CaptureCardButton(const QString &label, const QString &value)
Definition: videosource.h:695
EmptyVBIDevice(const CaptureCard &parent)
Definition: videosource.h:290
VideoSourceDBStorage(StorageUser *_user, const VideoSource &_parent, const QString &name)
Definition: videosource.h:42
virtual void Save(QString)
Definition: videosource.h:128
Name(const VideoSource &parent)
Definition: videosource.h:201
VBoxTunerIndex * m_cardTuner
Definition: videosource.h:893
CaptureCard & m_parent
Definition: videosource.h:507
EmptyAudioDevice(const CaptureCard &parent)
Definition: videosource.h:264
QMap< QString, QVariant > MSqlBindings
typedef for a map of string -> string bindings for generic queries.
Definition: mythdbcon.h:98
QString m_ip
Definition: videosource.h:955
int getSourceID(void) const
Definition: videosource.h:166
QString m_oldValue
Definition: videosource.h:846
QString m_tuner
Definition: videosource.h:916
Screen in which all other widgets are contained and rendered.
CaptureCard & m_parent
Definition: videosource.h:569
QString desc
Definition: videosource.h:373
StandardSetting * m_desc
Definition: videosource.h:891
static bool is_grabber_labs(const QString &grabber)
Definition: videosource.h:33
QString GetHostName(void)
void Save(void) override
Definition: videosource.h:271
Event dispatched from MythUI modal dialogs to a listening class containing a result of some form.
Definition: mythdialogbox.h:37
void Save(void) override
Definition: videosource.h:181
IdSetting(const QString &table, const QString &setting)
Definition: videosource.h:148
const CardInput & m_parent
Definition: videosource.h:687
virtual void Save(QString)
Definition: videosource.h:140
DVB-S device tree class.
Definition: diseqc.h:73
virtual void Save(QString)
Definition: videosource.h:93
virtual void setValue(const QString &newValue)
VBoxDeviceList * m_deviceList
Definition: videosource.h:894
static bool is_grabber_external(const QString &grabber)
Definition: videosource.h:27
CaptureCard & m_parent
Definition: videosource.h:454
QString mythdeviceid
Definition: videosource.h:371
int getInputID(void) const
Definition: videosource.h:787
QString m_oldValue
Definition: videosource.h:867