Commit Graph

53 Commits

Author SHA1 Message Date
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
Abdullah Tahiri
1b152ee689 Example code of propagating the result of the partial restore 2018-11-19 11:31:08 +01:00
wmayer
f5befc75ce improve unicode handling when setting Start page 2018-10-05 15:36:34 +02:00
Yorik van Havre
16e01ceaa9 Start: misc improvements
- Hide recent files section if recent files prefs is set to 0
- Better filetype management
- Better tooltip on file thumbnails
- Added notes section (enable in preferences)
2018-08-23 16:00:18 -03:00
Yorik van Havre
8236f158d8 Web: Allow to use url queries 2018-08-20 10:52:34 -03:00
wmayer
74b7373e48 fixes #0002323: Workbench Start recent list of 3 files is - after a crash - not sync with recent list in File Menu Recent list of 4 files 2017-10-05 10:38:42 +02:00
looooo
f94e1ff280 py3: web: gathering diff of py3-branch
76b3397762
ec9dcf7453d44ce21e6ab5e460293006a49e7ccc
11eb995a2e88df1125056403fb302ce85749f83c
2017-03-02 12:46:57 +01:00
wmayer
57e7d3ad61 Qt4/Qt5 neutral changes:
+ remove class DownloadDialog
+ remove class HelpView
+ remove class DlgTipOfTheDay
2016-12-12 14:35:52 +01:00
wmayer
53531b603a fix -Wextra in Start & Web 2016-09-21 21:27:09 +02:00
Yorik van Havre
b4a5582309 Web: support for saving cookies across sessions - fixes #2447 2016-05-24 12:38:18 -03:00
wmayer
dc20525edc + don't switch tab when creating new web page 2015-11-10 17:32:55 +01:00
wmayer
7546a39b12 + Allow to open link in new web view 2015-11-10 16:40:04 +01:00
Chris Pollard
4a802befbb Made slight tweaks for high DPI displays 2015-09-28 13:42:00 -04:00
Mateusz Skowroński
43a4a5938c Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
9680f13854 + fix loading of certain urls in web page 2015-06-24 13:35:13 +02:00
Yorik van Havre
9f7956b17e Web: Added an Open Link In External Browser context menu option - fixes #1017 2014-09-16 14:16:44 -03:00
Yorik van Havre
850d0b5e82 Added Gui.showDownloads() py function to show the download manager, and allow to click https links in webgui browser 2014-08-31 16:51:51 -03:00
Yorik van Havre
66f6dc6282 Start: Improvements to the Start page - relates to #1017
* Removed the videos section
* Added descriptions for feed links
* New cleaner look
* Colors taken from the system
* Feed links open in an external browser
2014-03-03 17:01:18 -03:00
wmayer
26d1751aeb 0000952: Download manager 2013-05-29 17:57:25 +02:00
wmayer
3db10284b1 0000952: Download manager 2013-05-28 18:14:58 +02:00
wmayer
58da2ebbcc 0000665: Follow up 0000640: This file crashes FreeCAD UI latest Git 2012-10-01 13:58:40 +02:00
wmayer
0d351e98e2 Proper handling of SystemExitException in Python 2012-08-11 10:58:54 +02:00
wmayer
b4aff85333 Fix critical warnings 2012-06-13 18:49:10 +02:00