Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有谁知道是否有可能在展平 QTreeView/QTreeWidget 的同时仍然能够展开子项。
默认是什么:
- A -> A1 -> A2 - B -> B2 + C
-展开和+折叠
-
+
我想要什么:
- A A1 A2 - B B2 + C
全部崩溃
+ A + B + C
A, B, C是根项。
A, B, C
MyTree -> setIndentation (0) ;