#include "interface.h" Interface::Interface(QWidget *parent) : QTextEdit(parent) { setAcceptRichText (false); setLineWrapColumnOrWidth (80); setTabChangesFocus (false); setFontFamily("Lucida Console"); // FIXME: If you type someting and then delete back to the beginning of the document, it reverts to default font setFontPointSize (10); setTextBackgroundColor (QColor(0,0,0)); setTextColor (QColor(0,255,0)); setStyleSheet ( "background-color: black; text-color: green;"); setAutoFormatting (QTextEdit::AutoNone); } Interface::~Interface() { }