19 #ifndef OST_SEQUENCE_VIEWER_BASE_ROW
20 #define OST_SEQUENCE_VIEWER_BASE_ROW
30 #include <QModelIndex>
32 namespace ost {
namespace gui {
58 virtual QVariant
GetData(
int column,
int role)
const;
59 virtual bool SetData(
int column,
const QVariant& value,
int role);
60 virtual Qt::ItemFlags
Flags(
int column)
const;
62 virtual void SetSelection(
const QSet<int>& added,
const QSet<int>& removed);
68 bool IsPainterPosValid(
int pos);
71 QSize default_font_size_;
72 QSize default_cell_size_;
const PainterList & GetPainters() const
virtual Qt::ItemFlags Flags(int column) const
Painter * GetPainter(int pos)
virtual QVariant GetData(int column, int role) const
const QFont & GetFont() const
const QSize & GetFontSize() const
void InsertPainter(Painter *painter, int pos=-1)
void RemovePainter(Painter *painter)
virtual bool SetData(int column, const QVariant &value, int role)
BaseRow(QFont font, QObject *parent=0)
BaseRow(QObject *parent=0)
void SetFont(const QFont &font)
virtual void DoubleClicked(int column)
virtual int GetColumnCount() const
virtual const QSize & GetCellSize() const
virtual void SetSelection(const QSet< int > &added, const QSet< int > &removed)
QList< BaseRow * > BaseRowList
QList< Painter * > PainterList