forked from qt-creator/qt-creator
QmlDesigner: Hide QML debug output
Change-Id: Ice49d7ab5a5d90feccf52f98b1049576f96ae275 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
This commit is contained in:
committed by
Henning Gründl
parent
1824ccd380
commit
89d5795f7a
@@ -108,23 +108,22 @@ Column {
|
|||||||
model: backend.conditionListModel
|
model: backend.conditionListModel
|
||||||
|
|
||||||
onRemove: function(index) {
|
onRemove: function(index) {
|
||||||
console.log("remove", index)
|
//console.log("remove", index)
|
||||||
backend.conditionListModel.removeToken(index)
|
backend.conditionListModel.removeToken(index)
|
||||||
}
|
}
|
||||||
|
|
||||||
onUpdate: function(index, value) {
|
onUpdate: function(index, value) {
|
||||||
console.log("update", index, value)
|
//console.log("update", index, value)
|
||||||
backend.conditionListModel.updateToken(index, value)
|
backend.conditionListModel.updateToken(index, value)
|
||||||
}
|
}
|
||||||
|
|
||||||
onAdd: function(value) {
|
onAdd: function(value) {
|
||||||
console.log("add", value)
|
//console.log("add", value)
|
||||||
backend.conditionListModel.appendToken(value)
|
backend.conditionListModel.appendToken(value)
|
||||||
}
|
}
|
||||||
|
|
||||||
onInsert: function(index, value, type) {
|
onInsert: function(index, value, type) {
|
||||||
console.log("insert", index, value, type)
|
//console.log("insert", index, value, type)
|
||||||
|
|
||||||
if (type === ConditionListModel.Intermediate)
|
if (type === ConditionListModel.Intermediate)
|
||||||
backend.conditionListModel.insertIntermediateToken(index, value)
|
backend.conditionListModel.insertIntermediateToken(index, value)
|
||||||
else if (type === ConditionListModel.Shadow)
|
else if (type === ConditionListModel.Shadow)
|
||||||
@@ -134,8 +133,7 @@ Column {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onSetValue: function(index, value) {
|
onSetValue: function(index, value) {
|
||||||
console.log("setValue", index, value)
|
//console.log("setValue", index, value)
|
||||||
|
|
||||||
backend.conditionListModel.setShadowToken(index, value)
|
backend.conditionListModel.setShadowToken(index, value)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user