#ifndef QUESIONNOTICEDIALOG_H_ #define QUESIONNOTICEDIALOG_H_ // qt #include // libmythui #include "mythscreentype.h" #include "mythuibutton.h" #include "mythuitext.h" #include "mythdialogbox.h" class QuestionNoticeDialog : public MythScreenType { Q_OBJECT public: QuestionNoticeDialog(MythScreenStack *parent, const char *name); ~QuestionNoticeDialog(); bool Create(QString questionORnotice, QString title, QString displayText, QString yesButtonText, QString noButtonText); protected slots: void yesButton(void); void yesButtonClick(void); void noButton(void); void noButtonClick(void); void okButton(void); void okButtonClick(void); private: // GUI stuff MythUIText *m_title_text; MythUIText *m_notice_text; MythUIButton *m_ok_button; MythUIText *m_question_text; MythUIButton *m_yes_button; MythUIButton *m_no_button; }; #endif