author | cniehaus <cniehaus> | 2002-12-26 16:27:41 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2002-12-26 16:27:41 (UTC) |
commit | 4ccadc49c02a7412fd82eeb98eba3c7cd7f5c05f (patch) (unidiff) | |
tree | 6bcf36b728b6c9db70c00ccf2c16f7b082581124 /noncore/apps/oxygen/psewidget.h | |
parent | 6ba7eeea65ba60d022c0d9d041660ceffb2b76f6 (diff) | |
download | opie-4ccadc49c02a7412fd82eeb98eba3c7cd7f5c05f.zip opie-4ccadc49c02a7412fd82eeb98eba3c7cd7f5c05f.tar.gz opie-4ccadc49c02a7412fd82eeb98eba3c7cd7f5c05f.tar.bz2 |
adding a nice feature: now the user sees which element he is looking at
Diffstat (limited to 'noncore/apps/oxygen/psewidget.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/oxygen/psewidget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/apps/oxygen/psewidget.h b/noncore/apps/oxygen/psewidget.h index cfb629d..ddeab9d 100644 --- a/noncore/apps/oxygen/psewidget.h +++ b/noncore/apps/oxygen/psewidget.h | |||
@@ -15,37 +15,39 @@ | |||
15 | * * | 15 | * * |
16 | **************************************************************************/ | 16 | **************************************************************************/ |
17 | #ifndef _PSEWIDGET_H | 17 | #ifndef _PSEWIDGET_H |
18 | #define _PSEWIDGET_H | 18 | #define _PSEWIDGET_H |
19 | 19 | ||
20 | #include <qwidget.h> | 20 | #include <qwidget.h> |
21 | #include <qlist.h> | 21 | #include <qlist.h> |
22 | #include "oxyframe.h" | 22 | #include "oxyframe.h" |
23 | 23 | ||
24 | class QGridLayout; | 24 | class QGridLayout; |
25 | class OxydataWidget; | 25 | class OxydataWidget; |
26 | class PSEframe; | 26 | class PSEframe; |
27 | 27 | ||
28 | class PSEWidget : public QWidget | 28 | class PSEWidget : public QWidget |
29 | { | 29 | { |
30 | Q_OBJECT | 30 | Q_OBJECT |
31 | 31 | ||
32 | public: | 32 | public: |
33 | PSEWidget(); | 33 | PSEWidget(); |
34 | QGridLayout *bottom_grid; | 34 | QGridLayout *bottom_grid; |
35 | OxydataWidget *oxyDW; | 35 | OxydataWidget *oxyDW; |
36 | 36 | ||
37 | QList<OxyFrame> PSEframe; | 37 | QList<OxyFrame> PSEframe; |
38 | 38 | ||
39 | int lastElement; | ||
40 | |||
39 | private: | 41 | private: |
40 | QGridLayout *maingrid; | 42 | QGridLayout *maingrid; |
41 | 43 | ||
42 | void position( int, int&, int& ); | 44 | void position( int, int&, int& ); |
43 | QColor PSEColor( QString ); | 45 | QColor PSEColor( QString ); |
44 | 46 | ||
45 | public slots: | 47 | public slots: |
46 | void slotShowElement(QString); | 48 | void slotShowElement(QString); |
47 | void inverseColor( QString ); | 49 | void inverseColor( QString ); |
48 | 50 | ||
49 | }; | 51 | }; |
50 | 52 | ||
51 | #endif | 53 | #endif |