-
-
Notifications
You must be signed in to change notification settings - Fork 36
Transpose chord lead sheet for #534 #583
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Main changes are for the transposition dialog and property - The property is used to transpose in ChordInspector (still reversed for now...) - Other places changed as needed - More cleaning necessary, added "TODO jjazzboss#534" to track a few suspects
BTW this is based on #579, only adds one commit with 6 files modified... pretty small |
I did not have time to do a detailed review. But a general feeling. I created the ChordLeadSheetItem (and SongPart) client properties (not serialized with the model) to let the app alter the UI without altering the models itself. This proved in the past to be clean and maintainable. For example all ItemRenderers naturally listen to their ChordLeadSheetItem item model. Listening to the item's client properties is also natural and consistent (IR_ChordSymbol already does it by the way). This makes the impact on renderers simpler. This also avoids to add a dependency to PlaybackSettings for all viewers. In the future this kind of change will happen again: we can not add a new dependency each time. |
well it's late in the night, I'm not thinking clearly enough, I'll see this week-end ;-) |
Ohhhh that makes sense! I didn't see the client properties at all to be honest :| I'll try to move it, with a quick scanning it seems good to put the transcription in the properties. I need to find out where is best update the properties, who has the dependency on PlaybackSettings... ideas welcomed. I'll be doing a bit of that over the weekend too :) |
Let's agree first on the design approach before you start making the changes. There are several approaches... |
Closing this in favor of #585 |
Added mechanism to use transposition in IR_ChordSymbol.
The Chord Lead Sheet and the EasyReader show transposed chord symbols when transposition is active.
Main parts of #534 are done with this.