diff --git a/plugins/welcomepage/qml/StandardBackground.qml b/plugins/welcomepage/qml/StandardBackground.qml index fc26ccb32..c76d5de63 100644 --- a/plugins/welcomepage/qml/StandardBackground.qml +++ b/plugins/welcomepage/qml/StandardBackground.qml @@ -1,69 +1,72 @@ /* KDevelop * * Copyright 2011 Aleix Pol * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. */ import QtQuick 2.0 Rectangle { id: bg property Component tools: null property string pageIcon property real marginLeft: toolbar.x+toolbar.width property real margins: 5 + color: pal.base + + SystemPalette { id: pal } Rectangle { id: toolbar radius: 5 color: Qt.rgba(0.8, 0.8, 0.8, 0.4) anchors { top: parent.top left: parent.left margins: parent.margins } width: toolsLoader.width + 2*toolsLoader.margins height: toolsLoader.height + 2*toolsLoader.margins Loader { id: toolsLoader property int margins: 20 anchors { top: parent.top left: parent.left margins: toolsLoader.margins } sourceComponent: tools } } Image { id: theIcon anchors { bottom: parent.bottom left: parent.left margins: 5 } source: bg.pageIcon !== "" ? "image://icon/" + bg.pageIcon : "" width: 64 height: width } } diff --git a/plugins/welcomepage/qml/StandardPage.qml b/plugins/welcomepage/qml/StandardPage.qml index 4a5b581d8..f9642cb38 100644 --- a/plugins/welcomepage/qml/StandardPage.qml +++ b/plugins/welcomepage/qml/StandardPage.qml @@ -1,38 +1,38 @@ /* KDevelop * * Copyright 2011 Aleix Pol * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. */ import QtQuick 2.1 Rectangle { radius: 5 - color: Qt.rgba(0.8, 0.8, 0.8, 0.4) + color: Qt.rgba(0.8, 0.9, 0.8, 0.4) Image { anchors { bottom: parent.bottom right: parent.right margins: 5 } opacity: 0.3 width: 128 height: width source: "image://icon/kdevelop" } } diff --git a/plugins/welcomepage/qml/area_code.qml b/plugins/welcomepage/qml/area_code.qml index 5f18c4fae..686c2e380 100644 --- a/plugins/welcomepage/qml/area_code.qml +++ b/plugins/welcomepage/qml/area_code.qml @@ -1,76 +1,72 @@ /* KDevelop * * Copyright 2011 Aleix Pol * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. */ import QtQuick 2.0 import QtQuick.Layouts 1.2 StandardBackground { id: root - gradient: Gradient { - GradientStop { position: 0.0; color: "#61B056" } - GradientStop { position: 1.0; color: "#A3D69B" } - } state: "develop" tools: ColumnLayout { spacing: 10 Link { Layout.fillWidth: true iconName: "applications-development" text: i18n("Develop") onClicked: root.state = "develop" } Link { Layout.fillWidth: true iconName: "project-development" text: i18n("Projects") onClicked: root.state = "projects" visible: false //FIXME: removed until it makes sense } Link { Layout.fillWidth: true iconName: "help-contents" text: i18n("Getting Started") onClicked: root.state = "gettingstarted" } } Loader { id: codeContents anchors { fill: parent leftMargin: root.marginLeft+root.margins margins: root.margins } } states: [ State { name: "gettingstarted" PropertyChanges { target: codeContents; source: "qrc:/qml/GettingStarted.qml"} }, State { name: "develop" PropertyChanges { target: codeContents; source: "qrc:/qml/Develop.qml"} }, State { name: "projects" PropertyChanges { target: codeContents; source: "qrc:/qml/ProjectsDashboard.qml"} } ] } diff --git a/plugins/welcomepage/qml/area_debug.qml b/plugins/welcomepage/qml/area_debug.qml index 604087492..5c2b24bcb 100644 --- a/plugins/welcomepage/qml/area_debug.qml +++ b/plugins/welcomepage/qml/area_debug.qml @@ -1,72 +1,68 @@ /* KDevelop * * Copyright 2011 Aleix Pol * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. */ import QtQuick 2.0 import QtQuick.Layouts 1.1 import QtQuick.Controls 1.2 StandardBackground { id: root - gradient: Gradient { - GradientStop { position: 0.0; color: "#21257C" } - GradientStop { position: 1.0; color: "#62B6F1" } - } tools: Link { id: goCode iconName: "go-previous" text: i18n("Back to code") onClicked: kdev.setArea("code") } pageIcon: "tools-report-bug" StandardPage { id: startingPage anchors { fill: parent leftMargin: root.marginLeft+root.margins margins: root.margins } Column { anchors.margins: 30 anchors.fill: parent spacing: 30 RowLayout { Link { iconName: "configure"; text: i18n("Configure a new Launcher"); onClicked: kdev.retrieveMenuAction("run/configure_launches").trigger() } Link { iconName: "audio-input-line"; text: i18n("Attach to Process"); onClicked: kdev.retrieveMenuAction("run/debug_attach").trigger() } Link { iconName: "debug-run"; text: i18n("Debug your program"); onClicked: kdev.retrieveMenuAction("run/run_debug").trigger() } } Heading { text: i18n("Debug Area") } Label { width: parent.width text: i18n("On the Debug area you will be able to see and analyze how your program works on execution. "+ "On the Run menu you will find all the possible options.

"+ "As you can see, here you can just execute your application or debug it if you need "+ "further runtime information. You can select what is going to be run by configuring "+ "the launches and selecting the one you want to use in the Current Launch Configuration sub-menu.") wrapMode: Text.WordWrap horizontalAlignment: Text.AlignJustify } } } } diff --git a/plugins/welcomepage/qml/area_review.qml b/plugins/welcomepage/qml/area_review.qml index 50cf02189..e0933dd55 100644 --- a/plugins/welcomepage/qml/area_review.qml +++ b/plugins/welcomepage/qml/area_review.qml @@ -1,77 +1,73 @@ /* KDevelop * * Copyright 2011 Aleix Pol * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. */ import QtQuick 2.0 StandardBackground { id: root - gradient: Gradient { - GradientStop { position: 0.0; color: "#B85B5B" } - GradientStop { position: 1.0; color: "#EEBABA" } - } tools: Link { id: goCode iconName: "go-previous" text: i18n("Back to code") onClicked: kdev.setArea("code") } pageIcon: "applications-engineering" StandardPage { id: startingPage anchors { fill: parent leftMargin: root.marginLeft+root.margins margins: root.margins } Column { anchors.margins: 30 anchors.fill: parent spacing: 30 Item { tools: Flow { Link { iconName: "kompare" text: i18n("Review a Patch") onClicked: { kdev.raiseToolView("EditPatch") } } } } Heading { text: i18n("Review Area") } Label { width: parent.width text: i18n("On the Review area you will be able to find the tools you need "+ "to review changes in your projects, either the ones you made or some external patch.
Also it will help you send "+ "the changes to the community you're contributing to, either by committing the changes, sending them by e-mail or "+ "putting them on a ReviewBoard service.") wrapMode: Text.WordWrap horizontalAlignment: Text.AlignJustify } } } }