|
BibleTime
|
#include <btfindwidget.h>
Classes | |
| struct | HighlightState |
Signals | |
| void | findNext () |
| void | findPrevious () |
| void | highlightText (QString const &text, bool caseSensitive) |
Public Member Functions | |
| BtFindWidget (QWidget *parent=nullptr) | |
| void | showAndSelect () |
Protected Member Functions | |
| void | timerEvent (QTimerEvent *const event) final override |
Private Member Functions | |
| void | highlightImmediately () |
| void | queueHighlight () |
| void | retranslateUi () |
Private Attributes | |
| QCheckBox * | m_caseCheckBox |
| HighlightState | m_lastHighlightState {{}, false} |
| QToolButton * | m_nextButton |
| QToolButton * | m_previousButton |
| QLineEdit * | m_textEditor |
| int | m_throttleTimerId = 0 |
Definition at line 25 of file btfindwidget.h.
| BtFindWidget::BtFindWidget | ( | QWidget * | parent = nullptr | ) |
Definition at line 30 of file btfindwidget.cpp.
References BT_ASSERT, BT_CONNECT, BtFindWidget::HighlightState::caseSensitive, findNext(), findPrevious(), highlightImmediately(), m_caseCheckBox, m_lastHighlightState, m_nextButton, m_previousButton, m_textEditor, queueHighlight(), retranslateUi(), and BtFindWidget::HighlightState::text.
|
signal |
Referenced by BtFindWidget(), and BibleTime::createCentralWidget().
|
signal |
Referenced by BtFindWidget(), and BibleTime::createCentralWidget().
|
private |
Definition at line 115 of file btfindwidget.cpp.
References highlightText(), m_caseCheckBox, m_lastHighlightState, m_textEditor, and m_throttleTimerId.
Referenced by BtFindWidget(), and timerEvent().
|
signal |
Referenced by BibleTime::createCentralWidget(), and highlightImmediately().
|
private |
Definition at line 110 of file btfindwidget.cpp.
References m_throttleTimerId.
Referenced by BtFindWidget().
|
private |
Definition at line 126 of file btfindwidget.cpp.
References m_caseCheckBox, m_nextButton, m_previousButton, and m_textEditor.
Referenced by BtFindWidget().
| void BtFindWidget::showAndSelect | ( | ) |
Definition at line 94 of file btfindwidget.cpp.
References m_textEditor.
Referenced by BibleTime::openFindWidget().
|
finaloverrideprotected |
Definition at line 100 of file btfindwidget.cpp.
References BT_ASSERT, highlightImmediately(), and m_throttleTimerId.
|
private |
Definition at line 77 of file btfindwidget.h.
Referenced by BtFindWidget(), highlightImmediately(), and retranslateUi().
|
private |
Definition at line 78 of file btfindwidget.h.
Referenced by BtFindWidget(), and highlightImmediately().
|
private |
Definition at line 75 of file btfindwidget.h.
Referenced by BtFindWidget(), and retranslateUi().
|
private |
Definition at line 76 of file btfindwidget.h.
Referenced by BtFindWidget(), and retranslateUi().
|
private |
Definition at line 74 of file btfindwidget.h.
Referenced by BtFindWidget(), highlightImmediately(), retranslateUi(), and showAndSelect().
|
private |
Definition at line 79 of file btfindwidget.h.
Referenced by highlightImmediately(), queueHighlight(), and timerEvent().