SequenceModel Class Reference

#include <sequence_model.hh>

Public Slots

void ZoomIn ()
void ZoomOut ()
void DoubleClicked (const QModelIndex &index)
void SelectionChanged (const QItemSelection &sel, const QItemSelection &desel)

Public Member Functions

 SequenceModel (QObject *parent=0)
void InsertAlignment (const seq::AlignmentHandle &alignment)
void InsertGfxEntity (const gfx::EntityP &entity)
void InsertChain (QString &name, mol::ChainView &view)
void InsertSequence (QString &name, seq::SequenceHandle &seq)
void InsertSequences (const QList< QString > &names, seq::SequenceList &list)
void RemoveAlignment (const seq::AlignmentHandle &alignment)
void RemoveGfxEntity (const gfx::EntityP &entity)
QModelIndexList GetModelIndexes (gfx::EntityP &entity, const mol::EntityView &view)
QModelIndexList GetModelIndexes (const QString &subject, const QString &sequence_name=QString())
int GetGlobalRow (BaseViewObject *obj, int row) const
const QStringList & GetDisplayModes ()
const QStringList & GetDisplayModes (const gfx::EntityP &entity)
const QStringList & GetDisplayModes (const seq::AlignmentHandle &alignment)
const QString & GetCurrentDisplayMode ()
const QString & GetCurrentDisplayMode (const gfx::EntityP &entity)
const QString & GetCurrentDisplayMode (const seq::AlignmentHandle &alignment)
void SetDisplayMode (const QString &mode)
void SetDisplayMode (const gfx::EntityP &entity, const QString &mode)
void SetDisplayMode (const seq::AlignmentHandle &alignment, const QString &mode)
const PainterListGetPainters (const QModelIndex &index) const
int rowCount (const QModelIndex &parent=QModelIndex()) const
int columnCount (const QModelIndex &parent=QModelIndex()) const
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
virtual Qt::ItemFlags flags (const QModelIndex &index=QModelIndex()) const
QPair< seq::AlignmentHandle, int > GetAlignmentForRow (int row)
void EmitRowChanged (int row)
void Clear ()

Detailed Description

Definition at line 45 of file sequence_model.hh.


Constructor & Destructor Documentation

SequenceModel ( QObject *  parent = 0  ) 

Member Function Documentation

void Clear (  ) 
int columnCount ( const QModelIndex &  parent = QModelIndex()  )  const
QVariant data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const
void DoubleClicked ( const QModelIndex &  index  )  [slot]
void EmitRowChanged ( int  row  ) 
virtual Qt::ItemFlags flags ( const QModelIndex &  index = QModelIndex()  )  const [virtual]
QPair<seq::AlignmentHandle, int> GetAlignmentForRow ( int  row  ) 
const QString& GetCurrentDisplayMode ( const seq::AlignmentHandle alignment  ) 
const QString& GetCurrentDisplayMode ( const gfx::EntityP entity  ) 
const QString& GetCurrentDisplayMode (  ) 
const QStringList& GetDisplayModes ( const seq::AlignmentHandle alignment  ) 
const QStringList& GetDisplayModes ( const gfx::EntityP entity  ) 
const QStringList& GetDisplayModes (  ) 
int GetGlobalRow ( BaseViewObject obj,
int  row 
) const
QModelIndexList GetModelIndexes ( const QString &  subject,
const QString &  sequence_name = QString() 
)
QModelIndexList GetModelIndexes ( gfx::EntityP entity,
const mol::EntityView view 
)
const PainterList& GetPainters ( const QModelIndex &  index  )  const
QVariant headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const
void InsertAlignment ( const seq::AlignmentHandle alignment  ) 
void InsertChain ( QString &  name,
mol::ChainView view 
)
void InsertGfxEntity ( const gfx::EntityP entity  ) 
void InsertSequence ( QString &  name,
seq::SequenceHandle seq 
)
void InsertSequences ( const QList< QString > &  names,
seq::SequenceList list 
)
void RemoveAlignment ( const seq::AlignmentHandle alignment  ) 
void RemoveGfxEntity ( const gfx::EntityP entity  ) 
int rowCount ( const QModelIndex &  parent = QModelIndex()  )  const
void SelectionChanged ( const QItemSelection &  sel,
const QItemSelection &  desel 
) [slot]
void SetDisplayMode ( const seq::AlignmentHandle alignment,
const QString &  mode 
)
void SetDisplayMode ( const gfx::EntityP entity,
const QString &  mode 
)
void SetDisplayMode ( const QString &  mode  ) 
void ZoomIn (  )  [slot]
void ZoomOut (  )  [slot]

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 10 Nov 2016 for OpenStructure by  doxygen 1.6.1