Use http://doc.qt.io/qt-5/qmetaenum.html#valueToKey, etc. For now we're using custom code with maps of strings.
https://invent.kde.org/office/kexi/-/issues/42