2019-12-19 22:46:16 +11:00
|
|
|
// SPDX-License-Identifier: LGPL-3.0-or-later
|
|
|
|
|
2019-11-08 02:23:47 +11:00
|
|
|
import QtQuick 2.12
|
|
|
|
import QtQuick.Controls 2.12
|
2020-03-28 22:18:00 +11:00
|
|
|
import "../ShortcutBundles"
|
2019-11-08 02:23:47 +11:00
|
|
|
|
|
|
|
TabBar {
|
2020-03-28 22:18:00 +11:00
|
|
|
id: tabBar
|
2020-07-12 14:25:57 +10:00
|
|
|
|
2020-08-20 00:09:37 +10:00
|
|
|
property alias shortcutsEnabled: tabShortcuts.active
|
|
|
|
|
2019-11-08 02:23:47 +11:00
|
|
|
spacing: 0
|
|
|
|
position: TabBar.Header
|
2020-03-19 18:33:46 +11:00
|
|
|
|
|
|
|
background: Item {
|
|
|
|
Rectangle {
|
|
|
|
width: parent.width
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
height: 2
|
|
|
|
color: theme.controls.tab.bottomLine
|
|
|
|
}
|
|
|
|
}
|
2020-03-28 22:18:00 +11:00
|
|
|
|
|
|
|
TabShortcuts {
|
2020-08-20 00:09:37 +10:00
|
|
|
id: tabShortcuts
|
2020-03-28 22:18:00 +11:00
|
|
|
container: tabBar
|
|
|
|
}
|
2019-11-08 02:23:47 +11:00
|
|
|
}
|