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

- 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 34 of file alignment_view_object.hh.


Constructor & Destructor Documentation

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

Member Function Documentation

const seq::AlignmentHandle& GetAlignment ( )
QVariant GetData ( int  row,
int  column,
int  role 
)
virtual

Reimplemented from BaseViewObject.

void SetDisplayMode ( const QString &  mode)
virtual

Reimplemented from SequenceViewObject.


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