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 15:29:42 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

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

@JWE: Here are the flags I think you were interested in:

http://doc.qt.io/qt-5/qmainwindow.html#storing-state


  m_main->setDockOptions (QMainWindow::AllowNestedDocks |
                          QMainWindow::VerticalTabs);


The former option the sub-dock areas to be further subdivided which is a bit
like free-form placement.  The latter option isn't always vertical tabs, but
makes them vertical *if* the dock is at the left or right edge area.  (To
clarify, I'm attaching a screen shot.)  I think combining those two (without
restriction) doesn't make sense because people will wonder what the rule is
for the vertical/horizontal tabs.  However, I can place the dock widget in the
right area rather than the top area by default--and then I can restrict the
dock widgets individually to the left/right areas.


  page->setAllowedAreas(Qt::LeftDockWidgetArea |
                        Qt::RightDockWidgetArea);
  m_main->addDockWidget (Qt::LeftDockWidgetArea, page);


I've incorporated those changes in the attached changeset (which doesn't have
Torsten's addition, but his changeset should still apply).

(file #43349, file #43350)
    _______________________________________________________

Additional Item Attachment:

File name:
vertical_and_horizontal_tabs_Screenshot_from_2018-02-18_14-05-06.png Size:37
KB
File name: octave-multipanel_variable_editor-djs2018feb18.patch Size:98 KB


    _______________________________________________________

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]