BibleTime
|
#include <btbiblekeywidget.h>
Public Slots | |
void | updateText () |
Signals | |
void | changed (CSwordVerseKey *key) |
Public Member Functions | |
BtBibleKeyWidget (CSwordBibleModuleInfo const *module, CSwordVerseKey *key, QWidget *parent=nullptr) | |
bool | eventFilter (QObject *o, QEvent *e) override |
bool | setKey (CSwordVerseKey *key) |
void | setModule (const CSwordBibleModuleInfo *m=nullptr) |
~BtBibleKeyWidget () override | |
Protected Member Functions | |
void | enterEvent (QEnterEvent *event) override |
void | leaveEvent (QEvent *event) override |
void | resetDropDownButtons () |
void | resizeEvent (QResizeEvent *event) override |
Private Member Functions | |
void | populateBookMenu (QMenu &menu) |
void | populateChapterMenu (QMenu &menu) |
void | populateVerseMenu (QMenu &menu) |
Private Attributes | |
QWidget * | m_dropDownButtons |
QTimer | m_dropDownHoverTimer |
CSwordVerseKey * | m_key |
const CSwordBibleModuleInfo * | m_module |
QLineEdit * | m_textbox |
QString | oldKey |
bool | updatelock |
Definition at line 25 of file btbiblekeywidget.h.
BtBibleKeyWidget::BtBibleKeyWidget | ( | CSwordBibleModuleInfo const * | module, |
CSwordVerseKey * | key, | ||
QWidget * | parent = nullptr |
||
) |
Definition at line 52 of file btbiblekeywidget.cpp.
References BT_CONNECT, changed(), if(), m_dropDownButtons, m_key, m_textbox, CSwordVerseKey::next(), populateBookMenu(), CSwordVerseKey::previous(), updatelock, CSwordVerseKey::UseBook, CSwordVerseKey::UseChapter, and CSwordVerseKey::UseVerse.
|
override |
Definition at line 248 of file btbiblekeywidget.cpp.
References m_dropDownButtons.
|
signal |
Referenced by BtBibleKeyWidget(), and CBibleKeyChooser::CBibleKeyChooser().
|
overrideprotected |
Definition at line 276 of file btbiblekeywidget.cpp.
References m_dropDownButtons, m_dropDownHoverTimer, and resetDropDownButtons().
|
override |
Definition at line 259 of file btbiblekeywidget.cpp.
References m_dropDownButtons, and m_dropDownHoverTimer.
|
overrideprotected |
Definition at line 286 of file btbiblekeywidget.cpp.
References m_dropDownHoverTimer.
|
private |
Definition at line 324 of file btbiblekeywidget.cpp.
References CSwordBibleModuleInfo::books(), and m_module.
Referenced by BtBibleKeyWidget().
|
private |
Definition at line 329 of file btbiblekeywidget.cpp.
References CSwordVerseKey::bibleBook(), CSwordBibleModuleInfo::chapterCount(), m_key, and m_module.
|
private |
Definition at line 335 of file btbiblekeywidget.cpp.
References CSwordVerseKey::bookName(), CSwordVerseKey::chapter(), m_key, m_module, and CSwordBibleModuleInfo::verseCount().
|
protected |
Definition at line 297 of file btbiblekeywidget.cpp.
References m_dropDownButtons, and m_textbox.
Referenced by enterEvent(), and resizeEvent().
|
overrideprotected |
Definition at line 290 of file btbiblekeywidget.cpp.
References m_dropDownButtons, and resetDropDownButtons().
bool BtBibleKeyWidget::setKey | ( | CSwordVerseKey * | key | ) |
Definition at line 317 of file btbiblekeywidget.cpp.
References CSwordVerseKey::key(), m_key, and CSwordVerseKey::setKey().
Referenced by CBibleKeyChooser::setKey().
void BtBibleKeyWidget::setModule | ( | const CSwordBibleModuleInfo * | m = nullptr | ) |
Definition at line 252 of file btbiblekeywidget.cpp.
References m_key, m_module, and CSwordVerseKey::setModule().
Referenced by CBibleKeyChooser::setModules().
|
slot |
Definition at line 306 of file btbiblekeywidget.cpp.
References CSwordVerseKey::key(), m_key, and m_textbox.
Referenced by CBibleKeyChooser::updateKey().
|
private |
Definition at line 66 of file btbiblekeywidget.h.
Referenced by BtBibleKeyWidget(), enterEvent(), eventFilter(), resetDropDownButtons(), resizeEvent(), and ~BtBibleKeyWidget().
|
private |
Definition at line 67 of file btbiblekeywidget.h.
Referenced by enterEvent(), eventFilter(), and leaveEvent().
|
private |
Definition at line 62 of file btbiblekeywidget.h.
Referenced by BtBibleKeyWidget(), populateChapterMenu(), populateVerseMenu(), setKey(), setModule(), and updateText().
|
private |
Definition at line 71 of file btbiblekeywidget.h.
Referenced by populateBookMenu(), populateChapterMenu(), populateVerseMenu(), and setModule().
|
private |
Definition at line 64 of file btbiblekeywidget.h.
Referenced by BtBibleKeyWidget(), resetDropDownButtons(), and updateText().
|
private |
Definition at line 70 of file btbiblekeywidget.h.
|
private |
Definition at line 69 of file btbiblekeywidget.h.
Referenced by BtBibleKeyWidget().