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 _OXYFRAME_H 00018 #define _OXYFRAME_H 00019 00020 00021 #include <qlabel.h> 00022 00023 class OxyFrame : public QLabel 00024 { 00025 Q_OBJECT 00026 00027 public: 00028 OxyFrame( QWidget *parent=0, const char *name=0, QString symbol="" ); 00029 00030 void mousePressEvent( QMouseEvent *); 00031 00032 QString N; 00033 00034 signals: 00035 /* 00036 * this signal emits the name (the element-number) 00037 */ 00038 void num(QString); 00039 }; 00040 00041 #endif
1.4.2