BibleTime
|
A QTextBrowser subclass which adds the ability to start drags for references. More...
#include <bttextbrowser.h>
Public Member Functions | |
BtTextBrowser (QWidget *parent=nullptr) | |
Protected Member Functions | |
void | keyPressEvent (QKeyEvent *event) override |
void | mouseMoveEvent (QMouseEvent *event) override |
void | mousePressEvent (QMouseEvent *event) override |
void | mouseReleaseEvent (QMouseEvent *event) override |
Private Attributes | |
bool | m_readyToStartDrag = false |
QPoint | m_startPos |
A QTextBrowser subclass which adds the ability to start drags for references.
Definition at line 24 of file bttextbrowser.h.
BtTextBrowser::BtTextBrowser | ( | QWidget * | parent = nullptr | ) |
Definition at line 25 of file bttextbrowser.cpp.
|
overrideprotected |
Definition at line 29 of file bttextbrowser.cpp.
References m_readyToStartDrag.
|
overrideprotected |
Definition at line 50 of file bttextbrowser.cpp.
References ReferenceManager::decodeHyperlink(), CSwordBackend::instance(), m_readyToStartDrag, and m_startPos.
|
overrideprotected |
Definition at line 35 of file bttextbrowser.cpp.
References m_readyToStartDrag, and m_startPos.
|
overrideprotected |
Definition at line 45 of file bttextbrowser.cpp.
References m_readyToStartDrag.
|
private |
Definition at line 42 of file bttextbrowser.h.
Referenced by keyPressEvent(), mouseMoveEvent(), mousePressEvent(), and mouseReleaseEvent().
|
private |
Definition at line 41 of file bttextbrowser.h.
Referenced by mouseMoveEvent(), and mousePressEvent().