author | cniehaus <cniehaus> | 2002-09-15 14:02:04 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2002-09-15 14:02:04 (UTC) |
commit | ffb701b9a482ca30eda8901506c0c39ad8461e4c (patch) (unidiff) | |
tree | 82fa34a6083a48c877f4a7b41c15672832095fbb /noncore/apps/checkbook/oxygen.cpp | |
parent | d01f8da912a2bed9de1943d174ec10dba505bf38 (diff) | |
download | opie-ffb701b9a482ca30eda8901506c0c39ad8461e4c.zip opie-ffb701b9a482ca30eda8901506c0c39ad8461e4c.tar.gz opie-ffb701b9a482ca30eda8901506c0c39ad8461e4c.tar.bz2 |
Ok, this is what I have so far. I know it is not really working thus it is
not in the toplevel-Makefile. I am putting as much work in it as possible.
Currently I am doing the kmol-port, after that the PSE-stuff.
Diffstat (limited to 'noncore/apps/checkbook/oxygen.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/checkbook/oxygen.cpp | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/noncore/apps/checkbook/oxygen.cpp b/noncore/apps/checkbook/oxygen.cpp new file mode 100644 index 0000000..a86374b --- a/dev/null +++ b/noncore/apps/checkbook/oxygen.cpp | |||
@@ -0,0 +1,52 @@ | |||
1 | /*************************************************************************** | ||
2 | * * | ||
3 | * This program is free software; you can redistribute it and/or modify * | ||
4 | * it under the terms of the GNU General Public License as published by * | ||
5 | * the Free Software Foundation; either version 2 of the License, or * | ||
6 | * ( at your option ) any later version. * | ||
7 | * * | ||
8 | * ***********************************************************************/ | ||
9 | #include "oxygen.h" | ||
10 | |||
11 | #include <qmenubar.h> | ||
12 | #include <qstatusbar.h> | ||
13 | #include <qpopupmenu.h> | ||
14 | #include <qlabel.h> | ||
15 | #include <qapplication.h> | ||
16 | #include <qpushbutton.h> | ||
17 | #include <qfile.h> | ||
18 | #include <qdir.h> | ||
19 | #include <qvbox.h> | ||
20 | #include "calcdlg.h" | ||
21 | |||
22 | Oxygen::Oxygen() | ||
23 | : QMainWindow() | ||
24 | { | ||
25 | this->setCaption( "Oxygen" ); | ||
26 | vbox = new QVBox( this ); | ||
27 | QPushButton *setButton = new QPushButton( "Settings", vbox ); | ||
28 | connect ( setButton, SIGNAL( clicked() ), this, SLOT( slotSettings() ) ); | ||
29 | QPushButton *calcButton = new QPushButton( "Calculations", vbox ); | ||
30 | connect ( calcButton, SIGNAL( clicked() ), this, SLOT( slotCalculations() ) ); | ||
31 | QPushButton *pseButton = new QPushButton( "PSE", vbox ); | ||
32 | connect ( pseButton, SIGNAL( clicked() ), this, SLOT( slotPSE() ) ); | ||
33 | |||
34 | setCentralWidget( vbox ); | ||
35 | } | ||
36 | |||
37 | |||
38 | void Oxygen::close() | ||
39 | { | ||
40 | QApplication::exit(); | ||
41 | } | ||
42 | |||
43 | //SLOTS | ||
44 | |||
45 | void Oxygen::slotCalculations(){ | ||
46 | CalcDlgUI *calcDlgUI = new calcDlgUI(); | ||
47 | calcDlgUI->show(); | ||
48 | }; | ||
49 | |||
50 | void Oxygen::slotSettings(){ }; | ||
51 | void Oxygen::slotPSE(){ }; | ||
52 | |||