-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Gsoc2016 Keyboard Current Keyboard Implementation
Ferran Pujol Camins edited this page May 18, 2016
·
11 revisions
KeyboardEventFilter is an event filter.
MixxxMainWindow (mixxx.h/.cpp) initializes and holds a global instance of KeyboardEventFilter (MixxxMainWindow.m*_*pKeyboard). Other Mixxx objects get a pointer to this instance and install it as their event filter:
- MixxxMainWindow calls SkinLoader::loadDefaultSkin passing to it its KeyboardEventFilter.
- SkinLoader constructs a LegacySkinParser and passes the KeyboardEventFilter to it. The LegacySkinParser holds a pointer to the KeyboardEventFilter. It installs the KeyboardEventFilter to every widget it creates.
- Library installs the KeyboardEventFilter to some views in its bindWidget method,
- Library features install the KeyboardEventFilter in its bindWidget method.
- Library extra views (such as the view that groups autodj controls) get the KeyboardEventFilter installed by their delegates constructor.
- SkinLoader also uses the KeyboardEventFilter in its setupConnection method to gain information about assigned key combinations to fill the tooltips.
Mixxx is a free and open-source DJ software.
Manual
Hardware Compatibility
Reporting Bugs
Getting Involved
Contribution Guidelines
Coding Guidelines
Using Git
Developer Guide
Creating Skins
Contributing Mappings
Mixxx Controls
MIDI Scripting
Components JS
HID Scripting