Choreonoid  1.5
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
cnoid::DSMediaView Class Reference

#include <DSMediaView.h>

Inheritance diagram for cnoid::DSMediaView:
cnoid::View

Public Member Functions

 DSMediaView ()
 
 ~DSMediaView ()
 
virtual bool storeState (Archive &archive)
 
virtual bool restoreState (const Archive &archive)
 
- Public Member Functions inherited from cnoid::View
 View ()
 
virtual ~View ()
 
ViewClassviewClass () const
 
void setName (const std::string &name)
 
std::string name () const
 
ViewAreaviewArea () const
 
bool isActive () const
 
void bringToFront ()
 
SignalProxy< void()> sigActivated ()
 
SignalProxy< void()> sigDeactivated ()
 
SignalProxy< void()> sigResized ()
 
SignalProxy< void()> sigRemoved ()
 
void setDefaultLayoutArea (LayoutArea area)
 
LayoutArea defaultLayoutArea () const
 
void setLayout (QLayout *layout)
 
QPoint viewAreaPos () const
 
virtual QWidget * indicatorOnInfoBar ()
 
void enableFontSizeZoomKeys (bool on)
 

Static Public Member Functions

static bool initialize (ExtensionManager *ext)
 
static void finalize ()
 
- Static Public Member Functions inherited from cnoid::View
static ViewlastFocusView ()
 
static SignalProxy< void(View *)> sigFocusChanged ()
 

Protected Member Functions

virtual void resizeEvent (QResizeEvent *event)
 
virtual void paintEvent (QPaintEvent *event)
 
virtual QPaintEngine * paintEngine () const
 
virtual void onActivated ()
 
virtual void onDeactivated ()
 
- Protected Member Functions inherited from cnoid::View
void zoomFontSize (int zoom)
 
virtual void onAttachedMenuRequest (MenuManager &menuManager)
 
virtual void keyPressEvent (QKeyEvent *event)
 

Additional Inherited Members

- Public Types inherited from cnoid::View
enum  LayoutArea {
  LEFT = 0, LEFT_TOP = 0, LEFT_BOTTOM = 1, CENTER = 2,
  RIGHT = 3, BOTTOM = 4, NUM_AREAS
}
 

Constructor & Destructor Documentation

DSMediaView::DSMediaView ( )
DSMediaView::~DSMediaView ( )

Member Function Documentation

void DSMediaView::finalize ( )
static
bool DSMediaView::initialize ( ExtensionManager ext)
static
void DSMediaView::onActivated ( )
protectedvirtual

Virtual function which is called when the view becomes visible on the main window.

Note
In the current implementation, this function may be continuously called two or three times when the perspective changes, and the number of calles does not necessarily corresponds to the number of 'onDeactivated()' calles.
Todo:
improve the behavior written as note

Reimplemented from cnoid::View.

void DSMediaView::onDeactivated ( )
protectedvirtual

Reimplemented from cnoid::View.

QPaintEngine * DSMediaView::paintEngine ( ) const
protectedvirtual
void DSMediaView::paintEvent ( QPaintEvent *  event)
protectedvirtual
void DSMediaView::resizeEvent ( QResizeEvent *  event)
protectedvirtual

Reimplemented from cnoid::View.

bool DSMediaView::restoreState ( const Archive archive)
virtual

Reimplemented from cnoid::View.

bool DSMediaView::storeState ( Archive archive)
virtual

Reimplemented from cnoid::View.


The documentation for this class was generated from the following files: