Vuo
2.0.2
type
inputEditor
VuoInputEditorKey
VuoInputEditorKey.cc
Go to the documentation of this file.
1
10
#include "
VuoInputEditorKey.hh
"
11
15
VuoInputEditor
*
VuoInputEditorKeyFactory::newInputEditor
()
16
{
17
return
new
VuoInputEditorKey
();
18
}
19
23
void
VuoInputEditorKey::setUpDialog
(QDialog &dialog,
json_object
*originalValue,
json_object
*details)
24
{
25
comboBox =
new
VuoKeyComboBox
(&dialog);
26
comboBox->adjustSize();
27
28
comboBox->
setCurrentKey
(
VuoKey_makeFromJson
(originalValue) );
29
}
30
34
json_object
*
VuoInputEditorKey::getAcceptedValue
(
void
)
35
{
36
return
VuoKey_getJson
( comboBox->
getCurrentKey
() );
37
}
Generated on Thu Mar 19 2020 23:16:03 for Vuo by
1.8.17