|
BibleTime
|
Classes | |
| class | CDisplayRendering |
| Rendering for the html display widget. More... | |
| class | CPlainTextExportRendering |
| Text rendering as plain text. More... | |
| class | CrossRefRendering |
| class | CTextRendering |
| Text rendering based on trees. More... | |
Typedefs | |
| using | InfoData = QPair< InfoType, QString > |
| using | ListInfoData = QList< InfoData > |
Enumerations | |
| enum | InfoType { Abbreviation , CrossReference , Footnote , Lemma , Morph , Text , Reference } |
Functions | |
| ListInfoData | detectInfo (QString const &data) |
| QString | formatInfo (const ListInfoData &list, BtConstModuleList const &modules) |
| QString | formatInfo (QString const &info, QString const &lang) |
| using Rendering::InfoData = typedef QPair<InfoType, QString> |
Definition at line 34 of file btinforendering.h.
| using Rendering::ListInfoData = typedef QList<InfoData> |
Definition at line 35 of file btinforendering.h.
| enum Rendering::InfoType |
| Enumerator | |
|---|---|
| Abbreviation | |
| CrossReference | |
| Footnote | |
| Lemma | |
| Morph | |
| Text | |
| Reference | |
Definition at line 24 of file btinforendering.h.
| ListInfoData Rendering::detectInfo | ( | QString const & | data | ) |
Parse string for attributes
Definition at line 371 of file btinforendering.cpp.
References Abbreviation, CrossReference, Footnote, Lemma, Morph, and Reference.
Referenced by BtQmlInterface::timerEvent().
| QString Rendering::formatInfo | ( | ListInfoData const & | info, |
| BtConstModuleList const & | modules | ||
| ) |
Process list of InfoData and format all data into string
Definition at line 399 of file btinforendering.cpp.
References Abbreviation, BT_ASSERT, CrossReference, Footnote, formatInfo(), Lemma, Morph, Reference, and Text.
Referenced by formatInfo(), InfoDisplay::CInfoDisplay::setInfo(), and InfoDisplay::CInfoDisplay::setInfo().
| QString Rendering::formatInfo | ( | QString const & | info, |
| QString const & | lang | ||
| ) |
Definition at line 456 of file btinforendering.cpp.
References CDisplayTemplateMgr::activeTemplateName(), BT_ASSERT, CDisplayTemplateMgr::fillTemplate(), CDisplayTemplateMgr::instance(), and CDisplayTemplateMgr::Settings::pageCSS_ID.