Engauge Digitizer
2
util
Functions
DataKey.cpp File Reference
#include "
DataKey.h
"
Include dependency graph for DataKey.cpp:
Go to the source code of this file.
Functions
QString
dataKeyToString
(
DataKey
dataKey)
Function Documentation
◆
dataKeyToString()
QString dataKeyToString
(
DataKey
dataKey
)
Definition at line
9
of file
DataKey.cpp
.
10
{
11
QString rtn;
12
13
switch
(dataKey) {
14
15
case
DATA_KEY_IDENTIFIER
:
16
rtn =
"DATA_KEY_IDENTIFIER"
;
17
break
;
18
19
case
DATA_KEY_GRAPHICS_ITEM_TYPE
:
20
rtn =
"DATA_KEY_GRAPHICS_ITEM_TYPE"
;
21
break
;
22
23
case
DATA_KEY_POSITION_HAS_CHANGED
:
24
rtn =
"DATA_KEY_POSITION_HAS_CHANGED"
;
25
break
;
26
27
default
:
28
rtn =
"<unknown>"
;
29
}
30
31
return
rtn;
32
}
DATA_KEY_GRAPHICS_ITEM_TYPE
Unique identifier for QGraphicsItem object
Definition:
DataKey.h:15
DATA_KEY_IDENTIFIER
Definition:
DataKey.h:14
DATA_KEY_POSITION_HAS_CHANGED
Item type (i.e. image versus point)
Definition:
DataKey.h:16
Generated on Wed Aug 3 2022 12:00:00 for Engauge Digitizer by
1.8.14