00001 #ifndef PROGDETAILS_H_ 00002 #define PROGDETAILS_H_ 00003 00004 #include <qstring.h> 00005 #include <qimage.h> 00006 00007 #include "mythdialogs.h" 00008 #include "uitypes.h" 00009 00010 class ProgDetails : public MythThemedDialog 00011 { 00012 Q_OBJECT 00013 public: 00014 ProgDetails(MythMainWindow *parent, 00015 QString windowName, 00016 QString details = ""); 00017 ~ProgDetails(); 00018 00019 QString themeText(const QString &fontName, const QString &text, int size); 00020 void setDetails(const QString &details); 00021 00022 protected slots: 00023 virtual void keyPressEvent(QKeyEvent *e); 00024 00025 private: 00026 void wireUpTheme(void); 00027 00028 UIRichTextType *m_richText; 00029 UITextButtonType *m_okButton; 00030 00031 QString m_details; 00032 }; 00033 00034 #endif
1.5.5