diff options
author | James Meyer <james.meyer@operamail.com> | 2009-08-02 04:36:08 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-08-02 04:36:08 (GMT) |
commit | 9a4b520578e61b098b4dce7a3ba2376c0c74b01e (patch) | |
tree | 0b77dde997c3554e8211e386485ddc1199ecc476 /abs/core-testing/mythinstall/statusbox.h | |
parent | 68f0ad93db42767b17f0c9187354b3f0533e896c (diff) | |
parent | 657aa7b8d352108a98719a22e6422b490e598d26 (diff) | |
download | linhes_pkgbuild-9a4b520578e61b098b4dce7a3ba2376c0c74b01e.zip linhes_pkgbuild-9a4b520578e61b098b4dce7a3ba2376c0c74b01e.tar.gz linhes_pkgbuild-9a4b520578e61b098b4dce7a3ba2376c0c74b01e.tar.bz2 |
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/core-testing/mythinstall/statusbox.h')
-rwxr-xr-x | abs/core-testing/mythinstall/statusbox.h | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/abs/core-testing/mythinstall/statusbox.h b/abs/core-testing/mythinstall/statusbox.h new file mode 100755 index 0000000..dd209ca --- /dev/null +++ b/abs/core-testing/mythinstall/statusbox.h @@ -0,0 +1,76 @@ +#ifndef STATUSBOX_H_ +#define STATUSBOX_H_ + +#include <qstringlist.h> +#include "mythwidgets.h" +#include "mythdialogs.h" +#include "uitypes.h" +#include "xmlparse.h" +#include "programinfo.h" + +typedef QMap<QString, unsigned int> recprof2bps_t; + +class LayerSet; + +class StatusBox : public MythDialog +{ + Q_OBJECT + public: + StatusBox(MythMainWindow *parent, const char *name = 0); + ~StatusBox(void); + + bool IsErrored() const { return errored; } + + protected slots: + + protected: + void keyPressEvent(QKeyEvent *e); + void paintEvent(QPaintEvent *e); + + private: + void updateTopBar(); + void updateSelector(); + void updateContent(); + void LoadTheme(); + void doListingsStatus(); + void doTunerStatus(); + void doLogEntries(); + void doJobQueueStatus(); + void doMachineStatus(); + void doAutoExpireList(); + void clicked(); + void setHelpText(); + void getActualRecordedBPS(QString hostnames); + + XMLParse *theme; + QDomElement xmldata; + QRect TopRect, SelectRect, ContentRect; + UITextType *heading, *helptext; + UIListType *icon_list, *list_area; + LayerSet *selector, *topbar, *content; + + int max_icons; + + bool inContent, doScroll; + int contentTotalLines; + int contentSize; + int contentPos; + int contentMid; + int min_level; + QString dateFormat, timeFormat, timeDateFormat; + + QMap<int, QString> contentLines; + QMap<int, QString> contentDetail; + QMap<int, QString> contentFont; + QMap<int, QString> contentData; + recprof2bps_t recordingProfilesBPS; + + vector<ProgramInfo *> expList; + + MythMainWindow *my_parent; + + bool isBackend; + bool errored; +}; + +#endif |