Commit Graph

523 Commits

Author SHA1 Message Date
kh1
b0f9b1d491 We need to check for namespace nokia too.
Reviewed-by: ck
2010-04-28 15:07:05 +02:00
kh1
125d416ab6 The return value was reversed, though not checked really. 2010-04-28 15:07:04 +02:00
ck
00b4ef8ec0 Help documents list: Only show close button when closing is possible. 2010-04-26 11:56:37 +02:00
kh1
d086f76038 Improved workaround for new qt documentation, base on dboddie's work.
Make the check more generic, to also work for all other Qt namespaces
than qt.ver.s.ion. Still there's something broken in Qt webkit or so.

Reviewed-by: ck
2010-04-23 12:20:21 +02:00
con
2958b0bae2 Cmd+0 is already taken for hiding the navigation sidebar. 2010-04-23 04:30:47 +02:00
kh1
e6900ff03d Just use the path as the url can have an anchor attached etc...
Fixes the broken topic chooser and keyword resolving.

Reviewed-by: ck
2010-04-20 16:17:29 +02:00
kh1
342e621253 Quick fix to make the documentation work, needs a proper solution though.
Reviewed-by: kh
2010-04-19 19:08:51 +02:00
Thorbjørn Lindeijer
02ebee6d23 Tweak frame for open editors and open help pages switchers
In the GTK style the scroll bar likes to be outside of the scroll area
frame. Like with the completion widget, we put the visible frame
explicitly outside of the scroll bar.

Reviewed-by: Jens Bache-Wiig
2010-04-15 19:14:00 +02:00
Thorbjørn Lindeijer
407fa3c3d5 Added theme icon to the help contents action
Also put it at the top, since it looks better there with the icon.
2010-04-15 15:08:51 +02:00
Thorbjørn Lindeijer
7fc5c4173d Corrected a bunch of capitalizations in label texts 2010-04-15 15:08:51 +02:00
Thorbjørn Lindeijer
0d04949d1c Removed the gray border around the open editors widget
It looks wrong when a shadow is added, which a lot of window managers do
these days. Whether is looks better when no shadow is added by the
window manager is debatable.

Reviewed-by: Jens Bache-Wiig
2010-04-13 17:33:36 +02:00
Thorbjørn Lindeijer
e07821855c Help mode: don't hide the frame for the open pages switcher
Also removed a superfluous elide mode setter.

Reviewed-by: kh1
2010-04-13 17:33:36 +02:00
Thorbjørn Lindeijer
f8a29ea465 Cosmetics 2010-04-12 18:54:05 +02:00
kh1
66e5da215a Fix typo. 2010-04-12 16:43:23 +02:00
kh1
a84b3b5291 Implement Ctrl+Tab/Ctrl+Shift+Tab support to cycle thru open pages.
Reviewed-by: ck
2010-04-12 16:13:58 +02:00
kh1
a11df78318 There was a connect to much, triggering a pages switch on mouse press.
Make Thorbjorn happy.  :)

Reviewed-by: ck
2010-04-09 11:29:50 +02:00
dt
5f2ae2af47 Less includes 2010-04-07 13:51:07 +02:00
kh1
777153215a Remove some more webkit defines.
Font stuff is now handled completely inside the help viewer class.

Reviewed-by: ck
2010-04-06 17:50:19 +02:00
kh1
819aac149d Change tooltips as suggested by Leena.
Reviewed-by: Leena Miettinen
2010-04-06 09:15:12 +02:00
kh1
19b75e912a Fix broken link for key implementation since last changes to the filter.
The links have been taken before from the model, now we need to get
them out of the help files, since the help eninge core does not provide
(yet) such functionality. Also return a sensible amount of hits for the
first character, limited for now to 300 for speed reasons.

Reviewed-by: ck
2010-04-06 09:15:11 +02:00
kh1
f1e5851257 Fix newline. 2010-04-01 14:52:41 +02:00
kh1
0628ca1957 Make the content item the default one.
To make the addition of the qml docs more prominent, make the content
item the default one as it shows all available documentation sets.

