User Tools

Site Tools


gsoc2016_keyboard_current_keyboard_implementation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
gsoc2016_keyboard_current_keyboard_implementation [2016/05/18 11:07]
ferranpujolcamins
gsoc2016_keyboard_current_keyboard_implementation [2016/05/18 11:08] (current)
ferranpujolcamins
Line 4: Line 4:
 //​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//​ (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//​.   * //​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.   * //​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 installs the //​KeyboardEventFilter//​ to some views in its //​bindWidget//​ method,
 +  ​
   * Library features install the //​KeyboardEventFilter//​ 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.   * 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.   * //​SkinLoader//​ also uses the //​KeyboardEventFilter//​ in its //​setupConnection//​ method to gain information about assigned key combinations to fill the tooltips.
gsoc2016_keyboard_current_keyboard_implementation.txt ยท Last modified: 2016/05/18 11:08 by ferranpujolcamins