Choreonoid  1.8
GSMediaView.h
Go to the documentation of this file.
1 
5 #ifndef CNOID_MEDIAPLUGIN_GS_MEDIA_VIEW_H
6 #define CNOID_MEDIAPLUGIN_GS_MEDIA_VIEW_H
7 
8 #include <cnoid/View>
9 
10 namespace cnoid {
11 
12 class GSMediaViewImpl;
13 
14 class GSMediaView : public View
15 {
16 public:
17  static bool initializeClass(ExtensionManager* ext);
18 
19  GSMediaView();
20  ~GSMediaView();
21 
22  virtual bool storeState(Archive& archive);
23  virtual bool restoreState(const Archive& archive);
24 
25 protected:
26  virtual bool event(QEvent* event);
27  virtual void resizeEvent(QResizeEvent* event);
28  virtual QPaintEngine* paintEngine() const;
29  virtual void paintEvent(QPaintEvent* event);
30  virtual void onActivated();
31  virtual void onDeactivated();
32 
33 private:
34  GSMediaViewImpl* impl;
35 };
36 
37 }
38 
39 #endif
cnoid::GSMediaView::initializeClass
static bool initializeClass(ExtensionManager *ext)
Definition: GSMediaView.cpp:108
cnoid::GSMediaView::resizeEvent
virtual void resizeEvent(QResizeEvent *event)
Definition: GSMediaView.cpp:291
cnoid::GSMediaView::storeState
virtual bool storeState(Archive &archive)
Definition: GSMediaView.cpp:697
cnoid::GSMediaView::~GSMediaView
~GSMediaView()
Definition: GSMediaView.cpp:240
cnoid::ExtensionManager
Definition: ExtensionManager.h:23
cnoid::GSMediaView::onDeactivated
virtual void onDeactivated()
Definition: GSMediaView.cpp:367
cnoid::View
Definition: View.h:27
cnoid::Archive
Definition: Archive.h:22
cnoid::GSMediaView::onActivated
virtual void onActivated()
Definition: GSMediaView.cpp:359
cnoid::GSMediaView::event
virtual bool event(QEvent *event)
Definition: GSMediaView.cpp:268
cnoid::GSMediaView::restoreState
virtual bool restoreState(const Archive &archive)
Definition: GSMediaView.cpp:711
cnoid::GSMediaView::paintEvent
virtual void paintEvent(QPaintEvent *event)
Definition: GSMediaView.cpp:346
cnoid
Definition: AbstractSceneLoader.h:11
cnoid::GSMediaView::paintEngine
virtual QPaintEngine * paintEngine() const
Definition: GSMediaView.cpp:340
cnoid::GSMediaView
Definition: GSMediaView.h:14
cnoid::GSMediaView::GSMediaView
GSMediaView()
Definition: GSMediaView.cpp:149