octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44776] [Qt] Restore window button does not tr


From: Michael Goffioul
Subject: [Octave-bug-tracker] [bug #44776] [Qt] Restore window button does not trigger a repaint event for its content
Date: Fri, 10 Apr 2015 18:16:38 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.76 Safari/537.36

Follow-up Comment #11, bug #44776 (project octave):

Given that a figure can contain a menubar and toolbars, it would be difficult
to inherit from QCanvas or QGraphicsScene. Or you'd need another outer
container. But the fact is that a Matlab figure has a dual personality: it
represents the external window (with a toolbar, a menubar...), and at the same
time it represents the internal container (QMainWindow's central widget; e.g.
"position" property maps to the position of the central widget in global
coordinates; removing the figure's menubar doesn't change the "position"
property, which means you have to move the outer container to keep "position"
constant...). This dual personality makes things more complicated than it
seems.

That being said, you are obviously welcome to rewrite the graphics code using
a state-of-the-art approach.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44776>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]