3 Star 0 Fork 0

CyberInnova/SmartVendingMachinesUserInterface

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
ShowGoods.hpp 822 Bytes
一键复制 编辑 原始数据 按行查看 历史
David Hu 提交于 2023-06-25 11:33 . first commit
#ifndef SHOWGOODS_HPP
#define SHOWGOODS_HPP
#include <QAbstractItemModel>
class ShowGoods : public QAbstractItemModel
{
Q_OBJECT
public:
explicit ShowGoods(QObject *parent = nullptr);
// Header:
QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override;
// Basic functionality:
QModelIndex index(int row, int column,
const QModelIndex &parent = QModelIndex()) const override;
QModelIndex parent(const QModelIndex &index) const override;
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
int columnCount(const QModelIndex &parent = QModelIndex()) const override;
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
private:
};
#endif // SHOWGOODS_HPP
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/CyberInnova/SmartVendingMachinesUserInterface.git
[email protected]:CyberInnova/SmartVendingMachinesUserInterface.git
CyberInnova
SmartVendingMachinesUserInterface
SmartVendingMachinesUserInterface
master

搜索帮助