2009/7/27 D. Michael McIntyre <[email protected]>

>
> Why don't you fix the useful tuplet feature next.  The "click this to enter
> triplet insertion mode" feature that hangs off the bottom of the left-most
> toolbar.  (I have no idea what the slot is called, etc.  That's part of the
> challenge!)  The other one has always been buggy, and I rarely use it.  I
> get
> better results going into "triplet insert mode" before entering anything.
>
> See if you can get this one working without having to resort to commenting
> out
> the useful parts, Grasshopper.  :)
>

Okay here it comes. It's ugly and should be rejected but works. There was
some
problems:

1. To get triplet_mode button checkable. The chord_mode is but could not
find
where it's done. So ugly workaround with findAction.

2. Recycling of old code in NotationView. We are not going to have a
statusbar
in notation window, are we? If not it could be much cleaner.

3. isInTripletMode moved from NotationView to NotationWidget. There seems to
be no action interface in NotationWidget, so have to go with old way and use
extra
variable to store mode.

3.5 Variable is uninitialized before first button press.

Maybe some code of this patch is useful.

-Jani

Attachment: patch-jfrilander-20090908
Description: Binary data

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to