OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 53 of file sequence_viewer.hh.


Constructor & Destructor Documentation

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

Member Function Documentation

virtual void AddAlignment ( const seq::AlignmentHandle alignment)
virtual
virtual void AddEntity ( const gfx::EntityP entity)
virtual
void AlignmentChanged ( )
signal
void ChangeDisplayMode ( const QString &  )
slot
void ChangeDisplayMode ( const seq::AlignmentHandle ,
const QString &   
)
slot
void ChangeDisplayMode ( const gfx::EntityP ,
const QString &   
)
slot
void DisplayMenu ( )
slot
virtual ActionList GetActions ( )
virtual

get Widget specific actions

Reimplemented from Widget.

virtual const QString& GetCurrentDisplayMode ( )
virtual
virtual const QString& GetCurrentDisplayMode ( const seq::AlignmentHandle alignment)
virtual
virtual const QString& GetCurrentDisplayMode ( const gfx::EntityP entity)
virtual
virtual const QStringList& GetDisplayModes ( )
virtual
virtual const QStringList& GetDisplayModes ( const seq::AlignmentHandle alignment)
virtual
virtual const QStringList& GetDisplayModes ( const gfx::EntityP entity)
virtual
bool IsObservingScene ( ) const
inline

Definition at line 66 of file sequence_viewer.hh.

void OnSearchBarUpdate ( const QString &  ,
bool  ,
const QString &   
)
slot
virtual void RemoveAlignment ( const seq::AlignmentHandle alignment)
virtual
virtual void RemoveEntity ( const gfx::EntityP entity)
virtual
virtual bool Restore ( const QString &  )
inlinevirtual

Implements Widget.

Definition at line 73 of file sequence_viewer.hh.

virtual bool Save ( const QString &  )
inlinevirtual

Implements Widget.

Definition at line 74 of file sequence_viewer.hh.

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

Called when selection of an object changed.

Reimplemented from SceneObserver.

void SetAlignment ( const seq::AlignmentHandle alignment)
void SetObserveScene ( bool  flag)
inline

Definition at line 65 of file sequence_viewer.hh.


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