Diffstat (limited to 'noncore/apps/oxygen/datawidgetui.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/oxygen/datawidgetui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/oxygen/datawidgetui.cpp b/noncore/apps/oxygen/datawidgetui.cpp index 0f8a146..c8492e5 100644 --- a/noncore/apps/oxygen/datawidgetui.cpp +++ b/noncore/apps/oxygen/datawidgetui.cpp | |||
@@ -1,37 +1,37 @@ | |||
1 | /*************************************************************************** | 1 | /*************************************************************************** |
2 | * * | 2 | * * |
3 | * This program is free software; you can redistribute it and/or modify * | 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 * | 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 * | 5 | * the Free Software Foundation; either version 2 of the License, or * |
6 | * ( at your option ) any later version. * | 6 | * ( at your option ) any later version. * |
7 | * * | 7 | * * |
8 | **************************************************************************/ | 8 | **************************************************************************/ |
9 | #include "oxygen.h" | 9 | #include "oxygen.h" |
10 | 10 | ||
11 | #include <qpe/config.h> | 11 | #include <qpe/config.h> |
12 | #include "datawidgetui.h" | 12 | #include "datawidgetui.h" |
13 | #include <qtable.h> | ||
14 | #include <qstring.h> | 13 | #include <qstring.h> |
15 | #include <qcombobox.h> | 14 | #include <qcombobox.h> |
16 | #include <qlayout.h> | 15 | #include <qlayout.h> |
17 | 16 | ||
18 | dataWidgetUI::dataWidgetUI() : QDialog() | 17 | dataWidgetUI::dataWidgetUI() : QDialog() |
19 | { | 18 | { |
20 | this->setCaption("foo"); | 19 | this->setCaption("Chemical Data"); |
21 | 20 | ||
22 | QVBoxLayout *vbox = new QVBoxLayout( this ); | 21 | QVBoxLayout *vbox = new QVBoxLayout( this ); |
23 | 22 | ||
24 | dataCombo = new QComboBox( this ); | 23 | dataCombo = new QComboBox( this ); |
25 | DataTable = new OxydataTable( 7,2, this ); | 24 | DataTable = new OxydataTable( 7,2, this ); |
25 | DataTable->setShowGrid( false ); | ||
26 | 26 | ||
27 | vbox->addWidget( dataCombo ); | 27 | vbox->addWidget( dataCombo ); |
28 | vbox->addWidget( DataTable ); | 28 | vbox->addWidget( DataTable ); |
29 | 29 | ||
30 | DataTable->show(); | 30 | DataTable->show(); |
31 | dataCombo->show(); | 31 | dataCombo->show(); |
32 | 32 | ||
33 | connect ( dataCombo, SIGNAL( activated(int) ), this, SLOT( slotShowData(int) ) ); | 33 | connect ( dataCombo, SIGNAL( activated(int) ), this, SLOT( slotShowData(int) ) ); |
34 | Config test( "/home/opie/Settings/oxygendata", Config::File ); | 34 | Config test( "/home/opie/Settings/oxygendata", Config::File ); |
35 | 35 | ||
36 | //read in all names of the 118 elements | 36 | //read in all names of the 118 elements |
37 | for ( int i = 1 ; i < 119 ; i++ ) | 37 | for ( int i = 1 ; i < 119 ; i++ ) |