author | cniehaus <cniehaus> | 2002-09-16 17:25:52 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2002-09-16 17:25:52 (UTC) |
commit | 14316cddfb621038d95c542c00824f5a6d4a7d35 (patch) (side-by-side diff) | |
tree | 54d841c27846534c5916344222b77fcd287f349e /noncore/apps/oxygen/oxygen.cpp | |
parent | 2586589b1edb3c3b63aaf2fe1252c99162d4d70d (diff) | |
download | opie-14316cddfb621038d95c542c00824f5a6d4a7d35.zip opie-14316cddfb621038d95c542c00824f5a6d4a7d35.tar.gz opie-14316cddfb621038d95c542c00824f5a6d4a7d35.tar.bz2 |
ok, perhaps someone else is able to tell OPIE where my file is. I am sure not...
Diffstat (limited to 'noncore/apps/oxygen/oxygen.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/oxygen/oxygen.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/noncore/apps/oxygen/oxygen.cpp b/noncore/apps/oxygen/oxygen.cpp index 81897e9..a9c2276 100644 --- a/noncore/apps/oxygen/oxygen.cpp +++ b/noncore/apps/oxygen/oxygen.cpp @@ -6,18 +6,14 @@ * ( at your option ) any later version. * * * - * ***********************************************************************/ + **************************************************************************/ #include "oxygen.h" -#include <qmenubar.h> -#include <qstatusbar.h> -#include <qpopupmenu.h> #include <qlabel.h> #include <qapplication.h> #include <qpushbutton.h> -#include <qfile.h> -#include <qdir.h> #include <qvbox.h> #include "calcdlg.h" #include "calcdlgui.h" +#include "datawidgetui.h" Oxygen::Oxygen() @@ -28,4 +24,6 @@ Oxygen::Oxygen() QPushButton *setButton = new QPushButton( "Settings", vbox ); connect ( setButton, SIGNAL( clicked() ), this, SLOT( slotSettings() ) ); + QPushButton *dataButton = new QPushButton( "Data", vbox ); + connect ( dataButton, SIGNAL( clicked() ), this, SLOT( slotData() ) ); QPushButton *calcButton = new QPushButton( "Calculations", vbox ); connect ( calcButton, SIGNAL( clicked() ), this, SLOT( slotCalculations() ) ); @@ -49,4 +47,9 @@ void Oxygen::slotCalculations(){ }; +void Oxygen::slotData(){ + dataWidgetUI *DataWidgetUI = new dataWidgetUI(); + DataWidgetUI->show(); +}; + void Oxygen::slotSettings(){ }; void Oxygen::slotPSE(){ }; |