2022-03-13 20:27:14 +00:00
|
|
|
# SPDX-FileCopyrightText: 2021 Devin Lin <devin@kde.org>
|
|
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
2024-06-09 20:56:32 +00:00
|
|
|
ecm_add_qml_module(mobileshellplugin URI org.kde.plasma.private.mobileshell GENERATE_PLUGIN_SOURCE DEPENDENCIES QtQuick)
|
2023-11-02 11:08:17 +00:00
|
|
|
|
2022-03-13 20:27:14 +00:00
|
|
|
set(mobileshellplugin_SRCS
|
2023-01-24 07:51:18 +00:00
|
|
|
shellutil.cpp
|
|
|
|
|
components/direction.cpp
|
2023-11-02 11:08:17 +00:00
|
|
|
components/direction.h
|
2023-09-30 05:56:49 +00:00
|
|
|
components/swipearea.cpp
|
2023-01-24 07:51:18 +00:00
|
|
|
notifications/notificationthumbnailer.cpp
|
|
|
|
|
notifications/notificationfilemenu.cpp
|
2024-07-28 18:54:14 +00:00
|
|
|
notifications/notificationfileinfo.cpp
|
Folio/Halcyon: Expand Background Blur Effect using a MaskLayer
This merge request expands upon the folio and halcyon background blur effects, making the folio background blur include the backgrounds of folder icons, the favorites bar, and wallpaper selector, and for halcyon, it now includes the folder icons, app library, search, and wallpaper selector. To accomplish this, a mask layer plugin was created to easily attach to these elements. This way, we can use a `OpacityMask` to cut out from the existing blur layer, thus hopefully keeping the performance cost low. And with my limited testing, it does at least seems to run about the same on my oneplus 6t, though it is not really a low end device, so I can not fairly judge the impact for something slower (eg. PinePhone). To be on the safe side, a third option was also added to the folio settings, allowing for the ability to toggle back to the old functionality if needed.




2025-06-27 18:27:30 +00:00
|
|
|
masklayer/masklayer.cpp
|
|
|
|
|
masklayer/maskmanager.cpp
|
2022-03-13 20:27:14 +00:00
|
|
|
)
|
2023-11-02 11:08:17 +00:00
|
|
|
target_include_directories(mobileshellplugin PRIVATE components)
|
|
|
|
|
target_include_directories(mobileshellplugin PRIVATE notifications)
|
Folio/Halcyon: Expand Background Blur Effect using a MaskLayer
This merge request expands upon the folio and halcyon background blur effects, making the folio background blur include the backgrounds of folder icons, the favorites bar, and wallpaper selector, and for halcyon, it now includes the folder icons, app library, search, and wallpaper selector. To accomplish this, a mask layer plugin was created to easily attach to these elements. This way, we can use a `OpacityMask` to cut out from the existing blur layer, thus hopefully keeping the performance cost low. And with my limited testing, it does at least seems to run about the same on my oneplus 6t, though it is not really a low end device, so I can not fairly judge the impact for something slower (eg. PinePhone). To be on the safe side, a third option was also added to the folio settings, allowing for the ability to toggle back to the old functionality if needed.




