summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Prabowo Kamal <erik@darapsa.co.id>2019-08-22 11:24:28 +0800
committerErik Prabowo Kamal <erik@darapsa.co.id>2019-08-22 11:24:28 +0800
commit6b0bb5ab9613c0e7d46a42edbb966ea1d34aef3b (patch)
tree34354475bcf7503149de1380a68200eb6f7ff2ae
parent1689353ec2ba4597a8aeab8408b9f3ff6d3db957 (diff)
parentd8dabb33bc0848eb2d51303ac0d970d81969d8a1 (diff)
Merge remote-tracking branch 'github/development' into development
-rw-r--r--LoginForm.ui.qml38
-rw-r--r--kelakon-logo.pngbin0 -> 9235 bytes
-rw-r--r--kelakon.qrc11
3 files changed, 23 insertions, 26 deletions
diff --git a/LoginForm.ui.qml b/LoginForm.ui.qml
index 18b652c..a85f081 100644
--- a/LoginForm.ui.qml
+++ b/LoginForm.ui.qml
@@ -10,20 +10,6 @@ Rectangle {
property alias googleButton: googleButton
property alias emailButton: emailButton
- Label {
- text: qsTr("kelakon")
- font.family: "Google Sans"
- font.pointSize: 24
- color: "#000000"
-
- verticalAlignment: Text.AlignVCenter
- horizontalAlignment: Text.AlignHCenter
- anchors.top: parent.top
- anchors.topMargin: 16
- anchors.horizontalCenterOffset: 0
- anchors.horizontalCenter: parent.horizontalCenter
- }
-
RowLayout {
x: 34
y: 419
@@ -35,7 +21,7 @@ Rectangle {
Button {
id: googleButton
- text: qsTr("Button")
+ text: qsTr("Continue with Button")
y: 419
height: 36
@@ -47,9 +33,8 @@ Rectangle {
anchors.bottom: emailButton.top
contentItem: Text {
+ text: googleButton.text
color: "#FFF"
- font: control.font
- text: "Continue with Google"
font.pointSize: 14
font.family: "Google Sans"
horizontalAlignment: Text.AlignHCenter
@@ -64,7 +49,7 @@ Rectangle {
Button {
id: emailButton
- text: qsTr("Button")
+ text: qsTr("Continue with E-Mail")
x: 41
y: 516
height: 36
@@ -76,9 +61,8 @@ Rectangle {
anchors.rightMargin: 16
contentItem: Text {
+ text: emailButton.text
color: "#6d22e9"
- font: control.font
- text: "Continue with E-Mail"
font.pointSize: 14
font.family: "Google Sans"
horizontalAlignment: Text.AlignHCenter
@@ -111,12 +95,24 @@ Rectangle {
wrapMode: Text.WordWrap
font.pixelSize: 12
}
+
+ Image {
+ id: logotext
+ x: 139
+ width: 100
+ height: 24
+ anchors.horizontalCenter: parent.horizontalCenter
+ anchors.top: parent.top
+ anchors.topMargin: 16
+ fillMode: Image.PreserveAspectFit
+ source: "kelakon-logo.png"
+ }
}
/*##^## Designer {
- D{i:1;anchors_x:124;anchors_y:158}
+ D{i:9;anchors_width:100;anchors_x:139;anchors_y:93}
}
##^##*/
diff --git a/kelakon-logo.png b/kelakon-logo.png
new file mode 100644
index 0000000..5ce2065
--- /dev/null
+++ b/kelakon-logo.png
Binary files differ
diff --git a/kelakon.qrc b/kelakon.qrc
index a2a6866..cbd3e07 100644
--- a/kelakon.qrc
+++ b/kelakon.qrc
@@ -1,7 +1,8 @@
<RCC>
- <qresource prefix="/">
- <file>main.qml</file>
- <file>Login.qml</file>
- <file>LoginForm.ui.qml</file>
- </qresource>
+ <qresource prefix="/">
+ <file>main.qml</file>
+ <file>Login.qml</file>
+ <file>LoginForm.ui.qml</file>
+ <file>kelakon-logo.png</file>
+ </qresource>
</RCC>