dlabel.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
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
This file is part of the documentation for kspread Library Version 1.4.2.