BaseViewObject Class Reference
#include <base_view_object.hh>
Inherits PyQt4::QtCore::QObject.
Inherited by SequenceViewObject.
Public Member Functions |
| BaseViewObject (QObject *parent=0) |
void | InsertRow (int pos, BaseRow *row) |
void | RemoveRow (BaseRow *row) |
BaseRow * | GetRow (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 () |
virtual void | SetDisplayMode (const QString &mode) |
void | DoubleClicked (int row, int column) |
void | ZoomIn () |
void | ZoomOut () |
Protected Member Functions |
virtual void | AddDisplayMode (const QString &mode) |
Protected Attributes |
QList< BaseRow * > | rows_ |
QString | current_display_mode_ |
QStringList | display_modes_ |
Detailed Description
Definition at line 34 of file base_view_object.hh.
Constructor & Destructor Documentation
Member Function Documentation
virtual void AddDisplayMode |
( |
const QString & |
mode |
) |
[protected, virtual] |
void DoubleClicked |
( |
int |
row, |
|
|
int |
column | |
|
) |
| | |
virtual Qt::ItemFlags Flags |
( |
int |
row, |
|
|
int |
column | |
|
) |
| | const [virtual] |
virtual const QString& GetCurrentDisplayMode |
( |
|
) |
[virtual] |
virtual QVariant GetData |
( |
int |
row, |
|
|
int |
column, |
|
|
int |
role | |
|
) |
| | [virtual] |
virtual const QStringList& GetDisplayModes |
( |
|
) |
[virtual] |
int GetMaxColumnCount |
( |
|
) |
const |
void InsertRow |
( |
int |
pos, |
|
|
BaseRow * |
row | |
|
) |
| | |
virtual bool SetData |
( |
int |
row, |
|
|
int |
column, |
|
|
const QVariant & |
value, |
|
|
int |
role | |
|
) |
| | [virtual] |
virtual void SetDisplayMode |
( |
const QString & |
mode |
) |
[virtual] |
virtual void SetSelection |
( |
int |
row, |
|
|
const QSet< int > & |
added, |
|
|
const QSet< int > & |
removed | |
|
) |
| | [virtual] |
Field Documentation
The documentation for this class was generated from the following file: