-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Piano roll themeing issues #64
Comments
|
|
I think that looks really cool! That could fit into the default theme :) |
@Sti2nd Unfortunately we can't really just make some adjustments on the css as each note is drawn differently. These changes are being performed on the source code (specifically here). I am still polishing this, as there are a lot of different cases. This one is with selection: As you can see, the higher/lower volumn notes are too bright/dark. |
On 12/26/2014 01:38 PM, Amadeus Folego wrote:
Looks neat, however this would be better if implemented in CSS so that |
@diizy Agreed, it would be much more elegant. However that would require more extensive changes, we can target that. Meanwhile, this is a really simple patch: badosu@1f011a6. As soon as it looks good and covers all cases I may sent a PR, of course if you think it looks good. |
On 12/26/2014 03:07 PM, Amadeus Folego wrote:
Not all that extensive... just create a new QWidget-based class named Then just replace every instance of the note drawing code with Then, the style information can be written in the CSS, and that should Better do things right the first time, even if it takes some extra |
On 12/26/2014 03:07 PM, Amadeus Folego wrote:
I mean sure, you could just do that, but then that's going to be |
@diizy Thanks for the heads up and the tips! I'll try and see if I can make it. The thing is that I am a novice at C++ and QT, this is my first time using these technologies so I am a bit afraid of changing lots of stuff, I was trying to find little bugs and changes before moving on. |
On 12/26/2014 03:29 PM, Amadeus Folego wrote:
No worries. With Git, it doesn't really matter if you mess up - you can Also I didn't know almost any C++ and had never worked with Qt when I |
@diizy If we are going to build the NoteView, it would be good if it could be very flexible regarding css. In particular I found out that any widget that inherits QFrame is able to have a What do you think, is it feasible? A custom widget may have this kind of flexibility or we can use a widget and try to override some of it's properties? I am on #lmms on freenode so we can chat there to not pollute this issue. |
On 12/26/2014 04:01 PM, Amadeus Folego wrote:
You don't need to inherit QFrame for that... just look at how it's done |
I was taking a look at the structure of the PianoRoll and it looks like everytime the pattern is changed it is redrawn all over again. For this widget model to be efficient I thought it would be best to draw all the I am having really a hard time on this one, I already spent some 3 hours just trying to figure out how to make this work and had no progress. For now I am just going to polish what I feel is already an improvement over the old layout and take some other important bugs as you pointed out. |
@coppolaemilio Since the issue with the notes appearance has been improved, and the "hand" idea probably is not going to be accepted: do you think we can rename this issue title and description to be about the min-width of the piano roll window? |
I think it's better to close this issue and create a new one instead, otherwise it will be super messy. Thanks! |
The text was updated successfully, but these errors were encountered: