Choreonoid  1.8
VirtualJoystickView.h
Go to the documentation of this file.
1 
6 #ifndef CNOID_BASE_VIRTUAL_JOYSTICK_VIEW_H
7 #define CNOID_BASE_VIRTUAL_JOYSTICK_VIEW_H
8 
9 #include <cnoid/View>
10 #include "exportdecl.h"
11 
12 namespace cnoid {
13 
14 class VirtualJoystickViewImpl;
15 
16 class CNOID_EXPORT VirtualJoystickView : public View
17 {
18 public:
19  static void initializeClass(ExtensionManager* ext);
20 
23 
24 protected:
25  virtual void keyPressEvent(QKeyEvent* event);
26  virtual void keyReleaseEvent(QKeyEvent* event);
27 
28  virtual bool storeState(Archive& archive);
29  virtual bool restoreState(const Archive& archive);
30 
31 private:
32  VirtualJoystickViewImpl* impl;
33 };
34 
35 }
36 
37 #endif
cnoid::ExtensionManager
Definition: ExtensionManager.h:23
cnoid::View
Definition: View.h:27
cnoid::Archive
Definition: Archive.h:22
cnoid
Definition: AbstractSceneLoader.h:11
cnoid::VirtualJoystickView
Definition: VirtualJoystickView.h:16