summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythinstall/installdialog.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/installdialog.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/installdialog.h')
-rwxr-xr-xabs/core-testing/mythinstall/installdialog.h101
1 files changed, 101 insertions, 0 deletions
diff --git a/abs/core-testing/mythinstall/installdialog.h b/abs/core-testing/mythinstall/installdialog.h
new file mode 100755
index 0000000..f1c98ab
--- /dev/null
+++ b/abs/core-testing/mythinstall/installdialog.h
@@ -0,0 +1,101 @@
+#ifndef WELCOMEDIALOG_H_
+#define WELCOMEDIALOG_H_
+
+#include <iostream>
+using namespace std;
+
+#include <qdatetime.h>
+#include "mythdialogs.h"
+#include "libmyth/dialogbox.h"
+class WelcomeDialog : public MythThemedDialog
+{
+
+ Q_OBJECT
+
+ public:
+
+ WelcomeDialog(MythMainWindow *parent,
+ QString window_name,
+ QString theme_filename,
+ const char* name = 0);
+ ~WelcomeDialog();
+
+ void keyPressEvent(QKeyEvent *e);
+ void wireUpTheme();
+ int exec(void);
+
+ protected slots:
+ void updateAll(void);
+ void updateStatus(void);
+ void updateScreen(void);
+ void closeDialog();
+ void updateTime();
+ void showPopup();
+ void showPopup_2();
+ void GO_popup(QString);
+ void Reboot_popup();
+ void cancelPopup();
+ void MAINPopup();
+ QString diskmodel(QString,QString);
+ QString findinstallsouce(void);
+ void Display_2ndpopup();
+ bool updateRecordingList(void);
+ bool updateScheduledList(void);
+ void shutdownNow(int);
+
+ void install_hda(void);
+ void install_hdb(void);
+ void install_hdc(void);
+ void install_hdd(void);
+ void install_sda(void);
+ void install_sdb(void);
+ void install_sdc(void);
+ void install_sdd(void);
+ void install_net(void);
+ void install_generic(void);
+ void install_it(void);
+ void runLIVECD(void);
+ void busy_box(void);
+ void busy_find_oldsettings(void);
+ int ask_validate_network(void);
+ private:
+ void updateStatusMessage(void);
+ UITextType* getTextType(QString name);
+ MythPopupBox *popup;
+ DialogBox *reboot_box;
+ DialogBox *upgrade_box;
+ //
+ // GUI stuff
+ //
+ UITextType *m_status_text;
+ UITextType *m_recording_text;
+ UITextType *m_scheduled_text;
+ UITextType *m_error_text;
+ UITextType *m_mv_text;
+ UITextType *m_warning_text;
+ UITextType *m_time_text;
+ UITextType *m_date_text;
+ QTimer *m_updateStatusTimer;
+ QTimer *m_updateScreenTimer;
+ QTimer *m_timeTimer;
+
+ QString m_installDir;
+ QString m_timeFormat;
+ QStringList m_statusList;
+ QString install_drive ;
+ QString install_text;
+ QString version_text;
+ QString recording_text;
+ QString scheduled_text;
+ QString error_text;
+ QString mythvantage_text;
+ string bin_prefix;
+ QString current_hostname;
+
+ bool I_AM_BUSY;
+ bool WORKING_ON_INSTALL;
+
+
+};
+
+#endif