| 1 | // SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. |
| 2 | // |
| 3 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 4 | |
| 5 | #ifndef HISTORYLOGWIDGET_H |
| 6 | #define HISTORYLOGWIDGET_H |
| 7 | |
| 8 | #include <QSplitter> |
| 9 | |
| 10 | class QTextBrowser; |
| 11 | class HistoryView; |
| 12 | class FileModifyView; |
| 13 | class HistoryLogWidget : public QSplitter |
| 14 | { |
| 15 | Q_OBJECT |
| 16 | public: |
| 17 | explicit HistoryLogWidget(QWidget *parent = nullptr); |
| 18 | QTextBrowser *descriptionBrowse(); |
| 19 | HistoryView *historyView(); |
| 20 | FileModifyView *fileChangedView(); |
| 21 | |
| 22 | private: |
| 23 | QTextBrowser *descBrowse{nullptr}; |
| 24 | HistoryView *hisView{nullptr}; |
| 25 | FileModifyView *changedView{nullptr}; |
| 26 | }; |
| 27 | |
| 28 | #endif // HISTORYLOGWIDGET_H |
| 29 | |