- Jul 22, 2016
-
-
Allan Sandfeld Jensen authored
Remove backspace short-cut, Chromium will already handle that if it is standard on the platform. Also we were not triggering on Back/Forward buttons due to those being mapped to prev/next tab item in Qt. Task-number: QTBUG-54546 Change-Id: I9a4f48c718c5685ca9ca1b032d8b04409ac622ca Reviewed-by:
Jesus Fernandez <jesus.fernandez@theqtcompany.com> Reviewed-by:
Kai Koehne <kai.koehne@qt.io>
-
- Jun 20, 2016
-
-
Michael Bruning authored
Add a flag to let checkForExpired remove the entries directly. Task-number: QTBUG-54222 Change-Id: Iddac9e50f645d74b95d0ea13ed76d7f858ddd137 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
Kai Koehne authored
Setting the Qt::AA_EnableHighDpiScaling attribute makes sure that the scrollbars are scaled, and that the default zoom level is sensible. Task-number: QTBUG-54113 Change-Id: I0ae7eb97cb9e2824e7f9b92d77cf2986cac66685 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- Jun 10, 2016
-
-
Joerg Bornemann authored
Add missing include to fix error C2027: use of undefined type 'QDebug' on MSVC. Change-Id: Icc62cdf36f417f30691445ab4994b822c8e37db9 Reviewed-by:
Michael Brüning <michael.bruning@qt.io>
-
- Jun 07, 2016
-
-
Allan Sandfeld Jensen authored
This makes it possible to also test flash from simplebrowser. Change-Id: I94677383fdbea4a723432ea6811ee72314c019fd Reviewed-by:
Alexandru Croitor <alexandru.croitor@theqtcompany.com> Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io>
-
- Jun 03, 2016
-
-
Allan Sandfeld Jensen authored
Application short-cuts override the passing the keys to WebCore, and makes it impossible to type '/' in form elements. Change-Id: I7df99547f99a3a0703d98d19d3ccdb23de0641ce Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io>
-
- May 24, 2016
-
-
Joerg Bornemann authored
Do not redefine QWebEngineView::iconChanged. This fixes the following warning: QMetaObject::indexOfSignal: signal iconChanged(QIcon) from QWebEngineView redefined in WebView Change-Id: I2489bfcf9379200f9bfa24345b56679f138894fe Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
Joerg Bornemann authored
This amends commit 213fbe76 . Change-Id: Ie5ca9f7713b0653e0e5241eb3e99644425a3b1e3 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- May 11, 2016
-
-
Alexandru Croitor authored
Passing just command line options to Chromium prevents loading of the initial startup url. This happens because the startup url is overridden by the last command line argument, which happens to be a Chromium option, thus an invalid URL. Fix consists in using the last command line argument as the loading url only if it can be parsed as valid url. Change-Id: I3615ef57b6eddc5098de79cba1b1ba6b6af193ef Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- May 10, 2016
-
-
Oswald Buddenhagen authored
Change-Id: Ifee9bb458de2c15760da21938b5e5bb598936161 Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io>
-
- May 09, 2016
-
-
Michal Klocek authored
In case of render epic fails, let the user leave the loaded page with dignity. Change-Id: I27f692fc0bb181c1d4f7ce43f5772d5573d7e385 Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io>
-
- May 04, 2016
-
-
Michal Klocek authored
Current implementation of history manager seems to be not straight forward. To display history we use QList to keep history items plus model adapter in form of HistoryModel (QAbstractTableModel) plus HistoryFilterModel to avoid duplication, plus HistoryTreeModel to make a tree view with split for dates, plus TreeProxyModel on top to enable sorting. This approach unfortunately falls apart when items should be deleted from the model by treeView. This ends badly with corrupted cached values. This fix removes history items using history manager. It also abandons HistoryTreeModel since frequent sourceReset calls make it unusable. If split for dates it desired the better approach would be to implement history tree model already at HistoryManager level to avoid unmaintainable code. Task-number: QTBUG-49913 Task-number: QTBUG-50255 Change-Id: Ic9cebb52b623bd453119e11b5e907eaa90609e34 Reviewed-by:
Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-
Alexandru Croitor authored
Passing just command line options to Chromium prevents loading of the initial startup url. This happens because the startup url is overridden by the last command line argument, which happens to be a Chromium option, thus an invalid URL. Fix consists in iterating through the command line arguments, until a non-option argument is found (doesn't start with a dash), and use that as the startup URL. Change-Id: Ibe2946b25b2e023c094a85e50d2ccbd5bfce2977 Reviewed-by:
Kai Koehne <kai.koehne@qt.io> Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-
- May 02, 2016
-
-
Michael Bruning authored
The standard pdf print dialog does not work on OS X and Windows. Task-number: QTBUG-53016 Change-Id: Ic9dd1a1603e1cdbd82fef095cc660814bcd8c98e Reviewed-by:
Kai Koehne <kai.koehne@qt.io>
-
- Apr 21, 2016
-
-
Michal Klocek authored
Adds missing deleteLater on close Change-Id: Id337856f138e0d38f0c72d3962ccac309d36c73e Reviewed-by:
Kai Koehne <kai.koehne@qt.io> Reviewed-by:
Eike Ziller <eike.ziller@qt.io>
-
Joerg Bornemann authored
Remove the unused m_loadingUrl member. Remove the loadingUrl signal that was forwarded to urlChanged. QWebEngineView already emits urlChanged. There's no need to do this twice. Change-Id: Ib9734c5b1571745f7b82b4e5f2bc92c7f1d8f51c Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-
Joerg Bornemann authored
Clear the model before saving. Otherwise the cleared history will appear again after restarting the demobrowser. Change-Id: I79f939c1f1e8ee993127d139cefe7f5818ce593c Reviewed-by:
Kai Koehne <kai.koehne@qt.io>
-
- Apr 20, 2016
-
-
Joerg Bornemann authored
The progress bar never reached the 100% mark. Change-Id: Id87bdb27f882d0d77ed0ad590e2c2278ce6fba92 Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com>
-
Kai Koehne authored
Change-Id: I38d16a57116517aee21f6f84c5fca82192cb1572 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> Reviewed-by:
Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by:
Michal Klocek <michal.klocek@theqtcompany.com>
-
Peter Varga authored
The new QQuickImageProvider subclass is used to access downloaded icons from the FaviconManager via the Quick API. Change-Id: I6a52d3c737b2260cf480167764a931915cd99cab Task-number: QTBUG-51179 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-
- Apr 15, 2016
-
-
Kai Koehne authored
Change-Id: I008b649b43069978b6ce19b2faf5a557dd67c756 Reviewed-by:
Michal Klocek <michal.klocek@theqtcompany.com>
-
Alexandru Croitor authored
When exiting fullscreen while viewing a full screen video, the video is replaced with a black screen, and does not switch back to the initial page. This happens when hide() is called on a native window while being in fullscreen, which hides the window, but does not exit full screen mode, thus showing a black screen. The workaround fix consists of two parts: 1) Make sure to delete the fullscreen window object, to release the OS virtual screen it occupies (visible in mission control as a black rectangle). 2) Hide and show the main page window, to force exit fullscreen mode. Change-Id: I364d4427e84957ed97f57a14e2cfc2c95aed6f48 Task-number: QTBUG-52058 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
- Apr 13, 2016
-
-
Joerg Bornemann authored
The SavePage web action is only useful if the user code reacts on the downloadRequested signal. Also, having SavePage available is not useful for e.g. hybrid applications. Extend the demobrowser example to show how to add the SavePage web action to the context menu. Change-Id: I979bcd9f5a25d2cae07ef819663afde17784440b Task-number: QTBUG-52370 Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com> Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
Michael Bruning authored
Adds default QPageLayout values. Change-Id: Ibf2964ecd86350a51d682e385973f830ac4347a7 Reviewed-by:
Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-
- Apr 08, 2016
-
-
Alexandru Croitor authored
Rename all uses of wasRecentlyAudible to recentlyAudible. Add missing recentlyAudible properties. Change QtQuick slots to simple functions. Change affected demobrowser example. Adjust documentation for the API. Change-Id: I5a6f7b8384c0b7e34afaa5c412a5543c210d3ef9 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by:
Michal Klocek <michal.klocek@theqtcompany.com>
-
- Apr 07, 2016
-
-
Kai Koehne authored
Fix compilation warning: qtwebengine/examples/webenginewidgets/simplebrowser/webview.cpp:131: warning: enumeration value 'WebBrowserBackgroundTab' not handled in switch [-Wswitch] switch (type) { ^ Change-Id: I590207c56525db740e62403b6cb949c6281d765c Reviewed-by:
Michal Klocek <michal.klocek@theqtcompany.com>
-
- Mar 31, 2016
-
-
Peter Varga authored
The new API makes possible to access downloaded icons via QWebEnginePage. Thus the QNAM usage for downloading favicons and the corresponding workaround due to authentication are removed from the demobrowser. Change-Id: I9fdcc7ee7673f7caa239d932f20a51c74b24763f Task-number: QTBUG-51179 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
- Mar 30, 2016
-
-
Allan Sandfeld Jensen authored
For QWebEnginePage users to be able to make custom context menu or extend the default context menu, they need information about the context. This patch adds a QWebEngineContextMenuData class that contains contextual information when a context menu is being requested. This is also means we can finally generate a custom context-menu in the demobrowser the same way we did in QtWebKit. Task-number: QTBUG-51079 Change-Id: I695b8cbf648bdc7f119b0ed51ab685cf2f8de8e4 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-
- Mar 25, 2016
-
-
Peter Varga authored
Change-Id: I8e4b11089de29623ed39ec6b13fe30be734baa3e Task-number: QTBUG-51179 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
- Mar 18, 2016
-
-
Kai Koehne authored
- Use a fixed width font for the editor. - Accept .md file as command line argument. Change-Id: I97e3bb930569240e195ecc21ed4ce3d9acd3ff66 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
-
- Mar 16, 2016
-
-
Michael Bruning authored
Also corrects and updates the printToPDF docs to reflect recent changes. Change-Id: Iffe276a1046d6d55923939f9d72b97cd533017ff Reviewed-by:
Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-
Michal Klocek authored
Demobrowser changes: * remove QLocalServer/Socket * remove AutoSaver * remove restoreLastSession * remove general QSettings * remove downloadManager * remove bookmarkManager * remove historyManager * remove searchBar * favor setStyleSheet over overriding paint methods * use lambdas where suitable * use QProgressBar instead of own painted widget * use QToolButton instead of own painted buttons * remove QStackWidget, use single UrlLineEdit per window instead of per tab * split files to keep own classes: webpage and webview * remove tracking windows by QPoiner * remove WebPageActionMapper, TabBar classes * remove QDrag dead code * remove special OS X close app handling * fix encapsulation, clean up application logic Change-Id: I4849b6a2de739dea4f01229abdb90418601a2397 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by:
Alexandru Croitor <alexandru.croitor@theqtcompany.com>
-
- Mar 07, 2016
-
-
Leena Miettinen authored
...to use the external link specified in qtbase\doc\global\externalsites\qt-webpages.qdoc Change-Id: Ieeade45440a5454ec7856230510f3914b1a56800 Reviewed-by:
Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-
- Mar 01, 2016
-
-
Kai Koehne authored
Task-number: QTBUG-51383 Change-Id: I872bdae7267e7dbf2a93a831d435517bcd4bad64 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by:
Michal Klocek <michal.klocek@theqtcompany.com> Reviewed-by:
Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-
- Feb 25, 2016
-
-
Allan Sandfeld Jensen authored
The API needs nothing from view and view just forwards it to the page anyway. This is an page level API, this also makes it work without being shown. Change-Id: I3b8555ab472ec2c7632db3655bcc31925fcfa001 Reviewed-by:
Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-
- Feb 16, 2016
-
-
Michael Bruning authored
Change-Id: I48141d07e9744bb21d64a5c8724579cb469ba35c Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-
Joerg Bornemann authored
Use QLocalServer::removeServer instead of QFile::remove. The socket is usually not in the current directory. Change-Id: Ie5b20b8b02ec7f3065596ebd945a6639bb65a2c0 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-
- Feb 10, 2016
-
-
Adam Kallai authored
- Added middle click navigation support to DemoBrowser. - Extended WebAction with new case (open a new tab in background). - Updated WebEngineWidgets documentation. Change-Id: I4ff91806c274a74f4d94b3f5d43fdd99ab900d46 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-
- Feb 04, 2016
-
-
Kai Koehne authored
Follow the example of the other examples, and always start with WebEngine. This makes also sure that Qt Creator attaches the 'webengine' tag to the example. Task-number: QTBUG-50582 Change-Id: If99ba9a23560abae61e4e2ef5a5b091b3c5473c2 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
-
- Feb 01, 2016
-
-
Jani Heikkinen authored
Update old header.FDL to new header.FDL Change-Id: Iee63498bee1b150b5d079b9a1e82c40bacd4b494 Reviewed-by:
Lars Knoll <lars.knoll@theqtcompany.com> Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-