Diffstat (limited to 'noncore/apps/oxygen/oxygen.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/oxygen/oxygen.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/noncore/apps/oxygen/oxygen.cpp b/noncore/apps/oxygen/oxygen.cpp index bc99d89..a16bc77 100644 --- a/noncore/apps/oxygen/oxygen.cpp +++ b/noncore/apps/oxygen/oxygen.cpp | |||
@@ -7,36 +7,33 @@ | |||
7 | **************************************************************************/ | 7 | **************************************************************************/ |
8 | 8 | ||
9 | /*************************************************************************** | 9 | /*************************************************************************** |
10 | * * | 10 | * * |
11 | * This program is free software; you can redistribute it and/or modify * | 11 | * This program is free software; you can redistribute it and/or modify * |
12 | * it under the terms of the GNU General Public License as published by * | 12 | * it under the terms of the GNU General Public License as published by * |
13 | * the Free Software Foundation; either version 2 of the License, or * | 13 | * the Free Software Foundation; either version 2 of the License, or * |
14 | * ( at your option ) any later version. * | 14 | * ( at your option ) any later version. * |
15 | * * | 15 | * * |
16 | **************************************************************************/ | 16 | **************************************************************************/ |
17 | #include "oxygen.h" | 17 | #include "oxygen.h" |
18 | 18 | ||
19 | #include <qlabel.h> | ||
20 | #include <qapplication.h> | 19 | #include <qapplication.h> |
21 | #include <qpushbutton.h> | ||
22 | #include <qvbox.h> | ||
23 | #include <qtabwidget.h> | 20 | #include <qtabwidget.h> |
24 | #include "calcdlg.h" | 21 | #include "calcdlg.h" |
25 | #include "calcdlgui.h" | 22 | #include "calcdlgui.h" |
26 | #include "datawidgetui.h" | 23 | #include "datawidgetui.h" |
27 | #include "psewidget.h" | 24 | #include "psewidget.h" |
28 | 25 | ||
29 | Oxygen::Oxygen() : QMainWindow() | 26 | Oxygen::Oxygen() : QMainWindow() |
30 | { | 27 | { |
31 | PSEWidget *pse = new PSEWidget(); | 28 | PSEWidget *pse = new PSEWidget(); |
32 | calcDlgUI *CalcDlgUI = new calcDlgUI(); | 29 | calcDlgUI *CalcDlgUI = new calcDlgUI(); |
33 | dataWidgetUI *DataWidgetUI = new dataWidgetUI(); | 30 | dataWidgetUI *DataWidgetUI = new dataWidgetUI(); |
34 | 31 | ||
35 | this->setCaption( tr( "Oxygen" ) ); | 32 | this->setCaption( tr( "Oxygen" ) ); |
36 | 33 | ||
37 | QTabWidget *tabw = new QTabWidget( this , "qtab" ); | 34 | QTabWidget *tabw = new QTabWidget( this , "qtab" ); |
38 | tabw->addTab( pse, tr( "PSE" )); | 35 | tabw->addTab( pse, tr( "PSE" )); |
39 | tabw->addTab( DataWidgetUI , tr( "Data" ) ); | 36 | tabw->addTab( DataWidgetUI , tr( "Data" ) ); |
40 | tabw->addTab( CalcDlgUI, tr( "Calculations" ) ); | 37 | tabw->addTab( CalcDlgUI, tr( "Calculations" ) ); |
41 | setCentralWidget( tabw ); | 38 | setCentralWidget( tabw ); |
42 | } | 39 | } |