OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Protected Attributes
SequenceViewObject Class Reference

#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::EntityPGetGfxObject ()
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)
BaseRowGetRow (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 AlignPropertiesPainteralign_properties_painter
static ConservationPainterconservation_painter
static BackgroundPainterbackground_painter
static SeqSecStrPainterseq_secondary_structure_painter
static SeqSelectionPainterseq_selection_painter
static SeqTextPainterseq_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_

Detailed Description

Definition at line 45 of file sequence_view_object.hh.


Constructor & Destructor Documentation

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)

Member Function Documentation

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 void SetDisplayMode ( const QString &  mode)
virtual

Reimplemented from BaseViewObject.

Reimplemented in AlignmentViewObject.


Field Documentation

AlignPropertiesPainter* align_properties_painter
staticprotected

Definition at line 73 of file sequence_view_object.hh.

BackgroundPainter* background_painter
staticprotected

Definition at line 75 of file sequence_view_object.hh.

ConservationPainter* conservation_painter
staticprotected

Definition at line 74 of file sequence_view_object.hh.

const QString properties_mode
staticprotected

Definition at line 70 of file sequence_view_object.hh.

const QString secondary_structure_mode
staticprotected

Definition at line 71 of file sequence_view_object.hh.

SeqSecStrPainter* seq_secondary_structure_painter
staticprotected

Definition at line 76 of file sequence_view_object.hh.

SeqSelectionPainter* seq_selection_painter
staticprotected

Definition at line 77 of file sequence_view_object.hh.

SeqTextPainter* seq_text_painter
staticprotected

Definition at line 78 of file sequence_view_object.hh.


The documentation for this class was generated from the following file: