summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-02-02 12:57:12 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-02-02 12:57:12 +0800
commit8a9b4521d3e1b68d35ab6221f6317329be7e8122 (patch)
treefa23502f3cedfa77ac5bd6bd01b1cc243d073af4
parentd54573a2b0cb89acad2176cbe6534172acd9deba (diff)
Main tab form
-rw-r--r--MainTabBarForm.ui.qml37
-rw-r--r--kelakon.qrc1
2 files changed, 38 insertions, 0 deletions
diff --git a/MainTabBarForm.ui.qml b/MainTabBarForm.ui.qml
new file mode 100644
index 0000000..f043ba6
--- /dev/null
+++ b/MainTabBarForm.ui.qml
@@ -0,0 +1,37 @@
+import QtQuick 2.15
+import QtQuick.Controls 2.15
+
+TabBar {
+ property alias leftTabButton: leftTabButton
+ property alias middleTabButton: middleTabButton
+ property alias rightTabButton: rightTabButton
+
+ id: tabBar
+ width: 360
+
+ TabButton {
+ id: leftTabButton
+
+ Image {
+ anchors.centerIn: parent
+ }
+ }
+
+ TabButton {
+ id: middleTabButton
+ x: tabBar.width / 3
+
+ Image {
+ anchors.centerIn: parent
+ }
+ }
+
+ TabButton {
+ id: rightTabButton
+ x: tabBar.width * 2 / 3
+
+ Image {
+ anchors.centerIn: parent
+ }
+ }
+}
diff --git a/kelakon.qrc b/kelakon.qrc
index de92f96..55ba0c8 100644
--- a/kelakon.qrc
+++ b/kelakon.qrc
@@ -14,5 +14,6 @@
<file>qtquickcontrols2.conf</file>
<file>kelakon-logo.png</file>
<file>onboarding-1.png</file>
+ <file>MainTabBarForm.ui.qml</file>
</qresource>
</RCC>