OpenStructure
Public Member Functions
SecStrRow Class Reference

#include <secstr_row.hh>

Inherits SequenceRow.

Public Member Functions

 SecStrRow (const QString &name, mol::ChainView &chain, SequenceViewObject *parent)
 
virtual QVariant GetData (int column, int role) const
 
virtual void DoubleClicked (int column)
 
void SetSequence (seq::ConstSequenceHandle sequence)
 
void SetChain (mol::ChainView &chain)
 
const mol::ChainViewGetChain () const
 
- Public Member Functions inherited from SequenceRow
 SequenceRow (const QString &name, seq::ConstSequenceHandle sequence, SequenceViewObject *parent)
 
 SequenceRow (const QString &name, SequenceViewObject *parent)
 
virtual int GetColumnCount () const
 
virtual Qt::ItemFlags Flags (int column) const
 
void SetName (const QString &name)
 
const QString & GetName () const
 
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 secstr_row.hh.

Constructor & Destructor Documentation

◆ SecStrRow()

SecStrRow ( const QString &  name,
mol::ChainView chain,
SequenceViewObject parent 
)

Member Function Documentation

◆ DoubleClicked()

virtual void DoubleClicked ( int  column)
virtual

Reimplemented from SequenceRow.

◆ GetChain()

const mol::ChainView& GetChain ( ) const

◆ GetData()

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

Reimplemented from SequenceRow.

◆ SetChain()

void SetChain ( mol::ChainView chain)

◆ SetSequence()

void SetSequence ( seq::ConstSequenceHandle  sequence)
virtual

Reimplemented from SequenceRow.


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