File indexing completed on 2024-04-21 05:46:23
0001 /* 0002 SPDX-FileCopyrightText: 2007 Nicolas Ternisien <nicolas.ternisien@gmail.com> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <QDialog> 0010 0011 class LogViewWidget; 0012 0013 #include "ui_detailDialogBase.h" 0014 0015 class DetailDialog : public QDialog, public Ui::DetailDialogBase 0016 { 0017 Q_OBJECT 0018 0019 public: 0020 explicit DetailDialog(QWidget *parent); 0021 0022 ~DetailDialog() override; 0023 0024 public Q_SLOTS: 0025 void selectionChanged(LogViewWidget *logViewWidget); 0026 0027 private Q_SLOTS: 0028 void previousItem(); 0029 void nextItem(); 0030 0031 private: 0032 void updateDetails(); 0033 0034 /** 0035 * Method that replaces the bugged itemAbove() and itemBelow() methods 0036 */ 0037 void moveToItem(int direction); 0038 0039 LogViewWidget *mLogViewWidget = nullptr; 0040 };