Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

soqtkeyboard(3) [debian man page]

SoQtKeyboard(3) 						       SoQt							   SoQtKeyboard(3)

NAME
SoQtKeyboard - The SoQtKeyboard class is the keyboard input device abstraction. The SoQtKeyboard class is the glue between native keyboard handling and keyboard interaction with the Inventor scenegraph. SYNOPSIS
#include <Inventor/Qt/devices/SoQtKeyboard.h> Inherits SoQtDevice. Public Types enum Events { KEY_PRESS = 0x01, KEY_RELEASE = 0x02, ALL_EVENTS = KEY_PRESS | KEY_RELEASE } Public Member Functions SoQtKeyboard (int eventmask=ALL_EVENTS) virtual ~SoQtKeyboard (void) virtual void enable (QWidget *widget, SoQtEventHandler *handler, void *closure) virtual void disable (QWidget *widget, SoQtEventHandler *handler, void *closure) virtual const SoEvent * translateEvent (QEvent *event) Friends class SoQtKeyboardP class SoGuiKeyboardP Detailed Description The SoQtKeyboard class is the keyboard input device abstraction. The SoQtKeyboard class is the glue between native keyboard handling and keyboard interaction with the Inventor scenegraph. All components derived from the SoQtRenderArea have got an SoQtKeyboard device attached by default. Member Enumeration Documentation enum SoQtKeyboard::Events Enumeration over supported event types. Enumerator: KEY_PRESS Maskbit for a keyboard button press event. KEY_RELEASE Maskbit for a keyboard button release event. ALL_EVENTS Combined bitmask for all possible events. Constructor &; Destructor Documentation SoQtKeyboard::SoQtKeyboard (intmask = ALL_EVENTS) Constructor. The mask specifies which keyboard-related events to handle. Others will just be ignored. SoQtKeyboard::~SoQtKeyboard (void) [virtual] Destructor. Member Function Documentation void SoQtKeyboard::enable (QWidget *widget, SoQtEventHandler *handler, void *closure) [virtual] This method will enable the device for the widget. handler is invoked with the closure argument when an event occur in widget. Implements SoQtDevice. void SoQtKeyboard::disable (QWidget *widget, SoQtEventHandler *handler, void *closure) [virtual] This method will disable the handler for the device. Implements SoQtDevice. const SoEvent * SoQtKeyboard::translateEvent (QEvent *event) [virtual] This method translates from native events to Open Inventor SoEvent events. Implements SoQtDevice. References SoQtDevice::getLastEventPosition(), KEY_PRESS, KEY_RELEASE, and SoQtDevice::setEventPosition(). Author Generated automatically by Doxygen for SoQt from the source code. Version 1.5.0 Sun Dec 11 2011 SoQtKeyboard(3)

Check Out this Related Man Page

SoScXMLEvent(3) 						       Coin							   SoScXMLEvent(3)

NAME
SoScXMLEvent - Adds an SoEvent holder to the ScXMLEvent base. SYNOPSIS
#include <Inventor/scxml/SoScXMLEvent.h> Inherits ScXMLEvent. Public Member Functions virtual SoType getTypeId (void) const virtual void setSoEvent (const SoEvent *soevent) virtual const SoEvent * getSoEvent (void) const virtual void setUpIdentifier (void) Static Public Member Functions static SoType getClassTypeId (void) static void * createInstance (void) static void initClass (void) Additional Inherited Members Detailed Description Adds an SoEvent holder to the ScXMLEvent base. This class is part of integrating the Coin types with the SCXML subsystem. SoScXMLEvent objects are ScXMLEvents that wraps/passes an SoEvent to the SCXML state machine. Since: Coin 3.0 Member Function Documentation void SoScXMLEvent::setSoEvent (const SoEvent *soevent) [virtual] This function stores a pointer to the originator SoEvent that caused the given event, if any. There is no resource management with regards to this pointer - it has to be kept alive on the outside for as long as this event may live, and be deallocated on the outside as well. See also: setUpIdentifiers const SoEvent * SoScXMLEvent::getSoEvent (void) const [virtual] Returns the pointer stored by setSoEvent() or NULL if no pointer has been stored yet. See also: setSoEvent void SoScXMLEvent::setUpIdentifier (void) [virtual] This method updates the ScXMLEvent event class and event identifier strings based on the set SoEvent object. The identifiers will be cleared if no SoEvent object has been stored. See also: setSoEvent Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SoScXMLEvent(3)
Man Page