Commit Graph

81 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
e92ed45df9 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-09-12 13:02:35 -04:00
wmayer
0e04d526ec Web: apply clang format 2023-09-03 17:22:44 +02:00
wmayer
142b86fde2 Mod: modernize C++: use equals default 2023-08-21 20:21:30 +02:00
wmayer
a67f4fcb74 Web: switch to new-style connect in order to find failures with Qt6 2023-01-02 00:35:37 +01:00
Abdullah Tahiri
4ac0702bb3 Gui: Set status bit when restoring is initiated by the user from the UI 2022-12-21 16:01:23 +01:00
Uwe
e64a2ce675 [Web] remove unused includes
- also some sorting
2022-12-07 05:24:20 +01:00
wmayer
708cafca92 Qt6 port: port WebGui module 2022-11-03 12:54:34 +01:00
wmayer
840fc70106 Mod: replace QRegExp with QRegularExpression 2022-10-07 14:03:53 +02:00
berniev
180edfa3cc Mod: Single arg ctors must be explicit 2022-08-24 16:55:20 +02:00
berniev
71dc5ead2f Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
berniev
f4ffd15864 Mod: redundant void 2 2022-08-08 10:27:50 +02:00
wmayer
5551611ede 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
7305a73398 Web: update browser commands after loading page 2022-06-04 13:21:41 +02:00
Zheng, Lei
8bec44934b Fix mixed line endings 2022-04-26 12:52:55 -05:00
Chris Hennes
e232c9ebfd Web: PR6497 move return statement to new line 2022-03-29 13:26:16 -05:00
wmayer
49cab1328e Web: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
3c99b0565d Mod: [skip ci] add needed headers to fix build failure 2022-03-21 16:33:56 +01:00
Uwe
b8d5f77da3 [Web] remove unused headers and Xerces 2022-03-20 21:16:27 +01:00
wmayer
8f786ea6ef Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +01:00
mwganson
d0145a0680 check for nullptr 2022-02-28 13:56:35 +01:00
wmayer
301c2ff4c8 Web: fix storage paths of web content 2021-12-19 16:56:48 +01:00
wmayer
049a34645b Mod: change error text of Python wrapper when trying to access deleted view 2021-11-21 19:57:21 +01:00
wmayer
d247b5b1e7 Web: make BrowserViwePy acting as sub-class of MDIViewPy 2021-11-21 15:34:33 +01:00
wmayer
3bd3f20e32 Gui: [skip ci] add sub-classes of the MDIView to the type system 2021-11-19 12:51:13 +01:00
wmayer
c1cf48c88e Web: [skip ci] fix warning: unused parameter 'ok' [-Wunused-parameter] 2021-10-11 10:31:48 +02:00
Chris Hennes
b36258c870 [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
5032a8e31f Qt::MidButton is deprecated. Use Qt::MiddleButton instead. 2021-04-04 11:33:51 +02:00
wmayer
8de66e134f Web: remove obsolete function setTextSizeMultiplier because QtWebEngine already supports HiDPI monitors 2021-04-02 14:10:02 +02:00
Chris Hennes
8e6c5946cd [Web] Remove deprecated Qt < 5.9 code 2021-04-02 13:46:43 +02:00
Abdullah Tahiri
05ccc95cde 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
39a03ab4e5 [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
2647987157 Qt5: fix deprecation warnings of QWheelEvent in Qt 5.15 2020-10-18 14:45:31 +02:00
vejmarie
704d4d9945 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
4e101a555f 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
06f72637d7 Mod/Web: Use of deprecated not thread-safe setter, use setUrlRequestInterceptor instead. 2020-07-20 14:18:12 +02:00
wmayer
2db95da274 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
cff0638672 Qt5: QDesktopWidget is deprecated use QScreen [-Wdeprecated-declarations] 2020-06-12 17:51:33 +02:00
wmayer
169e290b86 Gui: [skip-ci] rename Sequencer to SequencerBar 2020-01-25 16:06:29 +01:00
wmayer
17b2cf2e96 make BrowserView::onLinkHovered() working with QtWebKit 2019-11-06 00:29:25 +01:00
wmayer
8d71d1f973 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
47f1f504c3 BrowserView: fix QWebEngine focus problem 2019-06-26 11:10:51 +02:00
Zheng, Lei
5708613672 BrowserView: fix QWebEngine crash 2019-06-21 16:23:55 +02:00
Fredrik Johansson
c61aa71ff6 Enhance url addressbar, toggle hide from action 2019-03-30 14:10:47 +01:00
Fredrik Johansson
e19e1d8519 Implement url adress widget 2019-03-30 14:10:47 +01:00
Fredrik Johansson
a37707185e Add viewsource for QWebKit 2019-03-30 14:10:46 +01:00
Fredrik Johansson
d429e90b11 Fix for Qt4 and QWebKit 2019-03-30 14:10:46 +01:00
Fredrik Johansson
1a7e7e378c Fix local paths for windows 2019-03-30 14:10:46 +01:00
Fredrik Johansson
2637801003 Cleanup 2019-03-30 14:10:46 +01:00
Fredrik Johansson
f03fe1ce91 Favicon stuff 2019-03-30 14:10:46 +01:00
Fredrik Johansson
334a8fae32 Fix chrash on local *.py links, thread issue 2019-03-30 14:10:45 +01:00