diff options
author | Iru Cai <mytbk920423@gmail.com> | 2014-06-24 21:17:54 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2014-06-24 21:17:54 +0800 |
commit | e1ee4d52b9379e2861517069ca7aee0338d4337f (patch) | |
tree | c25c917940c7aff028b29f16b1963578c4f98a61 /src/ui/defineescape.h | |
parent | deaf2fe69d57d4cc3f12d6024fd46d25f50f1fec (diff) | |
download | fqterm-e1ee4d52b9379e2861517069ca7aee0338d4337f.tar.xz |
Add askDialog(title,question) to ScriptEngine
use the DefineEscapeDialog to implement this!
Diffstat (limited to 'src/ui/defineescape.h')
-rw-r--r-- | src/ui/defineescape.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/defineescape.h b/src/ui/defineescape.h index 0083603..c102840 100644 --- a/src/ui/defineescape.h +++ b/src/ui/defineescape.h @@ -30,7 +30,8 @@ class DefineEscapeDialog : public QDialog { public: DefineEscapeDialog(QString& strEsc, QWidget *parent_ = 0, Qt::WFlags fl = 0); ~DefineEscapeDialog(); - + void setTitleAndText(const QString &title, const QString &text); + protected slots: void onOK(); void onCancel(); @@ -41,4 +42,4 @@ private: } //namespace FQTerm -#endif //__FQTERM_DEFINEESCAPE__
\ No newline at end of file +#endif //__FQTERM_DEFINEESCAPE__ |