问题标签 [qstandarditem]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
61 问题
0
投票
1
回答
75
浏览
python - 将行添加到父节点后,修改父节点以显示下面的子节点数
我正在遍历我的数据,使用 addrow 到根节点或将其作为父节点(等等)。现在对于父级,如何修改父级中的第二个单元格以显示当前子级的数量,然后在添加更多子级时更新该单元格?