The PlaylistItemDelegate class is a delegate used to display rows in a table.
More...
#include <playlistitemdelegate.h>
|
virtual void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
|
The PlaylistItemDelegate class is a delegate used to display rows in a table.
- Author
- Matthieu Bachelier
- Copyright
- GNU General Public License v3
§ EditMode
Enumerator |
---|
Editable | |
NoStarsYet | |
ReadOnly | |
§ PlaylistItemDelegate()
PlaylistItemDelegate::PlaylistItemDelegate |
( |
Playlist * |
playlist | ) |
|
|
explicit |
§ createEditor()
QWidget * PlaylistItemDelegate::createEditor |
( |
QWidget * |
p, |
|
|
const QStyleOptionViewItem & |
, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
overridevirtual |
§ eventFilter()
bool PlaylistItemDelegate::eventFilter |
( |
QObject * |
object, |
|
|
QEvent * |
event |
|
) |
| |
|
overridevirtual |
§ paint()
void PlaylistItemDelegate::paint |
( |
QPainter * |
p, |
|
|
const QStyleOptionViewItem & |
opt, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
overrideprotectedvirtual |
§ setModelData()
void PlaylistItemDelegate::setModelData |
( |
QWidget * |
editor, |
|
|
QAbstractItemModel * |
model, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
overridevirtual |
The documentation for this class was generated from the following files: