OpenStructure
Public Slots | Signals | Public Member Functions
SceneWin Class Reference

#include <scene_win.hh>

Inherits Widget.

Public Slots

void OnSelectionChange (const QItemSelection &sel, const QItemSelection &desel)
 
void ContextMenuRequested (const QPoint &pos)
 
SceneWinModelGetModel () const
 
void Update ()
 

Signals

void ActiveNodesChanged (gfx::NodePtrList nodes, gfx::EntityP entity, mol::QueryViewWrapperList views)
 
void ActiveNodesChanged ()
 

Public Member Functions

 SceneWin (QWidget *parent=NULL)
 
 ~SceneWin ()
 
virtual bool Save (const QString &prefix)
 
virtual bool Restore (const QString &prefix)
 
void AddView (gfx::EntityP entity, mol::EntityView view)
 
ContextMenuGetContextMenu ()
 
- Public Member Functions inherited from Widget
 Widget (QWidget *widget, QWidget *parent=NULL)
 
void SetDestroyOnClose (bool flag)
 
bool DestroyOnClose () const
 
virtual ActionList GetActions ()
 
QWidget * GetInternalWidget ()
 
void SetInternalWidget (QWidget *widget)
 
const QString & GetUniqueID () const
 
void SetUniqueID (const QString &id)
 

Detailed Description

Definition at line 45 of file scene_win.hh.

Constructor & Destructor Documentation

◆ SceneWin()

SceneWin ( QWidget *  parent = NULL)

◆ ~SceneWin()

~SceneWin ( )

Member Function Documentation

◆ ActiveNodesChanged [1/2]

void ActiveNodesChanged ( )
signal

◆ ActiveNodesChanged [2/2]

void ActiveNodesChanged ( gfx::NodePtrList  nodes,
gfx::EntityP  entity,
mol::QueryViewWrapperList  views 
)
signal

◆ AddView()

void AddView ( gfx::EntityP  entity,
mol::EntityView  view 
)

◆ ContextMenuRequested

void ContextMenuRequested ( const QPoint &  pos)
slot

◆ GetContextMenu()

ContextMenu* GetContextMenu ( )

◆ GetModel

SceneWinModel* GetModel ( ) const
slot

◆ OnSelectionChange

void OnSelectionChange ( const QItemSelection &  sel,
const QItemSelection &  desel 
)
slot

◆ Restore()

virtual bool Restore ( const QString &  prefix)
inlinevirtual

Implements Widget.

Definition at line 58 of file scene_win.hh.

◆ Save()

virtual bool Save ( const QString &  prefix)
inlinevirtual

Implements Widget.

Definition at line 57 of file scene_win.hh.

◆ Update

void Update ( )
slot

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