summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-23 07:35:31 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-23 07:35:31 +0800
commitf8900d0a4d0e04ef1ed8d5310ac1e02f455b27f6 (patch)
tree062b6dddab011fef8ad16b2198e74750a23fa4ed
parent2a18a9d091d7c3c13ebc9cf1c06748bf66f5d9a6 (diff)
For manually adding transaction entries
-rw-r--r--TransactionForm.ui.qml59
1 files changed, 50 insertions, 9 deletions
diff --git a/TransactionForm.ui.qml b/TransactionForm.ui.qml
index 763a247..3e31ca2 100644
--- a/TransactionForm.ui.qml
+++ b/TransactionForm.ui.qml
@@ -1,16 +1,57 @@
import QtQuick 2.15
import QtQuick.Controls 2.15
-import QtQuick.Layouts 1.15
+import QtQuick.Controls.Material 2.15
-ColumnLayout {
- TextField {
- }
- TextField {
- }
- TextField {
+Rectangle {
+ color: "#121212"
+ border.color: "#00000000"
+
+ TextInput {
+ id: addCustomer
+ height: 56
+ color: "#deffffff"
+ text: "Add Customer"
+ anchors.left: parent.left
+ anchors.right: parent.right
+ anchors.top: parent.top
+ font.pixelSize: 20
+ verticalAlignment: Text.AlignVCenter
+ font.family: "Roboto Mono"
+ selectionColor: "#ffffff"
+ anchors.rightMargin: 16
+ anchors.leftMargin: 16
+ anchors.topMargin: 16
}
- TextField {
+
+ TextInput {
+ id: addProduct
+ height: 56
+ color: "#deffffff"
+ text: "Add Product"
+ anchors.left: parent.left
+ anchors.right: parent.right
+ anchors.top: addCustomer.bottom
+ font.pixelSize: 20
+ verticalAlignment: Text.AlignVCenter
+ selectionColor: "#ffffff"
+ anchors.rightMargin: 16
+ anchors.leftMargin: 16
+ font.family: "Roboto Mono"
+ anchors.topMargin: 16
}
- TextField {
+
+ Button {
+ id: submit
+ text: "Tagih"
+ anchors.left: parent.left
+ anchors.right: parent.right
+ anchors.bottom: parent.bottom
+ font.capitalization: Font.MixedCase
+ font.family: "Roboto Mono"
+ anchors.rightMargin: 16
+ anchors.leftMargin: 16
+ anchors.bottomMargin: 16
+ highlighted: true
+ Material.accent: Material.Grey
}
}