tonkv / qdevelop

Automatically exported from code.google.com/p/qdevelop
0 stars 0 forks source link

Assistent not opening correct page for member functions #82

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Take your cursor to a member function of a Qt-Class (e.g. setToolTip)
2. Press F1

What is the expected output? What do you see instead?
An assistant window is opening and I see an error message:
The page could not be found
'/usr/local/Trolltech/Qt-4.2.2/doc/html/settooltip.html'

It would be great if assistant behaves as if I entered "setToolTip" in its
search box and press Enter. In this case, it should open a list of classes
with that function. For functions which exist only in one class (e.g.
setViewportMargins), it should open the page of the corresponding class
QAbstractScrollArea and jump to the explanation of setViewportMargins.

What version of the product are you using? On what operating system?
Version 0.21 and current SVN on Kubuntu 6.10, Qt 4.2.2

Original issue reported on code.google.com by ralfjun...@arcor.de on 28 Dec 2006 at 1:26

GoogleCodeExporter commented 8 years ago
I can see this on 7.04 as well.

Original comment by cucoma...@gmail.com on 10 Sep 2007 at 7:38

GoogleCodeExporter commented 8 years ago
Fix from
https://code.launchpad.net/~qdevelop-experimental/qdevelop/divius
If class name is empty it acts as inputing the keyword in "index" search box.
only for qt >= 4.4.0. I don't know whether it works under earlier version or 
not.

Original comment by Lord.Div...@gmail.com on 20 Jan 2009 at 6:22

Attachments:

GoogleCodeExporter commented 8 years ago
Final patch (should be applied after previous) for Qt >= 4.4.0
Now even constants (e.g. QProcess::NotRunning) are supported.
There's still search in index if class name cannot be determined.
Fixed an error that sometimes lead to crush after pressing F1.
Testing is desired.

Original comment by Lord.Div...@gmail.com on 20 Jan 2009 at 10:32

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed in revision 358

Original comment by jlbi...@gmail.com on 27 Jan 2009 at 3:01