bugGNU Octave - Bugs: bug #50449, Qt figure should have uimenu...

 
 

bug #50449: Qt figure should have uimenu objects as children of figure

Submitted by:  Rik <rik5>
Submitted on:  Fri 03 Mar 2017 07:10:13 PM UTC  
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 03 Mar 2017 07:10:13 PM UTC, original submission:

In Matlab, the default menus (such as File, Edit) are uimenu objects which are children of the current figure. The property "HandleVisibility" is set to "off" so they are not returned by

However, they can be returned with findall or allchild.

For FLTK, this system is already implemented. When figure.m is called to create a new figure, it calls scripts/plot/util/private/__add_default_menu__.m to add uimenu objects. However, for Qt figures the menus are different and they are created directly in libgui/graphics/Figure.cc.

The simplest thing, I think, is to have _add_default_menu_.m also run for Qt and then eliminate the C++ code in Figure.cc

Rik <rik5>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.3