From 14316cddfb621038d95c542c00824f5a6d4a7d35 Mon Sep 17 00:00:00 2001 From: cniehaus Date: Mon, 16 Sep 2002 17:25:52 +0000 Subject: ok, perhaps someone else is able to tell OPIE where my file is. I am sure not... --- (limited to 'noncore/apps/oxygen/datawidgetui.cpp') 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 @@ +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * ( at your option ) any later version. * + * * + **************************************************************************/ +#include "oxygen.h" + +#include +#include "datawidgetui.h" +#include +#include + +dataWidgetUI::dataWidgetUI() : dataWidget() +{ + Config test( "oxygendata" ); + test.setGroup( "1" ); + + if ( test.hasKey( "Name" ) ) + { + qDebug ( "geht" ); + }else qDebug( "geht nicht" ); + + QString foo = test.readEntry( "Name" ); + //test.writeEntry( "Name", "test123" ); + + qDebug( "hier sollte was kommen" ); + qDebug( foo ); + + dataTable->horizontalHeader()->hide(); + dataTable->verticalHeader()->hide(); + dataTable->setTopMargin( 0 ); + dataTable->setLeftMargin( 0 ); + dataTable->setText( 0,0,"Atomic Radius" ); + dataTable->setText( 0,1,"17 nm" ); + dataTable->setText( 1,0,"Elec. neg." ); + dataTable->setText( 1,1,"234 Joule" ); +} -- cgit v0.9.0.2