summaryrefslogtreecommitdiff
path: root/noncore/apps/oxygen/dataTable.cpp
Unidiff
Diffstat (limited to 'noncore/apps/oxygen/dataTable.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/oxygen/dataTable.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/oxygen/dataTable.cpp b/noncore/apps/oxygen/dataTable.cpp
index 82b425e..16aa462 100644
--- a/noncore/apps/oxygen/dataTable.cpp
+++ b/noncore/apps/oxygen/dataTable.cpp
@@ -81,26 +81,26 @@ void OxydataWidget::setTable() const
81 DataTable->setText( 5,0, tr( "Ionizationenergie" )) ; 81 DataTable->setText( 5,0, tr( "Ionizationenergie" )) ;
82 DataTable->setText( 6,0, tr( "Density" )) ; 82 DataTable->setText( 6,0, tr( "Density" )) ;
83 DataTable->setText( 7,0, tr( "Boilingpoint" ) ); 83 DataTable->setText( 7,0, tr( "Boilingpoint" ) );
84 DataTable->setText( 8,0, tr( "Meltingpoint" ) ); 84 DataTable->setText( 8,0, tr( "Meltingpoint" ) );
85} 85}
86 86
87void OxydataWidget::setLayout() 87void OxydataWidget::setLayout()
88{ 88{
89#warning this is not working and I have no idea why! 89#warning this is not working and I have no idea why!
90// DataTable->setColumnWidth ( 0 , this->width()/2 ); 90// DataTable->setColumnWidth ( 0 , this->width()/2 );
91// DataTable->setColumnWidth ( 1 , this->width()/2 ); 91// DataTable->setColumnWidth ( 1 , this->width()/2 );
92 92
93 DataTable->setColumnWidth ( 0 , 110 ); 93//X DataTable->setColumnWidth ( 0 , 110 );
94 DataTable->setColumnWidth ( 1 , 110 ); 94//X DataTable->setColumnWidth ( 1 , 110 );
95} 95}
96 96
97OxydataTable::OxydataTable(int numRows, int numCols, QWidget *parent, 97OxydataTable::OxydataTable(int numRows, int numCols, QWidget *parent,
98 const char *name) : QTable(numRows, numCols,parent, name) 98 const char *name) : QTable(numRows, numCols,parent, name)
99{ 99{
100 100
101 for (int zeile = 0; zeile < numRows; zeile++) 101 for (int zeile = 0; zeile < numRows; zeile++)
102 for ( int spalte = 0; spalte < numCols; spalte++ ) 102 for ( int spalte = 0; spalte < numCols; spalte++ )
103 { 103 {
104 OxydataQTI *testus = new OxydataQTI (this, OxydataQTI::Never, "hm" ); 104 OxydataQTI *testus = new OxydataQTI (this, OxydataQTI::Never, "hm" );
105 setItem(zeile, spalte, (QTableItem*)testus); 105 setItem(zeile, spalte, (QTableItem*)testus);
106 } 106 }