Commit Graph

75 Commits

Author SHA1 Message Date
wmayer
d8bd6f1fb4 Qt6 port: port WebGui module 2022-11-03 12:54:34 +01:00
wmayer
82866db0ca Mod: replace QRegExp with QRegularExpression 2022-10-07 14:03:53 +02:00
berniev
6953310116 Mod: Single arg ctors must be explicit 2022-08-24 16:55:20 +02:00
berniev
ddafb98813 Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
berniev
da9ebc572f Mod: redundant void 2 2022-08-08 10:27:50 +02:00
wmayer
05d2f5957d Web: [skip ci] Fix several clazy issues:
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
* Missing emit keyword on signal call [-Wclazy-incorrect-emit]
* Unused QFileInfo [-Wclazy-unused-non-trivial-variable]
2022-07-25 10:25:29 +02:00
wmayer
9c8b21f5f4 Web: update browser commands after loading page 2022-06-04 13:21:41 +02:00
Zheng, Lei
3ef438eaf0 Fix mixed line endings 2022-04-26 12:52:55 -05:00
Chris Hennes
3ef6811dae Web: PR6497 move return statement to new line 2022-03-29 13:26:16 -05:00
wmayer
aada33a574 Web: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
33e9bde149 Mod: [skip ci] add needed headers to fix build failure 2022-03-21 16:33:56 +01:00
Uwe
ee6d631531 [Web] remove unused headers and Xerces 2022-03-20 21:16:27 +01:00
wmayer
1ca7429705 Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +01:00
mwganson
280c76f770 check for nullptr 2022-02-28 13:56:35 +01:00
wmayer
18b3c59d80 Web: fix storage paths of web content 2021-12-19 16:56:48 +01:00
wmayer
9bfab4262f Mod: change error text of Python wrapper when trying to access deleted view 2021-11-21 19:57:21 +01:00
wmayer
8de5d37fba Web: make BrowserViwePy acting as sub-class of MDIViewPy 2021-11-21 15:34:33 +01:00
wmayer
508df64732 Gui: [skip ci] add sub-classes of the MDIView to the type system 2021-11-19 12:51:13 +01:00
wmayer
910dbcf880 Web: [skip ci] fix warning: unused parameter 'ok' [-Wunused-parameter] 2021-10-11 10:31:48 +02:00
Chris Hennes
b01d0e5181 [Gui] Always hide progress bar on finished load
The loadFinished signal from QtWebEngine includes a boolean indicating
whether the load was "ssuccessful" or not, but no apparent way to
determine what error, if any, occurred. Given that we are never
displaying any error information to the user, hide the progress bar
regardless of the success or failure of the operation.
2021-10-11 10:20:30 +02:00
Mateusz Skowroński
1986e6b547 Qt::MidButton is deprecated. Use Qt::MiddleButton instead. 2021-04-04 11:33:51 +02:00
wmayer
efba06737f Web: remove obsolete function setTextSizeMultiplier because QtWebEngine already supports HiDPI monitors 2021-04-02 14:10:02 +02:00
Chris Hennes
51b57f9844 [Web] Remove deprecated Qt < 5.9 code 2021-04-02 13:46:43 +02:00
Abdullah Tahiri
305fb03c0d App/Gui: New restoreError Document status and Gui pop-up
========================================================

If the restore of Document.xml results in invalid Document.xml (because unhandled exceptions occurred), the
document status Document::restoreError is set. The GUI or Mod/Web if a link was clicked, show a pop-up indicating
this situation.

This commit also shows an appropriate pop-up for the partialRestore when opening from the menu, that before only
appeared when opening by clicking a link.
2021-01-24 16:43:20 +01:00
Chris Hennes
5f37274ce1 [Web] Close stale file handle in exec()
Eliminate the Python interpreter warning about failure to close a stale handle when using the `exec(open('%s').read()` idiom, enclosing it in a `with` clause.
2020-12-11 13:22:35 +01:00
wmayer
34f4b712d8 Qt5: fix deprecation warnings of QWheelEvent in Qt 5.15 2020-10-18 14:45:31 +02:00
vejmarie
81af54e410 Big update to remove deprecation warning from Qt 5.15.0
That is need on MacOS build as travis log is bigger than 50k lines
which breaks travis rules
And by the way deprecations are real
All file contains the same modification replace 0 to Qt::WindowFlags() when needed
as the class needs to be instantiated

Signed-off-by: vejmarie <jmverdun3@gmail.com>
2020-09-24 12:56:43 +02:00
wmayer
dea2fad512 Web: [skip ci] when dropping local file on StartPage then open it instead of downloading it 2020-09-18 13:14:09 +02:00
Mateusz Skowroński
54aa706145 Mod/Web: Use of deprecated not thread-safe setter, use setUrlRequestInterceptor instead. 2020-07-20 14:18:12 +02:00
wmayer
7fdf514fb3 PVS: V1016 Value is out of range of enum values. This causes unspecified or undefined behavior. 2020-07-18 10:59:28 +02:00
wmayer
eced0cb568 Qt5: QDesktopWidget is deprecated use QScreen [-Wdeprecated-declarations] 2020-06-12 17:51:33 +02:00
wmayer
5c17f71a21 Gui: [skip-ci] rename Sequencer to SequencerBar 2020-01-25 16:06:29 +01:00
wmayer
d5be41d825 make BrowserView::onLinkHovered() working with QtWebKit 2019-11-06 00:29:25 +01:00
wmayer
5c2b7be976 fix encoding problem when clicking a link on StartPage if application is installed into a directory with non-ASCII characters 2019-11-05 13:26:54 +01:00
Zheng, Lei
0bab393394 BrowserView: fix QWebEngine focus problem 2019-06-26 11:10:51 +02:00
Zheng, Lei
4a0be9d3ba BrowserView: fix QWebEngine crash 2019-06-21 16:23:55 +02:00
Fredrik Johansson
893e76fa76 Enhance url addressbar, toggle hide from action 2019-03-30 14:10:47 +01:00
Fredrik Johansson
f827ab776e Implement url adress widget 2019-03-30 14:10:47 +01:00
Fredrik Johansson
954c198360 Add viewsource for QWebKit 2019-03-30 14:10:46 +01:00
Fredrik Johansson
3807bc295e Fix for Qt4 and QWebKit 2019-03-30 14:10:46 +01:00
Fredrik Johansson
26f7428c9f Fix local paths for windows 2019-03-30 14:10:46 +01:00
Fredrik Johansson
cf23508eac Cleanup 2019-03-30 14:10:46 +01:00
Fredrik Johansson
a4e549b7f2 Favicon stuff 2019-03-30 14:10:46 +01:00
Fredrik Johansson
7fcf399bbd Fix chrash on local *.py links, thread issue 2019-03-30 14:10:45 +01:00
Fredrik Johansson
60a26e744d Add back/forward automatic activation 2019-03-30 14:10:45 +01:00
Fredrik Johansson
5991c27908 Make zoom work, zoom everything not just text 2019-03-30 14:10:45 +01:00
Fredrik Johansson
75fd7231e0 Support QWebEngine BrowserView, QWebkit still suppported through cmake option 2019-03-30 14:10:45 +01:00
Mateusz Skowroński
082647b2d1 Remove unused non-trivial variables. [-Wclazy-unused-non-trivial-variable] Thanks Clazy! 2019-02-11 15:39:15 +01:00
Fredrik Johansson
5caae5f430 Fix chrash when clicking link to allow internetaccess, and not having a open document 2019-01-27 11:35:43 +01:00
Abdullah Tahiri
b6a37e153f Example implementation 2018-11-19 11:31:10 +01:00