Diffstat (limited to 'noncore/apps/oxygen/dataTable.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/oxygen/dataTable.cpp | 17 |
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 | ||
77 | void OxydataWidget::setTable() const | 76 | void OxydataWidget::setTable() const |