AusweisApp
|
#include <FormattedTextModel.h>
Ö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, QByteArray > | roleNames () const override |
Q_INVOKABLE bool | loadSeveral (const QStringList &pFilepaths) |
Freundbeziehungen | |
class | ::test_FormattedTextModel |
|
explicit |
|
override |
bool FormattedTextModel::loadSeveral | ( | const QStringList & | pFilepaths | ) |
|
override |
|
override |