kspread Library API Documentation

dlabel.h

00001 /*
00002 
00003  $Id: dlabel.h 212185 2003-03-07 22:11:39Z waba $
00004 
00005  KCalc 
00006 
00007  Copyright (C) Bernd Johannes Wuebben
00008                wuebben@math.cornell.edu
00009            wuebben@kde.org
00010 
00011  This program is free software; you can redistribute it and/or
00012  modify it under the terms of the GNU General Public License
00013  as published by the Free Software Foundation; either version 2
00014  of the License, or (at your option) any later version.
00015 
00016  This program is distributed in the hope that it will be useful,
00017  but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  GNU General Public License for more details.
00020 
00021  You should have received a copy of the GNU General Public License
00022  along with this program; if not, write to the Free Software
00023  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00024 
00025  */
00026 
00027 
00028 #ifndef _D_LABEL_H_
00029 #define _D_LABEL_H_
00030 
00031 #include <qlabel.h>
00032 
00033 
00034 class DLabel : public QLabel {
00035 
00036 Q_OBJECT
00037 
00038 public:
00039 
00040 DLabel(QWidget *parent=0, const char *name=0);
00041 
00042   ~DLabel() {}
00043 
00044 protected:
00045   
00046   void  mousePressEvent ( QMouseEvent *);
00047 
00048 public:
00049   bool isLit();
00050   void setLit(bool _lit);
00051   int Button();
00052 
00053 private:
00054   int button;
00055   bool lit;
00056 
00057 signals:
00058   void clicked();
00059 
00060 };
00061 
00062 
00063 
00064 #endif
KDE Logo
This file is part of the documentation for kspread Library Version 1.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Feb 13 09:42:44 2006 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003