-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwingcodepopup.h
More file actions
38 lines (30 loc) · 1.06 KB
/
wingcodepopup.h
File metadata and controls
38 lines (30 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/****************************************************************************
**
** Copyright (C) 2025-2028 WingSummer
**
** This file may be used under the terms of the GNU General Public License
** version 3 as published by the Free Software Foundation.
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
** You should have received a copy of the GNU General Public License version 3
** along with this program. If not, see <https://www.gnu.org/licenses/>.
**
****************************************************************************/
#ifndef WINGCODEPOPUP_H
#define WINGCODEPOPUP_H
#include <QListView>
class WingCodeEdit;
class WingCodePopup : public QListView {
Q_OBJECT
public:
explicit WingCodePopup(WingCodeEdit *editor = nullptr);
public:
void setModel(QAbstractItemModel *model) override;
protected:
virtual void showEvent(QShowEvent *e) override;
public slots:
void showTooltip(const QModelIndex ¤t);
};
#endif // WINGCODEPOPUP_H