-rw-r--r-- | noncore/apps/oxygen/psewidget.cpp | 6 | ||||
-rw-r--r-- | noncore/apps/oxygen/psewidget.h | 6 |
2 files changed, 11 insertions, 1 deletions
diff --git a/noncore/apps/oxygen/psewidget.cpp b/noncore/apps/oxygen/psewidget.cpp index 2fd61bc..eb4093b 100644 --- a/noncore/apps/oxygen/psewidget.cpp +++ b/noncore/apps/oxygen/psewidget.cpp @@ -39,7 +39,6 @@ PSEWidget::PSEWidget() : QWidget() configobj.setGroup( QString::number( n+1 )); position( n+1,h,v ); - QList<OxyFrame> PSEframe; PSEframe.append( new OxyFrame( this , QString::number(n), configobj.readEntry( "Symbol" ) ) ); grid->addWidget( PSEframe.current() , v/40+1 , h/40 ); PSEframe.current()->setMinimumHeight( 11 ); @@ -65,6 +64,11 @@ QColor PSEWidget::PSEColor( QString block ) return c; }; +void PSEWidget::inverseColor( QString number ) +{ + //foo +} + void PSEWidget::slotShowElement(QString number) { oxyDW->setElement( number.toInt() ); diff --git a/noncore/apps/oxygen/psewidget.h b/noncore/apps/oxygen/psewidget.h index fdf838e..d8d2c5f 100644 --- a/noncore/apps/oxygen/psewidget.h +++ b/noncore/apps/oxygen/psewidget.h @@ -18,9 +18,12 @@ #define _PSEWIDGET_H #include <qwidget.h> +#include <qlist.h> +#include "oxyframe.h" class QGridLayout; class OxydataWidget; +class PSEframe; class PSEWidget : public QWidget { @@ -31,6 +34,9 @@ class PSEWidget : public QWidget QGridLayout *bottom_grid; OxydataWidget *oxyDW; + void inverseColor( QString ); + QList<OxyFrame> PSEframe; + private: QGridLayout *maingrid; |