00001 /*************************************************************************** 00002 application: : Oxygen 00003 00004 begin : September 2002 00005 copyright : ( C ) 2002 by Carsten Niehaus 00006 email : cniehaus@handhelds.org 00007 **************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * ( at your option ) any later version. * 00015 * * 00016 **************************************************************************/ 00017 #ifndef _PSEWIDGET_H 00018 #define _PSEWIDGET_H 00019 00020 #include <qwidget.h> 00021 #include <qlist.h> 00022 #include "oxyframe.h" 00023 00024 class QGridLayout; 00025 class QStringList; 00026 00027 class OxydataWidget; 00028 class PSEframe; 00029 00030 class PSEWidget : public QWidget 00031 { 00032 Q_OBJECT 00033 00034 public: 00035 PSEWidget(const QStringList &list=0); 00036 QGridLayout *bottom_grid; 00037 OxydataWidget *oxyDW; 00038 00039 QList<OxyFrame> PSEframe; 00040 00041 int lastElement; 00042 00043 private: 00044 QGridLayout *maingrid; 00045 00046 void position( int, int&, int& ); 00047 QColor PSEColor( QString ) const; 00048 QStringList names; 00049 00050 public slots: 00051 void slotShowElement(QString); 00052 void inverseColor( QString ); 00053 00054 }; 00055 00056 #endif
1.4.2