00001 /********************************************************************** 00002 ** Detail 00003 ** 00004 ** Display module information 00005 ** 00006 ** Copyright (C) 2002, Michael Lauer 00007 ** mickey@tm.informatik.uni-frankfurt.de 00008 ** http://www.Vanille.de 00009 ** 00010 ** Based on ProcessDetail by Dan Williams <williamsdr@acm.org> 00011 ** 00012 ** This file may be distributed and/or modified under the terms of the 00013 ** GNU General Public License version 2 as published by the Free Software 00014 ** Foundation and appearing in the file LICENSE.GPL included in the 00015 ** packaging of this file. 00016 ** 00017 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 00018 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00019 ** 00020 **********************************************************************/ 00021 00022 #include "detail.h" 00023 00024 #include <qtextview.h> 00025 #include <qlayout.h> 00026 00027 Detail::Detail( QWidget* parent, const char* name, WFlags ) 00028 : QWidget( parent, name, WStyle_ContextHelp ) 00029 { 00030 QVBoxLayout *layout = new QVBoxLayout( this ); 00031 00032 detailView = new QTextView( this ); 00033 detailView->setTextFormat( PlainText ); 00034 00035 layout->addWidget( detailView ); 00036 } 00037 00038 Detail::~Detail() 00039 { 00040 } 00041 00042
1.4.2