Commit Graph

197 Commits

Author SHA1 Message Date
kh1
4660ff4a04 Highlight only topics, not in text hits.
Task-number: QTCREATORBUG-1964
Reviewed-by: kh
2010-07-29 15:35:02 +02:00
kh1
7608604c5f Remove superfluous class member. 2010-07-26 16:08:21 +02:00
kh1
de040e80fc Initial support for showing help in external window.
Task-number: QTCREATORBUG-1473
2010-07-23 16:37:29 +02:00
kh1
8c0223f874 Some preparations for externel help support. 2010-07-23 16:37:29 +02:00
kh1
c242146a0c Call the proper method to avoid code duplication. 2010-07-23 16:37:28 +02:00
kh1
37b06903d3 Move some code to where it belongs really. 2010-07-23 11:21:06 +02:00
kh1
a59a1e5d37 Use new function signature. Small code cleanup. 2010-07-23 11:21:06 +02:00
kh1
a7d5a1f455 Hide the Unfiltered filter in the settings dialog.
Reviewed-by: ck
2010-07-21 10:14:11 +02:00
kh1
37efd0e10f Implement online help filter.
The search for remote content, like stl::vector in cpp-reference,
google, bing, wikipedia etc...

Task-number: QTCREATORBUG-1375
Reviewed-by: ck
2010-07-16 11:16:21 +02:00
kh1
01fb9cdbaf Make sure we open the help only if needed.
Reviewed-by: ck
2010-07-14 17:01:26 +02:00
con
e85d215460 Merge remote branch 'origin/2.0' 2010-07-13 15:43:48 +02:00
kh1
3af05a8f67 Fix build problem without webkit. 2010-07-13 15:31:46 +02:00
con
b3dbc4b4e4 Add flag to IPlugin::aboutToShutdown that allows asynchronous shutdown.
If a plugin requests asyncronous shutdown, the shutdown sequence does
not continue to deleting the plugins before it has sent a
asynchronousShutdownFinished signal. During that time an event loop
is running.
2010-07-13 15:25:21 +02:00
Friedemann Kleint
adf2c1b0da Merge branch '2.0'
Conflicts:
	src/plugins/qmlinspector/QmlInspector.pluginspec
2010-07-13 15:20:54 +02:00
kh1
6a98c17147 Implement topic highlighting after e.g. F1.
Task-number: QTCREATORBUG-1765
Reviewed-by: ck
2010-07-13 13:30:39 +02:00
kh1
2cd7c7b8c8 Force engine setup.
If we where not in full help mode at least once, the engine
would still run without valid help collection due to the new
lazy initialisation, thus the right side pane would not be
able to retrieve the requested help file.

Reviewed-by: ck
2010-07-08 10:43:01 +02:00
kh1
b546e979d3 Force engine setup.
If we where not in full help mode at least once, the engine
would still run without valid help collection due to the new
lazy initialisation, thus the right side pane would not be
able to retrieve the requested help file.

Reviewed-by: ck
2010-07-07 11:26:59 +02:00
kh1
8f76baa647 Fix the missing call to register the qml and internal help files. 2010-06-29 10:48:52 +02:00
kh1
5337667cc4 Fix the missing call to register the qml and internal help files. 2010-06-29 10:44:14 +02:00
hjk
f56dacc76f Core::Context: remove special handling of C_GLOBAL_ID/C_GLOBAL 2010-06-28 14:30:03 +02:00
hjk
2f5f358ff4 Core::Context: compile hot fix for Windows. 2010-06-25 17:38:25 +02:00
hjk
c7e8b51d37 core: use a class derived from QList<int> instead of a QList<int> for Core::Context
A mostly mechanical change.

Reviewed-By: con
2010-06-25 12:58:07 +02:00
con
af44136e22 Merge remote branch 'origin/2.0'
Conflicts:
	doc/qtcreator.qdoc
	src/plugins/help/helpplugin.cpp
	src/plugins/projectexplorer/projectexplorer.cpp
	src/plugins/projectexplorer/projectexplorer.h
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecontents.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecontents.h
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationstep.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationwidget.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemoruncontrol.cpp
	src/tools/qml/qmldump/main.cpp
2010-06-24 11:40:22 +02:00
kh1
38b2ffce04 Fix missing help plugin shortcuts.
Reviewed-by: ck
2010-06-21 13:27:42 +02:00
Erik Verbruggen
05639e4688 Merge branch 'origin/2.0' (early part) 2010-06-15 11:30:51 +02:00
kh1
7d4bbf4934 Allow http request to be opened in the help plugin.
Reviewed-by: ck
2010-06-14 14:34:32 +02:00
con
30fae3eab1 Merge remote branch 'origin/2.0'
Conflicts:
	doc/qtcreator.qdoc
	src/plugins/projectexplorer/taskwindow.h
	src/plugins/qmldesigner/designercore/model/modelmerger.cpp
	src/plugins/qmljseditor/qmljshoverhandler.h
	src/plugins/qt4projectmanager/Qt4ProjectManager.pluginspec
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationwidget.cpp
	src/plugins/subversion/subversionplugin.cpp
2010-06-11 16:30:39 +02:00
kh1
1b6ad08795 Move help manager into core.
- lessens open file handles
 - improves help plugin startup further

Task-number: QTCREATORBUG-337
Reviewed-by: ck
2010-06-11 13:11:37 +02:00
hjk
5806009d29 Merge remote branch 'origin/2.0'
Conflicts:
	doc/qtcreator.qdoc
	src/plugins/debugger/debuggermanager.cpp
	src/plugins/texteditor/basetexteditor.cpp
2010-06-02 09:57:23 +02:00
Daniel Molkentin
a7f1e80322 Do not try to force a version, this heuristic breaks too often.
Reviewed-by: Leena Miettinen
2010-05-31 13:57:34 +02:00
kh1
9960008f77 Some translation fixes and reuse some existing constants.
Reviewed-by: ossi
2010-05-31 12:39:41 +02:00
Lasse Holmstedt
7ba6fc8834 Fixed localization issues with SideBar
When changing the language, the sidebar items would break because
their localized window titles were used for storing the settings. Now,
id's are used.

Reviewed-by: con
2010-04-29 13:50:21 +02:00
con
ca14299790 Rename IPlugin::shutdown --> IPlugin::aboutToShutdown
Discussed-with: hjk
2010-04-28 17:32:01 +02:00
kh1
c908da836f Fix handleHelpRequest.
* Make sure we only change our own urls inside that function
* QDesktopService::setUrlHandler expects the target slot to take a QUrl

Reviewed-by: ck
2010-04-28 15:07:06 +02:00
con
2958b0bae2 Cmd+0 is already taken for hiding the navigation sidebar. 2010-04-23 04:30:47 +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
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
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
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
kh1
edcefd69ad Implement tabless help mode, behaves now like edit mode. 2010-03-30 17:51:46 +02: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
42e01eaaab Move the constants where they belong. 2010-03-23 18:13:07 +01:00
kh1
fa32d9a9d0 Make use of the core engine, no need for gui stuff. 2010-03-23 18:13:04 +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
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
kh1
c06323032a Lazy instantiate the right side pane and reuse core engine.
Reviewed-by: ck
2010-03-16 15:54:39 +01:00