Qt入门教程【数据模型篇】 QStringListModel字符串的模型

QStringListModel Class

类提供一个向视图提供字符串的模型。

公共功能

QStringListModel(const QStringList &strings, QObject *parent = nullptr)
QStringListModel(QObject *parent = nullptr)
无效 setStringList(const QStringList &strings))
QStringList stringList() const

重新实现的公共功能

猜你喜欢

转载自blog.csdn.net/hiwoshixiaoyu/article/details/125158202
今日推荐