2014-01-07 11:13:38 +01:00
|
|
|
add_subdirectory(accessdenied)
|
2010-10-13 07:15:44 +00:00
|
|
|
add_subdirectory(core)
|
2013-02-06 13:37:56 +01:00
|
|
|
add_subdirectory(plasmacomponents)
|
2013-02-15 02:44:21 +01:00
|
|
|
add_subdirectory(plasmaextracomponents)
|
2013-08-31 17:33:09 +02:00
|
|
|
add_subdirectory(platformcomponents)
|
|
|
|
add_subdirectory(calendar)
|
2014-11-26 15:13:33 +01:00
|
|
|
|
2015-01-10 17:47:31 +00:00
|
|
|
install(DIRECTORY plasmastyle/ DESTINATION ${KDE_INSTALL_QMLDIR}/QtQuick/Controls/Styles/Plasma)
|
Plasma controls based on QtQuickControls2
Summary:
This is a basic styling of a QtQuickControls2 series based on Plasma theme.
it has the main controls available in Qt 5.7
it installs them as a separate import (org.kde.plasma.controls 3.0) for
use restricted to plasmoids, is probably needed to be still installed as
a style as well
Test Plan:
tried with minimal QML files, a more comprehensive gallery may be needed.
pending considerations:
* some of the classes, like Drawer, the dialogs and ApplicationWindow *don't* make sense in plasmoids
* it will probably still need to be installed also as a qqc2 style, as this should be used in Plasma mobile
* probably only some of the controls should be installed as a separate import, the whole set as a style strictly for Plasma Mobile use. the same qml files would be used, so no maintainance overhead
Reviewers: #plasma, davidedmundson
Reviewed By: #plasma, davidedmundson
Subscribers: davidedmundson, broulik, plasma-devel, #frameworks
Tags: #plasma, #frameworks
Differential Revision: https://phabricator.kde.org/D4508
2017-03-14 10:21:26 +01:00
|
|
|
|
2017-12-14 12:56:06 +01:00
|
|
|
install(DIRECTORY kirigamiplasmastyle/ DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/kirigami.2/styles/Plasma)
|
|
|
|
|
|
|
|
install(DIRECTORY kirigamiplasmadesktopstyle/ DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/kirigami.2/styles/org.kde.desktop.plasma)
|
Plasma controls based on QtQuickControls2
Summary:
This is a basic styling of a QtQuickControls2 series based on Plasma theme.
it has the main controls available in Qt 5.7
it installs them as a separate import (org.kde.plasma.controls 3.0) for
use restricted to plasmoids, is probably needed to be still installed as
a style as well
Test Plan:
tried with minimal QML files, a more comprehensive gallery may be needed.
pending considerations:
* some of the classes, like Drawer, the dialogs and ApplicationWindow *don't* make sense in plasmoids
* it will probably still need to be installed also as a qqc2 style, as this should be used in Plasma mobile
* probably only some of the controls should be installed as a separate import, the whole set as a style strictly for Plasma Mobile use. the same qml files would be used, so no maintainance overhead
Reviewers: #plasma, davidedmundson
Reviewed By: #plasma, davidedmundson
Subscribers: davidedmundson, broulik, plasma-devel, #frameworks
Tags: #plasma, #frameworks
Differential Revision: https://phabricator.kde.org/D4508
2017-03-14 10:21:26 +01:00
|
|
|
|
2018-01-24 13:25:40 +01:00
|
|
|
|
|
|
|
math(EXPR QQC2_VERSION "${Qt5QuickControls2_VERSION_MINOR} - 7")
|
|
|
|
set(QQC2_VERSION "2.${QQC2_VERSION}")
|
|
|
|
|
|
|
|
|
|
|
|
# Find all the source qml files
|
|
|
|
FILE(GLOB_RECURSE inFiles RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}"
|
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/plasmacomponents3/*")
|
|
|
|
|
|
|
|
#for each file, replace @QQC2_VERSION@ with the version we found
|
|
|
|
FOREACH(infileName ${inFiles})
|
|
|
|
configure_package_config_file(
|
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/${infileName}"
|
|
|
|
"${CMAKE_CURRENT_BINARY_DIR}/${infileName}"
|
|
|
|
INSTALL_DESTINATION "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5Plasma"
|
|
|
|
PATH_VARS QQC2_VERSION
|
|
|
|
)
|
|
|
|
ENDFOREACH(infileName)
|
|
|
|
|
Plasma controls based on QtQuickControls2
Summary:
This is a basic styling of a QtQuickControls2 series based on Plasma theme.
it has the main controls available in Qt 5.7
it installs them as a separate import (org.kde.plasma.controls 3.0) for
use restricted to plasmoids, is probably needed to be still installed as
a style as well
Test Plan:
tried with minimal QML files, a more comprehensive gallery may be needed.
pending considerations:
* some of the classes, like Drawer, the dialogs and ApplicationWindow *don't* make sense in plasmoids
* it will probably still need to be installed also as a qqc2 style, as this should be used in Plasma mobile
* probably only some of the controls should be installed as a separate import, the whole set as a style strictly for Plasma Mobile use. the same qml files would be used, so no maintainance overhead
Reviewers: #plasma, davidedmundson
Reviewed By: #plasma, davidedmundson
Subscribers: davidedmundson, broulik, plasma-devel, #frameworks
Tags: #plasma, #frameworks
Differential Revision: https://phabricator.kde.org/D4508
2017-03-14 10:21:26 +01:00
|
|
|
#install the components as a QQC2 Style, as style for applications (mainly for Plasma Mobile)
|
2018-01-24 13:25:40 +01:00
|
|
|
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/ DESTINATION ${KDE_INSTALL_QMLDIR}/QtQuick/Controls.2/Plasma)
|
Plasma controls based on QtQuickControls2
Summary:
This is a basic styling of a QtQuickControls2 series based on Plasma theme.
it has the main controls available in Qt 5.7
it installs them as a separate import (org.kde.plasma.controls 3.0) for
use restricted to plasmoids, is probably needed to be still installed as
a style as well
Test Plan:
tried with minimal QML files, a more comprehensive gallery may be needed.
pending considerations:
* some of the classes, like Drawer, the dialogs and ApplicationWindow *don't* make sense in plasmoids
* it will probably still need to be installed also as a qqc2 style, as this should be used in Plasma mobile
* probably only some of the controls should be installed as a separate import, the whole set as a style strictly for Plasma Mobile use. the same qml files would be used, so no maintainance overhead
Reviewers: #plasma, davidedmundson
Reviewed By: #plasma, davidedmundson
Subscribers: davidedmundson, broulik, plasma-devel, #frameworks
Tags: #plasma, #frameworks
Differential Revision: https://phabricator.kde.org/D4508
2017-03-14 10:21:26 +01:00
|
|
|
|
|
|
|
#install some of the componets as a separate import, to be used in plasmoids (some of them like ApplicationWindow are of no use for plasmoids)
|
2018-01-24 13:25:40 +01:00
|
|
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/BusyIndicator.qml
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/Button.qml
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/CheckBox.qml
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/CheckDelegate.qml
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/CheckIndicator.qml
|
Plasma controls based on QtQuickControls2
Summary:
This is a basic styling of a QtQuickControls2 series based on Plasma theme.
it has the main controls available in Qt 5.7
it installs them as a separate import (org.kde.plasma.controls 3.0) for
use restricted to plasmoids, is probably needed to be still installed as
a style as well
Test Plan:
tried with minimal QML files, a more comprehensive gallery may be needed.
pending considerations:
* some of the classes, like Drawer, the dialogs and ApplicationWindow *don't* make sense in plasmoids
* it will probably still need to be installed also as a qqc2 style, as this should be used in Plasma mobile
* probably only some of the controls should be installed as a separate import, the whole set as a style strictly for Plasma Mobile use. the same qml files would be used, so no maintainance overhead
Reviewers: #plasma, davidedmundson
Reviewed By: #plasma, davidedmundson
Subscribers: davidedmundson, broulik, plasma-devel, #frameworks
Tags: #plasma, #frameworks
Differential Revision: https://phabricator.kde.org/D4508
2017-03-14 10:21:26 +01:00
|
|
|
#combobox is not in a new window, but maybe better already than the broken qqc1 combobox?
|
2018-01-24 13:25:40 +01:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/ComboBox.qml
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/Container.qml
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/Control.qml
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/Dial.qml
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/Frame.qml
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/GroupBox.qml
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/ItemDelegate.qml
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/Label.qml
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/ProgressBar.qml
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/RadioButton.qml
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/RadioDelegate.qml
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/RadioIndicator.qml
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/RangeSlider.qml
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/ScrollBar.qml
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/Slider.qml
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/SpinBox.qml
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/Switch.qml
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/SwitchDelegate.qml
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/SwitchIndicator.qml
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/TabBar.qml
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/TabButton.qml
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/TextArea.qml
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/TextField.qml
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/ToolBar.qml
|
2018-11-14 23:41:59 +01:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/ToolButton.qml
|
2018-01-24 13:25:40 +01:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/qmldir
|
Plasma controls based on QtQuickControls2
Summary:
This is a basic styling of a QtQuickControls2 series based on Plasma theme.
it has the main controls available in Qt 5.7
it installs them as a separate import (org.kde.plasma.controls 3.0) for
use restricted to plasmoids, is probably needed to be still installed as
a style as well
Test Plan:
tried with minimal QML files, a more comprehensive gallery may be needed.
pending considerations:
* some of the classes, like Drawer, the dialogs and ApplicationWindow *don't* make sense in plasmoids
* it will probably still need to be installed also as a qqc2 style, as this should be used in Plasma mobile
* probably only some of the controls should be installed as a separate import, the whole set as a style strictly for Plasma Mobile use. the same qml files would be used, so no maintainance overhead
Reviewers: #plasma, davidedmundson
Reviewed By: #plasma, davidedmundson
Subscribers: davidedmundson, broulik, plasma-devel, #frameworks
Tags: #plasma, #frameworks
Differential Revision: https://phabricator.kde.org/D4508
2017-03-14 10:21:26 +01:00
|
|
|
|
|
|
|
DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/components.3)
|
2018-11-13 12:37:26 +01:00
|
|
|
|
|
|
|
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/plasmacomponents3/private DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/components.3)
|
|
|
|
|