• 2561阅读
  • 1回复

QModelIndex::QModelIndex()怎么解释? [复制链接]

上一主题 下一主题
离线ceiwei
 

只看楼主 倒序阅读 楼主  发表于: 2017-02-09

QModelIndex::QModelIndex()
Creates a new empty model index. This type of model index is used to indicate that the position in the model is invalid.
See also isValid() and QAbstractItemModel.


是创造一个空的模型索引?被用于指出模型中无效的索引在哪个位置?
离线steinlee

只看该作者 1楼 发表于: 2017-02-09
显然是个空index,不指向任何地方, 就是无效的(invalid)
Looking for remote C/C++ and Qt 兼职
快速回复
限100 字节
 
上一个 下一个