无法进一步使用已定义的对象?

时间:2013-11-12 20:34:52

标签: qt qml

为什么我不能进一步使用Checkbox的id名称?我错过了什么...... thx

“无法分配给不存在的属性”myCheckbox“”

               CheckBox {
                    id:myCheckbox
                    width: 50
                    height: 50
                    backingVisible: false
                    checkable: true



                    onClicked: {
                        table.sw[rowIndex][index + table.bs] = myCheckbox.checked;
                    }
                }

                myCheckbox.checked: { //ERROR : why can't I use myCheckbox here?
                    false;//reset the recently checked
                }

0 个答案:

没有答案
相关问题