mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Implementation of a popup button to rotate the screen while using gesture navigation. The button is set to appear when the device rotates while auto rotation is off. Then the button will be visible for a short period of time before disappearing.
18 lines
No EOL
485 B
CMake
18 lines
No EOL
485 B
CMake
# SPDX-FileCopyrightText: 2025 Micah Stanley <stanleymicah@proton.me>
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
ecm_add_qml_module(rotationplugin URI org.kde.plasma.private.mobileshell.rotationplugin GENERATE_PLUGIN_SOURCE)
|
|
target_sources(rotationplugin PRIVATE rotationutil.cpp)
|
|
|
|
target_link_libraries(rotationplugin PRIVATE
|
|
Qt::Gui
|
|
Qt::DBus
|
|
Qt::Qml
|
|
Qt::Quick
|
|
Qt::Sensors
|
|
Plasma::Plasma
|
|
KF6::Screen
|
|
Qt::Qml
|
|
)
|
|
|
|
ecm_finalize_qml_module(rotationplugin) |