1// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: GPL-3.0-or-later
4
5#ifndef SYMBOLMODEL_H
6#define SYMBOLMODEL_H
7
8#include <QFileSystemModel>
9
10class SymbolModel : public QFileSystemModel
11{
12 Q_OBJECT
13public:
14 explicit SymbolModel(QObject *parent = nullptr);
15
16protected:
17 virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
18 virtual int columnCount(const QModelIndex &parent = QModelIndex()) const override;
19 virtual bool hasChildren(const QModelIndex &parent = QModelIndex()) const override;
20};
21
22#endif // SYMBOLMODEL_H
23