author | llornkcor <llornkcor> | 2004-04-07 13:07:42 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2004-04-07 13:07:42 (UTC) |
commit | fc42c7317c956e5bc6e74bfbb1ec185d2faa79f4 (patch) (side-by-side diff) | |
tree | 703e89c7178f764aab25028d4525f74340b28dcb /noncore/apps/opie-gutenbrowser/output.cpp | |
parent | 9e1ecade17a77c3d50aecc4c92091d852e99e8d9 (diff) | |
download | opie-fc42c7317c956e5bc6e74bfbb1ec185d2faa79f4.zip opie-fc42c7317c956e5bc6e74bfbb1ec185d2faa79f4.tar.gz opie-fc42c7317c956e5bc6e74bfbb1ec185d2faa79f4.tar.bz2 |
add gutenbrowser
Diffstat (limited to 'noncore/apps/opie-gutenbrowser/output.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-gutenbrowser/output.cpp | 36 |
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 +} + |