d449f0e903
This commit adds two new components to the StatusQ.Controls module: - StatusSwitchTabBar - StatusSwitchTabButton Usage: ```qml StatusSwitchTabBar { StatusSwitchTabButton { text: "Tab 1" } StatusSwitchTabButton { text: "Tab 2" } StatusSwitchTabButton { text: "Tab 3" } } ``` Closes #365
25 lines
417 B
QML
25 lines
417 B
QML
import QtQuick 2.14
|
|
import QtQuick.Layouts 1.14
|
|
import QtQuick.Controls 2.13
|
|
|
|
import StatusQ.Controls 0.1
|
|
|
|
GridLayout {
|
|
columns: 1
|
|
columnSpacing: 5
|
|
rowSpacing: 5
|
|
|
|
StatusSwitchTabBar {
|
|
StatusSwitchTabButton {
|
|
text: "Swap"
|
|
}
|
|
StatusSwitchTabButton {
|
|
text: "Swap & Send"
|
|
}
|
|
StatusSwitchTabButton {
|
|
text: "Send"
|
|
}
|
|
}
|
|
}
|
|
|