| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Group directories under ~/.cache and ~/.config.
Fixes: QTBUG-71669
Change-Id: Ia55aeab8c0e38f58afcbda128f04fd3d85c3df5e
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
800x600 takes more space than expected when building a layout which
contains QWebEngineView. Now this function does exactly the same as
QWidget::sizeHint().
Add an auto test and update examples which were depending on this
hardcoded size.
Change-Id: I3b34b7d37cc99a8d6a49100d6c4b66b5b6a1c999
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
By default whenever a Qt application is built with Qt Quick compiler,
it will scan all qrc resources for javascript files, generate
corresponding C++ code, and remove the original JS code. This is
problematic for web pages that are loaded in WebEngine because the pages
won't be able to access the javascript code, and silently fail (or if
you are lucky, you will get some unrelated "can not be found" error).
Use the undocumented QtQuick Compiler
QTQUICK_COMPILER_SKIPPED_RESOURCES qmake variable to specify that
Javascript source code found in qrc files should be left as is.
Task-number: QTBUG-66155
Change-Id: Ib1dc744901baddd9e0c17c53db1ffede5c31e544
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Use the new signals and slots syntax, QStringLiteral, lambdas and nullptr.
- Use tr consistently for user-visible text.
- Use unprefixed CSS transform properties.
- Remove the "; undefined" workaround for runJavaScript calls, which is supposed
to prevent a "possible recursion loop and crash" due to QVariant conversion.
However, since no callback is passed to the method, no such conversion is
taking place nowadays.
Task-number: QTBUG-60655
Change-Id: Iad9131a17e488bf5e6b1905483be33b562dbfc62
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-60655
Change-Id: Ie385232d5c126eafc18c08f49c15cc5e18c69ba1
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Otherwise, the MainWindow and QWebEngineView remains on the heap when closing
the application.
Task-number: QTBUG-59765
Change-Id: Ia643d1e919ca5f0a1d9405ba9b7ab72aabd8c051
Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|\
| |
| |
| | |
Change-Id: Ic6686df8f82f710a3441501b7eeaffe69fbcbdf7
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\|
| |
| |
| | |
Change-Id: I0bb971f01ee1e02da768f336680c8ec0254ab2b0
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Update screenshot
- Remove second \brief command
- Fix grammar issues
- Use standard phrasing for examples
- Replace \snippet commands with \quotefromfile commands.
This enables documenting each line of code separately
- Replace occurrences of QWebView with QWebEngineView
- Replace reference to the obsolete QWebEnginePage::evaluateJavaScript
method with reference to QWebEnginePage::runJavaScript() that is used
in the example code
- Remove snippet markers from mainwindow.h and mainwindow.cpp
- Move code comment from mainwindow.cpp to the documentation to make the
code leaner
Change-Id: If3346810c8aef67c15c9ec7ad4469a222e636cf2
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The name "fancybrowser" tricks people into thinking that this is the
reference browser example. But this example is a very simple browser
with an additional fancy content manipulation feature.
Rename this example to contentmanipulation to reflect reality.
Change-Id: I200b701acdc4de1210b550b9f054753e5f1d1ea4
(cherry-pick from eb8eb72ec7e589eedd79143dc7c3fb241706f405)
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
From Qt 5.7 -> examples are lisenced under BSD license, see
http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/
Updated license headers to use new BSD header
Change-Id: I12d6dd8ebeddf1c39e8aed5095fd224f5e0a455f
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
|
|
The name "fancybrowser" tricks people into thinking that this is the
reference browser example. But this example is a very simple browser
with an additional fancy content manipulation feature.
Rename this example to contentmanipulation to reflect reality.
Change-Id: I200b701acdc4de1210b550b9f054753e5f1d1ea4
Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
|