Engauge Digitizer  2
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 
16  rtn = "DATA_KEY_IDENTIFIER";
17  break;
18 
20  rtn = "DATA_KEY_GRAPHICS_ITEM_TYPE";
21  break;
22 
24  rtn = "DATA_KEY_POSITION_HAS_CHANGED";
25  break;
26 
27  default:
28  rtn = "<unknown>";
29  }
30 
31  return rtn;
32 }
Unique identifier for QGraphicsItem object
Definition: DataKey.h:15
Item type (i.e. image versus point)
Definition: DataKey.h:16