author | cniehaus <cniehaus> | 2002-09-16 17:25:52 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2002-09-16 17:25:52 (UTC) |
commit | 14316cddfb621038d95c542c00824f5a6d4a7d35 (patch) (unidiff) | |
tree | 54d841c27846534c5916344222b77fcd287f349e /noncore/apps/oxygen/datawidgetui.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/datawidgetui.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/oxygen/datawidgetui.cpp | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/noncore/apps/oxygen/datawidgetui.cpp b/noncore/apps/oxygen/datawidgetui.cpp new file mode 100644 index 0000000..5b34cf5 --- a/dev/null +++ b/noncore/apps/oxygen/datawidgetui.cpp | |||
@@ -0,0 +1,40 @@ | |||
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 <qpe/config.h> | ||
12 | #include "datawidgetui.h" | ||
13 | #include <qtable.h> | ||
14 | #include <qstring.h> | ||
15 | |||
16 | dataWidgetUI::dataWidgetUI() : dataWidget() | ||
17 | { | ||
18 | Config test( "oxygendata" ); | ||
19 | test.setGroup( "1" ); | ||
20 | |||
21 | if ( test.hasKey( "Name" ) ) | ||
22 | { | ||
23 | qDebug ( "geht" ); | ||
24 | }else qDebug( "geht nicht" ); | ||
25 | |||
26 | QString foo = test.readEntry( "Name" ); | ||
27 | //test.writeEntry( "Name", "test123" ); | ||
28 | |||
29 | qDebug( "hier sollte was kommen" ); | ||
30 | qDebug( foo ); | ||
31 | |||
32 | dataTable->horizontalHeader()->hide(); | ||
33 | dataTable->verticalHeader()->hide(); | ||
34 | dataTable->setTopMargin( 0 ); | ||
35 | dataTable->setLeftMargin( 0 ); | ||
36 | dataTable->setText( 0,0,"Atomic Radius" ); | ||
37 | dataTable->setText( 0,1,"17 nm" ); | ||
38 | dataTable->setText( 1,0,"Elec. neg." ); | ||
39 | dataTable->setText( 1,1,"234 Joule" ); | ||
40 | } | ||