author | cniehaus <cniehaus> | 2002-12-01 13:02:00 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2002-12-01 13:02:00 (UTC) |
commit | 5e82b4c17131cdc1b8be57e312f594d1a55520aa (patch) (unidiff) | |
tree | fad787c83503127f1e1b67b743730f250f9dd6e3 /noncore/apps | |
parent | beb043f41e232e9dc8768e5fd619c2b80e805f73 (diff) | |
download | opie-5e82b4c17131cdc1b8be57e312f594d1a55520aa.zip opie-5e82b4c17131cdc1b8be57e312f594d1a55520aa.tar.gz opie-5e82b4c17131cdc1b8be57e312f594d1a55520aa.tar.bz2 |
is that the way it should be, Holger?
-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() | |||
39 | configobj.setGroup( QString::number( n+1 )); | 39 | configobj.setGroup( QString::number( n+1 )); |
40 | 40 | ||
41 | position( n+1,h,v ); | 41 | position( n+1,h,v ); |
42 | QList<OxyFrame> PSEframe; | ||
43 | PSEframe.append( new OxyFrame( this , QString::number(n), configobj.readEntry( "Symbol" ) ) ); | 42 | PSEframe.append( new OxyFrame( this , QString::number(n), configobj.readEntry( "Symbol" ) ) ); |
44 | grid->addWidget( PSEframe.current() , v/40+1 , h/40 ); | 43 | grid->addWidget( PSEframe.current() , v/40+1 , h/40 ); |
45 | PSEframe.current()->setMinimumHeight( 11 ); | 44 | PSEframe.current()->setMinimumHeight( 11 ); |
@@ -65,6 +64,11 @@ QColor PSEWidget::PSEColor( QString block ) | |||
65 | return c; | 64 | return c; |
66 | }; | 65 | }; |
67 | 66 | ||
67 | void PSEWidget::inverseColor( QString number ) | ||
68 | { | ||
69 | //foo | ||
70 | } | ||
71 | |||
68 | void PSEWidget::slotShowElement(QString number) | 72 | void PSEWidget::slotShowElement(QString number) |
69 | { | 73 | { |
70 | oxyDW->setElement( number.toInt() ); | 74 | 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 @@ | |||
18 | #define _PSEWIDGET_H | 18 | #define _PSEWIDGET_H |
19 | 19 | ||
20 | #include <qwidget.h> | 20 | #include <qwidget.h> |
21 | #include <qlist.h> | ||
22 | #include "oxyframe.h" | ||
21 | 23 | ||
22 | class QGridLayout; | 24 | class QGridLayout; |
23 | class OxydataWidget; | 25 | class OxydataWidget; |
26 | class PSEframe; | ||
24 | 27 | ||
25 | class PSEWidget : public QWidget | 28 | class PSEWidget : public QWidget |
26 | { | 29 | { |
@@ -31,6 +34,9 @@ class PSEWidget : public QWidget | |||
31 | QGridLayout *bottom_grid; | 34 | QGridLayout *bottom_grid; |
32 | OxydataWidget *oxyDW; | 35 | OxydataWidget *oxyDW; |
33 | 36 | ||
37 | void inverseColor( QString ); | ||
38 | QList<OxyFrame> PSEframe; | ||
39 | |||
34 | private: | 40 | private: |
35 | QGridLayout *maingrid; | 41 | QGridLayout *maingrid; |
36 | 42 | ||