Commit Graph

44 Commits

Author SHA1 Message Date
Eike Ziller
9007d2cb33 Help index filter optimizations
Move retrieval away from prepare search, and do some caching. Also split
the keyword search into individual chunks per help database that are
executed on the UI thread individually.

Change-Id: I0b8fe4abfc3cba46620985752d3d90638e10512f
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-01-08 11:27:10 +01:00
Eike Ziller
7270636cb1 Help/OS X: Use native viewer by default if welcome uses QQuickWidget
Since using window container breaks the native view hierarchy
(QTBUG-39363), we can use the native viewer only if we use QQuickWidget
for the welcome screen.

Task-number: QTBUG-39363
Change-Id: I26407a5c1db558d9a8ac6d79c37e3ffa0e009ed6
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
2014-12-19 10:41:35 +01:00
Eike Ziller
a439d939e6 Remove more Qt version checks
Change-Id: I4440b7a9fb2c16b10deab8e8abfcb0eaa8bb45bb
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
2014-09-10 17:04:10 +02:00
Christian Kandeler
847f10e9cc Remove Qt version checks.
Qt 5.3 is the minimum requirement these days. Remove all fallback code
from sources and project files.

Change-Id: If6188a471197acadda4d6baee71804ba1a8026c6
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2014-09-08 10:33:25 +02:00
Eike Ziller
e7ac9facd3 Help: Implement a real external help window
With this patch it is just used with the context help "always show in
external window" option.

Change-Id: I4bc6ba8e0e241500f6970d4cb72f66ba02075ef5
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
2014-06-20 14:01:28 +02:00
Eike Ziller
b2a2a89358 Help: Create separate help widget class
That contains the tool bar together with a help viewer,
which can also be used for an external help window, and later be
extended to also replace the extra "central widget".

Change-Id: I73fac4c135b985cbe47062b90783f156b5062005
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
2014-06-20 14:01:18 +02:00
Eike Ziller
c5be32fae7 Help: Provide native WebView backend on Mac
Run Qt Creator with environment variable QTC_HELPVIEWER_BACKEND to
* 'native' to get the WebView based one on Mac
* 'textbrowser' to get the QTextBrowser based one

Defaults to use QWebView if QtWebKit is available, or QTextBrowser if
not, like before.

Change-Id: If0660782b18ff3d89301fa7bcaf4e2e2fb69627d
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2014-05-30 09:37:04 +02:00
Eike Ziller
96e8f0bb7b Help: Cleanly separate different viewer backends
Removes the conditional compilation of the text browser vs web kit,
cleans up the code, and enables us to provide and test other backends
(WebEngine? Native?)
Adds runtime switch for testing the text browser variant by setting
environment variable QTC_FORCE_TEXTBROWSER (for now)

Change-Id: I8cc9bb373438d37c8194e433224314caa0b617bd
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2014-05-13 08:57:47 +02:00
Orgad Shaneh
568841cc2e Help: Add "Get Help Online" action for tasks
Useful for looking up compiler warnings on the web.

Change-Id: I1e77c3b97f7907880e2caa6d7e6070b03d846420
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2014-03-25 17:04:52 +01:00
Tobias Hunger
160992f813 Help: Remove export macros
They were not used

Change-Id: I3e461d16937d5e5617077b394d5535be84a0b45e
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
2013-08-26 10:00:12 +02:00
Oswald Buddenhagen
06acd82ada derive TARGET from QTC_{LIB,PLUGIN}_NAME
the information is redundant now

Change-Id: Icc8c8b4ace11538d45c6c9e1dbe5a7976f4743e1
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2013-04-03 14:37:56 +02:00
Oswald Buddenhagen
9631fb88cf centralize assignment of TEMPLATE = lib
Change-Id: I4025539f3875e79f03743ba9ed3fd09cd31b998d
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-04-02 17:13:17 +02:00
Oswald Buddenhagen
7ce3362288 automatically include libs' and plugins' _dependencies.pri files
Change-Id: I25645bb625b467c6f9d895ff89a70acd6a25683e
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-04-02 12:19:31 +02:00
Orgad Shaneh
88267a3299 Generalize QT_NO_CAST_FROM_ASCII
Change-Id: I2b6c5876cafb7cf19fc3040bc84fd88a90b6c0e0
Reviewed-by: hjk <qthjk@ovi.com>
2013-01-16 01:14:08 +01:00
Eike Ziller
5a10ad8078 Merge remote-tracking branch 'origin/2.6' 2012-12-03 15:46:21 +01:00
Kai Koehne
61f01c875c (Hopefully) fix compilation with Qt5/Mac
Compilation on mac with latest qt5 fails with

   fatal error: 'QWebSettings' file not found

The compiler call adds "include/QtWebKitWidgets" to include path,
not "include/QtWebKit" . This might be a qmake related issue on mac.
Attempt to fix it by adding an explicit webkit dependency.

