Vuo  2.1.2
VuoInputEditorWithDialog.hh
Go to the documentation of this file.
1 
10 #pragma once
11 
12 #include "VuoHeap.h"
13 #include "VuoInputEditor.hh"
14 
19 {
20 public:
21  json_object * show(QPoint portLeftCenter, json_object *originalValue, json_object *details, map<QString, json_object *> portNamesAndValues);
22 
23 protected:
25  QDialog * getDialog(void);
26  void setFirstWidgetInTabOrder(QWidget *widget);
27  void setLastWidgetInTabOrder(QWidget *widget);
28  bool eventFilter(QObject *object, QEvent *event) VuoWarnUnusedResult;
29 
40  virtual void setUpDialog(QDialog &dialog, json_object *originalValue, json_object *details) = 0;
41 
45  virtual json_object * getAcceptedValue(void) = 0;
46 
47  bool isDark;
48 
49 private:
50  QDialog *dialogPointer;
51  QWidget *firstWidgetInTabOrder;
52  QWidget *lastWidgetInTabOrder;
53 };
54