summaryrefslogtreecommitdiffstats
path: root/abs/core/mythinstall/MythVantage-app/mythinstall/installdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/mythinstall/MythVantage-app/mythinstall/installdialog.h')
-rwxr-xr-xabs/core/mythinstall/MythVantage-app/mythinstall/installdialog.h111
1 files changed, 111 insertions, 0 deletions
diff --git a/abs/core/mythinstall/MythVantage-app/mythinstall/installdialog.h b/abs/core/mythinstall/MythVantage-app/mythinstall/installdialog.h
new file mode 100755
index 0000000..9d54c39
--- /dev/null
+++ b/abs/core/mythinstall/MythVantage-app/mythinstall/installdialog.h
@@ -0,0 +1,111 @@
+#ifndef WELCOMEDIALOG_H_
+#define WELCOMEDIALOG_H_
+
+#include <iostream>
+//Added by qt3to4:
+#include <QKeyEvent>
+using namespace std;
+
+#include <qdatetime.h>
+#include "mythdialogs.h"
+#include "libmyth/dialogbox.h"
+
+
+
+#include "remoteutil.h"
+#include "programinfo.h"
+#include "mythscreentype.h"
+#include "mythuibutton.h"
+#include "mythuitext.h"
+#include "mythdialogbox.h"
+#include "langsettings.h"
+
+class WelcomeDialog : public MythScreenType
+{
+
+ Q_OBJECT
+
+public:
+ WelcomeDialog(MythScreenStack *parent, const char *name);
+ ~WelcomeDialog();
+ bool Create(void);
+ bool keyPressEvent(QKeyEvent *event);
+
+
+protected slots:
+ void updateStatus(void);
+ void updateScreen(void);
+ void closeDialog();
+ void updateTime();
+ void showPopup();
+ void showPopup_2();
+ void GO_popup(QString);
+ void Reboot_popup();
+ void MAINPopup();
+ QString diskmodel(QString,QString);
+ QString findinstallsouce(void);
+ void Display_2ndpopup();
+ bool updateRecordingList(void);
+ bool updateScheduledList(void);
+ void shutdownNow(int);
+
+ void install_sde(void);
+ void install_sdf(void);
+ void install_sdg(void);
+ void install_sdh(void);
+ void install_sda(void);
+ void install_sdb(void);
+ void install_sdc(void);
+ void install_sdd(void);
+ void install_net(void);
+ void write_install_conf(QString);
+ 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);
+
+ MythPopupBox *popup; //can remove this
+ MythDialogBox *m_menuPopup;
+ DialogBox *reboot_box;
+ DialogBox *upgrade_box;
+ //
+ // GUI stuff
+ //
+
+ MythUIText *m_status_text;
+ MythUIText *m_recording_text;
+ MythUIText *m_scheduled_text;
+ MythUIText *m_mv_text;
+
+ MythUIText *m_warning_text;
+ MythUIText *m_time_text;
+ MythUIText *m_date_text;
+ MythUIButton *m_startfrontend_button;
+
+ 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