19 #ifndef OST_SEQUENCE_VIEWER_BASE_VIEW_OBJECT
20 #define OST_SEQUENCE_VIEWER_BASE_VIEW_OBJECT
32 namespace ost {
namespace gui {
48 virtual void SetSelection(
int row,
const QSet<int>& added,
const QSet<int>& removed);
50 virtual QVariant
GetData(
int row,
int column,
int role);
51 virtual bool SetData(
int row,
int column,
const QVariant& value,
int role);
52 virtual Qt::ItemFlags
Flags(
int row,
int column)
const;
int GetMaxColumnCount() const
virtual bool SetData(int row, int column, const QVariant &value, int role)
virtual const QStringList & GetDisplayModes()
void RemoveRow(BaseRow *row)
BaseRow * GetRow(int pos)
virtual const QString & GetCurrentDisplayMode()
virtual void SetDisplayMode(const QString &mode)
void InsertRow(int pos, BaseRow *row)
QStringList display_modes_
BaseViewObject(QObject *parent=0)
void DoubleClicked(int row, int column)
QString current_display_mode_
virtual QVariant GetData(int row, int column, int role)
virtual void SetSelection(int row, const QSet< int > &added, const QSet< int > &removed)
virtual Qt::ItemFlags Flags(int row, int column) const
virtual void AddDisplayMode(const QString &mode)