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
10class QTextBrowser;
11class HistoryView;
12class FileModifyView;
13class HistoryLogWidget : public QSplitter
14{
15 Q_OBJECT
16public:
17 explicit HistoryLogWidget(QWidget *parent = nullptr);
18 QTextBrowser *descriptionBrowse();
19 HistoryView *historyView();
20 FileModifyView *fileChangedView();
21
22private:
23 QTextBrowser *descBrowse{nullptr};
24 HistoryView *hisView{nullptr};
25 FileModifyView *changedView{nullptr};
26};
27
28#endif // HISTORYLOGWIDGET_H
29