Commit 1cf6d087 authored by fabian's avatar fabian
Browse files

dev

parent efea7ee4
project(org.chakra.welcome-chakra)
cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 3.0.0)
find_package(ECM REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
include(KDEInstallDirs)
include(KDEFrameworkCompilerSettings)
include(KDECMakeSettings)
include(ECMSetupVersion)
find_package(KF5Plasma)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake/modules)
find_package(MSGFMT REQUIRED)
add_subdirectory(package/po)
add_subdirectory(plasmoid/po)
add_definitions (${QT_DEFINITIONS})
include_directories(
......@@ -16,7 +23,9 @@ include_directories(
${CMAKE_BINARY_DIR}
)
install(DIRECTORY package/ DESTINATION ${DATA_INSTALL_DIR}/plasma/plasmoids/org.chakra.welcome-chakra PATTERN .svn EXCLUDE)
#install(DIRECTORY package/ DESTINATION ${DATA_INSTALL_DIR}/plasma/plasmoids/org.chakra.welcome-chakra PATTERN .svn EXCLUDE)
#install(FILES plasma-applet-welcome-chakra-qml.desktop
# DESTINATION ${KSERVICES5DIR})
install(FILES plasma-applet-welcome-chakra-qml.desktop
DESTINATION ${SERVICES_INSTALL_DIR})
plasma_install_package(welcome org.chakra.welcome-chakra plasma/plasmoid applet)
[Desktop Entry]
Encoding=UTF-8
Name=Welcome to Chakra
Name[ca]=Benvingut a Chakra
Name[it]=Benvenuti in Chakra
Name[de]=Willkommen bei Chakra
Name[fr]=Bienvenue chez Chakra
Type=Service
ServiceTypes=Plasma/Applet
Icon=chakra-shield
X-Plasma-API=declarativeappletscript
X-Plasma-MainScript=ui/main.qml
X-Plasma-DefaultSize=480,420
X-Plasma-OptionalExtensions=LaunchApp
X-KDE-PluginInfo-Author=Johannes Tröscher
X-KDE-PluginInfo-Email=fritz_van_tom@hotmail.com
X-KDE-PluginInfo-Name=org.chakra.welcome-chakra
X-KDE-PluginInfo-Version=1.1
X-KDE-PluginInfo-Website=http://chakraos.org/
X-KDE-PluginInfo-Category=Chakra
X-KDE-PluginInfo-Depends=
X-KDE-PluginInfo-License=GPL
X-KDE-PluginInfo-EnabledByDefault=true
import QtQuick 1.1
import org.kde.qtextracomponents 0.1
import org.kde.plasma.core 0.1 as PlasmaCore
import org.kde.plasma.components 0.1 as PlasmaComponents
import org.kde.plasma.extras 0.1 as PlasmaExtras
import QtQuick 2.1
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.kquickcontrolsaddons 2.0 as QtExtra
Item {
id: infoDelegate
......@@ -46,7 +46,7 @@ Item {
bottomMargin: padding.margins.bottom
}
QIconItem {
QtExtra.QIconItem {
id: iconItem
icon: storyIcon
visible: storyIcon !== undefined && storyIcon !== ""
......
import QtQuick 1.1
import QtQuick 2.1
ListModel {
id: infoModel
......
// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import QtQuick 1.1
import org.kde.qtextracomponents 0.1
import org.kde.plasma.components 0.1 as PlasmaComponents
import org.kde.plasma.extras 0.1 as PlasmaExtras
import QtQuick 2.1
import org.kde.kquickcontrolsaddons 2.0
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
PlasmaComponents.Page {
id: infoPage
......
......@@ -18,8 +18,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import QtQuick 1.1
import org.kde.plasma.components 0.1 as PlasmaComponents
import QtQuick 2.1
import org.kde.plasma.components 2.0 as PlasmaComponents
PlasmaComponents.PageStack {
property alias model: browse.model
......
import QtQuick 1.1
import QtQuick 2.1
import QtQuick.XmlListModel 2.0
XmlListModel {
id: model
......
// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import QtQuick 1.1
import org.kde.plasma.components 0.1 as PlasmaComponents
import QtQuick 2.1
import org.kde.plasma.components 2.0 as PlasmaComponents
PlasmaComponents.Page {
id: storySelector
......
......@@ -19,21 +19,20 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import QtQuick 1.1
import org.kde.qtextracomponents 0.1
import org.kde.plasma.core 0.1 as PlasmaCore
import org.kde.plasma.graphicswidgets 0.1 as PlasmaWidgets
import org.kde.plasma.components 0.1 as PlasmaComponents
import org.kde.plasma.extras 0.1 as PlasmaExtras
import QtQuick 2.1
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.core 2.0 as PlasmaCore
//import org.kde.plasma.graphicswidgets 2.0 as PlasmaWidgets
import org.kde.plasma.extras 2.0 as PlasmaExtras
Item {
property int minimumWidth: 540
property int minimumHeight: 480
PlasmaCore.Theme {
/*PlasmaCore.Theme {
id: theme
}
}*/
InfoModel { id: infoModel }
......@@ -115,8 +114,12 @@ Item {
spacing: 3
anchors { horizontalCenter: parent.horizontalCenter; bottom: parent.bottom }
Rectangle {
height: 48
}
PlasmaWidgets.IconWidget {
/*PlasmaWidgets.IconWidget {
id: install
size: "48x48"
......@@ -168,7 +171,7 @@ Item {
text: i18n("Installed Packages")
Component.onCompleted: setIcon("preflight-verifier")
onClicked: plasmoid.openUrl("~/Desktop/Installed Packages.desktop")
}
}*/
}
}
}
......@@ -9,15 +9,21 @@ Type=Service
ServiceTypes=Plasma/Applet
Icon=chakra-shield
X-Plasma-API=declarativeappletscript
X-Plasma-MainScript=ui/main.qml
X-Plasma-DefaultSize=480,420
X-KDE-PluginInfo-Author=Johannes Tröscher
X-KDE-PluginInfo-Email=fritz_van_tom@hotmail.com
X-KDE-PluginInfo-Name=org.chakra.welcome-chakra
X-KDE-PluginInfo-Version=1.1
X-KDE-PluginInfo-Website=http://chakraos.org/
X-KDE-PluginInfo-Category=Chakra
X-KDE-PluginInfo-Depends=
X-KDE-PluginInfo-License=GPL
X-KDE-PluginInfo-EnabledByDefault=true
X-KDE-PluginInfo-Name=org.chakra.welcome
X-KDE-PluginInfo-Version=2.0
X-KDE-PluginInfo-Website=www.chakraos.org
X-KDE-ServiceTypes=Plasma/Applet
X-Plasma-API=declarativeappletscript
X-Plasma-DefaultSize=480,420
X-Plasma-OptionalExtensions=LaunchApp
X-Plasma-MainScript=ui/main.qml
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment