Commit Graph

54 Commits

Author SHA1 Message Date
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
Fredrik Johansson
5cd43ef38e Add back/forward automatic activation 2019-03-30 14:10:45 +01:00
Fredrik Johansson
af31814863 Make zoom work, zoom everything not just text 2019-03-30 14:10:45 +01:00
Fredrik Johansson
0afc292487 Support QWebEngine BrowserView, QWebkit still suppported through cmake option 2019-03-30 14:10:45 +01:00
Mateusz Skowroński
7ba96b5f02 Remove unused non-trivial variables. [-Wclazy-unused-non-trivial-variable] Thanks Clazy! 2019-02-11 15:39:15 +01:00
Fredrik Johansson
5af59315c0 Fix chrash when clicking link to allow internetaccess, and not having a open document 2019-01-27 11:35:43 +01:00
Abdullah Tahiri
36d748c29e Example implementation 2018-11-19 11:31:10 +01:00
Abdullah Tahiri
a7e0b93dd1 Example code of propagating the result of the partial restore 2018-11-19 11:31:08 +01:00
wmayer
7f4cbee47d improve unicode handling when setting Start page 2018-10-05 15:36:34 +02:00
Yorik van Havre
dd19005c95 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
80107554f3 Web: Allow to use url queries 2018-08-20 10:52:34 -03:00
wmayer
67b990c2b5 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
f161505280 py3: web: gathering diff of py3-branch
22a4a6dfa223b8b7f0a4c8223cf2e249b6e13a57
ec9dcf7453d44ce21e6ab5e460293006a49e7ccc
11eb995a2e88df1125056403fb302ce85749f83c
2017-03-02 12:46:57 +01:00
wmayer
d420c154c0 Qt4/Qt5 neutral changes:
+ remove class DownloadDialog
+ remove class HelpView
+ remove class DlgTipOfTheDay
2016-12-12 14:35:52 +01:00
wmayer
41b1eca0e7 fix -Wextra in Start & Web 2016-09-21 21:27:09 +02:00
Yorik van Havre
6fceaab416 Web: support for saving cookies across sessions - fixes #2447 2016-05-24 12:38:18 -03:00
wmayer
e941532723 + don't switch tab when creating new web page 2015-11-10 17:32:55 +01:00
wmayer
b02a86a439 + Allow to open link in new web view 2015-11-10 16:40:04 +01:00
Chris Pollard
c9456ffdc5 Made slight tweaks for high DPI displays 2015-09-28 13:42:00 -04:00
Mateusz Skowroński
05f95c0506 Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
f193f50eed + fix loading of certain urls in web page 2015-06-24 13:35:13 +02:00
Yorik van Havre
db58e35792 Web: Added an Open Link In External Browser context menu option - fixes #1017 2014-09-16 14:16:44 -03:00
Yorik van Havre
7f6a22c787 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
2fb5d5869b 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
66d03fa4aa 0000952: Download manager 2013-05-29 17:57:25 +02:00
wmayer
effdd7dca8 0000952: Download manager 2013-05-28 18:14:58 +02:00
wmayer
bc4a3b0c76 0000665: Follow up 0000640: This file crashes FreeCAD UI latest Git 2012-10-01 13:58:40 +02:00
wmayer
40a997217b Proper handling of SystemExitException in Python 2012-08-11 10:58:54 +02:00