Warning, file /education/kstars/kstars/ekos/focus/abinstablewidget.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 SPDX-FileCopyrightText: 2023 John Evans <john.e.evans.email@googlemail.com> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <QTableWidget> 0010 0011 // AbInsTableWidget is a subclass of table widget. 0012 // It has been created for use in AberrationInspector in order to be able to access leaveEvent which is not 0013 // possible in the QTableWidget implementation. 0014 // 0015 // This header file is linked into QT Designer using the Promote widget approach so that AbInsTableWidget rather than 0016 // QTableWidget is used. 0017 // 0018 class AbInsTableWidget : public QTableWidget 0019 { 0020 Q_OBJECT 0021 0022 public: 0023 0024 /** 0025 * @brief Create an AbInsTableWidget 0026 * @param parent widget 0027 */ 0028 AbInsTableWidget(QWidget *parent = 0); 0029 ~AbInsTableWidget(); 0030 0031 /** 0032 * @brief event when mouse leaves the boundary of the widget 0033 * @param event 0034 */ 0035 void leaveEvent(QEvent * event) override; 0036 0037 signals: 0038 /** 0039 * @brief signal mouse left the widget boundary 0040 */ 0041 void leaveTableEvent(); 0042 };