Vuo
2.4.4
Loading...
Searching...
No Matches
type
inputEditor
widget
VuoTextEditor.hh
Go to the documentation of this file.
1
10
#pragma once
11
12
#include "
VuoInputEditorWithLineEdit.hh
"
13
19
class
VuoTextEditor
:
public
VuoInputEditorWithDialog
20
{
21
Q_OBJECT
22
23
public
:
24
VuoTextEditor
(
void
);
25
bool
supportsTabbingBetweenPorts
(
void
);
26
27
protected
:
28
void
setUpDialog
(QDialog &dialog, json_object *originalValue, json_object *details);
29
json_object *
getAcceptedValue
(
void
);
30
QString
convertToTextEditFormat
(json_object *value);
31
json_object *
convertFromTextEditFormat
(
const
QString &valueAsString);
32
void
resizeToFitTextWithBaseline
(
int
baselineWidth=0,
int
baselineHeight=0);
33
34
bool
eventFilter
(QObject *
object
, QEvent *
event
)
VuoWarnUnusedResult
;
35
bool
event
(QEvent *
event
)
VuoWarnUnusedResult
;
36
37
virtual
bool
getCodeEditor
(json_object *details);
38
39
QPlainTextEdit *
textEdit
;
40
bool
isCodeEditor
;
41
42
protected
slots:
43
virtual
void
resizeToFitText
();
44
};
Generated on Thu Nov 9 2023 16:59:30 for Vuo by
1.9.8