summaryrefslogtreecommitdiffstats
path: root/abs/core/mythinstall/statusbox.h
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
commit7b29169fff9e7c624890c5edffe85def8a293136 (patch)
tree47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/core/mythinstall/statusbox.h
parentc491dea779dac29afff3578bf8245943817c2339 (diff)
downloadlinhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2
LinHES 6.01.00
Diffstat (limited to 'abs/core/mythinstall/statusbox.h')
-rwxr-xr-xabs/core/mythinstall/statusbox.h76
1 files changed, 76 insertions, 0 deletions
diff --git a/abs/core/mythinstall/statusbox.h b/abs/core/mythinstall/statusbox.h
new file mode 100755
index 0000000..dd209ca
--- /dev/null
+++ b/abs/core/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