Index: sources/gui/GuiGlobals.cpp =================================================================== diff -u -r59a1b4dceeb629ed08a434775d819ce108fe894b -rae028f2ce4768d53d280f119ab2a11ac516fd3d2 --- sources/gui/GuiGlobals.cpp (.../GuiGlobals.cpp) (revision 59a1b4dceeb629ed08a434775d819ce108fe894b) +++ sources/gui/GuiGlobals.cpp (.../GuiGlobals.cpp) (revision ae028f2ce4768d53d280f119ab2a11ac516fd3d2) @@ -207,7 +207,7 @@ { //using namespace View; qmlRegisterType ("Gui.View" , 0, 1, "GuiView"); - qmlRegisterUncreatableType ("Gui.Actions" , 0, 1, "GuiActions" , QStringLiteral("Used only for enumerations no need to have an object")); + qmlRegisterUncreatableType ("Gui.Actions" , 0, 1, "guiActions" , QStringLiteral("Used only for enumerations no need to have an object")); qmlRegisterSingletonType ("Gui.VEventSpy", 0, 1, "GuiEventSpy", [](QQmlEngine *, QJSEngine *) -> QObject * { return &_VEventSpy; }); Index: sources/gui/qml/components/NotificationBarSmall.qml =================================================================== diff -u -r6084f7bd48dc98616b4a5e0d076c2d03330001db -rae028f2ce4768d53d280f119ab2a11ac516fd3d2 --- sources/gui/qml/components/NotificationBarSmall.qml (.../NotificationBarSmall.qml) (revision 6084f7bd48dc98616b4a5e0d076c2d03330001db) +++ sources/gui/qml/components/NotificationBarSmall.qml (.../NotificationBarSmall.qml) (revision ae028f2ce4768d53d280f119ab2a11ac516fd3d2) @@ -86,15 +86,15 @@ onLevelChanged: { switch (level) { - case GuiActions.ALARM_PRIORITY_HIGH: + case guiActions.ALARM_PRIORITY_HIGH: _root.color = Colors.textNotificationHighBg; _text.color = Colors.textNotificationHighFg; break; - case GuiActions.ALARM_PRIORITY_MEDIUM: + case guiActions.ALARM_PRIORITY_MEDIUM: _root.color = Colors.textNotificationMedBg; _text.color = Colors.textNotificationMedFg; break; - case GuiActions.ALARM_PRIORITY_LOW: + case guiActions.ALARM_PRIORITY_LOW: _root.color = Colors.textNotificationLowBg; _text.color = Colors.textNotificationLowFg; break; Index: sources/gui/qml/globals/Colors.qml =================================================================== diff -u -r320972a712c31e94413056591634859b4b3d564e -rae028f2ce4768d53d280f119ab2a11ac516fd3d2 --- sources/gui/qml/globals/Colors.qml (.../Colors.qml) (revision 320972a712c31e94413056591634859b4b3d564e) +++ sources/gui/qml/globals/Colors.qml (.../Colors.qml) (revision ae028f2ce4768d53d280f119ab2a11ac516fd3d2) @@ -18,7 +18,7 @@ import QtQuick 2.12 // Project -import Gui.Actions 0.1 +import Gui.Actions 0.1 as GuiActions /*! @@ -195,25 +195,25 @@ let contentBg = "" let contentFg = "" switch (vPriority) { - case GuiActions.ALARM_PRIORITY_HIGH: + case GuiActions.guiActions.ALARM_PRIORITY_HIGH: titleBg = alarmTopBarHighBg titleFg = alarmTopBarHighFg contentBg = white contentFg = textNotificationHighFg break - case GuiActions.ALARM_PRIORITY_MEDIUM: + case GuiActions.guiActions.ALARM_PRIORITY_MEDIUM: titleBg = alarmTopBarMedBg titleFg = alarmTopBarMedFg contentBg = white contentFg = textNotificationMedFg break - case GuiActions.ALARM_PRIORITY_LOW: + case GuiActions.guiActions.ALARM_PRIORITY_LOW: titleBg = alarmTopBarLowBg titleFg = alarmTopBarLowFg contentBg = white contentFg = textNotificationLowFg break - default : // GuiActions.ALARM_PRIORITY_NONE + default : // GuiActions.guiActions.ALARM_PRIORITY_NONE titleBg = backgroundButtonSelect titleFg = textMain contentBg = white