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


Detailed Description

Definition at line 42 of file sequence_model.hh.


Constructor & Destructor Documentation

SequenceModel ( QObject *  parent = 0  ) 


Member Function Documentation

int columnCount ( const QModelIndex &  parent = QModelIndex()  )  const

QVariant data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const

void DoubleClicked ( const QModelIndex &  index  )  [slot]

virtual Qt::ItemFlags flags ( const QModelIndex &  index = QModelIndex()  )  const [virtual]

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:

Generated on Fri Jul 2 14:23:06 2010 for OpenStructure by  doxygen 1.5.8