1 | // SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. |
2 | // |
3 | // SPDX-License-Identifier: GPL-3.0-or-later |
4 | |
5 | #ifndef FILESOURCEVIEW_H |
6 | #define FILESOURCEVIEW_H |
7 | |
8 | #include "basetype.h" |
9 | |
10 | #include <QTreeView> |
11 | |
12 | class QVBoxLayout; |
13 | class FileSourceViewPrivate; |
14 | class FileSourceView : public QTreeView |
15 | { |
16 | Q_OBJECT |
17 | FileSourceViewPrivate *const d; |
18 | public: |
19 | explicit FileSourceView(QWidget *parent = nullptr); |
20 | void setRootPath(const QString &filePath); |
21 | }; |
22 | |
23 | #endif // FILESOURCEVIEW_H |
24 | |