Vuo  1.0.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Slots | Public Member Functions | List of all members
VuoDialogForInputEditor Class Reference

Description

A dialog that closes when the Enter key is pressed.

Public Slots

virtual void keyPressEvent (QKeyEvent *e)
 If the enter key is pressed, closes the dialog.
 
virtual bool event (QEvent *e)
 If focus is lost (the user has clicked elsewhere), closes the dialog.
 

Public Member Functions

 VuoDialogForInputEditor (bool isDark, bool showArrow)
 Initializes the appearance of the dialog.
 
QMargins getPopoverContentsMargins (void)
 Returns the number of pixels on each side of the window that the input editor should avoid drawing.
 

Constructor & Destructor Documentation

VuoDialogForInputEditor::VuoDialogForInputEditor ( bool  isDark,
bool  showArrow 
)

Initializes the appearance of the dialog.

Todo:
copied from VuoErrorPopover

Member Function Documentation

bool VuoDialogForInputEditor::event ( QEvent *  e)
virtualslot

If focus is lost (the user has clicked elsewhere), closes the dialog.

QMargins VuoDialogForInputEditor::getPopoverContentsMargins ( void  )

Returns the number of pixels on each side of the window that the input editor should avoid drawing.

void VuoDialogForInputEditor::keyPressEvent ( QKeyEvent *  e)
virtualslot

If the enter key is pressed, closes the dialog.


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