Diffstat (limited to 'noncore/apps/oxygen/datawidgetui.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/oxygen/datawidgetui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/apps/oxygen/datawidgetui.cpp b/noncore/apps/oxygen/datawidgetui.cpp index c7afa32..99c4fd7 100644 --- a/noncore/apps/oxygen/datawidgetui.cpp +++ b/noncore/apps/oxygen/datawidgetui.cpp @@ -36,17 +36,18 @@ dataWidgetUI::dataWidgetUI() : QWidget() //read in all names of the 118 elements Config configobj( QPEApplication::qpeDir() +"share/oxygen/oxygendata", Config::File ); for ( int i = 1 ; i < 119 ; i++ ) { configobj.setGroup( QString::number( i ) ); QString foo = configobj.readEntry( "Name" ); dataCombo->insertItem( QString::number( i )+" - "+foo ); } OxydataWidget *oxyDW = new OxydataWidget(this); connect ( dataCombo, SIGNAL( activated(int) ), oxyDW, SLOT( setElement(int) ) ); oxyDW->setElement( 0 ); + oxyDW->setLayout(); qgrid->addWidget( dataCombo, 0,0); qgrid->addWidget( oxyDW , 1,0 ); } |