summaryrefslogtreecommitdiffstats
path: root/abs/core/mythinstall/installdialog.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/installdialog.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/installdialog.h')
-rwxr-xr-xabs/core/mythinstall/installdialog.h101
1 files changed, 101 insertions, 0 deletions
diff --git a/abs/core/mythinstall/installdialog.h b/abs/core/mythinstall/installdialog.h
new file mode 100755
index 0000000..f1c98ab
--- /dev/null
+++ b/abs/core/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