wrap all items in pane
This commit is contained in:
parent
2b6b9aee28
commit
8104e3c099
2 changed files with 74 additions and 60 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
import qs.components
|
import qs.components
|
||||||
import qs.config
|
import qs.config
|
||||||
|
import qs.services
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Controls
|
import QtQuick.Controls
|
||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
|
|
@ -14,6 +15,7 @@ GridLayout {
|
||||||
text: "ToolTip"
|
text: "ToolTip"
|
||||||
font.pixelSize: 18
|
font.pixelSize: 18
|
||||||
}
|
}
|
||||||
|
StyledPane {
|
||||||
Button {
|
Button {
|
||||||
id: toolTipButton
|
id: toolTipButton
|
||||||
text: "Hello world!"
|
text: "Hello world!"
|
||||||
|
|
@ -23,12 +25,14 @@ GridLayout {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
StyledText {
|
StyledText {
|
||||||
text: "ProgressBar"
|
text: "ProgressBar"
|
||||||
font.pixelSize: 18
|
font.pixelSize: 18
|
||||||
}
|
}
|
||||||
|
StyledPane {
|
||||||
StyledProgressBar {
|
StyledProgressBar {
|
||||||
id: progressBar
|
id: progressBar
|
||||||
indeterminate: true
|
indeterminate: true
|
||||||
|
|
@ -38,12 +42,14 @@ GridLayout {
|
||||||
value: 50
|
value: 50
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
StyledText {
|
StyledText {
|
||||||
text: "ListView"
|
text: "ListView"
|
||||||
font.pixelSize: 18
|
font.pixelSize: 18
|
||||||
}
|
}
|
||||||
|
StyledPane {
|
||||||
StyledWrapperRectangle {
|
StyledWrapperRectangle {
|
||||||
border.color: Styling.theme.base100
|
border.color: Styling.theme.base100
|
||||||
border.width: 2
|
border.width: 2
|
||||||
|
|
@ -57,30 +63,36 @@ GridLayout {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
StyledText {
|
StyledText {
|
||||||
text: "Mpris Player Selector"
|
text: "Mpris Player Selector"
|
||||||
font.pixelSize: 18
|
font.pixelSize: 18
|
||||||
}
|
}
|
||||||
|
StyledPane {
|
||||||
MprisPlayerSelector {}
|
MprisPlayerSelector {}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
StyledText {
|
StyledText {
|
||||||
text: "Mpris Controller"
|
text: "Mpris Controller"
|
||||||
font.pixelSize: 18
|
font.pixelSize: 18
|
||||||
}
|
}
|
||||||
|
StyledPane {
|
||||||
MprisController {
|
MprisController {
|
||||||
player: Mpris.active ?? null
|
player: Mpris.active ?? null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
StyledText {
|
StyledText {
|
||||||
text: "Drawer"
|
text: "Drawer"
|
||||||
font.pixelSize: 18
|
font.pixelSize: 18
|
||||||
}
|
}
|
||||||
|
StyledPane {
|
||||||
RowLayout {
|
RowLayout {
|
||||||
Button {
|
Button {
|
||||||
text: "Top"
|
text: "Top"
|
||||||
|
|
@ -120,6 +132,7 @@ GridLayout {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
StyledDrawer {
|
StyledDrawer {
|
||||||
id: drawer
|
id: drawer
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
import qs.components
|
import qs.components
|
||||||
import qs.config
|
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
|
|
||||||
|
|
@ -14,8 +13,10 @@ GridLayout {
|
||||||
font.pixelSize: 18
|
font.pixelSize: 18
|
||||||
}
|
}
|
||||||
|
|
||||||
|
StyledPane {
|
||||||
StyledSwitch {
|
StyledSwitch {
|
||||||
text: "Enable"
|
text: "Enable"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue