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 PainterList & | GetPainters (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
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] |
void EmitRowChanged |
( |
int |
row |
) |
|
virtual Qt::ItemFlags flags |
( |
const QModelIndex & |
index = QModelIndex() |
) |
const [virtual] |
const QString& GetCurrentDisplayMode |
( |
const gfx::EntityP & |
entity |
) |
|
const QString& GetCurrentDisplayMode |
( |
|
) |
|
const QStringList& GetDisplayModes |
( |
const gfx::EntityP & |
entity |
) |
|
const QStringList& GetDisplayModes |
( |
|
) |
|
QModelIndexList GetModelIndexes |
( |
const QString & |
subject, |
|
|
const QString & |
sequence_name = QString() | |
|
) |
| | |
const PainterList& GetPainters |
( |
const QModelIndex & |
index |
) |
const |
QVariant headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role = Qt::DisplayRole | |
|
) |
| | const |
int rowCount |
( |
const QModelIndex & |
parent = QModelIndex() |
) |
const |
void SelectionChanged |
( |
const QItemSelection & |
sel, |
|
|
const QItemSelection & |
desel | |
|
) |
| | [slot] |
void SetDisplayMode |
( |
const gfx::EntityP & |
entity, |
|
|
const QString & |
mode | |
|
) |
| | |
void SetDisplayMode |
( |
const QString & |
mode |
) |
|
The documentation for this class was generated from the following file: