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
VuoKeyComboBox Class Reference

Description

A combo box that displays a list of VuoKeys and reacts to keypresses by selecting the corresponding VuoKey.

Public Slots

void keyPressEvent (QKeyEvent *e)
 Captures all keypresses, and uses them to change the VuoKey selection.
 

Public Member Functions

 VuoKeyComboBox (QWidget *parent)
 Creates a combo box populated with a list of all VuoKey values.
 
void setCurrentKey (VuoKey key)
 Selects the given VuoKey in the combo box.
 
VuoKey getCurrentKey (void)
 Returns the currently selected VuoKey.
 
bool eventFilter (QObject *object, QEvent *e)
 Captures all keypresses that would normally go to the child widget (list popup), and uses them to change the VuoKey selection.
 

Constructor & Destructor Documentation

VuoKeyComboBox::VuoKeyComboBox ( QWidget *  parent)
inline

Creates a combo box populated with a list of all VuoKey values.

Member Function Documentation

bool VuoKeyComboBox::eventFilter ( QObject *  object,
QEvent *  e 
)
inline

Captures all keypresses that would normally go to the child widget (list popup), and uses them to change the VuoKey selection.

VuoKey VuoKeyComboBox::getCurrentKey ( void  )
inline

Returns the currently selected VuoKey.

void VuoKeyComboBox::keyPressEvent ( QKeyEvent *  e)
inlineslot

Captures all keypresses, and uses them to change the VuoKey selection.

void VuoKeyComboBox::setCurrentKey ( VuoKey  key)
inline

Selects the given VuoKey in the combo box.


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