comparison widgets/NotifyingComboBox.h @ 1203:ff042979331b 3.0-integration

Merge from branch svg, and thus (in some subrepos) from levelpanwidget
author Chris Cannam
date Mon, 19 Dec 2016 16:34:38 +0000
parents b1e3ee5f1be6
children a18e78b9c78b
comparison
equal deleted inserted replaced
1185:f32828ea63d9 1203:ff042979331b
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