Introduced global enum to keep track of custom roles we want to use in our datamodels.
This commit is contained in:
parent
ad4c6fd442
commit
a4054ed789
4 changed files with 15 additions and 2 deletions
10
pglab/CustomDataRole.h
Normal file
10
pglab/CustomDataRole.h
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#ifndef CUSTOMDATAROLE_H
|
||||
#define CUSTOMDATAROLE_H
|
||||
|
||||
#include <Qt>
|
||||
|
||||
enum CustomDataRole {
|
||||
CustomDataTypeRole = Qt::UserRole,
|
||||
};
|
||||
|
||||
#endif // CUSTOMDATAROLE_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue