Vuo  2.0.1
Protected Member Functions | List of all members
VuoInputEditorIntegerRange Class Reference

Description

An input editor that modifies VuoIntegerRange type.

Definition at line 37 of file VuoInputEditorIntegerRange.hh.

Protected Member Functions

virtual void setUpDialog (QDialog &dialog, json_object *originalValue, json_object *details)
 Prepare a VuoIntegerRange dialog. More...
 
virtual json_objectgetAcceptedValue ()
 Returns the value currently set in the dialog's widgets. More...
 
bool eventFilter (QObject *object, QEvent *event) VuoWarnUnusedResult
 Enable arrow keys to move around offset & gamma. More...
 
- Protected Member Functions inherited from VuoInputEditorWithDialog
 VuoInputEditorWithDialog (void)
 Creates an input editor whose show() function displays a frameless dialog. More...
 
QDialog * getDialog (void)
 Returns a pointer to the dialog displayed by show(). More...
 
void setFirstWidgetInTabOrder (QWidget *widget)
 Makes the given widget the first in this input editor's tab order. More...
 
void setLastWidgetInTabOrder (QWidget *widget)
 Makes the given widget the last in this input editor's tab order. More...
 
bool eventFilter (QObject *object, QEvent *event) VuoWarnUnusedResult
 Handles tabbing past the last widget or reverse-tabbing past the first widget in the tab order. More...
 

Additional Inherited Members

- Signals inherited from VuoInputEditor
void valueChanged (json_object *newValue)
 An input editor can emit this signal to inform the Vuo Editor that the value has been edited. More...
 
void tabbedPastLastWidget ()
 If supportsTabbingBetweenPorts() returns true, an input editor should emit this signal when the Tab key is pressed while the last widget in the input editor's tab order has focus. More...
 
void tabbedBackwardPastFirstWidget ()
 If supportsTabbingBetweenPorts() returns true, an input editor should emit this signal when the Shift-Tab key combination is pressed while the first widget in the input editor's tab order has focus. More...
 
- Public Member Functions inherited from VuoInputEditorWithDialog
json_objectshow (QPoint portLeftCenter, json_object *originalValue, json_object *details, map< QString, json_object * > portNamesAndValues)
 Displays a frameless dialog. More...
 
- Public Member Functions inherited from VuoInputEditor
virtual bool supportsTabbingBetweenPorts (void)
 Returns true if this input editor should be part of the Vuo Editor's tab order when using Tab / Shift-Tab to navigate between input ports. More...
 
- Static Public Member Functions inherited from VuoInputEditor
static QFont getDefaultFont (void)
 Returns the font that input editors are recommended to use. More...
 
static QString getDefaultFontCss (void)
 Returns a CSS representation of the font that input editors are recommended to use. More...
 
- Protected Attributes inherited from VuoInputEditorWithDialog
bool isDark
 Is Vuo Editor in Dark Interface Mode? More...
 

Member Function Documentation

◆ eventFilter()

bool VuoInputEditorIntegerRange::eventFilter ( QObject *  object,
QEvent *  event 
)
protected

Enable arrow keys to move around offset & gamma.

Filters events on watched objects.

Definition at line 276 of file VuoInputEditorIntegerRange.cc.

◆ getAcceptedValue()

json_object * VuoInputEditorIntegerRange::getAcceptedValue ( )
protectedvirtual

Returns the value currently set in the dialog's widgets.

Implements VuoInputEditorWithDialog.

Definition at line 261 of file VuoInputEditorIntegerRange.cc.

◆ setUpDialog()

void VuoInputEditorIntegerRange::setUpDialog ( QDialog &  dialog,
json_object originalValue,
json_object details 
)
protectedvirtual

Prepare a VuoIntegerRange dialog.

Implements VuoInputEditorWithDialog.

Definition at line 72 of file VuoInputEditorIntegerRange.cc.


The documentation for this class was generated from the following files: