KanoopCommonQt 2.1.1
Kanoop foundational Qt utility library
Loading...
Searching...
No Matches
KANOOP Namespace Reference

Core KanoopCommonQt namespace containing shared enumerations and templates. More...

Classes

class  EnumToStringMap
 A QMap subclass providing bidirectional enum-to-string lookups. More...
 

Enumerations

enum  ModelRole {
  DataRole = Qt::UserRole + 0x1000 , EntityTypeRole , UUidRole , EntityMetadataRole ,
  MetadataTypeRole , NameRole , UserRole = DataRole + 0x8000
}
 Model roles extending Qt::UserRole for use in AbstractItemModel subclasses. More...
 

Detailed Description

Core KanoopCommonQt namespace containing shared enumerations and templates.

Enumeration Type Documentation

◆ ModelRole

Model roles extending Qt::UserRole for use in AbstractItemModel subclasses.

Enumerator
DataRole 

Primary data payload role.

EntityTypeRole 

Role carrying an entity type integer.

UUidRole 

Role carrying a QUuid.

EntityMetadataRole 

Role carrying an EntityMetadata object.

MetadataTypeRole 

Role carrying a metadata type integer.

NameRole 

Role carrying a display name string.

UserRole 

First role available for application-specific use.

Definition at line 30 of file kanoopcommon.h.