OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 ( QObject *  parent = 0)
BaseRow ( QFont  font,
QObject *  parent = 0 
)

Member Function Documentation

virtual void DoubleClicked ( int  column)
virtual

Reimplemented in SequenceRow, SecStrRow, and TitleRow.

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

Reimplemented in SequenceRow, and TitleRow.

virtual const QSize& GetCellSize ( ) const
virtual
virtual int GetColumnCount ( ) const
virtual

Reimplemented in SequenceRow.

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

Reimplemented in SequenceRow, SecStrRow, and TitleRow.

const QFont& GetFont ( ) const
const QSize& GetFontSize ( ) const
Painter* GetPainter ( int  pos)
int GetPainterCount ( )
const PainterList& GetPainters ( ) const
void Init ( )
void InsertPainter ( Painter painter,
int  pos = -1 
)
void RemovePainter ( Painter painter)
virtual bool SetData ( int  column,
const QVariant &  value,
int  role 
)
virtual
void SetFont ( const QFont &  font)
virtual void SetSelection ( const QSet< int > &  added,
const QSet< int > &  removed 
)
virtual

Reimplemented in SequenceRow.

virtual void ZoomIn ( )
virtual
virtual void ZoomOut ( )
virtual

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