diff options
author | dos-reis <gdr@axiomatics.org> | 2011-05-27 02:35:11 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2011-05-27 02:35:11 +0000 |
commit | 62eada33ca1078387a8744344d933fb7ada76348 (patch) | |
tree | 142af41701eaa66e1c2aba65e38730dfb6acbb93 /src/gui/conversation.h | |
parent | 2ffc3883061b8d61a387bcff63a1cae1756afff4 (diff) | |
download | open-axiom-62eada33ca1078387a8744344d933fb7ada76348.tar.gz |
more gui codes
Diffstat (limited to 'src/gui/conversation.h')
-rw-r--r-- | src/gui/conversation.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/conversation.h b/src/gui/conversation.h index abe6d4c2..50f19b0c 100644 --- a/src/gui/conversation.h +++ b/src/gui/conversation.h @@ -35,6 +35,7 @@ #include <vector> #include <QFrame> #include <QLineEdit> +#include <QTextEdit> #include <QLabel> #include <QFont> #include <QEvent> @@ -53,6 +54,7 @@ namespace OpenAxiom { // -- A question is just a one-liner query. class Question : public QLineEdit { + typedef QLineEdit Base; public: explicit Question(Exchange&); Exchange* exchange() const { return parent; } @@ -65,7 +67,8 @@ namespace OpenAxiom { Exchange* const parent; }; - class Answer : public QLabel { + class Answer : public QTextEdit { + typedef QTextEdit Base; public: explicit Answer(Exchange&); Exchange* exchange() const { return parent; } |