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

#include <sequence_viewer.hh>

Inherits Widget, and SceneObserver.

Public Slots

void ChangeDisplayMode (const QString &)
 
void ChangeDisplayMode (const seq::AlignmentHandle &, const QString &)
 
void ChangeDisplayMode (const gfx::EntityP &, const QString &)
 
void DisplayMenu ()
 
void OnSearchBarUpdate (const QString &, bool, const QString &)
 

Signals

void AlignmentChanged ()
 

Public Member Functions

 SequenceViewer (bool stand_alone=true, bool observe_scene=false, const QString &title="Sequence Viewer", QWidget *parent=NULL)
 
 ~SequenceViewer ()
 
virtual void SelectionChanged (const gfx::GfxObjP &o, const mol::EntityView &view)
 
virtual void AddEntity (const gfx::EntityP &entity)
 
virtual void RemoveEntity (const gfx::EntityP &entity)
 
void SetObserveScene (bool flag)
 
bool IsObservingScene () const
 
virtual void AddAlignment (const seq::AlignmentHandle &alignment)
 
void SetAlignment (const seq::AlignmentHandle &alignment)
 
virtual void RemoveAlignment (const seq::AlignmentHandle &alignment)
 
virtual bool Restore (const QString &)
 
virtual bool Save (const QString &)
 
virtual const QStringList & GetDisplayModes ()
 
virtual const QStringList & GetDisplayModes (const seq::AlignmentHandle &alignment)
 
virtual const QStringList & GetDisplayModes (const gfx::EntityP &entity)
 
virtual const QString & GetCurrentDisplayMode ()
 
virtual const QString & GetCurrentDisplayMode (const seq::AlignmentHandle &alignment)
 
virtual const QString & GetCurrentDisplayMode (const gfx::EntityP &entity)
 
virtual ActionList GetActions ()
 
- Public Member Functions inherited from Widget
 Widget (QWidget *widget, QWidget *parent=NULL)
 
void SetDestroyOnClose (bool flag)
 
bool DestroyOnClose () const
 
QWidget * GetInternalWidget ()
 
void SetInternalWidget (QWidget *widget)
 
const QString & GetUniqueID () const
 
void SetUniqueID (const QString &id)
 
- Public Member Functions inherited from SceneObserver
virtual ~SceneObserver ()
 
virtual void NodeChanged (const GfxNodeP &node)
 
virtual void SelectionModeChanged (int sel_mode)
 
virtual void NodeTransformed (const GfxNodeP &node)
 
virtual void RenderModeChanged (const GfxNodeP &node)
 

Detailed Description

QTableView with first column not moving.

Definition at line 55 of file sequence_viewer.hh.

Constructor & Destructor Documentation

◆ SequenceViewer()

SequenceViewer ( bool  stand_alone = true,
bool  observe_scene = false,
const QString &  title = "Sequence Viewer",
QWidget *  parent = NULL 
)

◆ ~SequenceViewer()

Member Function Documentation

◆ AddAlignment()

virtual void AddAlignment ( const seq::AlignmentHandle alignment)
virtual

◆ AddEntity()

virtual void AddEntity ( const gfx::EntityP entity)
virtual

◆ AlignmentChanged

void AlignmentChanged ( )
signal

◆ ChangeDisplayMode [1/3]

void ChangeDisplayMode ( const gfx::EntityP ,
const QString &   
)
slot

◆ ChangeDisplayMode [2/3]

void ChangeDisplayMode ( const QString &  )
slot

◆ ChangeDisplayMode [3/3]

void ChangeDisplayMode ( const seq::AlignmentHandle ,
const QString &   
)
slot

◆ DisplayMenu

void DisplayMenu ( )
slot

◆ GetActions()

virtual ActionList GetActions ( )
virtual

get Widget specific actions

Reimplemented from Widget.

◆ GetCurrentDisplayMode() [1/3]

virtual const QString& GetCurrentDisplayMode ( )
virtual

◆ GetCurrentDisplayMode() [2/3]

virtual const QString& GetCurrentDisplayMode ( const gfx::EntityP entity)
virtual

◆ GetCurrentDisplayMode() [3/3]

virtual const QString& GetCurrentDisplayMode ( const seq::AlignmentHandle alignment)
virtual

◆ GetDisplayModes() [1/3]

virtual const QStringList& GetDisplayModes ( )
virtual

◆ GetDisplayModes() [2/3]

virtual const QStringList& GetDisplayModes ( const gfx::EntityP entity)
virtual

◆ GetDisplayModes() [3/3]

virtual const QStringList& GetDisplayModes ( const seq::AlignmentHandle alignment)
virtual

◆ IsObservingScene()

bool IsObservingScene ( ) const
inline

Definition at line 68 of file sequence_viewer.hh.

◆ OnSearchBarUpdate

void OnSearchBarUpdate ( const QString &  ,
bool  ,
const QString &   
)
slot

◆ RemoveAlignment()

virtual void RemoveAlignment ( const seq::AlignmentHandle alignment)
virtual

◆ RemoveEntity()

virtual void RemoveEntity ( const gfx::EntityP entity)
virtual

◆ Restore()

virtual bool Restore ( const QString &  )
inlinevirtual

Implements Widget.

Definition at line 75 of file sequence_viewer.hh.

◆ Save()

virtual bool Save ( const QString &  )
inlinevirtual

Implements Widget.

Definition at line 76 of file sequence_viewer.hh.

◆ SelectionChanged()

virtual void SelectionChanged ( const gfx::GfxObjP obj,
const mol::EntityView sel 
)
virtual

Called when selection of an object changed.

Reimplemented from SceneObserver.

◆ SetAlignment()

void SetAlignment ( const seq::AlignmentHandle alignment)

◆ SetObserveScene()

void SetObserveScene ( bool  flag)
inline

Definition at line 67 of file sequence_viewer.hh.


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