blob: f2d05c1f4258d46d444d4cedf5b3d77cbc347487 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
#ifndef QUESIONNOTICEDIALOG_H_
#define QUESIONNOTICEDIALOG_H_
// qt
#include <QDateTime>
// 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
|