Vuo  2.0.0
VuoInputEditorWithLineEdit.hh
Go to the documentation of this file.
1 
10 #pragma once
11 
13 
18 {
19 public:
21  virtual bool supportsTabbingBetweenPorts(void);
22  void setWidth(int width);
23 
24 protected:
25  virtual void setUpDialog(QDialog &dialog, json_object *originalValue, json_object *details=0);
26  void setUpLineEdit(QLineEdit *existingLineEdit, json_object *originalValue);
28  virtual QString convertToLineEditFormat(json_object *value);
29  virtual json_object * convertFromLineEditFormat(const QString &valueAsString);
30 
31  QLineEdit *lineEdit;
32 
33 private:
34  int width;
35 };
36