diff --git a/src/controls/QskBoxSkinlet.h b/src/controls/QskBoxSkinlet.h index bb5c34d4..d09ad05a 100644 --- a/src/controls/QskBoxSkinlet.h +++ b/src/controls/QskBoxSkinlet.h @@ -15,7 +15,7 @@ class QSK_EXPORT QskBoxSkinlet : public QskSkinlet using Inherited = QskSkinlet; public: - enum NodeRole + enum NodeRole : quint8 { PanelRole, RoleCount diff --git a/src/controls/QskCheckBoxSkinlet.h b/src/controls/QskCheckBoxSkinlet.h index c13b528c..03b3dc50 100644 --- a/src/controls/QskCheckBoxSkinlet.h +++ b/src/controls/QskCheckBoxSkinlet.h @@ -17,7 +17,7 @@ class QSK_EXPORT QskCheckBoxSkinlet : public QskSkinlet using Inherited = QskSkinlet; public: - enum NodeRole + enum NodeRole : quint8 { PanelRole, BoxRole, diff --git a/src/controls/QskComboBoxSkinlet.h b/src/controls/QskComboBoxSkinlet.h index 0e4aa4c7..fe5e51b3 100644 --- a/src/controls/QskComboBoxSkinlet.h +++ b/src/controls/QskComboBoxSkinlet.h @@ -17,7 +17,7 @@ class QSK_EXPORT QskComboBoxSkinlet : public QskSkinlet using Inherited = QskSkinlet; public: - enum NodeRole + enum NodeRole : quint8 { PanelRole, IconRole, diff --git a/src/controls/QskDrawerSkinlet.h b/src/controls/QskDrawerSkinlet.h index e37d7823..a53e3b83 100644 --- a/src/controls/QskDrawerSkinlet.h +++ b/src/controls/QskDrawerSkinlet.h @@ -15,7 +15,7 @@ class QSK_EXPORT QskDrawerSkinlet : public QskPopupSkinlet using Inherited = QskPopupSkinlet; public: - enum NodeRole + enum NodeRole : quint8 { ContentsRole = Inherited::RoleCount, PanelRole, diff --git a/src/controls/QskFocusIndicatorSkinlet.h b/src/controls/QskFocusIndicatorSkinlet.h index f76c4cb0..1c9f67c3 100644 --- a/src/controls/QskFocusIndicatorSkinlet.h +++ b/src/controls/QskFocusIndicatorSkinlet.h @@ -17,7 +17,7 @@ class QSK_EXPORT QskFocusIndicatorSkinlet : public QskSkinlet using Inherited = QskSkinlet; public: - enum NodeRole + enum NodeRole : quint8 { FrameRole, RoleCount diff --git a/src/controls/QskGraphicLabelSkinlet.h b/src/controls/QskGraphicLabelSkinlet.h index dbc64e1a..c9e2c1ee 100644 --- a/src/controls/QskGraphicLabelSkinlet.h +++ b/src/controls/QskGraphicLabelSkinlet.h @@ -17,7 +17,7 @@ class QSK_EXPORT QskGraphicLabelSkinlet : public QskSkinlet using Inherited = QskSkinlet; public: - enum NodeRole + enum NodeRole : quint8 { PanelRole, GraphicRole, diff --git a/src/controls/QskListViewSkinlet.h b/src/controls/QskListViewSkinlet.h index fad76b21..71e27aed 100644 --- a/src/controls/QskListViewSkinlet.h +++ b/src/controls/QskListViewSkinlet.h @@ -22,7 +22,7 @@ class QSK_EXPORT QskListViewSkinlet : public QskScrollViewSkinlet using Inherited = QskScrollViewSkinlet; public: - enum NodeRole + enum NodeRole : quint8 { TextRole = Inherited::RoleCount, GraphicRole, diff --git a/src/controls/QskMenuSkinlet.h b/src/controls/QskMenuSkinlet.h index 1751aa8f..b51664f2 100644 --- a/src/controls/QskMenuSkinlet.h +++ b/src/controls/QskMenuSkinlet.h @@ -18,7 +18,7 @@ class QSK_EXPORT QskMenuSkinlet : public QskPopupSkinlet using Inherited = QskPopupSkinlet; public: - enum NodeRole + enum NodeRole : quint8 { ContentsRole = Inherited::RoleCount, PanelRole, diff --git a/src/controls/QskPageIndicatorSkinlet.h b/src/controls/QskPageIndicatorSkinlet.h index 3a935392..096b8b5d 100644 --- a/src/controls/QskPageIndicatorSkinlet.h +++ b/src/controls/QskPageIndicatorSkinlet.h @@ -15,7 +15,7 @@ class QSK_EXPORT QskPageIndicatorSkinlet : public QskSkinlet using Inherited = QskSkinlet; public: - enum NodeRole + enum NodeRole : quint8 { PanelRole, BulletsRole, diff --git a/src/controls/QskPopupSkinlet.h b/src/controls/QskPopupSkinlet.h index 7e37298d..05003aa3 100644 --- a/src/controls/QskPopupSkinlet.h +++ b/src/controls/QskPopupSkinlet.h @@ -17,7 +17,7 @@ class QSK_EXPORT QskPopupSkinlet : public QskSkinlet using Inherited = QskSkinlet; public: - enum NodeRole + enum NodeRole : quint8 { OverlayRole, RoleCount diff --git a/src/controls/QskProgressIndicatorSkinlet.h b/src/controls/QskProgressIndicatorSkinlet.h index e1299adc..950ac8b2 100644 --- a/src/controls/QskProgressIndicatorSkinlet.h +++ b/src/controls/QskProgressIndicatorSkinlet.h @@ -15,7 +15,7 @@ class QSK_EXPORT QskProgressIndicatorSkinlet : public QskSkinlet using Inherited = QskSkinlet; public: - enum NodeRole + enum NodeRole : quint8 { GrooveRole, FillRole, diff --git a/src/controls/QskPushButtonSkinlet.h b/src/controls/QskPushButtonSkinlet.h index 852bfd98..98f3d906 100644 --- a/src/controls/QskPushButtonSkinlet.h +++ b/src/controls/QskPushButtonSkinlet.h @@ -17,7 +17,7 @@ class QSK_EXPORT QskPushButtonSkinlet : public QskSkinlet using Inherited = QskSkinlet; public: - enum NodeRole + enum NodeRole : quint8 { PanelRole, SplashRole, diff --git a/src/controls/QskRadioBoxSkinlet.h b/src/controls/QskRadioBoxSkinlet.h index 7a3f17b4..9b80048f 100644 --- a/src/controls/QskRadioBoxSkinlet.h +++ b/src/controls/QskRadioBoxSkinlet.h @@ -17,7 +17,7 @@ class QSK_EXPORT QskRadioBoxSkinlet : public QskSkinlet using Inherited = QskSkinlet; public: - enum NodeRole + enum NodeRole : quint8 { PanelRole, ButtonRole, diff --git a/src/controls/QskScrollViewSkinlet.h b/src/controls/QskScrollViewSkinlet.h index 7e9feff0..710327a5 100644 --- a/src/controls/QskScrollViewSkinlet.h +++ b/src/controls/QskScrollViewSkinlet.h @@ -17,7 +17,7 @@ class QSK_EXPORT QskScrollViewSkinlet : public QskSkinlet using Inherited = QskSkinlet; public: - enum NodeRole + enum NodeRole : quint8 { PanelRole, ViewportRole, diff --git a/src/controls/QskSegmentedBarSkinlet.h b/src/controls/QskSegmentedBarSkinlet.h index b63a319c..e1ad4ba5 100644 --- a/src/controls/QskSegmentedBarSkinlet.h +++ b/src/controls/QskSegmentedBarSkinlet.h @@ -17,7 +17,7 @@ class QSK_EXPORT QskSegmentedBarSkinlet : public QskSkinlet using Inherited = QskSkinlet; public: - enum NodeRole + enum NodeRole : quint8 { PanelRole, SegmentRole, diff --git a/src/controls/QskSeparatorSkinlet.h b/src/controls/QskSeparatorSkinlet.h index 09274471..d0f1385a 100644 --- a/src/controls/QskSeparatorSkinlet.h +++ b/src/controls/QskSeparatorSkinlet.h @@ -17,7 +17,7 @@ class QSK_EXPORT QskSeparatorSkinlet : public QskSkinlet using Inherited = QskSkinlet; public: - enum NodeRole + enum NodeRole : quint8 { PanelRole, RoleCount diff --git a/src/controls/QskSliderSkinlet.h b/src/controls/QskSliderSkinlet.h index 6a042f83..c4a48835 100644 --- a/src/controls/QskSliderSkinlet.h +++ b/src/controls/QskSliderSkinlet.h @@ -19,7 +19,7 @@ class QSK_EXPORT QskSliderSkinlet : public QskSkinlet public: QSK_STATES( Filled ) - enum NodeRole + enum NodeRole : quint8 { PanelRole, GrooveRole, diff --git a/src/controls/QskSpinBoxSkinlet.h b/src/controls/QskSpinBoxSkinlet.h index 1a0710b1..37215eb7 100644 --- a/src/controls/QskSpinBoxSkinlet.h +++ b/src/controls/QskSpinBoxSkinlet.h @@ -16,7 +16,7 @@ class QSK_EXPORT QskSpinBoxSkinlet : public QskSkinlet public: Q_INVOKABLE QskSpinBoxSkinlet( QskSkin* = nullptr ); - enum NodeRole + enum NodeRole : quint8 { PanelRole, TextPanelRole, diff --git a/src/controls/QskStatusIndicatorSkinlet.h b/src/controls/QskStatusIndicatorSkinlet.h index 782b97e8..a62059cb 100644 --- a/src/controls/QskStatusIndicatorSkinlet.h +++ b/src/controls/QskStatusIndicatorSkinlet.h @@ -17,7 +17,7 @@ class QSK_EXPORT QskStatusIndicatorSkinlet : public QskSkinlet using Inherited = QskSkinlet; public: - enum NodeRole + enum NodeRole : quint8 { GraphicRole, RoleCount diff --git a/src/controls/QskSubWindowAreaSkinlet.h b/src/controls/QskSubWindowAreaSkinlet.h index d93929a5..157c9bcc 100644 --- a/src/controls/QskSubWindowAreaSkinlet.h +++ b/src/controls/QskSubWindowAreaSkinlet.h @@ -17,7 +17,7 @@ class QSK_EXPORT QskSubWindowAreaSkinlet : public QskSkinlet using Inherited = QskSkinlet; public: - enum NodeRole + enum NodeRole : quint8 { PanelRole, RoleCount diff --git a/src/controls/QskSubWindowSkinlet.h b/src/controls/QskSubWindowSkinlet.h index fb1f1187..1ac95918 100644 --- a/src/controls/QskSubWindowSkinlet.h +++ b/src/controls/QskSubWindowSkinlet.h @@ -17,7 +17,7 @@ class QSK_EXPORT QskSubWindowSkinlet : public QskPopupSkinlet using Inherited = QskPopupSkinlet; public: - enum NodeRole + enum NodeRole : quint8 { PanelRole = QskPopupSkinlet::RoleCount, TitleBarRole, diff --git a/src/controls/QskSwitchButtonSkinlet.h b/src/controls/QskSwitchButtonSkinlet.h index 1f7e614b..e10df309 100644 --- a/src/controls/QskSwitchButtonSkinlet.h +++ b/src/controls/QskSwitchButtonSkinlet.h @@ -17,7 +17,7 @@ class QSK_EXPORT QskSwitchButtonSkinlet : public QskSkinlet using Inherited = QskSkinlet; public: - enum NodeRole + enum NodeRole : quint8 { GrooveRole, HandleRole, diff --git a/src/controls/QskTabButtonSkinlet.h b/src/controls/QskTabButtonSkinlet.h index 5b0f7337..b04c0ca5 100644 --- a/src/controls/QskTabButtonSkinlet.h +++ b/src/controls/QskTabButtonSkinlet.h @@ -15,7 +15,7 @@ class QSK_EXPORT QskTabButtonSkinlet : public QskSkinlet using Inherited = QskSkinlet; public: - enum NodeRole + enum NodeRole : quint8 { PanelRole, TextRole, diff --git a/src/controls/QskTabViewSkinlet.h b/src/controls/QskTabViewSkinlet.h index 6427fd1e..2da726df 100644 --- a/src/controls/QskTabViewSkinlet.h +++ b/src/controls/QskTabViewSkinlet.h @@ -17,7 +17,7 @@ class QSK_EXPORT QskTabViewSkinlet : public QskSkinlet using Inherited = QskSkinlet; public: - enum NodeRole + enum NodeRole : quint8 { PageRole, RoleCount diff --git a/src/controls/QskTextFieldSkinlet.h b/src/controls/QskTextFieldSkinlet.h index 72a41864..83cfe640 100644 --- a/src/controls/QskTextFieldSkinlet.h +++ b/src/controls/QskTextFieldSkinlet.h @@ -17,7 +17,7 @@ class QSK_EXPORT QskTextFieldSkinlet : public QskSkinlet public: QSK_STATES( Selected ) - enum NodeRole + enum NodeRole : quint8 { PanelRole, PlaceholderTextRole, diff --git a/src/controls/QskTextLabelSkinlet.h b/src/controls/QskTextLabelSkinlet.h index 1aa53f1c..b99cf380 100644 --- a/src/controls/QskTextLabelSkinlet.h +++ b/src/controls/QskTextLabelSkinlet.h @@ -15,7 +15,7 @@ class QSK_EXPORT QskTextLabelSkinlet : public QskSkinlet using Inherited = QskSkinlet; public: - enum NodeRole + enum NodeRole : quint8 { PanelRole, TextRole, diff --git a/src/nodes/QskArcNode.cpp b/src/nodes/QskArcNode.cpp index 85911257..e048f3b7 100644 --- a/src/nodes/QskArcNode.cpp +++ b/src/nodes/QskArcNode.cpp @@ -14,7 +14,7 @@ namespace { - enum NodeRole + enum NodeRole : quint8 { /* If possible border + filling will be displayed by ArcRole diff --git a/src/nodes/QskBoxNode.cpp b/src/nodes/QskBoxNode.cpp index 89af944d..a787c8e9 100644 --- a/src/nodes/QskBoxNode.cpp +++ b/src/nodes/QskBoxNode.cpp @@ -18,7 +18,7 @@ namespace { - enum Role + enum NodeRole : quint8 { ShadowRole, ShadowFillRole,