diff options
author | Jaime van Kessel <nallath@gmail.com> | 2022-06-17 16:26:30 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2022-06-17 16:26:30 +0300 |
commit | b25e760c53bd8375339406055cc5c661ce5a954e (patch) | |
tree | fc05468caf0af5a553e9b8d69d545ce154cff374 /plugins/ImageReader | |
parent | d05417f7f032180c69a41c040ffce755c0acef5c (diff) |
Remove incorrect enum usage
This only needs to happen in code that uses PyQt, not in qml code
Diffstat (limited to 'plugins/ImageReader')
-rw-r--r-- | plugins/ImageReader/ConfigUI.qml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/ImageReader/ConfigUI.qml b/plugins/ImageReader/ConfigUI.qml index 44877fed6c..c53e631b5a 100644 --- a/plugins/ImageReader/ConfigUI.qml +++ b/plugins/ImageReader/ConfigUI.qml @@ -31,7 +31,7 @@ UM.Dialog Layout.fillWidth: true Layout.minimumWidth: UM.Theme.getSize("setting_control").width text: catalog.i18nc("@action:label", "Height (mm)") - Layout.alignment: Qt.AlignmentFlag.AlignVCenter + Layout.alignment: Qt.AlignVCenter MouseArea { id: peak_height_label @@ -64,7 +64,7 @@ UM.Dialog Layout.fillWidth: true Layout.minimumWidth: UM.Theme.getSize("setting_control").width text: catalog.i18nc("@action:label", "Base (mm)") - Layout.alignment: Qt.AlignmentFlag.AlignVCenter + Layout.alignment: Qt.AlignVCenter MouseArea { @@ -98,7 +98,7 @@ UM.Dialog Layout.fillWidth: true Layout.minimumWidth: UM.Theme.getSize("setting_control").width text: catalog.i18nc("@action:label", "Width (mm)") - Layout.alignment: Qt.AlignmentFlag.AlignVCenter + Layout.alignment: Qt.AlignVCenter MouseArea { id: width_label @@ -132,7 +132,7 @@ UM.Dialog Layout.fillWidth: true Layout.minimumWidth: UM.Theme.getSize("setting_control").width text: catalog.i18nc("@action:label", "Depth (mm)") - Layout.alignment: Qt.AlignmentFlag.AlignVCenter + Layout.alignment: Qt.AlignVCenter MouseArea { id: depth_label @@ -166,7 +166,7 @@ UM.Dialog Layout.fillWidth: true Layout.minimumWidth: UM.Theme.getSize("setting_control").width text: "" - Layout.alignment: Qt.AlignmentFlag.AlignVCenter + Layout.alignment: Qt.AlignVCenter MouseArea { id: lighter_is_higher_label @@ -203,7 +203,7 @@ UM.Dialog Layout.fillWidth: true Layout.minimumWidth: UM.Theme.getSize("setting_control").width text: catalog.i18nc("@action:label", "Color Model") - Layout.alignment: Qt.AlignmentFlag.AlignVCenter + Layout.alignment: Qt.AlignVCenter MouseArea { id: color_model_label @@ -240,7 +240,7 @@ UM.Dialog Layout.fillWidth: true Layout.minimumWidth: UM.Theme.getSize("setting_control").width text: catalog.i18nc("@action:label", "1mm Transmittance (%)") - Layout.alignment: Qt.AlignmentFlag.AlignVCenter + Layout.alignment: Qt.AlignVCenter MouseArea { id: transmittance_label @@ -272,7 +272,7 @@ UM.Dialog Layout.fillWidth: true Layout.minimumWidth: UM.Theme.getSize("setting_control").width text: catalog.i18nc("@action:label", "Smoothing") - Layout.alignment: Qt.AlignmentFlag.AlignVCenter + Layout.alignment: Qt.AlignVCenter MouseArea { |