#include <sequence_model.hh>
Inherits QAbstractTableModel.
|
| 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 () |
|
Definition at line 45 of file sequence_model.hh.
◆ SequenceModel()
◆ Clear()
◆ columnCount()
int columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
◆ data()
QVariant data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
◆ DoubleClicked
void DoubleClicked |
( |
const QModelIndex & |
index | ) |
|
|
slot |
◆ EmitRowChanged()
void EmitRowChanged |
( |
int |
row | ) |
|
◆ flags()
virtual Qt::ItemFlags flags |
( |
const QModelIndex & |
index = QModelIndex() | ) |
const |
|
virtual |
◆ GetAlignmentForRow()
◆ GetCurrentDisplayMode() [1/3]
const QString& GetCurrentDisplayMode |
( |
| ) |
|
◆ GetCurrentDisplayMode() [2/3]
const QString& GetCurrentDisplayMode |
( |
const gfx::EntityP & |
entity | ) |
|
◆ GetCurrentDisplayMode() [3/3]
◆ GetDisplayModes() [1/3]
const QStringList& GetDisplayModes |
( |
| ) |
|
◆ GetDisplayModes() [2/3]
const QStringList& GetDisplayModes |
( |
const gfx::EntityP & |
entity | ) |
|
◆ GetDisplayModes() [3/3]
◆ GetGlobalRow()
◆ GetModelIndexes() [1/2]
QModelIndexList GetModelIndexes |
( |
const QString & |
subject, |
|
|
const QString & |
sequence_name = QString() |
|
) |
| |
◆ GetModelIndexes() [2/2]
◆ GetPainters()
const PainterList& GetPainters |
( |
const QModelIndex & |
index | ) |
const |
◆ headerData()
QVariant headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
◆ InsertAlignment()
◆ InsertChain()
◆ InsertGfxEntity()
◆ InsertSequence()
◆ InsertSequences()
◆ RemoveAlignment()
◆ RemoveGfxEntity()
◆ rowCount()
int rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
◆ SelectionChanged
void SelectionChanged |
( |
const QItemSelection & |
sel, |
|
|
const QItemSelection & |
desel |
|
) |
| |
|
slot |
◆ SetDisplayMode() [1/3]
void SetDisplayMode |
( |
const gfx::EntityP & |
entity, |
|
|
const QString & |
mode |
|
) |
| |
◆ SetDisplayMode() [2/3]
void SetDisplayMode |
( |
const QString & |
mode | ) |
|
◆ SetDisplayMode() [3/3]
◆ ZoomIn
◆ ZoomOut
The documentation for this class was generated from the following file: