diff options
Diffstat (limited to 'abs/core/mythinstall/MythVantage-app/mythbeselect/installdialog.h')
-rwxr-xr-x | abs/core/mythinstall/MythVantage-app/mythbeselect/installdialog.h | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/abs/core/mythinstall/MythVantage-app/mythbeselect/installdialog.h b/abs/core/mythinstall/MythVantage-app/mythbeselect/installdialog.h new file mode 100755 index 0000000..69af384 --- /dev/null +++ b/abs/core/mythinstall/MythVantage-app/mythbeselect/installdialog.h @@ -0,0 +1,80 @@ +//#ifndef WELCOMEDIALOG_H_ +//#define WELCOMEDIALOG_H_ + +#include <iostream> +using namespace std; + +#include <qdatetime.h> +#include "mythdialogs.h" +#include "libmyth/dialogbox.h" +#include <qvaluevector.h> + typedef QValueVector<QString> BEvector; + +int runstuff(QStringList , BEvector,QString); + +//QStringList BeButtonList; + +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(); + + protected slots: + void updateAll(void); + void updateStatus(void); + void updateScreen(void); + void closeDialog(); + void updateTime(); + void showPopup(); + + void cancelPopup(); + // void MAINPopup(); + bool updateRecordingList(void); + bool updateScheduledList(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_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; + string recording_text; + string scheduled_text; +// string bin_prefix; +// bool I_AM_BUSY; + + +}; + +void dorestart (QString,QString); |