QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
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:
41
43 QgsToolTipComboBox( QWidget *parent SIP_TRANSFERTHIS = nullptr );
44
45 bool event( QEvent *event ) override;
46
47};
48
49#endif // QGSTOOLTIPCOMBOBOX_H
QComboBox subclass which features a tooltip when mouse hovering the combobox.
#define SIP_TRANSFERTHIS
Definition qgis_sip.h:53