OpenStructure
Public Member Functions
SequenceRow Class Reference

#include <sequence_row.hh>

Inherits BaseRow.

Inherited by SecStrRow.

Public Member Functions

 SequenceRow (const QString &name, seq::ConstSequenceHandle sequence, SequenceViewObject *parent)
 
 SequenceRow (const QString &name, SequenceViewObject *parent)
 
virtual int GetColumnCount () const
 
virtual QVariant GetData (int column, int role) const
 
virtual Qt::ItemFlags Flags (int column) const
 
virtual void DoubleClicked (int column)
 
void SetName (const QString &name)
 
const QString & GetName () const
 
virtual void SetSequence (seq::ConstSequenceHandle sequence)
 
const seq::ConstSequenceHandleGetSequence () const
 
virtual void SetSelection (const QSet< int > &added, const QSet< int > &removed)
 
- Public Member Functions inherited from BaseRow
 BaseRow (QObject *parent=0)
 
 BaseRow (QFont font, QObject *parent=0)
 
void Init ()
 
void InsertPainter (Painter *painter, int pos=-1)
 
void RemovePainter (Painter *painter)
 
PainterGetPainter (int pos)
 
int GetPainterCount ()
 
const PainterListGetPainters () const
 
const QFont & GetFont () const
 
void SetFont (const QFont &font)
 
const QSize & GetFontSize () const
 
virtual const QSize & GetCellSize () const
 
virtual bool SetData (int column, const QVariant &value, int role)
 
virtual void ZoomIn ()
 
virtual void ZoomOut ()
 

Detailed Description

Definition at line 36 of file sequence_row.hh.

Constructor & Destructor Documentation

◆ SequenceRow() [1/2]

SequenceRow ( const QString &  name,
seq::ConstSequenceHandle  sequence,
SequenceViewObject parent 
)

◆ SequenceRow() [2/2]

SequenceRow ( const QString &  name,
SequenceViewObject parent 
)

Member Function Documentation

◆ DoubleClicked()

virtual void DoubleClicked ( int  column)
virtual

Reimplemented from BaseRow.

Reimplemented in SecStrRow.

◆ Flags()

virtual Qt::ItemFlags Flags ( int  column) const
virtual

Reimplemented from BaseRow.

◆ GetColumnCount()

virtual int GetColumnCount ( ) const
virtual

Reimplemented from BaseRow.

◆ GetData()

virtual QVariant GetData ( int  column,
int  role 
) const
virtual

Reimplemented from BaseRow.

Reimplemented in SecStrRow.

◆ GetName()

const QString& GetName ( ) const

◆ GetSequence()

const seq::ConstSequenceHandle& GetSequence ( ) const

◆ SetName()

void SetName ( const QString &  name)

◆ SetSelection()

virtual void SetSelection ( const QSet< int > &  added,
const QSet< int > &  removed 
)
virtual

Reimplemented from BaseRow.

◆ SetSequence()

virtual void SetSequence ( seq::ConstSequenceHandle  sequence)
virtual

Reimplemented in SecStrRow.


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