QGIS API Documentation 3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
qgstooltipcombobox.h
Go to the documentation of this file.
1/***************************************************************************
2 qgstooltipcombobox.h
3 ------------------------
4 begin : May 25, 2023
5 copyright : (C) 2017 by Mathieu Pellerin
6 email : mathieu at opengis dot ch
7 ***************************************************************************/
8
9/***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17
18#ifndef QGSTOOLTIPCOMBOBOX_H
19#define QGSTOOLTIPCOMBOBOX_H
20
21#include <QComboBox>
22
23#include "qgis_sip.h"
24#include "qgis_gui.h"
25#include "qgis.h"
26
27class QEvent;
28
36class GUI_EXPORT QgsToolTipComboBox : public QComboBox
37{
38 Q_OBJECT
39
40 public:
42 QgsToolTipComboBox( QWidget *parent SIP_TRANSFERTHIS = nullptr );
43
44 bool event( QEvent *event ) override;
45};
46
47#endif // QGSTOOLTIPCOMBOBOX_H
QComboBox subclass which features a tooltip when mouse hovering the combobox.
#define SIP_TRANSFERTHIS
Definition qgis_sip.h:53