Vuo  2.4.0
VuoTextEditor.hh
Go to the documentation of this file.
1
10#pragma once
11
13
20{
21 Q_OBJECT
22
23public:
24 VuoTextEditor(void);
26
27protected:
28 void setUpDialog(QDialog &dialog, json_object *originalValue, json_object *details);
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;
41
42protected slots:
43 virtual void resizeToFitText();
44};
45