| 1 | // SPDX-FileCopyrightText: 2019 - 2022 UnionTech Software Technology Co., Ltd. |
| 2 | // |
| 3 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 4 | |
| 5 | #include "logtableview.h" |
| 6 | #include <QDebug> |
| 7 | |
| 8 | DWIDGET_USE_NAMESPACE |
| 9 | |
| 10 | LogTableView::LogTableView(QWidget *parent) |
| 11 | : DTableView(parent) |
| 12 | { |
| 13 | qDebug() << "LogTableView created"; |
| 14 | this->setFocus(); |
| 15 | } |
| 16 | |
| 17 | void LogTableView::focusInEvent(QFocusEvent *event) |
| 18 | { |
| 19 | qDebug() << "focus in"; |
| 20 | } |
| 21 | |
| 22 | void LogTableView::focusOutEvent(QFocusEvent *event) |
| 23 | { |
| 24 | qDebug() << "focus out"; |
| 25 | // this->setFocus(); |
| 26 | // DTableView::focusOutEvent(event); |
| 27 | } |