Hi Tim!
08.01.2015 05:07, Tim E. Real wrote:
> On January 2, 2015 11:19:36 PM Robert Jonsson wrote:
>> 2015-01-02 20:31 GMT+01:00 Andrew Deryabin <[email protected]>:
>>> Hi Robert!
>>>
>>>      I finished implementation of lv2 presets and just pushed changes to
>>>
>>> master.
>>>
>>> Here is a link with short video presentation:
>>> http://youtu.be/SFQGl5e40rY
>>>
>>> I decided not to make beta3 version because since beta1 there were 233
>>> downloads (excluding pulls from github) but only 1 issue.
>>>
>>> So I'm now ready for a 2.2 release and will not make anything big now,
>>> only fix bugs.
>> Awesome man!
>> I noticed that the Channel info list on a midi track is sorted differently
>> from the preset list, though they should be the same presets, right?
>> I'll give it some more testing during the weekend.
>>
>> Unless I start something stupid I should be ready during the weekend.
>>
>> Sitting here, with guitar in hand and will record a bit now \o/ ;)
>>
>> Regards,
>> Robert
> Hey!
> Question:
> How the heck did you do that scrolling presets popup menu?
> Qt does not have such a single column scrolling menu, does it?
> Or did you force it to one column? Or is it completely custom?
> Reminiscent of GTK menus for sure.

It's just
mmaps[itype]->setStyleSheet("QMenu { menu-scrollable: 1; }");
Line 443 in helper.cpp.

>
> Reason I ask is, well, it's a bit tedious to scroll through all the items.
> Can you possibly instead make use of our custom popup menu class?

I don't like <more> <more> style because sometimes it's too hard to 
navigate through such menus. If there are lots of items, these popups 
wrap the width of screen and can be shown on (0,0) position. After that 
it's a bit tricky to move mouse back and not to close everything. 
Instead in scrollable menu I have only to use page up and page down to 
navigate.
If I'm alone in my opinion y hen it will not be hard to convert them to 
more/more/more type.

Regards,
Andrew
>
> I've taken great care to make sure that our custom PopupMenu class
>   is safe - it limits the number of columns and automatically
>   splits too many columns or items into <More...> submenus.
> That was necessary because I discovered Qt's QMenu class
>   actually has a crappy limit on how many columns and items!
> If you go beyond a certain number of columns, the column counter
>   actually weirdly rolls over - modulo style!
>
> Tim.
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> _______________________________________________
> Lmuse-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lmuse-developer


------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Lmuse-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmuse-developer

Reply via email to