make storybook a tabbed window

This commit is contained in:
Benjamin Palko 2025-09-07 23:12:11 -04:00
parent 8aced615ce
commit 7cffff00be
6 changed files with 246 additions and 196 deletions

View file

@ -0,0 +1,11 @@
import qs.config
import QtQuick
import QtQuick.Controls.Basic
TabBar {
id: control
background: Rectangle {
color: Styling.theme.base100
}
}

View file

@ -0,0 +1,24 @@
import qs.config
import QtQuick
import QtQuick.Controls.Basic
TextArea {
id: control
font.pixelSize: Styling.typography.textSize.base
background: Rectangle {
id: rectangle
color: control.hovered ? Styling.theme.primary : Styling.theme.base200
Behavior on color {
ColorAnimation {
duration: Styling.animations.speed.normal
}
}
radius: Styling.theme.radiusField
}
HoverHandler {
cursorShape: Qt.PointingHandCursor
}
}