author | tille <tille> | 2002-11-17 17:41:36 (UTC) |
---|---|---|
committer | tille <tille> | 2002-11-17 17:41:36 (UTC) |
commit | 8b7363e22c3d8ba53baf14e6eb31ea3958b43e9c (patch) (side-by-side diff) | |
tree | f9ada7584e39e37402e588b9c67f276c845ee832 /noncore/apps/oxygen/psewidget.cpp | |
parent | c7e7142bc83a8f3d526452bce56c410f4e88c750 (diff) | |
download | opie-8b7363e22c3d8ba53baf14e6eb31ea3958b43e9c.zip opie-8b7363e22c3d8ba53baf14e6eb31ea3958b43e9c.tar.gz opie-8b7363e22c3d8ba53baf14e6eb31ea3958b43e9c.tar.bz2 |
added atom symbols in table
Diffstat (limited to 'noncore/apps/oxygen/psewidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/oxygen/psewidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/oxygen/psewidget.cpp b/noncore/apps/oxygen/psewidget.cpp index 18b41c3..d742e9c 100644 --- a/noncore/apps/oxygen/psewidget.cpp +++ b/noncore/apps/oxygen/psewidget.cpp @@ -31,25 +31,25 @@ PSEWidget::PSEWidget() : QWidget() QVBoxLayout *vlay = new QVBoxLayout( this ); QGridLayout *grid = new QGridLayout( 18,10 ); int h=0, v=0; Config configobj( QPEApplication::qpeDir() +"share/oxygen/oxygendata", Config::File ); for( int n = 0 ; n < 118 ; n++ ) { configobj.setGroup( QString::number( n+1 )); position( n+1,h,v ); QList<OxyFrame> PSEframe; - PSEframe.append( new OxyFrame( this , QString::number(n) ) ); + PSEframe.append( new OxyFrame( this , QString::number(n), configobj.readEntry( "Symbol" ) ) ); grid->addWidget( PSEframe.current() , v/40+1 , h/40 ); PSEframe.current()->setMinimumHeight( 11 ); PSEframe.current()->setPalette( QPalette( PSEColor( configobj.readEntry( "Block" ) ) ) ); connect( PSEframe.current(), SIGNAL( num(QString) ), this, SLOT( slotShowElement(QString) )); } oxyDW = new OxydataWidget(this); oxyDW->setElement( 0 ); oxyDW->setLayout(); vlay->addLayout( grid ); vlay->addWidget( oxyDW ); |