Choreonoid  1.8
Public Member Functions | Protected Member Functions | Friends | List of all members
cnoid::GraphViewBase Class Referenceabstract

#include <GraphViewBase.h>

Inheritance diagram for cnoid::GraphViewBase:
cnoid::View cnoid::Widget cnoid::MultiSE3SeqGraphView cnoid::MultiValueSeqGraphView

Public Member Functions

 GraphViewBase ()
 
 ~GraphViewBase ()
 
virtual bool storeState (Archive &archive)
 
virtual bool restoreState (const Archive &archive)
 
virtual QWidget * indicatorOnInfoBar ()
 
- Public Member Functions inherited from cnoid::View
 View ()
 
virtual ~View ()
 
ViewClassviewClass () const
 
const std::string & name () const
 
virtual void setName (const std::string &name)
 
void setTitleFormat (const std::string &title)
 
void resetTitleFormat ()
 
const std::string & titleFormat () const
 
ViewAreaviewArea () const
 
bool isActive () const
 
bool hasFocus () 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, double marginRatio=0.0)
 
void setLayout (QLayout *layout, double leftMarginRatio, double topMarginRatio, double rightMarginRatio, double bottomMarginRatio)
 
QPoint viewAreaPos () const
 
void enableFontSizeZoomKeys (bool on)
 
- Public Member Functions inherited from cnoid::Widget
 Widget (QWidget *parent=0)
 
SignalProxy< void(std::string name)> sigObjectNameChanged ()
 
SignalProxy< void(std::string title)> sigWindowTitleChanged ()
 

Protected Member Functions

virtual int currentNumParts (const ItemList<> &items) const
 
virtual ItemList extractTargetItems (const ItemList<> &items) const =0
 
virtual void addGraphDataHandlers (Item *item, int partIndex, std::vector< GraphDataHandlerPtr > &out_handlers)=0
 
virtual void updateGraphDataHandler (Item *item, GraphDataHandlerPtr handler)=0
 
void updateSelections ()
 
void notifyUpdateByEditing (Item *item)
 
QVBoxLayout * leftVBox () const
 
- Protected Member Functions inherited from cnoid::View
void setLayoutContentsMarginRatio (QLayout *layout, double leftMarginRatio, double topMarginRatio, double rightMarginRatio, double bottomMarginRatio)
 
void zoomFontSize (int zoom)
 
virtual void onActivated ()
 
virtual void onDeactivated ()
 
virtual void onFocusChanged (bool on)
 
virtual void onAttachedMenuRequest (MenuManager &menuManager)
 
virtual void keyPressEvent (QKeyEvent *event)
 
virtual void resizeEvent (QResizeEvent *event)
 

Friends

class GraphViewBaseImpl
 

Additional Inherited Members

- Public Types inherited from cnoid::View
enum  LayoutArea {
  TopLeftArea = 0, MiddleLeftArea = 1, BottomLeftArea = 2, TopCenterArea = 3,
  CenterArea = 4, BottomCenterArea = 5, TopRightArea = 6, MiddleRightArea = 7,
  BottomRightArea = 8, NumLayoutAreas = 9, LEFT = TopLeftArea, LEFT_TOP = TopLeftArea,
  LEFT_BOTTOM = BottomLeftArea, CENTER = CenterArea, RIGHT = TopRightArea, BOTTOM = BottomCenterArea
}
 
- Static Public Member Functions inherited from cnoid::View
static ViewlastFocusView ()
 

Constructor & Destructor Documentation

◆ GraphViewBase()

GraphViewBase::GraphViewBase ( )

◆ ~GraphViewBase()

GraphViewBase::~GraphViewBase ( )

Member Function Documentation

◆ addGraphDataHandlers()

virtual void cnoid::GraphViewBase::addGraphDataHandlers ( Item item,
int  partIndex,
std::vector< GraphDataHandlerPtr > &  out_handlers 
)
protectedpure virtual

◆ currentNumParts()

int GraphViewBase::currentNumParts ( const ItemList<> &  items) const
protectedvirtual

◆ extractTargetItems()

virtual ItemList cnoid::GraphViewBase::extractTargetItems ( const ItemList<> &  items) const
protectedpure virtual

◆ indicatorOnInfoBar()

QWidget * GraphViewBase::indicatorOnInfoBar ( )
virtual

Reimplemented from cnoid::View.

◆ leftVBox()

QVBoxLayout * GraphViewBase::leftVBox ( ) const
protected

◆ notifyUpdateByEditing()

void GraphViewBase::notifyUpdateByEditing ( Item item)
protected

◆ restoreState()

bool GraphViewBase::restoreState ( const Archive archive)
virtual

Reimplemented from cnoid::View.

Reimplemented in cnoid::MultiSE3SeqGraphView.

◆ storeState()

bool GraphViewBase::storeState ( Archive archive)
virtual

Reimplemented from cnoid::View.

Reimplemented in cnoid::MultiSE3SeqGraphView.

◆ updateGraphDataHandler()

virtual void cnoid::GraphViewBase::updateGraphDataHandler ( Item item,
GraphDataHandlerPtr  handler 
)
protectedpure virtual

◆ updateSelections()

void GraphViewBase::updateSelections ( )
protected

Friends And Related Function Documentation

◆ GraphViewBaseImpl

friend class GraphViewBaseImpl
friend

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