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

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

[Octave-bug-tracker] [bug #53046] Variable Editor: feature request to ma


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #53046] Variable Editor: feature request to make multiple tables visible at once.
Date: Sun, 18 Feb 2018 14:02:13 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #34, bug #53046 (project octave):

The patch works here, thanks.  The nice thing about organized signals/slots is
simple changes like this.  (Would it worthwhile putting these changesets on a
new branch off dev?)

Now, for Philip's case, it's sort of the other direction: wanting to unhide
the floated dock windows when the V.E. window becomes unfocused.  We could try
just that, e.g., rewrite the virtual routine focusOutEvent():


variable_editor::focusOutEvent(QFocusEvent *event)
{
  QList<variable_dock_widget *> widglist = findChildren<variable_dock_widget
*> ();
  for (int i = 0; i < widglist.size (); i++)
    {
      widglist.at (i)->setVisible (widglist.at (i)->is_visible ());
    }
}


where the visibility state would have to be stored in the variable_dock_widget
object (prior to going out of focus...otherwise it might simply be storing the
visibility state at the wrong time).  If the windowing system changes the
visibility of those sub-windows after focusOutEvent() is called, then there
isn't much one can do.  (That's what I meant about the windowing system being
a sort of independent player in the Qt system.)  I'd rather not experiment
with that sort of thing at this point, though, as it would just confuse that
we have working.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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