itom
Loading...
Searching...
No Matches
BooleanCombo.h
1
// *************************************************************************************************
2
//
3
// QPropertyEditor v 0.3
4
//
5
// --------------------------------------
6
// Copyright (C) 2007 Volker Wiendl
7
// Acknowledgements to Roman alias banal from qt-apps.org for the Enum enhancement
8
//
9
//
10
// The QPropertyEditor Library is free software; you can redistribute it and/or modify
11
// it under the terms of the GNU Lesser General Public License as published by the Free Software
12
// Foundation; either version 2 of the License, or (at your option) any later
13
// version.
14
//
15
// This program is distributed in the hope that it will be useful, but WITHOUT
16
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
17
// FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
18
//
19
// You should have received a copy of the GNU Lesser General Public License along with
20
// this program; if not, write to the Free Software Foundation, Inc., 59 Temple
21
// Place - Suite 330, Boston, MA 02111-1307, USA, or go to
22
// http://www.gnu.org/copyleft/lesser.txt.
23
//
24
// *************************************************************************************************
25
26
#ifndef BOOLEANCOMBO_H_
27
#define BOOLEANCOMBO_H_
28
29
#include <qcombobox.h>
30
31
class
BooleanCombo
:
public
QComboBox
32
{
33
Q_OBJECT
34
public
:
35
BooleanCombo
(QWidget* parent = 0);
36
virtual
~BooleanCombo
();
37
38
bool
value()
const
;
39
void
setValue(
bool
c);
40
41
signals:
43
void
boolChanged
(
bool
c);
44
45
private
slots:
46
void
currentChanged(
int
index);
47
48
};
49
#endif
BooleanCombo
Definition
BooleanCombo.h:32
BooleanCombo::boolChanged
void boolChanged(bool c)
itom
QPropertyEditor
src
QPropertyEditor
BooleanCombo.h
Generated on Tue Nov 12 2024 10:43:15 for itom by
1.12.0