BibleTime
|
#include <cinfodisplay.h>
Public Slots | |
void | setInfo (CSwordModuleInfo *module) |
void | setInfo (Rendering::InfoType const, QString const &data) |
Public Member Functions | |
CInfoDisplay (BibleTime *parent=nullptr) | |
void | setInfo (const QString &renderedData, const QString &lang=QString()) |
void | setInfo (Rendering::ListInfoData const &) |
QSize | sizeHint () const override |
void | unsetInfo () |
void | updateColors () |
Private Member Functions | |
void | setBrowserFont (const CSwordModuleInfo *const module) |
Private Attributes | |
BibleTime * | m_mainWindow |
BtTextBrowser * | m_textBrowser |
Definition at line 28 of file cinfodisplay.h.
InfoDisplay::CInfoDisplay::CInfoDisplay | ( | BibleTime * | parent = nullptr | ) |
Definition at line 38 of file cinfodisplay.cpp.
References BT_CONNECT, ReferenceManager::decodeHyperlink(), m_textBrowser, setInfo(), and unsetInfo().
|
private |
Definition at line 138 of file cinfodisplay.cpp.
References btConfig(), CSwordModuleInfo::language(), and m_textBrowser.
Referenced by setInfo().
void InfoDisplay::CInfoDisplay::setInfo | ( | const QString & | renderedData, |
const QString & | lang = QString() |
||
) |
Definition at line 97 of file cinfodisplay.cpp.
References Rendering::formatInfo(), m_textBrowser, and ColorManager::replaceColors().
Referenced by CInfoDisplay(), BibleTime::initView(), setInfo(), BtQmlInterface::timerEvent(), and unsetInfo().
|
slot |
Definition at line 127 of file cinfodisplay.cpp.
References CSwordModuleInfo::config(), CSwordModuleInfo::Description, CSwordModuleInfo::ModuleVersion, CSwordModuleInfo::name(), setInfo(), and unsetInfo().
|
slot |
Definition at line 105 of file cinfodisplay.cpp.
References setInfo().
void InfoDisplay::CInfoDisplay::setInfo | ( | Rendering::ListInfoData const & | list | ) |
Definition at line 109 of file cinfodisplay.cpp.
References Rendering::formatInfo(), BibleTime::getCurrentModule(), m_mainWindow, m_textBrowser, setBrowserFont(), and setInfo().
|
override |
Definition at line 147 of file cinfodisplay.cpp.
void InfoDisplay::CInfoDisplay::unsetInfo | ( | ) |
Definition at line 82 of file cinfodisplay.cpp.
References setInfo().
Referenced by CInfoDisplay(), and setInfo().
void InfoDisplay::CInfoDisplay::updateColors | ( | ) |
Definition at line 90 of file cinfodisplay.cpp.
References ColorManager::getBackgroundColor(), ColorManager::getForegroundColor(), m_textBrowser, and Rendering::Text.
Referenced by BibleTime::slotSettingsOptions().
|
private |
Definition at line 54 of file cinfodisplay.h.
Referenced by setInfo().
|
private |
Definition at line 53 of file cinfodisplay.h.
Referenced by CInfoDisplay(), setBrowserFont(), setInfo(), and updateColors().