如何获得QtreeWidget’s column names¶
Here is an example you can run using the
itemviews example. The QTreeWidget is in the lower rightmost section. To adapt this script for your own application, use the “picker”EyeDropper找出物体’s symbolic name in your application and replace the
name with it in your own script.