00001 #ifndef REC_OPT_DIALOG 00002 #define REC_OPT_DIALOG 00003 #include "mythdialogs.h" 00004 #include "managedlist.h" 00005 #include "xmlparse.h" 00006 00007 class RootSRGroup; 00008 class ScheduledRecording; 00009 class ProgramInfo; 00010 00011 class RecOptDialog : public MythDialog 00012 { 00013 Q_OBJECT 00014 00015 public: 00016 RecOptDialog(ScheduledRecording*, MythMainWindow *parent, const char *name = 0); 00017 ~RecOptDialog(); 00018 00019 00020 protected: 00021 void paintEvent(QPaintEvent *); 00022 void keyPressEvent(QKeyEvent *e); 00023 00024 protected: 00025 QPixmap myBackground; 00026 const ProgramInfo *program; 00027 ScheduledRecording* schedRec; 00028 00029 XMLParse* theme; 00030 QDomElement xmldata; 00031 00032 QRect infoRect; 00033 QRect fullRect; 00034 QRect listRect; 00035 00036 int listsize; 00037 00038 bool allowEvents; 00039 bool allowUpdates; 00040 bool updateAll; 00041 bool refillAll; 00042 00043 ManagedList listMenu; 00044 QGuardedPtr<RootSRGroup> rootGroup; 00045 void updateInfo(QPainter *p); 00046 void updateBackground(void); 00047 void LoadWindow(QDomElement &); 00048 void constructList(void); 00049 QMap<QString, QString> infoMap; 00050 }; 00051 00052 #endif
1.5.5