OpenStructure
|
#include <sequence_view_object.hh>
Inherits BaseViewObject.
Inherited by AlignmentViewObject.
Public Member Functions | |
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::EntityP & | GetGfxObject () |
virtual void | SetDisplayMode (const QString &mode) |
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) |
BaseRow * | GetRow (int pos) |
int | GetRowCount () |
int | GetMaxColumnCount () const |
virtual void | SetSelection (int row, const QSet< int > &added, const QSet< int > &removed) |
virtual QVariant | GetData (int row, int column, int role) |
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 () |
Static Protected Attributes | |
static const QString | properties_mode |
static const QString | secondary_structure_mode |
static AlignPropertiesPainter * | align_properties_painter |
static ConservationPainter * | conservation_painter |
static BackgroundPainter * | background_painter |
static SeqSecStrPainter * | seq_secondary_structure_painter |
static SeqSelectionPainter * | seq_selection_painter |
static SeqTextPainter * | seq_text_painter |
Additional Inherited Members | |
Protected Member Functions inherited from BaseViewObject | |
virtual void | AddDisplayMode (const QString &mode) |
Protected Attributes inherited from BaseViewObject | |
QList< BaseRow * > | rows_ |
QString | current_display_mode_ |
QStringList | display_modes_ |
Definition at line 45 of file sequence_view_object.hh.
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 AddChain | ( | mol::ChainView & | chain, |
const QString & | name = QString() |
||
) |
void AddSequence | ( | seq::ConstSequenceHandle | sequence, |
const QString & | name = QString() |
||
) |
void AttachGfxObject | ( | gfx::EntityP & | ent | ) |
gfx::EntityP& GetGfxObject | ( | ) |
QMap<int, QList<int> > GetIndexesForSubject | ( | const QString & | subject, |
const QString & | sequence_name = QString() |
||
) |
QMap<int, QList<int> > GetIndexesForView | ( | const mol::EntityView & | view | ) |
void Init | ( | ) |
|
virtual |
Reimplemented from BaseViewObject.
Reimplemented in AlignmentViewObject.
|
staticprotected |
Definition at line 73 of file sequence_view_object.hh.
|
staticprotected |
Definition at line 75 of file sequence_view_object.hh.
|
staticprotected |
Definition at line 74 of file sequence_view_object.hh.
|
staticprotected |
Definition at line 70 of file sequence_view_object.hh.
|
staticprotected |
Definition at line 71 of file sequence_view_object.hh.
|
staticprotected |
Definition at line 76 of file sequence_view_object.hh.
|
staticprotected |
Definition at line 77 of file sequence_view_object.hh.
|
staticprotected |
Definition at line 78 of file sequence_view_object.hh.