Radium Engine
1.5.0
|
Inner class to store event binding. More...
#include <Gui/Utils/KeyMappingManager.hpp>
Public Member Functions | |
EventBinding ()=default | |
EventBinding (Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, int key, bool wheel=false) | |
EventBinding (Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers=Qt::NoModifier) | |
EventBinding (int key, Qt::KeyboardModifiers modifiers=Qt::NoModifier) | |
EventBinding (bool wheel, Qt::KeyboardModifiers modifiers=Qt::NoModifier) | |
bool | isMouseEvent () |
bool | isWheelEvent () |
bool | isKeyEvent () |
bool | operator< (const EventBinding &b) const |
Public Attributes | |
Qt::MouseButtons | m_buttons { Qt::NoButton } |
Qt::KeyboardModifiers | m_modifiers { Qt::NoModifier } |
int | m_key { -1 } |
bool | m_wheel { false } |
Inner class to store event binding.
Definition at line 28 of file KeyMappingManager.hpp.
|
default |
Empty event ctor
|
inline |
Specifies all data members.
Definition at line 40 of file KeyMappingManager.hpp.
|
inlineexplicit |
Mouse event ctor.
Definition at line 49 of file KeyMappingManager.hpp.
|
inlineexplicit |
Key event ctor.
Definition at line 56 of file KeyMappingManager.hpp.
|
inlineexplicit |
Wheel event ctor.
Definition at line 62 of file KeyMappingManager.hpp.