BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
BALL::VIEW::ShortcutTableModel Class Reference

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

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

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)
 

Detailed Description

Definition at line 47 of file shortcutTableView.h.

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 
)