00001 #ifndef VIDEOMETADATASETTINGS_H 00002 #define VIDEOMETADATASETTINGS_H 00003 00004 // libmythui 00005 #include "mythuispinbox.h" 00006 #include "mythuibutton.h" 00007 #include "mythuibuttonlist.h" 00008 #include "mythuicheckbox.h" 00009 #include "mythscreentype.h" 00010 #include "mythdialogbox.h" 00011 00012 class MetadataSettings : public MythScreenType 00013 { 00014 Q_OBJECT 00015 00016 public: 00017 00018 MetadataSettings(MythScreenStack *parent, const char *name = 0); 00019 ~MetadataSettings(); 00020 00021 bool Create(void); 00022 bool keyPressEvent(QKeyEvent *); 00023 00024 private: 00025 MythUISpinBox *m_trailerSpin; 00026 00027 MythUICheckBox *m_unknownFileCheck; 00028 MythUICheckBox *m_autoMetaUpdateCheck; 00029 MythUICheckBox *m_treeLoadsMetaCheck; 00030 MythUICheckBox *m_randomTrailerCheck; 00031 00032 MythUIButton *m_okButton; 00033 MythUIButton *m_cancelButton; 00034 00035 private slots: 00036 void slotSave(void); 00037 void toggleTrailers(void); 00038 }; 00039 00040 #endif 00041
1.6.3