1// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: GPL-3.0-or-later
4
5#ifndef HISTORYDISPLAYWIDGET_H
6#define HISTORYDISPLAYWIDGET_H
7
8#include <QSplitter>
9
10class HistoryLogWidget;
11class HistoryDiffWidget;
12class HistoryDisplayWidget : public QSplitter
13{
14 Q_OBJECT
15public:
16 explicit HistoryDisplayWidget(QWidget *parent = nullptr);
17 HistoryLogWidget *logWidget();
18 HistoryDiffWidget *diffWidget();
19
20private:
21 HistoryLogWidget *hisLogWidget{nullptr};
22 HistoryDiffWidget *hisDiffWidget{nullptr};
23};
24
25#endif // HISTORYDISPLAYWIDGET_H
26