rncbc / qtractor

Qtractor - An Audio/MIDI multi-track sequencer
https://qtractor.org
GNU General Public License v2.0
495 stars 86 forks source link

Proposal Track Auto BackgroundColor #430

Closed G3N-es closed 6 months ago

G3N-es commented 6 months ago

prppuesta_auto_color fondo segun principal

90% of the time we want the color of the track and the background of the clip to be the same tone. It is true that there is a 10% in which it is useful to have the option to differentiate them.

This simple box solves it.

The code is fully functional, however be careful with the .ui As you know, Qt Designer does not respect the original code and changes things without me being able to control it. Also, I'm sure that if you decide to include this feature, you will find a more elegant place to host the check. I still don't understand the visual tools of Designer.

The proposal is made for your consideration.

G3N-es commented 6 months ago

I didn't check it well, the code only half works :S

G3N-es commented 6 months ago

It works now, sorry for the rush.

G3N-es commented 6 months ago

It is a pleasure to see how a professional like you creates code. Elegant, readable, solid and scalable. I was also thinking that it would be necessary to save the state in options, and I see with surprise that you had already foreseen it. :-)

Thank you very much Rui for implementing my request.

rncbc commented 6 months ago

you're welcome; in the meantime I've just merged master into G3N-es-x branch. thanks