mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
Add StartInfo useful links to projects and resources
This commit is contained in:
parent
7afc553844
commit
3bcc835c8d
@ -35,21 +35,27 @@ Rectangle {
|
|||||||
model: ListModel {
|
model: ListModel {
|
||||||
|
|
||||||
ListElement {
|
ListElement {
|
||||||
headline: "Video import & convert (all types)"
|
headline: "Home"
|
||||||
source: "qrc:/qml/Create/Wizards/ImportVideoAndConvert/CreateWallpaper.qml"
|
source: "qrc:/qml/Create/StartInfo.qml"
|
||||||
category: "Video Import"
|
category: "Home"
|
||||||
}
|
}
|
||||||
|
|
||||||
ListElement {
|
ListElement {
|
||||||
headline: "Video Import native video (.webm)"
|
headline: "Video import and convert (all types)"
|
||||||
|
source: "qrc:/qml/Create/Wizards/ImportVideoAndConvert/CreateWallpaper.qml"
|
||||||
|
category: "Import Video"
|
||||||
|
}
|
||||||
|
|
||||||
|
ListElement {
|
||||||
|
headline: "Video Import (.webm)"
|
||||||
source: "qrc:/qml/Create/Wizards/ImportWebm/ImportWebm.qml"
|
source: "qrc:/qml/Create/Wizards/ImportWebm/ImportWebm.qml"
|
||||||
category: "Video Import"
|
category: "Import Video"
|
||||||
}
|
}
|
||||||
|
|
||||||
ListElement {
|
ListElement {
|
||||||
headline: "GIF Import"
|
headline: "GIF Import"
|
||||||
source: "qrc:/qml/Create/Wizards/ImportVideoAndConvert/CreateWallpaper.qml"
|
source: "qrc:/qml/Create/Wizards/ImportVideoAndConvert/CreateWallpaper.qml"
|
||||||
category: "Video Import"
|
category: "Import Video"
|
||||||
}
|
}
|
||||||
|
|
||||||
ListElement {
|
ListElement {
|
||||||
@ -150,12 +156,11 @@ Rectangle {
|
|||||||
section.delegate: Item {
|
section.delegate: Item {
|
||||||
height: 60
|
height: 60
|
||||||
Text {
|
Text {
|
||||||
verticalAlignment: Qt.AlignVCenter
|
//verticalAlignment: Qt.AlignVCenter
|
||||||
anchors {
|
anchors {
|
||||||
top: parent.top
|
|
||||||
bottom: parent.bottom
|
bottom: parent.bottom
|
||||||
left: parent.left
|
left: parent.left
|
||||||
leftMargin: 20
|
bottomMargin: 10
|
||||||
}
|
}
|
||||||
font.pointSize: 18
|
font.pointSize: 18
|
||||||
|
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
import QtQuick 2.12
|
import QtQuick 2.12
|
||||||
import QtQuick.Controls 2.12
|
import QtQuick.Controls 2.12
|
||||||
|
import QtQuick.Layouts 1.15
|
||||||
import QtQuick.Controls.Material 2.12
|
import QtQuick.Controls.Material 2.12
|
||||||
import QtQuick.Particles 2.0
|
import QtQuick.Particles 2.0
|
||||||
import QtGraphicalEffects 1.0
|
import QtGraphicalEffects 1.0
|
||||||
import QtQuick.Controls.Material.impl 2.12
|
import QtQuick.Controls.Material.impl 2.12
|
||||||
|
|
||||||
import ScreenPlay 1.0
|
import ScreenPlay 1.0
|
||||||
import ScreenPlay.Create 1.0
|
import ScreenPlay.Create 1.0
|
||||||
import ScreenPlay.QMLUtilities 1.0
|
import ScreenPlay.QMLUtilities 1.0
|
||||||
@ -12,11 +14,11 @@ Item {
|
|||||||
id: root
|
id: root
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
id: introText
|
||||||
color: Material.primaryTextColor
|
color: Material.primaryTextColor
|
||||||
anchors {
|
anchors {
|
||||||
top: parent.top
|
top: parent.top
|
||||||
right: parent.right
|
right: parent.right
|
||||||
bottom: footer.top
|
|
||||||
left: parent.left
|
left: parent.left
|
||||||
margins: 20
|
margins: 20
|
||||||
}
|
}
|
||||||
@ -26,58 +28,235 @@ Item {
|
|||||||
Aenean massa. \n\n\nCum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. "
|
Aenean massa. \n\n\nCum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. "
|
||||||
}
|
}
|
||||||
|
|
||||||
Row {
|
GridView {
|
||||||
id: footer
|
id: gridView
|
||||||
height: 50
|
|
||||||
anchors {
|
anchors {
|
||||||
horizontalCenter: parent.horizontalCenter
|
top: introText.bottom
|
||||||
|
right: parent.right
|
||||||
|
bottom: parent.bottom
|
||||||
|
left: parent.left
|
||||||
|
margins: 20
|
||||||
|
}
|
||||||
|
clip: true
|
||||||
|
cellWidth: 186
|
||||||
|
cellHeight: 280
|
||||||
|
model: ListModel {
|
||||||
|
ListElement {
|
||||||
|
text: "Subreddit"
|
||||||
|
image: "qrc:/qml/Create/StartInfo.qml"
|
||||||
|
link: "https://www.reddit.com/r/ScreenPlayApp/"
|
||||||
|
description: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit."
|
||||||
|
category: "Community"
|
||||||
|
}
|
||||||
|
ListElement {
|
||||||
|
text: "Forums"
|
||||||
|
image: "qrc:/qml/Create/StartInfo.qml"
|
||||||
|
link: "https://forum.screen-play.app/"
|
||||||
|
description: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit."
|
||||||
|
category: "Community"
|
||||||
|
}
|
||||||
|
ListElement {
|
||||||
|
text: "QML Online Editor"
|
||||||
|
image: "qrc:/qml/Create/StartInfo.qml"
|
||||||
|
link: "https://qmlonline.kde.org/"
|
||||||
|
description: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit."
|
||||||
|
category: "Tools"
|
||||||
|
}
|
||||||
|
ListElement {
|
||||||
|
text: "Handbreak"
|
||||||
|
image: "qrc:/qml/Create/StartInfo.qml"
|
||||||
|
link: "https://handbrake.fr/"
|
||||||
|
description: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cum sociis natoque penatibus et magnis dis parturient montes,"
|
||||||
|
category: "Tools"
|
||||||
|
}
|
||||||
|
ListElement {
|
||||||
|
text: "Blender"
|
||||||
|
image: "qrc:/qml/Create/StartInfo.qml"
|
||||||
|
link: "https://www.blender.org/"
|
||||||
|
description: ""
|
||||||
|
category: "Tools"
|
||||||
|
}
|
||||||
|
ListElement {
|
||||||
|
text: "OBS Studio"
|
||||||
|
image: "qrc:/qml/Create/StartInfo.qml"
|
||||||
|
link: "https://obsproject.com/"
|
||||||
|
description: ""
|
||||||
|
category: "Tools"
|
||||||
|
}
|
||||||
|
ListElement {
|
||||||
|
text: "Krita"
|
||||||
|
image: "qrc:/qml/Create/StartInfo.qml"
|
||||||
|
link: "https://krita.org/"
|
||||||
|
description: ""
|
||||||
|
category: "Tools"
|
||||||
|
}
|
||||||
|
ListElement {
|
||||||
|
text: "Inscape"
|
||||||
|
image: "qrc:/qml/Create/StartInfo.qml"
|
||||||
|
link: "https://inkscape.org/"
|
||||||
|
description: ""
|
||||||
|
category: "Tools"
|
||||||
|
}
|
||||||
|
ListElement {
|
||||||
|
text: "Kdenlive"
|
||||||
|
image: "qrc:/qml/Create/StartInfo.qml"
|
||||||
|
link: "https://kdenlive.org/"
|
||||||
|
description: ""
|
||||||
|
category: "Tools"
|
||||||
|
}
|
||||||
|
ListElement {
|
||||||
|
text: "ShareX"
|
||||||
|
image: "qrc:/qml/Create/StartInfo.qml"
|
||||||
|
link: "https://getsharex.com/"
|
||||||
|
description: ""
|
||||||
|
category: "Tools"
|
||||||
|
}
|
||||||
|
ListElement {
|
||||||
|
text: "GitLab"
|
||||||
|
image: "qrc:/qml/Create/StartInfo.qml"
|
||||||
|
link: "https://about.gitlab.com/"
|
||||||
|
description: ""
|
||||||
|
category: "Tools"
|
||||||
|
}
|
||||||
|
ListElement {
|
||||||
|
text: "Git Extensions - Git UI for Windows"
|
||||||
|
image: "qrc:/qml/Create/StartInfo.qml"
|
||||||
|
link: "https://gitextensions.github.io/"
|
||||||
|
description: ""
|
||||||
|
category: "Tools"
|
||||||
|
}
|
||||||
|
ListElement {
|
||||||
|
text: "Visual Studio Code"
|
||||||
|
image: "qrc:/qml/Create/StartInfo.qml"
|
||||||
|
link: "https://code.visualstudio.com/"
|
||||||
|
description: ""
|
||||||
|
category: "Tools"
|
||||||
|
}
|
||||||
|
ListElement {
|
||||||
|
text: "Shadertoy"
|
||||||
|
image: "qrc:/qml/Create/StartInfo.qml"
|
||||||
|
link: "https://www.shadertoy.com/"
|
||||||
|
description: ""
|
||||||
|
category: "Resources"
|
||||||
|
}
|
||||||
|
ListElement {
|
||||||
|
text: "Flaticon"
|
||||||
|
image: "qrc:/qml/Create/StartInfo.qml"
|
||||||
|
link: "https://www.flaticon.com/"
|
||||||
|
description: ""
|
||||||
|
category: "Resources"
|
||||||
|
}
|
||||||
|
ListElement {
|
||||||
|
text: "Unsplash"
|
||||||
|
image: "qrc:/qml/Create/StartInfo.qml"
|
||||||
|
link: "https://unsplash.com/"
|
||||||
|
description: ""
|
||||||
|
category: "Resources"
|
||||||
|
}
|
||||||
|
ListElement {
|
||||||
|
text: "FreeSound"
|
||||||
|
image: "qrc:/qml/Create/StartInfo.qml"
|
||||||
|
link: "https://freesound.org/"
|
||||||
|
description: ""
|
||||||
|
category: "Resources"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
delegate: ItemDelegate {
|
||||||
|
width: gridView.cellWidth
|
||||||
|
height: gridView.cellHeight
|
||||||
|
|
||||||
|
Rectangle {
|
||||||
|
id: img
|
||||||
|
anchors.fill: parent
|
||||||
|
anchors.margins: 5
|
||||||
|
radius: 3
|
||||||
|
clip: true
|
||||||
|
layer.enabled: true
|
||||||
|
layer.effect: ElevationEffect {
|
||||||
|
elevation: 4
|
||||||
|
}
|
||||||
|
|
||||||
|
Rectangle {
|
||||||
|
color: "orange"
|
||||||
|
height: 180
|
||||||
|
radius: 3
|
||||||
|
clip: true
|
||||||
|
anchors {
|
||||||
|
top: parent.top
|
||||||
|
right: parent.right
|
||||||
|
left: parent.left
|
||||||
|
}
|
||||||
|
|
||||||
|
LinearGradient {
|
||||||
|
anchors.fill: parent
|
||||||
|
end: Qt.point(0, 0)
|
||||||
|
start: Qt.point(0, parent.height * .66)
|
||||||
|
gradient: Gradient {
|
||||||
|
GradientStop {
|
||||||
|
position: 0.0
|
||||||
|
color: "#AA000000"
|
||||||
|
}
|
||||||
|
GradientStop {
|
||||||
|
position: 1.0
|
||||||
|
color: "#00000000"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Text {
|
||||||
|
text: model.text
|
||||||
|
font.pointSize: 14
|
||||||
|
font.family: ScreenPlay.settings.font
|
||||||
|
color: "white"
|
||||||
|
anchors {
|
||||||
|
left: parent.left
|
||||||
|
right: parent.right
|
||||||
|
bottom: parent.bottom
|
||||||
|
margins: 5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Text {
|
||||||
|
text: model.category
|
||||||
|
font.pointSize: 11
|
||||||
|
font.family: ScreenPlay.settings.font
|
||||||
|
color: "white"
|
||||||
|
anchors {
|
||||||
|
left: parent.left
|
||||||
|
right: parent.right
|
||||||
|
margins: 5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Rectangle {
|
||||||
|
color: Material.backgroundDimColor
|
||||||
|
anchors {
|
||||||
|
top: img.bottom
|
||||||
|
right: parent.right
|
||||||
|
left: parent.left
|
||||||
bottom: parent.bottom
|
bottom: parent.bottom
|
||||||
}
|
}
|
||||||
|
|
||||||
spacing: 20
|
Text {
|
||||||
Button {
|
id: description
|
||||||
text: qsTr("QML Quickstart Guide")
|
text: model.description
|
||||||
Material.background: Material.Orange
|
font.pointSize: 14
|
||||||
Material.foreground: "white"
|
font.family: ScreenPlay.settings.font
|
||||||
icon.source: "qrc:/assets/icons/icon_info.svg"
|
color: Material.primaryTextColor
|
||||||
icon.color: "white"
|
anchors {
|
||||||
icon.width: 16
|
fill: parent
|
||||||
icon.height: 16
|
margins: 5
|
||||||
onClicked: Qt.openUrlExternally(
|
}
|
||||||
"http://qmlbook.github.io/ch04-qmlstart/qmlstart.html")
|
}
|
||||||
}
|
}
|
||||||
Button {
|
MouseArea {
|
||||||
text: qsTr("Documentation")
|
anchors.fill: parent
|
||||||
Material.background: Material.LightGreen
|
cursorShape: Qt.PointingHandCursor
|
||||||
Material.foreground: "white"
|
hoverEnabled: true
|
||||||
icon.source: "qrc:/assets/icons/icon_document.svg"
|
onClicked: Qt.openUrlExternally(model.link)
|
||||||
icon.color: "white"
|
}
|
||||||
icon.width: 16
|
}
|
||||||
icon.height: 16
|
|
||||||
onClicked: Qt.openUrlExternally(
|
|
||||||
"https://kelteseth.gitlab.io/ScreenPlayDocs/")
|
|
||||||
}
|
|
||||||
Button {
|
|
||||||
text: qsTr("Forums")
|
|
||||||
Material.background: Material.Blue
|
|
||||||
Material.foreground: "white"
|
|
||||||
icon.source: "qrc:/assets/icons/icon_people.svg"
|
|
||||||
icon.color: "white"
|
|
||||||
icon.width: 16
|
|
||||||
icon.height: 16
|
|
||||||
onClicked: Qt.openUrlExternally("https://forum.screen-play.app/")
|
|
||||||
}
|
|
||||||
Button {
|
|
||||||
text: qsTr("Workshop")
|
|
||||||
Material.background: Material.Red
|
|
||||||
Material.foreground: "white"
|
|
||||||
|
|
||||||
icon.source: "qrc:/assets/icons/icon_steam.svg"
|
|
||||||
icon.color: "white"
|
|
||||||
icon.width: 16
|
|
||||||
icon.height: 16
|
|
||||||
onClicked: Qt.openUrlExternally(
|
|
||||||
"steam://url/SteamWorkshopPage/672870")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user