Mercurial > hg > svgui
comparison widgets/NotifyingComboBox.h @ 1216:dc2af6616c83
Merge from branch 3.0-integration
author | Chris Cannam |
---|---|
date | Fri, 13 Jan 2017 10:29:50 +0000 |
parents | b1e3ee5f1be6 |
children | a18e78b9c78b |
comparison
equal
deleted
inserted
replaced
1048:e8102ff5573b | 1216:dc2af6616c83 |
---|---|
11 published by the Free Software Foundation; either version 2 of the | 11 published by the Free Software Foundation; either version 2 of the |
12 License, or (at your option) any later version. See the file | 12 License, or (at your option) any later version. See the file |
13 COPYING included with this distribution for more information. | 13 COPYING included with this distribution for more information. |
14 */ | 14 */ |
15 | 15 |
16 #ifndef _NOTIFYING_COMBO_BOX_H_ | 16 #ifndef SV_NOTIFYING_COMBO_BOX_H |
17 #define _NOTIFYING_COMBO_BOX_H_ | 17 #define SV_NOTIFYING_COMBO_BOX_H |
18 | 18 |
19 #include <QComboBox> | 19 #include <QComboBox> |
20 | 20 |
21 /** | 21 /** |
22 * Very trivial enhancement to QComboBox to make it emit signals when | 22 * Very trivial enhancement to QComboBox to make it emit signals when |
24 */ | 24 */ |
25 | 25 |
26 class NotifyingComboBox : public QComboBox | 26 class NotifyingComboBox : public QComboBox |
27 { | 27 { |
28 Q_OBJECT | 28 Q_OBJECT |
29 | |
29 public: | 30 public: |
30 | |
31 NotifyingComboBox(QWidget *parent = 0) : | 31 NotifyingComboBox(QWidget *parent = 0) : |
32 QComboBox(parent) { } | 32 QComboBox(parent) { } |
33 | 33 |
34 virtual ~NotifyingComboBox(); | 34 virtual ~NotifyingComboBox(); |
35 | 35 |