Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

zkbwidget.h

Go to the documentation of this file.
00001 #ifndef ZKBWIDGET_H
00002 #define ZKBWIDGET_H
00003 
00004 #include <qwidget.h>
00005 #include <qlabel.h>
00006 #include <qpopupmenu.h>
00007 #include <qpixmap.h>
00008 #include <qcopchannel_qws.h>
00009 
00010 #include "zkb.h"
00011 
00012 class ZkbWidget : public QLabel {
00013 Q_OBJECT
00014 
00015 public:
00016     ZkbWidget(QWidget* parent);
00017     ~ZkbWidget();
00018     static int position();
00019 
00020 protected:
00021     QLabel* label;
00022     Keymap* keymap;
00023     QPopupMenu* labels;
00024     QCopChannel* channel;
00025     int w, h;
00026     QPixmap disabled;
00027 
00028     bool loadKeymap();
00029     void mouseReleaseEvent(QMouseEvent*);
00030 
00031 protected slots:
00032     void stateChanged(const QString&);
00033     void labelChanged(int id);
00034     void signalReceived(const QCString& msg, const QByteArray& data);
00035     void reload();
00036 };
00037 #endif

Generated on Sat Nov 5 16:16:46 2005 for OPIE by  doxygen 1.4.2