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 text: control.text
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
padding: 6
color: control.hovered ? Styling.theme.primarycontent : Styling.theme.basecontent color: control.hovered ? Styling.theme.primarycontent : Styling.theme.basecontent
Behavior on color { Behavior on color {
ColorAnimation { ColorAnimation {

View file

@ -1,42 +1,29 @@
import qs.components import qs.components
import qs.config import qs.config
import QtQuick import QtQuick
import QtQuick.Controls
import QtQuick.Layouts import QtQuick.Layouts
ColumnLayout { GridLayout {
flow: GridLayout.TopToBottom
spacing: Styling.layout.spacing.xl columns: 2
rows: 10
ColumnLayout {
StyledText {
text: "Button"
font.pixelSize: 18
}
StyledPane {
StyledButton {
text: "Button"
}
}
}
ColumnLayout { ColumnLayout {
StyledText { StyledText {
text: "Icon Button" text: "Icon Button"
font.pixelSize: 18 font.pixelSize: 18
} }
StyledPane {
StyledIconButton { StyledIconButton {
text: Styling.lucide.icons.square text: Styling.lucide.icons.square
} }
} }
}
ColumnLayout { ColumnLayout {
StyledText { StyledText {
text: "Slider" text: "Slider"
font.pixelSize: 18 font.pixelSize: 18
} }
StyledPane {
StyledSlider { StyledSlider {
id: slider id: slider
from: 0 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 id: layout
anchors.fill: parent anchors.fill: parent
spacing: 0
StyledTabBar { StyledTabBar {
id: tabs id: tabs
anchors.top: parent.top Layout.fillWidth: true
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: stack.top
StyledTabButton { StyledTabButton {
text: "Fields" text: "Fields"
} }
@ -50,26 +48,20 @@ StyledPanelWindow {
} }
StackLayout { StackLayout {
id: stack
anchors.top: tabs.bottom
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: parent.bottom
currentIndex: tabs.currentIndex currentIndex: tabs.currentIndex
ScrollView { ScrollView {
Layout.fillWidth: true Layout.maximumHeight: 400
padding: 36 padding: 36
Fields {} Fields {}
} }
ScrollView { ScrollView {
Layout.maximumHeight: 400
padding: 36 padding: 36
Selectors {} Selectors {}
} }
ScrollView { ScrollView {
Layout.fillWidth: true Layout.maximumHeight: 400
padding: 36 padding: 36
Components {} Components {}
} }