diff options
author | dos-reis <gdr@axiomatics.org> | 2011-05-27 21:25:58 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2011-05-27 21:25:58 +0000 |
commit | 1b131c9bdd0734fabe785dff4b10fafb92ac21d2 (patch) | |
tree | 508b41cdae1487b1cb4d576d48b6d2578ad0b273 /src | |
parent | 42118110a5e3e7fe4ce22f81df65452d19cb0152 (diff) | |
download | open-axiom-1b131c9bdd0734fabe785dff4b10fafb92ac21d2.tar.gz |
minor tweak
Diffstat (limited to 'src')
-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; } |