Quantcast

Default menus for figures

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Default menus for figures

Rik-4
3/3/17

I'm looking at resolving this bug
(https://savannah.gnu.org/bugs/index.php?50449) where the menus created for
a Qt figure are not proper uimenu objects that can be accessed by the
programmer.  The simplest thing to do is to create uimenu objects whenever
a new figure is opened.  This is already done for FLTK, so the only change
is extending it the code to run when the qt toolkit is selected.  However,
the menu options in FLTK and Qt are different.  We should consolidate and
agree on what options should be present.  That's the purpose of this
e-mail.  What do people want?

--Rik

The current situation is

FLTK : File Edit

File
  -> Save
  -> Save As
  -> Close

Edit
  -> Toggle grid on all axes
  -> Show grid on all axes
  -> Hide grid on all axes
  -> Autoscale all axes
  -> GUI Mode
     -> Pan x and y
     -> Pan x only
     -> Pan y only
     -> Disable pan and rotate
     -> Rotate only
     -> Enable mousezoom
     -> Disable mousezoom

Qt : File Edit Help

File
  -> Save
  -> Save As
  -> --------
  -> Close Ctrl+W

Edit
  -> Copy
  -> ------------
  -> Rotate
  -> Z+
  -> Z-
  -> Pan
  -> Insert text
  -> Select

Help
  -> About Octave


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Default menus for figures

Michael Godfrey


On 03/03/2017 07:25 PM, Rik wrote:

> FLTK : File Edit
>
> File
>    -> Save
>    -> Save As
>    -> Close
>
> Edit
>    -> Toggle grid on all axes
>    -> Show grid on all axes
>    -> Hide grid on all axes
>    -> Autoscale all axes
>    -> GUI Mode
>       -> Pan x and y
>       -> Pan x only
>       -> Pan y only
>       -> Disable pan and rotate
>       -> Rotate only
>       -> Enable mousezoom
>       -> Disable mousezoom
>
> Qt : File Edit Help
>
> File
>    -> Save
>    -> Save As
>    -> --------
>    -> Close Ctrl+W
>
> Edit
>    -> Copy
>    -> ------------
>    -> Rotate
>    -> Z+
>    -> Z-
>    -> Pan
>    -> Insert text
>    -> Select
>
> Help
>    -> About Octave
Combined:

File
   -> Save
   -> Save As
   -> Close

Edit
   -> Show grid on all axes
   -> Hide grid on all axes
   -> Autoscale all axes
   -> GUI Mode
      -> Pan x and y
      -> Rotate only
      -> Enable mousezoom
      -> Disable mousezoom

Help
   -> About Octave


Just suggestions. Simpler is better, but choose what you think best. After the unification
other items could be added as requested.

Most important is the do the unification.

Michael


Loading...