| 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 | |
| 10 | class HistoryLogWidget; |
| 11 | class HistoryDiffWidget; |
| 12 | class HistoryDisplayWidget : public QSplitter |
| 13 | { |
| 14 | Q_OBJECT |
| 15 | public: |
| 16 | explicit HistoryDisplayWidget(QWidget *parent = nullptr); |
| 17 | HistoryLogWidget *logWidget(); |
| 18 | HistoryDiffWidget *diffWidget(); |
| 19 | |
| 20 | private: |
| 21 | HistoryLogWidget *hisLogWidget{nullptr}; |
| 22 | HistoryDiffWidget *hisDiffWidget{nullptr}; |
| 23 | }; |
| 24 | |
| 25 | #endif // HISTORYDISPLAYWIDGET_H |
| 26 |