Not able to see plus sign even if I pass true from hasChildren function in Qt

情到浓时终转凉″ 提交于 2019-12-11 18:24:10

问题


I am implementing tree view, I have sub classed my model and view. initially I am populating all the top level items and I don't know how many child's are there for each top level items but I know all the top level items has a child's, so I have re-implemented hasChildren() function and pass true for all the top level items, but I am not able to see + sign for the top level items even i pass true. Please let me know the problem

Thanks in advance.

来源:https://stackoverflow.com/questions/29817018/not-able-to-see-plus-sign-even-if-i-pass-true-from-haschildren-function-in-qt

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!