BibleTime
|
#include <csearchresultview.h>
Public Slots | |
void | contextMenuEvent (QContextMenuEvent *event) override |
void | setupStrongsTree (CSwordModuleInfo *, const QStringList &) |
void | setupTree (CSwordModuleInfo const *m, CSwordModuleSearch::ModuleResultList const &results) |
Signals | |
void | keyDeselected () |
void | keySelected (const QString &) |
Public Member Functions | |
CSearchResultView (QWidget *parent) | |
CSwordModuleInfo const * | module () const |
Protected Member Functions | |
void | initConnections () |
void | initView () |
QMimeData * | mimeData (QList< QTreeWidgetItem * > const &items) const override |
QStringList | mimeTypes () const override |
Private Attributes | |
struct { | |
struct { | |
QAction * result | |
QAction * resultWithText | |
} copy | |
QMenu * copyMenu | |
struct { | |
QAction * result | |
QMenu * printMenu | |
struct { | |
QAction * result | |
QAction * resultWithText | |
} save | |
QMenu * saveMenu | |
} | m_actions |
const CSwordModuleInfo * | m_module |
QMenu * | m_popup |
Definition at line 27 of file csearchresultview.h.
Search::CSearchResultView::CSearchResultView | ( | QWidget * | parent | ) |
Definition at line 32 of file csearchresultview.cpp.
References initConnections(), and initView().
|
overrideslot |
Reimplementation to show the popup menu.
Definition at line 202 of file csearchresultview.cpp.
References m_popup.
|
protected |
No descriptions
Definition at line 133 of file csearchresultview.cpp.
References BT_CONNECT, keyDeselected(), and keySelected().
Referenced by CSearchResultView().
|
protected |
Initializes the view of this widget.
Definition at line 40 of file csearchresultview.cpp.
References append(), BT_CONNECT, m_actions, and m_popup.
Referenced by CSearchResultView().
|
signal |
Referenced by Search::BtSearchResultArea::BtSearchResultArea(), and initConnections().
|
signal |
Referenced by Search::BtSearchResultArea::BtSearchResultArea(), and initConnections().
|
overrideprotected |
Definition at line 228 of file csearchresultview.cpp.
References m_module, and CSwordModuleInfo::name().
|
overrideprotected |
Definition at line 238 of file csearchresultview.cpp.
|
inline |
Definition at line 35 of file csearchresultview.h.
References m_module.
|
slot |
Definition at line 174 of file csearchresultview.cpp.
References m_module.
Referenced by Search::BtSearchResultArea::BtSearchResultArea().
|
slot |
Setups the list with the given module.
Definition at line 147 of file csearchresultview.cpp.
References m_module, and result.
Referenced by Search::BtSearchResultArea::BtSearchResultArea().
struct { ... } Search::CSearchResultView::copy |
QMenu* Search::CSearchResultView::copyMenu |
Definition at line 80 of file csearchresultview.h.
struct { ... } Search::CSearchResultView::m_actions |
Referenced by initView().
|
private |
Definition at line 90 of file csearchresultview.h.
Referenced by mimeData(), module(), setupStrongsTree(), and setupTree().
|
private |
Definition at line 89 of file csearchresultview.h.
Referenced by contextMenuEvent(), and initView().
struct { ... } Search::CSearchResultView::print |
QMenu* Search::CSearchResultView::printMenu |
Definition at line 74 of file csearchresultview.h.
QAction* Search::CSearchResultView::result |
Definition at line 69 of file csearchresultview.h.
Referenced by setupTree().
QAction* Search::CSearchResultView::resultWithText |
Definition at line 70 of file csearchresultview.h.
struct { ... } Search::CSearchResultView::save |
QMenu* Search::CSearchResultView::saveMenu |
Definition at line 67 of file csearchresultview.h.