Compare commits

..

No commits in common. "a10c2f02540b6ffa30cb0dfcab0084c9424bafde" and "32167ef44ec8d7b3efaa424f34157b78a85793ac" have entirely different histories.

4 changed files with 19 additions and 66 deletions

View file

@ -1,19 +0,0 @@
import qs.config
import QtQuick
import QtQuick.Controls
Pane {
padding: 24
background: Rectangle {
color: "transparent"
border.width: Styling.theme.border
border.color: Styling.theme.basecontent
opacity: 0.33
Behavior on border.color {
ColorAnimation {
duration: Styling.animations.speed.fast
}
}
radius: Styling.theme.radiusBox
}
}

View file

@ -12,7 +12,6 @@ TabButton {
text: control.text
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
padding: 6
color: control.hovered ? Styling.theme.primarycontent : Styling.theme.basecontent
Behavior on color {
ColorAnimation {

View file

@ -1,42 +1,29 @@
import qs.components
import qs.config
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
ColumnLayout {
spacing: Styling.layout.spacing.xl
ColumnLayout {
StyledText {
text: "Button"
font.pixelSize: 18
}
StyledPane {
StyledButton {
text: "Button"
}
}
}
GridLayout {
flow: GridLayout.TopToBottom
columns: 2
rows: 10
ColumnLayout {
StyledText {
text: "Icon Button"
font.pixelSize: 18
}
StyledPane {
StyledIconButton {
text: Styling.lucide.icons.square
}
}
}
ColumnLayout {
StyledText {
text: "Slider"
font.pixelSize: 18
}
StyledPane {
StyledSlider {
id: slider
from: 0
@ -45,9 +32,3 @@ ColumnLayout {
}
}
}
component FieldElement: QtObject {
property string title
property Component component
}
}

View file

@ -27,17 +27,15 @@ StyledPanelWindow {
}
}
Item {
ColumnLayout {
id: layout
anchors.fill: parent
spacing: 0
StyledTabBar {
id: tabs
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: stack.top
Layout.fillWidth: true
StyledTabButton {
text: "Fields"
}
@ -50,26 +48,20 @@ StyledPanelWindow {
}
StackLayout {
id: stack
anchors.top: tabs.bottom
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: parent.bottom
currentIndex: tabs.currentIndex
ScrollView {
Layout.fillWidth: true
Layout.maximumHeight: 400
padding: 36
Fields {}
}
ScrollView {
Layout.maximumHeight: 400
padding: 36
Selectors {}
}
ScrollView {
Layout.fillWidth: true
Layout.maximumHeight: 400
padding: 36
Components {}
}