MNE-CPP  beta 1.0
Delegates Directory Reference

Files

file  averagedelegate.cpp [code]
 Implementation of AverageDelegate of mne_browse_raw_qt.
 
file  averagedelegate.h [code]
 Contains the declaration of the AverageDelegate class.
 
file  eventdelegate.cpp [code]
 Implementation of delegate of EventDelegate.
 
file  eventdelegate.h [code]
 Contains the declaration of the EventDelegate class.
 
file  rawdelegate.cpp [code]
 Implementation of delegate of mne_browse_raw_qt.
 
file  rawdelegate.h [code]
 This class represents the delegate of the model/view framework of mne_browse_raw_qt application. Since it is derived from the QAbstractItemDelegate class [1], the virtual functions paint() und sizeHint() need to be reimplemented. The paint() function is invoked from the connected QTableView for each table cell for any individual item with a certain QModelIndex. The task of this function is to paint this cell with the data that is requested by index.model()->data(index,Qt::DisplayRole); with the corresponding QModelIndex.