AusweisApp
Lade ...
Suche ...
Keine Treffer
governikus::FormattedTextModel Klassenreferenz

#include <FormattedTextModel.h>

Klassendiagramm für governikus::FormattedTextModel:

Öffentliche Typen

enum class  LineType {
  EMPTY , HEADER , SECTION , SUBSECTION ,
  REGULARTEXT , LISTITEM
}
 
enum  FormattedTextRoles { ContentRole = Qt::UserRole + 1 , LineTypeRole }
 

Öffentliche Methoden

 FormattedTextModel (QObject *pParent, const QStringList &pLines=QStringList())
 
int rowCount (const QModelIndex &pIndex=QModelIndex()) const override
 
QVariant data (const QModelIndex &pIndex, int pRole=Qt::DisplayRole) const override
 
QHash< int, QByteArrayroleNames () const override
 
Q_INVOKABLE bool loadSeveral (const QStringList &pFilepaths)
 

Freundbeziehungen

class ::test_FormattedTextModel
 

Dokumentation der Aufzählungstypen

◆ FormattedTextRoles

Aufzählungswerte
ContentRole 
LineTypeRole 

◆ LineType

Aufzählungswerte
EMPTY 
HEADER 
SECTION 
SUBSECTION 
REGULARTEXT 
LISTITEM 

Beschreibung der Konstruktoren und Destruktoren

◆ FormattedTextModel()

FormattedTextModel::FormattedTextModel ( QObject * pParent,
const QStringList & pLines = QStringList() )
explicit
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Dokumentation der Elementfunktionen

◆ data()

QVariant FormattedTextModel::data ( const QModelIndex & pIndex,
int pRole = Qt::DisplayRole ) const
override
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ loadSeveral()

bool FormattedTextModel::loadSeveral ( const QStringList & pFilepaths)
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ roleNames()

QHash< int, QByteArray > FormattedTextModel::roleNames ( ) const
override
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ rowCount()

int FormattedTextModel::rowCount ( const QModelIndex & pIndex = QModelIndex()) const
override
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

Freundbeziehungen und Funktionsdokumentation

◆ ::test_FormattedTextModel

friend class ::test_FormattedTextModel
friend

Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: