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;
void RemoveRow(BaseRow *row)
virtual void AddDisplayMode(const QString &mode)
virtual QVariant GetData(int row, int column, int role)
virtual void SetSelection(int row, const QSet< int > &added, const QSet< int > &removed)
int GetMaxColumnCount() const
void InsertRow(int pos, BaseRow *row)
virtual const QStringList & GetDisplayModes()
QString current_display_mode_
BaseRow * GetRow(int pos)
void DoubleClicked(int row, int column)
BaseViewObject(QObject *parent=0)
virtual bool SetData(int row, int column, const QVariant &value, int role)
virtual const QString & GetCurrentDisplayMode()
virtual Qt::ItemFlags Flags(int row, int column) const
virtual void SetDisplayMode(const QString &mode)
QStringList display_modes_