00001
00002
00003 #ifndef HAPTIC_H
00004 #define HAPTIC_H
00005
00006 #include <qmainwindow.h>
00007 #include <qpopupmenu.h>
00008 #include "hapticstatus.h"
00009 #include "hapticdevice.h"
00010
00011
00012 class QTextEdit;
00013
00014 class Haptic: public QMainWindow
00015 {
00016 Q_OBJECT
00017
00018 public:
00019 Haptic();
00020 ~Haptic();
00021
00022 protected:
00023 void closeEvent( QCloseEvent* );
00024 HapticStatus* frmHapticStatus;
00025 HapticDevice* aHapticDevice;
00026
00027 private slots:
00028 void about();
00029 void toggle_HapticStatus();
00030 void updateWindowMenu();
00031
00032 private:
00033 QPopupMenu * windows;
00034 int iWindowHapticStatus;
00035 };
00036
00037
00038 #endif