[vlc-commits] [Git][videolan/vlc][master] 2 commits: qml: use shadow in error popup
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Fri Jul 31 19:41:49 UTC 2026
Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
650c6c3f by Fatih Uzunoglu at 2026-07-31T20:03:19+02:00
qml: use shadow in error popup
- - - - -
c75df8f9 by Fatih Uzunoglu at 2026-07-31T20:03:19+02:00
qml: use shadow in background of `ModalDialog`
- - - - -
2 changed files:
- modules/gui/qt/dialogs/dialogs/qml/Dialogs.qml
- modules/gui/qt/dialogs/dialogs/qml/ModalDialog.qml
Changes:
=====================================
modules/gui/qt/dialogs/dialogs/qml/Dialogs.qml
=====================================
@@ -250,6 +250,17 @@ Item {
}
}
}
+
+ Widgets.RoundedRectangleShadow {
+ yOffset: VLCStyle.dp(4, VLCStyle.scale)
+ blurRadius: VLCStyle.dp(3, VLCStyle.scale)
+
+ opacity: 0.2
+
+ visible: (color.a > 0.0)
+
+ color: Qt.darker(parent.color)
+ }
}
state: "hidden"
=====================================
modules/gui/qt/dialogs/dialogs/qml/ModalDialog.qml
=====================================
@@ -85,6 +85,17 @@ Dialog {
background: Rectangle {
color: theme.bg.primary
+
+ Widgets.RoundedRectangleShadow {
+ yOffset: VLCStyle.dp(4, VLCStyle.scale)
+ blurRadius: VLCStyle.dp(3, VLCStyle.scale)
+
+ visible: (parent.color.a > 0.0)
+
+ opacity: 0.2
+
+ color: "black"
+ }
}
//FIXME use the right xxxLabel class
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/a20a8bc26cb6ad1c96b8002be746049ce63e3112...c75df8f956add4e8f02920b2fd6016af14355652
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/a20a8bc26cb6ad1c96b8002be746049ce63e3112...c75df8f956add4e8f02920b2fd6016af14355652
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list