Vuo  2.0.0
VuoCommentEditor.hh
Go to the documentation of this file.
1 
10 #pragma once
11 
12 #include "VuoTextEditor.hh"
13 
20 {
21  Q_OBJECT
22 
23 public:
24  VuoCommentEditor(void);
26  json_object * show(QPoint portLeftCenter, json_object *originalValue, json_object *details);
27  bool supportsTabbingBetweenPorts(void);
28  void setWidth(int width);
29  void setHeight(int height);
30 
31 private slots:
32  void resizeToFitText(void);
33 
34 private:
35  static const int commentMargin;
36 
37  int width;
38  int height;
39 
40  bool getCodeEditor(json_object *details);
41 };
42