summaryrefslogtreecommitdiff
path: root/MainTabBarForm.ui.qml
blob: 1e216acc501f3aca5fa03983ceca5e7a3cfb27e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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
			source: "active-indicator.png"
		}
	}

	TabButton {
		id: rightTabButton
		x: tabBar.width * 2 / 3

		Image {
			anchors.centerIn: parent
		}
	}
}