Vuo
2.1.2
type
inputEditor
widget
VuoComboBox.cc
Go to the documentation of this file.
1
10
#include "
VuoComboBox.hh
"
11
15
VuoComboBox::VuoComboBox
(QWidget *parent)
16
: QComboBox(parent)
17
{
18
setFocusPolicy(Qt::StrongFocus);
19
}
20
24
void
VuoComboBox::setItemEnabled
(
int
index,
bool
enabled)
25
{
26
if
(enabled)
27
setItemData(index, QVariant(), Qt::UserRole - 1);
28
else
29
setItemData(index,
true
, Qt::UserRole - 1);
30
}
Generated on Tue Jul 14 2020 23:19:41 for Vuo by
1.8.18