Inherited from QStyledItemDelegate, it defines the look and functionality of BookmarkWidget.
More...
#include <ListDelegate.h>
|
| | BookmarkDelegate (QObject *parent=0) |
| |
| virtual void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| |
| bool | editorEvent (QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option, const QModelIndex &index) |
| |
Inherited from QStyledItemDelegate, it defines the look and functionality of BookmarkWidget.
§ BookmarkDelegate()
| BookmarkDelegate::BookmarkDelegate |
( |
QObject * |
parent = 0 | ) |
|
§ clickedApplyState
| void BookmarkDelegate::clickedApplyState |
( |
const QModelIndex & |
index | ) |
|
|
signal |
Signal which is emitted whenver the user presses the cog button of the corresponding bookmark.
§ clickedDelete
| void BookmarkDelegate::clickedDelete |
( |
const QModelIndex & |
index | ) |
|
|
signal |
Signal which is emitted whenver the user presses delete button for the corresponding bookmark.
§ clickedMove
| void BookmarkDelegate::clickedMove |
( |
const QModelIndex & |
index | ) |
|
|
signal |
Signal which is emitted whenver the user presses the move button of the corresponding bookmark.
§ editorEvent()
| bool BookmarkDelegate::editorEvent |
( |
QEvent * |
event, |
|
|
QAbstractItemModel * |
model, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| |
Re-defined method that provides functionality within the widget.
§ paint()
| void BookmarkDelegate::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
virtual |
Re-defined method that describes how to place elements within the widget.
The documentation for this class was generated from the following files: