|
|
|
|
@ -40,7 +40,6 @@ ItemPage {
|
|
|
|
|
ColumnLayout {
|
|
|
|
|
id: layout
|
|
|
|
|
anchors.fill: parent
|
|
|
|
|
anchors.topMargin: FishUI.Units.smallSpacing
|
|
|
|
|
spacing: FishUI.Units.largeSpacing
|
|
|
|
|
|
|
|
|
|
RoundedItem {
|
|
|
|
|
@ -55,11 +54,6 @@ ItemPage {
|
|
|
|
|
TabBar {
|
|
|
|
|
Layout.fillWidth: true
|
|
|
|
|
|
|
|
|
|
background: Rectangle {
|
|
|
|
|
color: FishUI.Theme.darkMode ? "#4A4A4D" : "#E5E5EB"
|
|
|
|
|
radius: FishUI.Theme.mediumRadius
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
onCurrentIndexChanged: {
|
|
|
|
|
background.backgroundType = currentIndex
|
|
|
|
|
}
|
|
|
|
|
@ -77,13 +71,6 @@ ItemPage {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// DesktopPreview {
|
|
|
|
|
// Layout.alignment: Qt.AlignHCenter
|
|
|
|
|
// width: 500
|
|
|
|
|
// height: 300
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
GridView {
|
|
|
|
|
id: _view
|
|
|
|
|
@ -217,6 +204,11 @@ ItemPage {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Item {
|
|
|
|
|
visible: background.backgroundType === 1
|
|
|
|
|
height: FishUI.Units.smallSpacing
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Loader {
|
|
|
|
|
Layout.fillWidth: true
|
|
|
|
|
height: item.height
|
|
|
|
|
@ -224,6 +216,17 @@ ItemPage {
|
|
|
|
|
sourceComponent: colorView
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// DesktopPreview {
|
|
|
|
|
// Layout.alignment: Qt.AlignHCenter
|
|
|
|
|
// width: 500
|
|
|
|
|
// height: 300
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
Item {
|
|
|
|
|
height: FishUI.Units.largeSpacing
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Component {
|
|
|
|
|
@ -232,7 +235,10 @@ ItemPage {
|
|
|
|
|
GridView {
|
|
|
|
|
id: _colorView
|
|
|
|
|
Layout.fillWidth: true
|
|
|
|
|
height: _colorView.count * cellHeight
|
|
|
|
|
|
|
|
|
|
property int rowCount: _colorView.width / cellWidth
|
|
|
|
|
|
|
|
|
|
implicitHeight: Math.ceil(_colorView.count / _colorView.rowCount) * cellHeight + FishUI.Units.largeSpacing
|
|
|
|
|
|
|
|
|
|
cellWidth: 50
|
|
|
|
|
cellHeight: 50
|
|
|
|
|
|