expandsOnDoubleClick : bool
This property holds whether the items can be expanded by double-clicking.
This property holds whether the user can expand and collapse items by double-clicking. The default value is true.
This property was introduced in Qt 4.4.
Access functions:
bool expandsOnDoubleClick () const
void setExpandsOnDoubleClick ( bool enable )
对于treeView加了setExpandsOnDoubleClick(true)这个属性后怎么不好用呢?
默认不是true的吗?其实照文档看 应该是不放这个属性也会好用啊
为什么双击item的时候 进入的是编辑状态?而不像文档所说的
[ 此帖被sakiola在2009-08-18 17:03重新编辑 ]