summaryrefslogtreecommitdiff
path: root/noncore
authorcniehaus <cniehaus>2002-09-21 22:40:33 (UTC)
committer cniehaus <cniehaus>2002-09-21 22:40:33 (UTC)
commit54238c669808ceccaa6fb0ab0dcbf4565b370196 (patch) (unidiff)
tree2c72474c22fe5061c5611decd352250983175920 /noncore
parentd9910f33f40afb465164fb434677d6641272623d (diff)
downloadopie-54238c669808ceccaa6fb0ab0dcbf4565b370196.zip
opie-54238c669808ceccaa6fb0ab0dcbf4565b370196.tar.gz
opie-54238c669808ceccaa6fb0ab0dcbf4565b370196.tar.bz2
fixing some things. *grr*
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/oxygen/dataTable.cpp17
1 files changed, 8 insertions, 9 deletions
diff --git a/noncore/apps/oxygen/dataTable.cpp b/noncore/apps/oxygen/dataTable.cpp
index e027c16..20c2985 100644
--- a/noncore/apps/oxygen/dataTable.cpp
+++ b/noncore/apps/oxygen/dataTable.cpp
@@ -43,8 +43,8 @@ OxydataWidget::OxydataWidget(QWidget *parent) : QWidget(parent)
43 middle->setFont( bf ); 43 middle->setFont( bf );
44 44
45 DataTable = new OxydataTable( 9,2, this ); 45 DataTable = new OxydataTable( 9,2, this );
46// DataTable->setColumnWidth ( 1 , 118 ); 46 DataTable->setColumnWidth ( 1 , ( parent->width()) );
47// DataTable->setColumnWidth ( 0 , 118 ); 47 DataTable->setColumnWidth ( 0 , ( parent->width()) );
48 setTable(); 48 setTable();
49 49
50 qgrid->addWidget( hbox,0,0 ); 50 qgrid->addWidget( hbox,0,0 );
@@ -62,16 +62,15 @@ void OxydataWidget::setElement( int el )
62 right->setText( QString::number( el+1 ) ); 62 right->setText( QString::number( el+1 ) );
63 63
64 64
65 DataTable->setText( 0,1,configobj.readEntry( "Weight" ) ); 65 DataTable->setText( 0,1,( configobj.readEntry( "Weight" ) )+" u" );
66 DataTable->setText( 1,1,configobj.readEntry( "Block" ) ); 66 DataTable->setText( 1,1,configobj.readEntry( "Block" ) );
67 DataTable->setText( 2,1,configobj.readEntry( "Group" ) ); 67 DataTable->setText( 2,1,configobj.readEntry( "Group" ) );
68 DataTable->setText( 3,1,configobj.readEntry( "EN" ) ); 68 DataTable->setText( 3,1,( configobj.readEntry( "EN" ) )+" J" );
69 DataTable->setText( 4,1,configobj.readEntry( "AR" ) ) ; 69 DataTable->setText( 4,1,configobj.readEntry( "AR" )+" nm" ) ;
70 DataTable->setText( 5,1,configobj.readEntry( "IE" ) ); 70 DataTable->setText( 5,1,configobj.readEntry( "IE" )+" J" );
71 DataTable->setText( 6,1,configobj.readEntry( "Density" ) ); 71 DataTable->setText( 6,1,configobj.readEntry( "Density" ) );
72 DataTable->setText( 7,1,configobj.readEntry( "BP" ) ); 72 DataTable->setText( 7,1,configobj.readEntry( "BP" )+" K" );
73 DataTable->setText( 8,1,configobj.readEntry( "MP" ) ); 73 DataTable->setText( 8,1,configobj.readEntry( "MP" )+" K" );
74
75} 74}
76 75
77void OxydataWidget::setTable() const 76void OxydataWidget::setTable() const