summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-gutenbrowser/output.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-gutenbrowser/output.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-gutenbrowser/output.cpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/noncore/apps/opie-gutenbrowser/output.cpp b/noncore/apps/opie-gutenbrowser/output.cpp
new file mode 100644
index 0000000..07a517f
--- a/dev/null
+++ b/noncore/apps/opie-gutenbrowser/output.cpp
@@ -0,0 +1,36 @@
+/****************************************************************************
+** outputEdit.cpp
+**
+** Copyright: Fri Apr 12 15:12:58 2002 L.J. Potter <ljp@llornkcor.com>
+ copyright : (C) 2000 -2004 by llornkcor
+ email : ljp@llornkcor.com
+****************************************************************************/
+#include "output.h"
+
+#include <qmultilineedit.h>
+#include <qlayout.h>
+
+Output::Output( QWidget* parent, const char* name, bool modal, WFlags fl )
+ : QDialog( parent, name, modal, fl )
+{
+ if ( !name )
+ setName( "Output" );
+ resize( 196, 269 );
+ setCaption( name );
+ OutputLayout = new QGridLayout( this );
+ OutputLayout->setSpacing( 6 );
+ OutputLayout->setMargin( 11 );
+
+ OutputEdit = new QMultiLineEdit( this, "OutputEdit" );
+ OutputEdit->setWordWrap(QMultiLineEdit::WidgetWidth);
+ OutputLayout->addWidget( OutputEdit, 0, 0 );
+}
+
+/*
+ * Destroys the object and frees any allocated resources
+ */
+Output::~Output()
+{
+ // no need to delete child widgets, Qt does it all for us
+}
+