2025-06-27 18:27:30 +00:00
|
|
|
target_include_directories(mobileshellplugin PRIVATE masklayer)
|
2023-11-02 11:08:17 +00:00
|
|
|
target_sources(mobileshellplugin PRIVATE ${mobileshellplugin_SRCS})
|
|
|
|
|
|
|
|
|
|
# Singleton declarations
|
2025-04-23 09:57:48 +00:00
|
|
|
set_source_files_properties(
|
2025-04-26 06:58:40 +00:00
|
|
|
qml/components/AppLaunch.qml
|
|
|
|
|
qml/components/Constants.qml
|
|
|
|
|
qml/dataproviders/AudioInfo.qml
|
|
|
|
|
qml/dataproviders/BatteryInfo.qml
|
|
|
|
|
qml/dataproviders/BluetoothInfo.qml
|
|
|
|
|
qml/dataproviders/NetworkInfo.qml
|
|
|
|
|
qml/dataproviders/SignalStrengthInfo.qml
|
|
|
|
|
qml/popups/PopupProviderLoader.qml
|
|
|
|
|
PROPERTIES
|
|
|
|
|
QT_QML_SINGLETON_TYPE TRUE
|
2025-04-23 09:57:48 +00:00
|
|
|
)
|
2023-11-02 11:08:17 +00:00
|
|
|
|
2025-07-17 05:42:35 +00:00
|
|
|
# QML files meant to be used publicly
|
|
|
|
|
# TODO: move files gradually out of main namespace into sub namespaces
|
|
|
|
|
ecm_target_qml_sources(mobileshellplugin SOURCES
|
|
|
|
|
qml/actiondrawer/ActionDrawer.qml
|
|
|
|
|
qml/actiondrawer/ActionDrawerOpenSurface.qml
|
|
|
|
|
qml/actiondrawer/ActionDrawerWindow.qml
|
|
|
|
|
|
|
|
|
|
qml/components/AppLaunch.qml
|
|
|
|
|
qml/components/BaseItem.qml
|
|
|
|
|
qml/components/Constants.qml
|
|
|
|
|
qml/components/Flickable.qml
|
|
|
|
|
qml/components/FlickableOpacityGradient.qml
|
|
|
|
|
qml/components/GridView.qml
|
|
|
|
|
qml/components/HapticsEffect.qml
|
|
|
|
|
qml/components/ListView.qml
|
|
|
|
|
qml/components/MarqueeLabel.qml
|
|
|
|
|
qml/components/PanelBackground.qml
|
|
|
|
|
qml/components/ScreenEdgeDragEffect.qml
|
|
|
|
|
qml/components/StartupFeedbackPanelFill.qml
|
|
|
|
|
qml/components/StartupFeedbackWindows.qml
|
|
|
|
|
qml/components/TextDropShadow.qml
|
|
|
|
|
qml/components/VelocityCalculator.qml
|
|
|
|
|
|
|
|
|
|
qml/dataproviders/AudioInfo.qml
|
|
|
|
|
qml/dataproviders/BatteryInfo.qml
|
|
|
|
|
qml/dataproviders/BluetoothInfo.qml
|
|
|
|
|
qml/dataproviders/NetworkInfo.qml
|
|
|
|
|
qml/dataproviders/SignalStrengthInfo.qml
|
|
|
|
|
|
|
|
|
|
qml/homescreen/BlurEffect.qml
|
|
|
|
|
qml/homescreen/DeviceLock.qml
|
|
|
|
|
qml/homescreen/HomeScreen.qml
|
|
|
|
|
qml/homescreen/WallpaperSelector.qml
|
|
|
|
|
|
2025-12-14 04:38:13 +00:00
|
|
|
qml/navigationpanel/GesturePanel.qml
|
2025-07-17 05:42:35 +00:00
|
|
|
qml/navigationpanel/NavigationPanel.qml
|
|
|
|
|
qml/navigationpanel/NavigationPanelAction.qml
|
|
|
|
|
qml/navigationpanel/NavigationPanelButton.qml
|
|
|
|
|
|
|
|
|
|
qml/popups/actionbuttons/ActionButton.qml
|
|
|
|
|
qml/popups/actionbuttons/ActionButtonsProvider.qml
|
|
|
|
|
qml/popups/actionbuttons/RotationButton.qml
|
|
|
|
|
|
|
|
|
|
qml/popups/notifications/NotificationPopup.qml
|
|
|
|
|
qml/popups/notifications/NotificationPopupManager.qml
|
|
|
|
|
qml/popups/notifications/NotificationPopupProvider.qml
|
|
|
|
|
qml/popups/notifications/PulseAudio.qml
|
|
|
|
|
|
2025-08-06 12:34:45 +00:00
|
|
|
qml/popups/kscreenosd/KScreenOSDProvider.qml
|
|
|
|
|
|
2025-07-17 05:42:35 +00:00
|
|
|
qml/popups/volumeosd/AudioApplet.qml
|
|
|
|
|
qml/popups/volumeosd/DeviceListItem.qml
|
|
|
|
|
qml/popups/volumeosd/icon.js
|
|
|
|
|
qml/popups/volumeosd/ListItemBase.qml
|
|
|
|
|
qml/popups/volumeosd/PopupCard.qml
|
|
|
|
|
qml/popups/volumeosd/StreamListItem.qml
|
|
|
|
|
qml/popups/volumeosd/VolumeChangedPopup.qml
|
|
|
|
|
qml/popups/volumeosd/VolumeOSD.qml
|
|
|
|
|
qml/popups/volumeosd/VolumeOSDProvider.qml
|
2025-09-13 22:59:09 +00:00
|
|
|
qml/popups/volumeosd/VolumeSlider.qml
|
2025-07-17 05:42:35 +00:00
|
|
|
qml/popups/PopupProviderLoader.qml
|
|
|
|
|
|
|
|
|
|
qml/statusbar/indicators/BatteryIndicator.qml
|
|
|
|
|
qml/statusbar/indicators/BluetoothIndicator.qml
|
|
|
|
|
qml/statusbar/indicators/InternetIndicator.qml
|
|
|
|
|
qml/statusbar/indicators/SignalStrengthIndicator.qml
|
|
|
|
|
qml/statusbar/indicators/VolumeIndicator.qml
|
|
|
|
|
qml/statusbar/ClockText.qml
|
|
|
|
|
qml/statusbar/StatusBar.qml
|
|
|
|
|
|
|
|
|
|
qml/widgets/krunner/KRunnerScreen.qml
|
|
|
|
|
qml/widgets/mediacontrols/BlurredBackground.qml
|
|
|
|
|
qml/widgets/mediacontrols/MediaControlsSource.qml
|
|
|
|
|
qml/widgets/mediacontrols/MediaControlsWidget.qml
|
|
|
|
|
qml/widgets/notifications/BaseNotificationItem.qml
|
|
|
|
|
qml/widgets/notifications/NotificationBodyLabel.qml
|
|
|
|
|
qml/widgets/notifications/NotificationCard.qml
|
|
|
|
|
qml/widgets/notifications/NotificationEditContextMenu.qml
|
|
|
|
|
qml/widgets/notifications/NotificationFooterActions.qml
|
|
|
|
|
qml/widgets/notifications/NotificationGroupHeader.qml
|
|
|
|
|
qml/widgets/notifications/NotificationItem.qml
|
|
|
|
|
qml/widgets/notifications/NotificationJobDetails.qml
|
|
|
|
|
qml/widgets/notifications/NotificationJobItem.qml
|
|
|
|
|
qml/widgets/notifications/NotificationPopupItem.qml
|
|
|
|
|
qml/widgets/notifications/NotificationReplyField.qml
|
|
|
|
|
qml/widgets/notifications/NotificationsModelType.qml
|
|
|
|
|
qml/widgets/notifications/NotificationsUtils.js
|
|
|
|
|
qml/widgets/notifications/NotificationsWidget.qml
|
|
|
|
|
qml/widgets/notifications/NotificationTimeText.qml
|
|
|
|
|
qml/widgets/notifications/ThumbnailStrip.qml
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
# Other supporting QML files
|
|
|
|
|
ecm_target_qml_sources(mobileshellplugin SOURCES
|
|
|
|
|
qml/actiondrawer/private/BrightnessItem.qml
|
|
|
|
|
qml/actiondrawer/private/Handle.qml
|
|
|
|
|
qml/actiondrawer/private/QuickSettings.qml
|
|
|
|
|
qml/actiondrawer/private/QuickSettingsDelegate.qml
|
|
|
|
|
qml/actiondrawer/private/QuickSettingsDrawer.qml
|
|
|
|
|
qml/actiondrawer/private/QuickSettingsFullDelegate.qml
|
|
|
|
|
qml/actiondrawer/private/QuickSettingsMinimizedDelegate.qml
|
|
|
|
|
qml/actiondrawer/private/QuickSettingsPanel.qml
|
|
|
|
|
qml/actiondrawer/private/ContentContainer.qml
|
|
|
|
|
qml/actiondrawer/private/LandscapeContentContainer.qml
|
|
|
|
|
qml/actiondrawer/private/NotificationDrawer.qml
|
|
|
|
|
qml/actiondrawer/private/PortraitContentContainer.qml
|
|
|
|
|
PATH actiondrawer/private
|
2023-11-02 11:08:17 +00:00
|
|
|
)
|
|
|
|
|
|
2022-03-13 20:27:14 +00:00
|
|
|
|
2024-07-13 16:30:07 +00:00
|
|
|
target_link_libraries(mobileshellplugin
|
2022-03-13 20:27:14 +00:00
|
|
|
PUBLIC
|
|
|
|
|
Qt::Core
|
|
|
|
|
PRIVATE
|
|
|
|
|
Qt::DBus
|
|
|
|
|
Qt::Qml
|
|
|
|
|
Qt::Gui
|
|
|
|
|
Qt::Quick
|
2024-11-07 16:13:06 +00:00
|
|
|
Qt::WaylandClientPrivate
|
2023-03-02 07:19:14 +00:00
|
|
|
KF6::KIOGui
|
2023-11-23 22:42:47 +00:00
|
|
|
Plasma::Plasma
|
2023-03-02 07:19:14 +00:00
|
|
|
KF6::I18n
|
|
|
|
|
KF6::Notifications
|
2023-11-23 22:42:47 +00:00
|
|
|
Plasma::PlasmaQuick
|
2023-03-02 07:19:14 +00:00
|
|
|
KF6::KIOGui
|
|
|
|
|
KF6::KIOWidgets # for PreviewJob
|
|
|
|
|
KF6::Service
|
|
|
|
|
KF6::Package
|
2024-10-31 00:53:12 +00:00
|
|
|
KF6::ConfigGui
|
2024-10-25 15:52:49 +00:00
|
|
|
LayerShellQt::Interface
|
2022-03-13 20:27:14 +00:00
|
|
|
)
|
|
|
|
|
|
2023-11-02 11:08:17 +00:00
|
|
|
ecm_finalize_qml_module(mobileshellplugin)
|