OpenStructure
Public Member Functions
AlignmentViewObject Class Reference

#include <alignment_view_object.hh>

Inherits SequenceViewObject.

Public Member Functions

 AlignmentViewObject (const seq::AlignmentHandle &alignment, QObject *parent=0)
 
QVariant GetData (int row, int column, int role)
 
const seq::AlignmentHandleGetAlignment ()
 
void SetDisplayMode (const QString &mode)
 
- Public Member Functions inherited from SequenceViewObject
 SequenceViewObject (seq::SequenceList &sequences, const QList< QString > &names, QObject *parent=0)
 
 SequenceViewObject (seq::SequenceHandle &sequence, const QString &name, QObject *parent=0)
 
 SequenceViewObject (mol::ChainView &chain, const QString &name, QObject *parent=0)
 
 SequenceViewObject (const gfx::EntityP &entity, QObject *parent=0)
 
 SequenceViewObject (QObject *parent=0)
 
void Init ()
 
void AddSequence (seq::ConstSequenceHandle sequence, const QString &name=QString())
 
void AddChain (mol::ChainView &chain, const QString &name=QString())
 
void AttachGfxObject (gfx::EntityP &ent)
 
gfx::EntityPGetGfxObject ()
 
QMap< int, QList< int > > GetIndexesForView (const mol::EntityView &view)
 
QMap< int, QList< int > > GetIndexesForSubject (const QString &subject, const QString &sequence_name=QString())
 
- Public Member Functions inherited from BaseViewObject
 BaseViewObject (QObject *parent=0)
 
void InsertRow (int pos, BaseRow *row)
 
void RemoveRow (BaseRow *row)
 
BaseRowGetRow (int pos)
 
int GetRowCount ()
 
int GetMaxColumnCount () const
 
virtual void SetSelection (int row, const QSet< int > &added, const QSet< int > &removed)
 
virtual bool SetData (int row, int column, const QVariant &value, int role)
 
virtual Qt::ItemFlags Flags (int row, int column) const
 
virtual const QStringList & GetDisplayModes ()
 
virtual const QString & GetCurrentDisplayMode ()
 
void DoubleClicked (int row, int column)
 
void ZoomIn ()
 
void ZoomOut ()
 

Additional Inherited Members

- Protected Member Functions inherited from BaseViewObject
virtual void AddDisplayMode (const QString &mode)
 
- Protected Attributes inherited from BaseViewObject
QList< BaseRow * > rows_
 
QString current_display_mode_
 
QStringList display_modes_
 
- Static Protected Attributes inherited from SequenceViewObject
static const QString properties_mode
 
static const QString secondary_structure_mode
 
static AlignPropertiesPainteralign_properties_painter
 
static ConservationPainterconservation_painter
 
static BackgroundPainterbackground_painter
 
static SeqSecStrPainterseq_secondary_structure_painter
 
static SeqSelectionPainterseq_selection_painter
 
static SeqTextPainterseq_text_painter
 

Detailed Description

Definition at line 37 of file alignment_view_object.hh.

Constructor & Destructor Documentation

◆ AlignmentViewObject()

AlignmentViewObject ( const seq::AlignmentHandle alignment,
QObject *  parent = 0 
)

Member Function Documentation

◆ GetAlignment()

const seq::AlignmentHandle& GetAlignment ( )

◆ GetData()

QVariant GetData ( int  row,
int  column,
int  role 
)
virtual

Reimplemented from BaseViewObject.

◆ SetDisplayMode()

void SetDisplayMode ( const QString &  mode)
virtual

Reimplemented from SequenceViewObject.


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