00001 #ifndef PLAYERSETTINGS_H 00002 #define PLAYERSETTINGS_H 00003 00004 // libmythui 00005 #include "mythuibutton.h" 00006 #include "mythuibuttonlist.h" 00007 #include "mythuicheckbox.h" 00008 #include "mythscreentype.h" 00009 #include "mythdialogbox.h" 00010 00011 class PlayerSettings : public MythScreenType 00012 { 00013 Q_OBJECT 00014 00015 public: 00016 00017 PlayerSettings(MythScreenStack *parent, const char *name = 0); 00018 ~PlayerSettings(); 00019 00020 bool Create(void); 00021 bool keyPressEvent(QKeyEvent *); 00022 00023 private: 00024 MythUITextEdit *m_defaultPlayerEdit; 00025 MythUITextEdit *m_dvdPlayerEdit; 00026 MythUITextEdit *m_dvdDriveEdit; 00027 MythUITextEdit *m_blurayMountEdit; 00028 MythUITextEdit *m_altPlayerEdit; 00029 00030 MythUIButtonList *m_blurayRegionList; 00031 00032 MythUICheckBox *m_altCheck; 00033 00034 MythUIButton *m_okButton; 00035 MythUIButton *m_cancelButton; 00036 00037 private slots: 00038 void slotSave(void); 00039 void toggleAlt(void); 00040 void fillRegionList(void); 00041 }; 00042 00043 #endif 00044
1.6.3