1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-15 06:52:34 +02:00

Rename feedback to Community

This commit is contained in:
kelteseth 2017-11-02 18:44:17 +01:00
parent 8c0cc1664c
commit 4e1e0bb936
6 changed files with 67 additions and 33 deletions

View File

@ -58,5 +58,9 @@
<file>assets/icons/icon_hand_right.svg</file>
<file>assets/images/hand_give.png</file>
<file>qml/Components/WorkshopItem.qml</file>
<file>qml/Components/WorkshopBanner.qml</file>
<file>qml/Components/CreateUpload.qml</file>
<file>qml/Components/Community.qml</file>
<file>assets/icons/icon_community.svg</file>
</qresource>
</RCC>

View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" viewBox="0 0 60 60" style="enable-background:new 0 0 60 60;" xml:space="preserve" width="512px" height="512px">
<path d="M6,2h48c3.252,0,6,2.748,6,6v33c0,3.252-2.748,6-6,6H25.442L15.74,57.673C15.546,57.885,15.276,58,15,58 c-0.121,0-0.243-0.022-0.361-0.067C14.254,57.784,14,57.413,14,57V47H6c-3.252,0-6-2.748-6-6L0,8C0,4.748,2.748,2,6,2z" fill="#bebebe"/>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 861 B

View File

@ -0,0 +1,13 @@
import QtQuick 2.7
Item {
anchors.fill: parent
Feedback {
width: parent.width * .35
height: parent.height
anchors.left: parent.left
}
}

View File

@ -0,0 +1,5 @@
import QtQuick 2.0
Item {
}

View File

@ -34,31 +34,31 @@ Rectangle {
navWorkshop.state = "active"
navInstalled.state = "inactive"
navSettings.state = "inactive"
navFeedback.state = "inactive"
navCommunity.state = "inactive"
navCreate.state = "inactive"
} else if (name === "Installed") {
navWorkshop.state = "inactive"
navInstalled.state = "active"
navSettings.state = "inactive"
navFeedback.state = "inactive"
navCommunity.state = "inactive"
navCreate.state = "inactive"
} else if (name === "Settings") {
navWorkshop.state = "inactive"
navInstalled.state = "inactive"
navSettings.state = "active"
navFeedback.state = "inactive"
navCommunity.state = "inactive"
navCreate.state = "inactive"
} else if (name === "Create") {
navWorkshop.state = "inactive"
navInstalled.state = "inactive"
navSettings.state = "inactive"
navCreate.state = "active"
navFeedback.state = "inactive"
} else if (name === "Feedback") {
navCommunity.state = "inactive"
} else if (name === "Community") {
navWorkshop.state = "inactive"
navInstalled.state = "inactive"
navSettings.state = "inactive"
navFeedback.state = "active"
navCommunity.state = "active"
navCreate.state = "inactive"
}
}
@ -102,10 +102,10 @@ Rectangle {
onPageClicked: navigation.onPageChanged(name)
}
NavigationItem {
id: navFeedback
id: navCommunity
state: "inactive"
name: "Feedback"
iconSource: "qrc:/assets/icons/icon_stomt.svg"
name: "Community"
iconSource: "qrc:/assets/icons/icon_community.svg"
onPageClicked: navigation.onPageChanged(name)
}
}

View File

@ -49,30 +49,6 @@ ApplicationWindow {
bottom: parent.bottom
left: parent.left
}
onStateChanged: {
if (pageLoader.state === Loader.Loading) {
loaderText.visible = true
} else if (pageLoader.state === Loader.Ready) {
loaderText.visible = false
}
}
Text {
id: loaderText
visible: true
text: qsTr("Loading...")
anchors.centerIn: parent
font.pixelSize: 32
font.family: font_LibreBaskerville_Italic.name
font.pointSize: 32
font.italic: true
color: "#818181"
FontLoader {
id: font_LibreBaskerville_Italic
source: "qrc:/assets/fonts/LibreBaskerville-Italic.ttf"
}
}
Connections {
target: pageLoader.item