Inner class to store event binding.
More...
#include <Gui/Utils/KeyMappingManager.hpp>
Inner class to store event binding.
Definition at line 28 of file KeyMappingManager.hpp.
◆ EventBinding() [1/5]
Ra::Gui::KeyMappingManager::EventBinding::EventBinding |
( |
| ) |
|
|
default |
◆ EventBinding() [2/5]
Ra::Gui::KeyMappingManager::EventBinding::EventBinding |
( |
Qt::MouseButtons | buttons, |
|
|
Qt::KeyboardModifiers | modifiers, |
|
|
int | key, |
|
|
bool | wheel = false ) |
|
inline |
Specifies all data members.
- Note
- key should not contains modifier, use modifiers instead. This is not checked.
Definition at line 40 of file KeyMappingManager.hpp.
◆ EventBinding() [3/5]
Ra::Gui::KeyMappingManager::EventBinding::EventBinding |
( |
Qt::MouseButtons | buttons, |
|
|
Qt::KeyboardModifiers | modifiers = Qt::NoModifier ) |
|
inlineexplicit |
◆ EventBinding() [4/5]
Ra::Gui::KeyMappingManager::EventBinding::EventBinding |
( |
int | key, |
|
|
Qt::KeyboardModifiers | modifiers = Qt::NoModifier ) |
|
inlineexplicit |
◆ EventBinding() [5/5]
Ra::Gui::KeyMappingManager::EventBinding::EventBinding |
( |
bool | wheel, |
|
|
Qt::KeyboardModifiers | modifiers = Qt::NoModifier ) |
|
inlineexplicit |
◆ isKeyEvent()
bool Ra::Gui::KeyMappingManager::EventBinding::isKeyEvent |
( |
| ) |
|
|
inline |
◆ isMouseEvent()
bool Ra::Gui::KeyMappingManager::EventBinding::isMouseEvent |
( |
| ) |
|
|
inline |
◆ isWheelEvent()
bool Ra::Gui::KeyMappingManager::EventBinding::isWheelEvent |
( |
| ) |
|
|
inline |
◆ operator<()
bool Ra::Gui::KeyMappingManager::EventBinding::operator< |
( |
const EventBinding & | b | ) |
const |
|
inline |
◆ m_buttons
Qt::MouseButtons Ra::Gui::KeyMappingManager::EventBinding::m_buttons { Qt::NoButton } |
◆ m_key
int Ra::Gui::KeyMappingManager::EventBinding::m_key { -1 } |
◆ m_modifiers
Qt::KeyboardModifiers Ra::Gui::KeyMappingManager::EventBinding::m_modifiers { Qt::NoModifier } |
◆ m_wheel
bool Ra::Gui::KeyMappingManager::EventBinding::m_wheel { false } |
The documentation for this class was generated from the following file: