00001 #ifndef VIDEOFILEASSOC_H_ 00002 #define VIDEOFILEASSOC_H_ 00003 00004 #include "mythscreentype.h" 00005 00006 class MythScreenStack; 00007 class MythUIButtonListItem; 00008 class MythUITextEdit; 00009 class MythUIButtonList; 00010 class MythUICheckBox; 00011 class MythUIButton; 00012 00013 class FileAssocDialog : public MythScreenType 00014 { 00015 Q_OBJECT 00016 00017 public: 00018 FileAssocDialog(MythScreenStack *screeParent, const QString &lname); 00019 ~FileAssocDialog(); 00020 00021 bool Create(); 00022 00023 public slots: 00024 void OnFASelected(MythUIButtonListItem *item); 00025 00026 void OnUseDefaltChanged(); 00027 void OnIgnoreChanged(); 00028 void OnPlayerCommandChanged(); 00029 00030 void OnDonePressed(); 00031 void OnDeletePressed(); 00032 void OnNewExtensionPressed(); 00033 00034 void OnNewExtensionComplete(QString newExtension); 00035 00036 private: 00037 void UpdateScreen(bool useSelectionOverride = false); 00038 00039 private: 00040 MythUITextEdit *m_commandEdit; 00041 MythUIButtonList *m_extensionList; 00042 MythUICheckBox *m_defaultCheck; 00043 MythUICheckBox *m_ignoreCheck; 00044 MythUIButton *m_doneButton; 00045 MythUIButton *m_newButton; 00046 MythUIButton *m_deleteButton; 00047 00048 class FileAssocDialogPrivate *m_private; 00049 }; 00050 00051 #endif
1.6.3