summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythinstall/statusbox.h
diff options
context:
space:
mode:
authorGreg Frost <gregfrost1@bigpond.com>2009-08-01 23:56:22 (GMT)
committerGreg Frost <gregfrost1@bigpond.com>2009-08-01 23:56:22 (GMT)
commit3f300e50406f82e3fde4f48dd7c14fa79cbcd99a (patch)
treebf1e47d23befa44bba74f5d47c109fe3dfbc069e /abs/core-testing/mythinstall/statusbox.h
parentd5b30b14e06db375bcf5069f23f47213a65adeed (diff)
downloadlinhes_pkgbuild-3f300e50406f82e3fde4f48dd7c14fa79cbcd99a.zip
linhes_pkgbuild-3f300e50406f82e3fde4f48dd7c14fa79cbcd99a.tar.gz
linhes_pkgbuild-3f300e50406f82e3fde4f48dd7c14fa79cbcd99a.tar.bz2
LinHES-config mythinstall: add mythinstall with changes for tz autodetect
Diffstat (limited to 'abs/core-testing/mythinstall/statusbox.h')
-rwxr-xr-xabs/core-testing/mythinstall/statusbox.h76
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