BibleTime
Classes | Typedefs | Enumerations | Functions
Rendering Namespace Reference

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)
 

Typedef Documentation

◆ InfoData

using Rendering::InfoData = typedef QPair<InfoType, QString>

Definition at line 34 of file btinforendering.h.

◆ ListInfoData

Definition at line 35 of file btinforendering.h.

Enumeration Type Documentation

◆ InfoType

Enumerator
Abbreviation 
CrossReference 
Footnote 
Lemma 
Morph 
Text 
Reference 

Definition at line 24 of file btinforendering.h.

Function Documentation

◆ detectInfo()

ListInfoData Rendering::detectInfo ( QString const &  data)

Parse string for attributes

Definition at line 372 of file btinforendering.cpp.

References Abbreviation, CrossReference, Footnote, Lemma, Morph, and Reference.

Referenced by BtQmlInterface::timerEvent().

◆ formatInfo() [1/2]

QString Rendering::formatInfo ( ListInfoData const &  info,
BtConstModuleList const &  modules 
)

◆ formatInfo() [2/2]

QString Rendering::formatInfo ( QString const &  info,
QString const &  lang 
)