Vuo
2.1.2
type
inputEditor
widget
VuoKeyComboBox.hh
Go to the documentation of this file.
1
10
#include "
VuoComboBox.hh
"
11
12
extern
"C"
13
{
14
#include "
VuoKey.h
"
15
}
16
20
class
VuoKeyComboBox
:
public
VuoComboBox
21
{
22
Q_OBJECT
23
24
private
:
28
enum
Group
29
{
30
Any,
31
Letters,
32
Numbers,
33
Punctuation,
34
Arrows,
35
Keypad,
36
FKeys,
37
OtherKeys
38
};
39
40
static
bool
isPairOfItemsSorted(pair<QString, QVariant> item1, pair<QString, QVariant> item2);
41
42
public
:
43
VuoKeyComboBox
(QWidget *parent);
44
void
setCurrentKey
(
VuoKey
key);
45
VuoKey
getCurrentKey
(
void
);
46
47
public
slots:
48
void
keyPressEvent
(QKeyEvent *e);
49
50
public
:
51
bool
eventFilter
(QObject *
object
, QEvent *e);
52
};
Generated on Tue Jul 14 2020 23:19:41 for Vuo by
1.8.18