User Tools

Site Tools


gsoc2016_keyboard_work_breakdown

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gsoc2016_keyboard_work_breakdown [2016/05/18 12:22]
ferranpujolcamins
gsoc2016_keyboard_work_breakdown [2016/05/18 13:00] (current)
ferranpujolcamins
Line 1: Line 1:
 ===== 1 - Sub class Controller ===== ===== 1 - Sub class Controller =====
-Add tests +You have to implement the pure virtual methods. Take //​MidiController//​ and //​PortMidiController//​ or //​HidController//​ as a reference. 
- +  - Implement destructor. 
-===== 2 Sub class //ControllerEnumerator// ===== +  Implement ​//presetExtension// method. Add corresponding #define in defs_controller.h. 
- +  - Implement the //accept// method (part of the visitor pattern). 
-===== 3 Modify ​//ControllerManager// ===== +  Implement the //savePreset// method (just prepare it for the upcoming //​KeyboardPresetFileHandler//​). 
-  - Append ​//KeyboardEnumerator// in the //slotInitialize// method. +  - Implement the //getPreset// method. 
-===== 3 Sub class //ControllerPreset// =====+  - Implement ​the //isMappable// method. 
 +  What do you need to do with the //matchPreset// method? 
 +  - What do you need to do with the //receive// method? 
 +  - ... 
 +  - Add tests.
  
 ==== Get keyboard events ==== ==== Get keyboard events ====
Line 14: Line 18:
  
 Reference: http://​doc.qt.io/​qt-4.8/​eventsandfilters.html Reference: http://​doc.qt.io/​qt-4.8/​eventsandfilters.html
 +
 +===== 2 - Sub class ControllerEnumerator =====
 +  - Add tests.
 +
 +===== 3 - Sub class ControllerPreset =====
 +  - Create a //​KeyboardPresetFileHandler//​ class (like //​MidiControllerPresetFileHandler//​).
 +  - Add tests.
 +
 +===== 4 - Modify ControllerManager =====
 +  - Append //​KeyboardEnumerator//​ in the //​slotInitialize//​ method.
  
  
 +Notes:
  
 don't break tooltips, make them read current keyboard preset. don't break tooltips, make them read current keyboard preset.
gsoc2016_keyboard_work_breakdown.1463588541.txt.gz · Last modified: 2016/05/18 12:22 by ferranpujolcamins