mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
When the device is rotated and autorotate is off, a button will appear on the navigation panel to manually rotate. This is specific to the navigation panel, perhaps we can have a floating button in gesture-only mode similar to Android? TODO: PoC, I haven't yet actually tested this on device. I also need to make sure that I check for whether autorotation is enabled on the output.
22 lines
788 B
CMake
22 lines
788 B
CMake
# SPDX-FileCopyrightText: 2015-2016 Marco Martin <mart@kde.org>
|
|
# SPDX-FileCopyrightText: 2021 Aleix Pol <apol@kde.org>
|
|
# SPDX-FileCopyrightText: 2021 Nicolas Fella <nicolas.fella@kde.org>
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
add_library(org.kde.plasma.mobile.taskpanel MODULE taskpanel.cpp ${DBUS_SRCS})
|
|
|
|
target_link_libraries(org.kde.plasma.mobile.taskpanel
|
|
Qt::Gui
|
|
Qt::DBus
|
|
Qt::Qml
|
|
Qt::Quick
|
|
Qt::Sensors
|
|
Plasma::Plasma
|
|
KF6::Screen
|
|
)
|
|
|
|
|
|
install(TARGETS org.kde.plasma.mobile.taskpanel DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/applets)
|
|
|
|
plasma_install_package(package org.kde.plasma.mobile.taskpanel)
|
|
|