D29268: [WIP] Add Date/Time dialog
Nicolas Fella
noreply at phabricator.kde.org
Tue Apr 28 20:42:16 BST 2020
nicolasfella created this revision.
nicolasfella added reviewers: davidedmundson, vkrause, broulik.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
nicolasfella requested review of this revision.
REVISION SUMMARY
Import the date/time picker used in KTrip. It wraps the existing date/time picker components into a dialog. On Android it calls the native date/time picker instead.
The Android implementation is slightly messy since we apparently can't do JNI things directly from a QML plugin because it gets loaded in the wrong thread. As a workaround we have a linkable library on Android that forces JNI initialization in the right thread.
Finish
TEST PLAN
Ported KTrip to it
REPOSITORY
R1047 Kirigami Addons
BRANCH
work
REVISION DETAIL
https://phabricator.kde.org/D29268
AFFECTED FILES
CMakeLists.txt
KF5KirigamiAddonsConfig.cmake.in
cmake/modules/FindGradle.cmake
cmake/modules/local.properties.in
cmake/modules/settings.gradle.in
src/dateandtime/CMakeLists.txt
src/dateandtime/DateDialog.qml
src/dateandtime/KF5KirigamiDateAndTimeAndroid-android-dependencies.xml
src/dateandtime/TimeDialog.qml
src/dateandtime/android/AndroidManifest.xml
src/dateandtime/android/CMakeLists.txt
src/dateandtime/android/build.gradle
src/dateandtime/android/org/kde/kirigamiaddons/dateandtime/DatePicker.java
src/dateandtime/android/org/kde/kirigamiaddons/dateandtime/TimePicker.java
src/dateandtime/lib/androidutils.cpp
src/dateandtime/lib/androidutils.h
src/dateandtime/lib/plugin.cpp
src/dateandtime/qmldir
To: nicolasfella, davidedmundson, vkrause, broulik
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200428/7fea8552/attachment.html>
More information about the Plasma-devel
mailing list