-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
1,060 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
import QtQuick 2.0 | ||
import QtQuick.Controls 2.2 | ||
import QtQuick.Layouts 1.3 | ||
import QtGraphicalEffects 1.0 | ||
|
||
import "../Views" | ||
import "../Components" | ||
import "../Popups" | ||
|
||
import com.xsn.viewmodels 1.0 | ||
import com.xsn.models 1.0 | ||
|
||
Page { | ||
id: root | ||
background: Rectangle { | ||
color: "transparent" | ||
} | ||
|
||
ColumnLayout { | ||
anchors.fill: parent | ||
|
||
anchors.leftMargin: 30 | ||
anchors.rightMargin: 30 | ||
anchors.bottomMargin: 30 | ||
spacing: 35 | ||
|
||
Item { | ||
Layout.fillWidth: true | ||
Layout.preferredHeight: 45 | ||
|
||
LinearGradient { | ||
id: background | ||
anchors.fill: parent | ||
start: Qt.point(0, 0) | ||
end: Qt.point(width, 0) | ||
gradient: Gradient { | ||
GradientStop { position: 1.0; color: "transparent" } | ||
GradientStop { position: 0.0; color: "#0D1E3D"} | ||
} | ||
} | ||
|
||
SettingsHeader { | ||
id: settingsHeader | ||
} | ||
} | ||
|
||
SettingsView { | ||
Layout.fillWidth: true | ||
Layout.fillHeight: true | ||
currentIndex: settingsHeader.actualIndex | ||
|
||
Rectangle { | ||
anchors.fill: parent | ||
color: "red" | ||
} | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import QtQuick 2.0 | ||
import QtQuick.Controls 2.2 | ||
import QtQuick.Layouts 1.3 | ||
|
||
import "../Components" | ||
|
||
ColumnLayout { | ||
spacing: 40 | ||
|
||
Column { | ||
Layout.fillWidth: true | ||
Layout.preferredHeight: 50 | ||
|
||
XSNLabel { | ||
text: "Currency" | ||
font.pixelSize: 25 | ||
} | ||
|
||
XSNLabel { | ||
text: "Set your preferred local currency" | ||
font.pixelSize: 15 | ||
} | ||
|
||
ComboBox { | ||
Layout.fillWidth: true | ||
Layout.fillHeight: true | ||
model: ["Japanese", "South Korean", "United States"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
import QtQuick 2.0 | ||
import QtQuick.Layouts 1.3 | ||
import QtGraphicalEffects 1.0 | ||
|
||
import "../Components" | ||
|
||
ListView { | ||
id: listView | ||
|
||
model: ["Assets", "Localization", "Skins"] | ||
property int actualIndex: 0 | ||
|
||
anchors.leftMargin: 10 | ||
anchors.rightMargin: 10 | ||
anchors.fill: parent | ||
clip: true | ||
|
||
highlight: Item { | ||
Rectangle { | ||
id: highlightItem | ||
anchors.horizontalCenter: parent.horizontalCenter | ||
anchors.bottom: parent.bottom | ||
width: 100 | ||
height: 3 | ||
color: "grey" | ||
} | ||
} | ||
|
||
orientation: ListView.Horizontal | ||
highlightFollowsCurrentItem: true | ||
spacing: 15 | ||
|
||
delegate: Item { | ||
id: asset | ||
height: parent.height | ||
width: 110 | ||
|
||
XSNLabel { | ||
anchors.centerIn: parent | ||
id: assetsName | ||
text: modelData | ||
font.pixelSize: 15 | ||
color: asset.ListView.isCurrentItem ? "grey" : mouseArea.containsMouse ? "white" : "#6B78A6" | ||
} | ||
|
||
MouseArea { | ||
id: mouseArea | ||
anchors.fill: parent | ||
hoverEnabled: true | ||
onClicked: { | ||
listView.actualIndex = index; | ||
listView.currentIndex = index; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import QtQuick 2.0 | ||
import QtQuick.Controls 2.3 | ||
import QtQuick.Layouts 1.3 | ||
|
||
import "../Components" | ||
|
||
StackLayout { | ||
anchors.leftMargin: 10 | ||
|
||
Item { | ||
Layout.fillHeight: true | ||
Layout.fillWidth: true | ||
Layout.alignment: Qt.AlignCenter | ||
|
||
XSNLabel { | ||
anchors.centerIn: parent | ||
text: "Coming soon" | ||
color: "white" | ||
font.pixelSize: 20 | ||
} | ||
} | ||
|
||
LocalizationView { | ||
Layout.fillHeight: true | ||
Layout.fillWidth: true | ||
} | ||
|
||
Item { | ||
Layout.fillHeight: true | ||
Layout.fillWidth: true | ||
Layout.alignment: Qt.AlignCenter | ||
|
||
XSNLabel { | ||
anchors.centerIn: parent | ||
text: "Coming soon" | ||
color: "white" | ||
font.pixelSize: 20 | ||
} | ||
} | ||
} |
Oops, something went wrong.