Change some property types
This commit is contained in:
parent
34d68af51f
commit
708488545e
|
@ -7,7 +7,7 @@ SortFilterProxyModel {
|
||||||
|
|
||||||
id: sortFilteredModel
|
id: sortFilteredModel
|
||||||
|
|
||||||
property var model: ListModel {}
|
property ListModel model: ListModel {}
|
||||||
sourceModel: model // Can't assign a "ListModel {}" directly here
|
sourceModel: model // Can't assign a "ListModel {}" directly here
|
||||||
|
|
||||||
function append(dict) { return model.append(dict) }
|
function append(dict) { return model.append(dict) }
|
||||||
|
|
|
@ -4,7 +4,7 @@ import "../Base"
|
||||||
import "../utils.js" as Utils
|
import "../utils.js" as Utils
|
||||||
|
|
||||||
HRectangle {
|
HRectangle {
|
||||||
property var displayName: ""
|
property string displayName: ""
|
||||||
property string topic: ""
|
property string topic: ""
|
||||||
|
|
||||||
property alias buttonsImplicitWidth: viewButtons.implicitWidth
|
property alias buttonsImplicitWidth: viewButtons.implicitWidth
|
||||||
|
|
Loading…
Reference in New Issue
Block a user