BibleTime
|
#include <btbookshelfview.h>
Signals | |
void | contextMenuActivated (QPoint pos) |
void | moduleActivated (CSwordModuleInfo *item) |
void | moduleContextMenuActivated (CSwordModuleInfo *item, QPoint pos) |
void | moduleHovered (CSwordModuleInfo *item) |
Public Member Functions | |
BtBookshelfView (QWidget *parent=nullptr) | |
CSwordModuleInfo * | getModule (const QModelIndex &index) const |
Protected Member Functions | |
void | keyPressEvent (QKeyEvent *event) override |
void | mousePressEvent (QMouseEvent *event) override |
Definition at line 28 of file btbookshelfview.h.
BtBookshelfView::BtBookshelfView | ( | QWidget * | parent = nullptr | ) |
Definition at line 28 of file btbookshelfview.cpp.
References BT_CONNECT, getModule(), moduleActivated(), and moduleHovered().
|
signal |
Referenced by BtBookshelfWidget::BtBookshelfWidget(), keyPressEvent(), and mousePressEvent().
CSwordModuleInfo * BtBookshelfView::getModule | ( | const QModelIndex & | index | ) | const |
Definition at line 51 of file btbookshelfview.cpp.
References BtBookshelfModel::ModulePointerRole.
Referenced by BtBookshelfView(), keyPressEvent(), and mousePressEvent().
|
overrideprotected |
Definition at line 57 of file btbookshelfview.cpp.
References contextMenuActivated(), getModule(), moduleActivated(), and moduleContextMenuActivated().
|
signal |
|
signal |
Referenced by BtBookshelfWidget::BtBookshelfWidget(), keyPressEvent(), and mousePressEvent().
|
signal |
Referenced by BtBookshelfView().
|
overrideprotected |
Definition at line 93 of file btbookshelfview.cpp.
References contextMenuActivated(), getModule(), and moduleContextMenuActivated().