summaryrefslogtreecommitdiff
path: root/noncore/apps/oxygen/oxygen.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/oxygen/oxygen.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/oxygen/oxygen.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/noncore/apps/oxygen/oxygen.cpp b/noncore/apps/oxygen/oxygen.cpp
index a9c2276..2574841 100644
--- a/noncore/apps/oxygen/oxygen.cpp
+++ b/noncore/apps/oxygen/oxygen.cpp
@@ -6,24 +6,25 @@
* ( at your option ) any later version. *
* *
**************************************************************************/
#include "oxygen.h"
#include <qlabel.h>
#include <qapplication.h>
#include <qpushbutton.h>
#include <qvbox.h>
#include "calcdlg.h"
#include "calcdlgui.h"
#include "datawidgetui.h"
+#include "psewidget.h"
Oxygen::Oxygen()
: QMainWindow()
{
this->setCaption( "Oxygen" );
vbox = new QVBox( this );
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() ) );
@@ -39,18 +40,24 @@ void Oxygen::close()
QApplication::exit();
}
//SLOTS
void Oxygen::slotCalculations(){
calcDlgUI *CalcDlgUI = new calcDlgUI();
CalcDlgUI->show();
};
void Oxygen::slotData(){
dataWidgetUI *DataWidgetUI = new dataWidgetUI();
+ DataWidgetUI->showMaximized();
DataWidgetUI->show();
};
void Oxygen::slotSettings(){ };
-void Oxygen::slotPSE(){ };
+
+void Oxygen::slotPSE(){
+ PSEWidget *pse = new PSEWidget();
+ pse->showMaximized();
+ pse->show();
+};