diff options
-rw-r--r-- | src/gui/conversation.C | 3 | ||||
-rw-r--r-- | src/gui/conversation.h | 5 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/conversation.C b/src/gui/conversation.C index 1034ccf8..22d9dea7 100644 --- a/src/gui/conversation.C +++ b/src/gui/conversation.C @@ -60,7 +60,8 @@ namespace OpenAxiom { // -- Answer -- Answer::Answer(Exchange& e) : Base(&e), parent(&e) { - setReadOnly(true); + setSizePolicy(QSizePolicy::Preferred, QSizePolicy::MinimumExpanding); + setFrameStyle(StyledPanel | Plain); } // -- Exchange -- diff --git a/src/gui/conversation.h b/src/gui/conversation.h index 945cc2c8..bed717cd 100644 --- a/src/gui/conversation.h +++ b/src/gui/conversation.h @@ -35,7 +35,6 @@ #include <vector> #include <QFrame> #include <QLineEdit> -#include <QTextEdit> #include <QLabel> #include <QFont> #include <QEvent> @@ -67,8 +66,8 @@ namespace OpenAxiom { Exchange* const parent; }; - class Answer : public QTextEdit { - typedef QTextEdit Base; + class Answer : public QLabel { + typedef QLabel Base; public: explicit Answer(Exchange&); Exchange* exchange() const { return parent; } |