Diffstat (limited to 'noncore/settings/sysinfo/detail.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/sysinfo/detail.cpp | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/noncore/settings/sysinfo/detail.cpp b/noncore/settings/sysinfo/detail.cpp new file mode 100644 index 0000000..2c5fdc4 --- a/dev/null +++ b/noncore/settings/sysinfo/detail.cpp | |||
@@ -0,0 +1,50 @@ | |||
1 | /********************************************************************** | ||
2 | ** Detail | ||
3 | ** | ||
4 | ** Display module information | ||
5 | ** | ||
6 | ** Copyright (C) 2002, Michael Lauer | ||
7 | ** mickey@tm.informatik.uni-frankfurt.de | ||
8 | ** http://www.Vanille.de | ||
9 | ** | ||
10 | ** Based on ProcessDetail by Dan Williams <williamsdr@acm.org> | ||
11 | ** | ||
12 | ** This file may be distributed and/or modified under the terms of the | ||
13 | ** GNU General Public License version 2 as published by the Free Software | ||
14 | ** Foundation and appearing in the file LICENSE.GPL included in the | ||
15 | ** packaging of this file. | ||
16 | ** | ||
17 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | ||
18 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | ||
19 | ** | ||
20 | **********************************************************************/ | ||
21 | |||
22 | #include "detail.h" | ||
23 | |||
24 | #include <sys/types.h> | ||
25 | #include <stdio.h> | ||
26 | |||
27 | #include <qcombobox.h> | ||
28 | #include <qlayout.h> | ||
29 | #include <qlistview.h> | ||
30 | #include <qmessagebox.h> | ||
31 | #include <qpushbutton.h> | ||
32 | #include <qtextview.h> | ||
33 | #include <qwhatsthis.h> | ||
34 | |||
35 | Detail::Detail( QWidget* parent, const char* name, WFlags ) | ||
36 | : QWidget( parent, name, WStyle_ContextHelp ) | ||
37 | { | ||
38 | QVBoxLayout *layout = new QVBoxLayout( this ); | ||
39 | |||
40 | detailView = new QTextView( this ); | ||
41 | detailView->setTextFormat( PlainText ); | ||
42 | |||
43 | layout->addWidget( detailView ); | ||
44 | } | ||
45 | |||
46 | Detail::~Detail() | ||
47 | { | ||
48 | } | ||
49 | |||
50 | |||