OpenStructure
Public Member Functions
BaseRow Class Reference

#include <base_row.hh>

Inherits QObject.

Inherited by SequenceRow, and TitleRow.

Public Member Functions

 BaseRow (QObject *parent=0)
 
 BaseRow (QFont font, QObject *parent=0)
 
void Init ()
 
virtual int GetColumnCount () const
 
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 QVariant GetData (int column, int role) const
 
virtual bool SetData (int column, const QVariant &value, int role)
 
virtual Qt::ItemFlags Flags (int column) const
 
virtual void DoubleClicked (int column)
 
virtual void SetSelection (const QSet< int > &added, const QSet< int > &removed)
 
virtual void ZoomIn ()
 
virtual void ZoomOut ()
 

Detailed Description

Definition at line 34 of file base_row.hh.

Constructor & Destructor Documentation

◆ BaseRow() [1/2]

BaseRow ( QObject *  parent = 0)

◆ BaseRow() [2/2]

BaseRow ( QFont  font,
QObject *  parent = 0 
)

Member Function Documentation

◆ DoubleClicked()

virtual void DoubleClicked ( int  column)
virtual

Reimplemented in TitleRow, SequenceRow, and SecStrRow.

◆ Flags()

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

Reimplemented in TitleRow, and SequenceRow.

◆ GetCellSize()

virtual const QSize& GetCellSize ( ) const
virtual

◆ GetColumnCount()

virtual int GetColumnCount ( ) const
virtual

Reimplemented in SequenceRow.

◆ GetData()

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

Reimplemented in TitleRow, SequenceRow, and SecStrRow.

◆ GetFont()

const QFont& GetFont ( ) const

◆ GetFontSize()

const QSize& GetFontSize ( ) const

◆ GetPainter()

Painter* GetPainter ( int  pos)

◆ GetPainterCount()

int GetPainterCount ( )

◆ GetPainters()

const PainterList& GetPainters ( ) const

◆ Init()

void Init ( )

◆ InsertPainter()

void InsertPainter ( Painter painter,
int  pos = -1 
)

◆ RemovePainter()

void RemovePainter ( Painter painter)

◆ SetData()

virtual bool SetData ( int  column,
const QVariant &  value,
int  role 
)
virtual

◆ SetFont()

void SetFont ( const QFont &  font)

◆ SetSelection()

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

Reimplemented in SequenceRow.

◆ ZoomIn()

virtual void ZoomIn ( )
virtual

◆ ZoomOut()

virtual void ZoomOut ( )
virtual

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