BALL::VIEW::ShortcutTableModel Class Reference

#include <BALL/VIEW/WIDGETS/shortcutTableView.h>

Inheritance diagram for BALL::VIEW::ShortcutTableModel:
QAbstractTableModel

List of all members.


Public Member Functions

 ShortcutTableModel (ShortcutRegistry *reg)
int rowCount (const QModelIndex &parent=QModelIndex()) const
int columnCount (const QModelIndex &parent=QModelIndex()) const
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
Qt::ItemFlags flags (const QModelIndex &index) const
bool isValid (const QKeySequence &seq) const
bool setData (const QModelIndex &index, const QVariant &data, int role=Qt::EditRole)

Private Attributes

ShortcutRegistryregistry_

Constructor & Destructor Documentation

BALL::VIEW::ShortcutTableModel::ShortcutTableModel ( ShortcutRegistry reg  ) 

Member Function Documentation

int BALL::VIEW::ShortcutTableModel::columnCount ( const QModelIndex &  parent = QModelIndex()  )  const
QVariant BALL::VIEW::ShortcutTableModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const
Qt::ItemFlags BALL::VIEW::ShortcutTableModel::flags ( const QModelIndex &  index  )  const
QVariant BALL::VIEW::ShortcutTableModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const
bool BALL::VIEW::ShortcutTableModel::isValid ( const QKeySequence &  seq  )  const
int BALL::VIEW::ShortcutTableModel::rowCount ( const QModelIndex &  parent = QModelIndex()  )  const
bool BALL::VIEW::ShortcutTableModel::setData ( const QModelIndex &  index,
const QVariant &  data,
int  role = Qt::EditRole 
)

Member Data Documentation