summaryrefslogtreecommitdiff
path: root/noncore/apps/oxygen/psewidget.h
blob: ad40cf1ade528b4a6595b086cf136cd5b5bbb4aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/***************************************************************************
   application:             : Oxygen

   begin                    : September 2002
   copyright                : ( C ) 2002 by Carsten Niehaus
   email                    : cniehaus@handhelds.org
 **************************************************************************/

/***************************************************************************
 *                                                                         *
 * This program is free software; you can redistribute it and/or modify    *
 * it under the terms of the GNU General Public License as published by    *
 * the Free Software Foundation; either version 2 of the License, or       *
 * ( at your option ) any later version.                                   *
 *                                                                         *
 **************************************************************************/
#ifndef _PSEWIDGET_H
#define _PSEWIDGET_H

#include <qwidget.h>
#include <qlist.h>
#include "oxyframe.h"

class QGridLayout;
class QStringList;

class OxydataWidget;
class PSEframe;

class PSEWidget : public QWidget
{
	Q_OBJECT
	
    public:
		PSEWidget(const QStringList &list=0);
        QGridLayout *bottom_grid;
        OxydataWidget *oxyDW;

        QList<OxyFrame> PSEframe;

		int lastElement;

    private:
        QGridLayout *maingrid;
        
        void position( int, int&, int& );
        QColor PSEColor( QString ) const;
		QStringList names;

    public slots:
        void slotShowElement(QString);
		void inverseColor( QString );

};

#endif