author | llornkcor <llornkcor> | 2002-04-25 00:11:44 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-04-25 00:11:44 (UTC) |
commit | fd9fe8316525d3d7dac85d8d71dd8267b5abbd8f (patch) (side-by-side diff) | |
tree | faf04b23270a222baae30e5ea29c77f308f0328e /noncore/tools/formatter/output.cpp | |
parent | 5d3d95245768f7949208d367db1b5dc1d7f5e314 (diff) | |
download | opie-fd9fe8316525d3d7dac85d8d71dd8267b5abbd8f.zip opie-fd9fe8316525d3d7dac85d8d71dd8267b5abbd8f.tar.gz opie-fd9fe8316525d3d7dac85d8d71dd8267b5abbd8f.tar.bz2 |
initial commit
Diffstat (limited to 'noncore/tools/formatter/output.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/tools/formatter/output.cpp | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/noncore/tools/formatter/output.cpp b/noncore/tools/formatter/output.cpp new file mode 100644 index 0000000..6970f58 --- a/dev/null +++ b/noncore/tools/formatter/output.cpp @@ -0,0 +1,38 @@ +/**************************************************************************** +** outputEdit.cpp +** +** Copyright: Fri Apr 12 15:12:58 2002 L.J. Potter <ljp@llornkcor.com> +****************************************************************************/ +#include "output.h" + +#include <qmultilineedit.h> +#include <qpushbutton.h> +#include <qlayout.h> +#include <qvariant.h> +#include <qtooltip.h> +#include <qwhatsthis.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" ); + + 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 +} + |