|
Katana Plug-in APIs 0.1
|
A Wrapper for UI events. More...
#include <FnEventWrapper.h>
Public Types | |
| enum | MouseButtons |
Mouse button enumeration used in the "button" event data attribute. | |
| enum | KeyboardModifiers |
Keyboard modifier enumeration used in the "modifiers" event data attribute. | |
Public Member Functions | |
| std::string | getType () const |
| Returns the type of event as a string. | |
| FnAttribute::Hash | getTypeHash () const |
| FnAttribute::GroupAttribute | getData () const |
| Returns a GroupAttribute containing the additional event data. | |
| FnAttributeHandle | getHandle () const |
| Returns an attribute handle for the event data. | |
| FnAttributeHandle | getRetainedHandle () const |
| Returns a retained attribute handle for the event data. | |
A Wrapper for UI events.
The event is used to pass UI event data from the viewport widget in Katana to Viewports. Events are generated by "EventTranslator" python plug-ins which convert Qt QEvents into attributes.
| FnAttribute::Hash Foundry::Katana::ViewerAPI::FnEventWrapper::getTypeHash | ( | ) | const |
Returns the hash of the eventType StringAttribute for faster comparisons.
1.7.3