19 #ifndef OST_SEQUENCE_VIEWER_BASE_ROW
20 #define OST_SEQUENCE_VIEWER_BASE_ROW
30 #include <QModelIndex>
32 namespace ost {
namespace gui {
40 BaseRow(QFont font, QObject *parent = 0);
53 void SetFont(
const QFont& font);
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_;