parent
b02d0d4b1c
commit
9c90f0eab5
|
@ -42,16 +42,13 @@ ColumnLayout {
|
||||||
}
|
}
|
||||||
|
|
||||||
StackLayout {
|
StackLayout {
|
||||||
Layout.fillWidth: false
|
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
implicitWidth: Math.max(mobileSync.implicitWidth, desktopSync.implicitWidth)
|
Layout.fillWidth: true
|
||||||
implicitHeight: Math.max(mobileSync.implicitHeight, desktopSync.implicitHeight)
|
Layout.preferredHeight: Math.max(mobileSync.implicitHeight, desktopSync.implicitHeight)
|
||||||
currentIndex: switchTabBar.currentIndex
|
currentIndex: switchTabBar.currentIndex
|
||||||
|
|
||||||
GetSyncCodeMobileInstructions {
|
GetSyncCodeMobileInstructions {
|
||||||
id: mobileSync
|
id: mobileSync
|
||||||
Layout.fillHeight: true
|
|
||||||
Layout.fillWidth: false
|
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
|
|
||||||
purpose: root.purpose
|
purpose: root.purpose
|
||||||
|
@ -60,8 +57,6 @@ ColumnLayout {
|
||||||
|
|
||||||
GetSyncCodeDesktopInstructions {
|
GetSyncCodeDesktopInstructions {
|
||||||
id: desktopSync
|
id: desktopSync
|
||||||
Layout.fillHeight: true
|
|
||||||
Layout.fillWidth: false
|
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
|
|
||||||
purpose: root.purpose
|
purpose: root.purpose
|
||||||
|
|
|
@ -15,7 +15,7 @@ import SortFilterProxyModel 0.2
|
||||||
Item {
|
Item {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
property alias devicesModel: sfpModel.sourceModel
|
property var devicesModel
|
||||||
property string userDisplayName
|
property string userDisplayName
|
||||||
property string userColorId
|
property string userColorId
|
||||||
property string userColorHash
|
property string userColorHash
|
||||||
|
@ -177,7 +177,7 @@ Item {
|
||||||
clip: true
|
clip: true
|
||||||
|
|
||||||
model: SortFilterProxyModel {
|
model: SortFilterProxyModel {
|
||||||
id: sfpModel
|
sourceModel: root.devicesModel
|
||||||
filters: [
|
filters: [
|
||||||
ValueFilter {
|
ValueFilter {
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
Loading…
Reference in New Issue