Task-number: QTCREATORBUG-1024
Reviewed-by: kkoehne
2010-04-01 14:52:40 +02:00
con
ded5ed975a Version bump 2010-03-31 18:06:02 +02:00
kh1
d97bdd1af6 Fix warning as seen by fkleint about missing stack widget item. 2010-03-31 13:15:28 +02:00
kh1
9c0478c390 Fix typo and code leftover. 2010-03-31 13:15:27 +02:00
Oswald Buddenhagen
7400513695 fix compile with gcc: namespace friend class declaration 2010-03-30 18:40:35 +02:00
kh1
edcefd69ad Implement tabless help mode, behaves now like edit mode. 2010-03-30 17:51:46 +02:00
kh1
a8801d15c5 Implement text highlight support after full text search. 2010-03-30 17:51:45 +02:00
kh1
6ea66ca3bd Implement a common interface for help viewers.
Both implementations are now split into two source files, based on the
base class type. They share also a commen implementation, but the class
interface looks now clean to the outside. Adopt other classes for use.
2010-03-30 17:51:44 +02:00
kh1
0cf2bc3b43 Fix dots showing up in second column of the widget.
Since we use a two column model/treeview we need to prevent returning
some text data, otherwise we will see dots in the secound column. We also
need to emit pagesChanged once we init the model.
2010-03-30 17:51:43 +02:00
kh1
b1411d540c Implement open pages classes to handle doc files like edit mode.
Based on the implementation done by ck, slightly modified and thus put
under the private help internal namespace.
2010-03-30 17:51:42 +02:00
kh1
a3a531c5b1 These have been commited by accident. 2010-03-30 17:51:41 +02:00
kh1
89d20924c8 Add some more constants and make use where possible. More to come. 2010-03-30 17:51:38 +02:00
kh1
8b96dbf747 Remove some superfluous includes. 2010-03-30 17:51:37 +02:00
Thorbjørn Lindeijer
2d21060bc9 Added icons to options dialog categories
Some categories do not have icons yet, unfortunately.
2010-03-26 17:47:31 +01:00
kh1
4469564f2d Remove unused code. 2010-03-25 18:37:36 +01:00
con
221f63205a Fix leak in help plugin.
Reviewed-by: kh1
2010-03-24 11:39:17 +01:00
kh1
6ac6be5db2 Rewrite of the whole help modul initialization.
We now do as much as possible lazy initialisation, e.g only start the
full text search indexer if we really access the search widget. Also
moved the QFutur progress into the search widget. Changed all ctors to
be called without an argument, since we share the help engines from
help manager all over the place. Make use of the fact that we only need
to call setupData on the gui engine if we access the help mode, otherwise
all data is fetched thru the core engine whichs setupData is really fast.
2010-03-23 18:13:12 +01:00
kh1
c3326eb627 Implement our own search for keywords using QSql.
Currently we can only retrieve a list of keywords from the help index
model, which is slow and needs a fully setup gui help engine. This needs
to be implmeneted in the help lib though.
2010-03-23 18:13:10 +01:00
kh1
8d118d3a8d Add some more convinient functionality the help manager.
Add some more statics that can return the class instance,
implements a gui help engine and the bookmark manager for
easier sharing.
2010-03-23 18:13:08 +01:00
kh1
42e01eaaab Move the constants where they belong. 2010-03-23 18:13:07 +01:00
kh1
c504a7ceee Fix wrong naming scheme. 2010-03-23 18:13:06 +01:00
kh1
fa32d9a9d0 Make use of the core engine, no need for gui stuff. 2010-03-23 18:13:04 +01:00
kh1
63f31dcb66 Remove some superfluous stuff. 2010-03-23 18:13:04 +01:00
Friedemann Kleint
5dd8dfba30 tr()-Fixes 2010-03-23 17:24:59 +01:00
Friedemann Kleint
bbcacaf59f Header cleaning spree in Core/Debugger and Symbian/Maemo-code of Qt4. 2010-03-18 10:59:06 +01:00
kh1
54be2fed8a We need to create the right pane also in case we handle a help request. 2010-03-16 19:33:25 +01:00
kh1
10c3240e40 Add some tooltips explaining how to use filters, documentation page. 2010-03-16 17:34:53 +01:00
kh1
3357458101 Some more refactoring, reuse existing code.
Reuse the core help engine in the settings pages. Do not setup the gui
help engine at all since any getter will do so. Split update documentation
into smaller pieces for better performance.

Reviewed-by: ck
2010-03-16 15:54:41 +01:00
kh1
37871bc43c Lazy reset the unfiltered filter.
Reviewed-by: ck
2010-03-16 15:54:40 +01:00