Change-Id: I032dd4dda7371a8d477f8544b0ba0004856f3d76
Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
2012-12-01 23:29:48 +01:00
Orgad Shaneh
c37420eeb3 Help: Compile with QT_NO_CAST_FROM_ASCII
Change-Id: Iba24d4f2d02de790f31d9606c7f9b85faf4670ce
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
2012-11-27 13:18:22 +01:00
Simon Hausmann
fbf6a8da75 Fix use of QtWebKit in QtCreator's Help plugin
The help plugin uses the widgets API of QtWebKit and therefore needs
QtWebKitWidgets

Change-Id: I49b8530e3f44b42c48979c33d0b6b1fdb20c374b
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2012-10-22 11:14:13 +02:00
Nikolai Kosjar
366a9316ff Enable webkit for help plugin (Qt5 Build).
Now the formatting in the help viewer looks as usual again.

Webkit was disabled to make creator compile with Qt5 in the Nov 2011
days.

Change-Id: Ic926cc94bda4a4953360f2daee414ba17aa4037b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2012-10-08 09:55:57 +02:00
Friedemann Kleint
f03a76e1ca Fix qmake-warnings in Qt 5.
Use QT += help, designer, clean up Designer include hack.

Change-Id: I630cc7575d541ba4dc6c5cbecd335dbb8167e1c9
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2012-07-30 15:28:29 +02:00
Friedemann Kleint
b0eff051c1 Add Qt 5 libraries to .pro files.
Make Qt Creator compile with Qt 5 after using fixqt4headers.pl.

Change-Id: I74ca51d562f49378b40103b79848f5dd3b11e77e
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-11-24 12:02:30 +01:00
kh1
0985f9c1c4 Fix ambiguity with help manager by renaming the file to match class.
Task-number: QTCREATORBUG-3090
Reviewed-by: ck
2010-11-16 16:25:55 +01:00
Kai Koehne
796cb76044 HelpPlugin: Compile fix for msvc2010
Make sure that help/helpmanager.h is before coreplugin/helpmanager.h
in the INCLUDEPATH.
2010-11-11 13:08:47 +01:00
Bill King
5361313118 help plugin: Make compile on windows/under pulse 2010-11-08 15:08:41 +10:00
Oswald Buddenhagen
e160f071ce centralize addition of pluginspecs to OTHER_FILES 2010-11-03 17:47:41 +01:00
kh1
de040e80fc Initial support for showing help in external window.
Task-number: QTCREATORBUG-1473
2010-07-23 16:37:29 +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
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
edcefd69ad Implement tabless help mode, behaves now like edit mode. 2010-03-30 17:51:46 +02:00
kh1
e94ff514ed Move HelpManager it's own source files.
Reviewed-by: ck
2010-02-02 14:27:11 +01:00
Friedemann Kleint
a8ac34c347 Options: Sort by category, id.
Separate category and trCategory and introduce sorting characters
to the categories. Same for id/name.
2009-11-27 16:12:12 +01:00
Friedemann Kleint
db96f274fc Compile on Windows: Correct dependency specification. 2009-08-13 09:25:33 +02:00
dt
c7b1b499d3 Add missing help_dependencies.pri 2009-08-12 18:32:52 +02:00
Daniel Molkentin
5633de2ac9 Make the welcome screen into plugins.
This removes the all hard dependencies to and from welcome screen,
except the one to the core plugin. More in detail:

- Add IWelcomePage to add a tab to the welcome screen
- Move tabs in the modules where they belong
- Enables QHelpManager to open help fullscreen and contextually
- "Getting Started" moves to Qt4ProjectManager
- Projects & Sessions (aka "Develop") moves to ProjectExplorer
- "Community" remains in the welcome plugin for simplicity
2009-07-28 16:11:55 +02:00
Daniel Molkentin
f8f0c4ce44 Move Welcome Page to separate plugin. 2009-07-21 13:58:27 +02:00
kh
e4b0bd28cb Implement import - export of help bookmarks.
Task-number: 254695
2009-07-08 15:03:40 +02:00
kh
0b1bc40b65 It is now possible to configure the help viewer font.
Task-number: 253365
2009-06-25 17:16:16 +02:00
Alessandro Portale
2be7226215 Rename qworkbenchplugin.pri to qtcreatorplugin.pri 2009-05-08 16:42:48 +02:00
dt
8f738dfcc8 Add the *.pluginspec to OTHER_FILES so that we can use Locator for them
Hopefully i didn't miss a plugin.
2009-04-22 15:06:58 +02:00
hjk
fe0533de2a Fixes: move all files in shared/* to src/shared/* 2009-01-26 16:19:24 +01:00
Patrick Star
4d60687b66 Fixes: - use indexwindow from shared 2008-12-04 15:03:57 +01:00
Patrick Star
7d6f2bb45a Fixes: - use QT_NO_WEBKIT instead of QT_WEBKIT, USE_WEBKIT
Task:     - none
AutoTest: - compile test
Details:  - use QT_NO_WEBKIT instead of QT_WEBKIT, USE_WEBKIT
2008-12-02 13:38:31 +01:00
con
05c35356ab Initial import 2008-12-02 12:01:29 +01:00