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

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

[Octave-bug-tracker] [bug #53006] GUI Documentation Browser displays Ind


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #53006] GUI Documentation Browser displays Index chapters of manual poorly
Date: Sat, 31 Mar 2018 14:09:43 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #98, bug #53006 (project octave):

OK.  For the temp directory, yes, use the Qt features inside the GUI (I think
there is a method for generating temp directories too).

Also, FYI QTextBrowser inherits QTextEdit, which has a find() function:

http://doc.qt.io/qt-5/qtextedit.html#find
http://doc.qt.io/qt-5/qtextdocument.html#FindFlag-enum

which will search for and highlight the occurrence of the supplied string.  So
all that is needed is to layout some text boxes and buttons in a footer,
initially hidden, toggle the hidden state with Cntrl-F, and make some
connections.  Unfortunately, the find() above is not a slot, but one can
create a slot documentation_browser::do_find() and connect it to one or more
of the buttons in the footer, then there should be no need for any new
classes.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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