[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50449] Qt figure should have uimenu objects a
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #50449] Qt figure should have uimenu objects as children of figure |
Date: |
Fri, 3 Mar 2017 14:10:14 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
URL:
<http://savannah.gnu.org/bugs/?50449>
Summary: Qt figure should have uimenu objects as children of
figure
Project: GNU Octave
Submitted by: rik5
Submitted on: Fri 03 Mar 2017 11:10:13 AM PST
Category: Plotting with OpenGL
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: Confirmed
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
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
get (gcf, "children")
However, they can be returned with findall or allchild.
allchild (gcf)
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
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50449>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #50449] Qt figure should have uimenu objects as children of figure,
Rik <=