Commit Graph

2369 Commits

Author SHA1 Message Date
wmayer
d422019cd7 use shiboken version number to check for existence of Shiboken::ObjectType::typeForTypeName 2019-08-02 16:31:13 +02:00
wmayer
da6a82eaca fix regression of previous commit and implement an alternative way to avoid MSVC compiler bug 2019-08-02 00:25:32 +02:00
wmayer
a3e6bf4ba5 avoid including bitset header and Qt 5.12's qfloat16.h in the same compilation unit
Hints: qfloat16.h is included through PySide2 headers
       There is a compiler bug in VS 2017 so that the build stops (https://bugreports.qt.io/browse/QTBUG-72073)
2019-08-01 20:01:33 +02:00
mwganson
72f895571f show only filename in macro editor tab rather than full path, fixes issue #4063 2019-07-21 19:14:23 +02:00
wmayer
c92fe4e368 eliminate some bad old-style casts which hide an obscure error 2019-07-21 17:51:29 +02:00
mwganson
89a62366ab [enable report view on warnings/erros] add reportoutputobserver class, manage report view visibility via QDocketWidget toggleViewAction() rather than directly with show(), remove unnecessary variables 2019-07-21 15:58:12 +02:00
mwganson
7d87c510dc remove whitespace 2019-07-21 15:58:04 +02:00
mwganson
287eff3b31 Show report view on all warnings or errors by default, can be disabled in preferences 2019-07-21 15:57:57 +02:00
wmayer
c3aaa69f51 Fix some regressions of PR 2330
fix file chooser in macro dialog
do not remove GUI text from translation
remove friend class declaration, use Qt's introspection mechanism
create dialogs on the stack because they are modal
some minor optimizations
2019-07-21 15:53:14 +02:00
mwganson
eb2ebe5bbf [macros toolbar walkthrough] Use command manager to check for existing macro action rather than looking through user parameters 2019-07-21 13:57:30 +02:00
mwganson
2100fe3e38 [macro toolbar walkthrough] change dialog parent to this instead of main window, for avoiding warning message when closing macro execute dialog 2019-07-21 13:57:20 +02:00
mwganson
403131211d [macros toolbar walkthrough]
* allow user to disable seeing first messagebox again in the future
* check if macro action already exists, if so skip first dialog
* pre-select macro for user in macro command list in toolbars tab
* expand all custom macro toolbars in the toolbar tree list
2019-07-21 13:57:11 +02:00
mwganson
f89aca12ca [toolbar walkthrough] add more error checking to prevent potential crash if customize dialogs change. Remove final messagebox about switching workbenches to apply changes and add that information to the first messagebox. 2019-07-21 13:56:59 +02:00
mwganson
e15e06a166 Walkthrough for adding macros to custom global toolbar 2019-07-21 13:45:38 +02:00
wmayer
e993a9f982 pre-select name filter in import/export file dialog 2019-07-21 12:33:42 +02:00
wmayer
d73ab48e6b use same button to start/stop animation of turntable 2019-07-20 20:31:36 +02:00
donovaly
5dede1af82 add and uniform general preferences tooltips 2019-07-16 13:33:48 +02:00
Yorik van Havre
a6334a4bfd Cleanup in doxygen stuff 2019-07-15 23:20:52 -03:00
DeepSOIC
65e5adac42 Gui: Gesture: stop reacting to gestures on Macs
Gesture event processing causes problems on macs. Disabling for now.

https://forum.freecadweb.org/viewtopic.php?f=9&t=36387&start=10#p314575
2019-07-14 00:13:27 +02:00
wmayer
8e48002865 Set Move as default drop action 2019-07-11 19:08:11 +02:00
wmayer
7539b8314e make print preview working for > Qt 5.9 2019-07-11 00:06:38 +02:00
wmayer
eb05a902aa return boolean to indicate whether workbench could be activated 2019-07-07 19:36:35 +02:00
Yorik van Havre
f3e9656ef4 Added default shortcut to Toggle Edit mode command 2019-07-06 17:15:24 -03:00
wmayer
c3763479da activate/create 3d view when setting or getting active objects 2019-07-05 18:53:35 +02:00
wmayer
2feb777689 update bounding box if the placement of a geometry changes 2019-07-02 13:30:52 +02:00
wmayer
2f8179719e call updateData of base class for ViewProviderDragger and ViewProviderGeometryObject 2019-07-02 12:08:23 +02:00
Abdullah Tahiri
489f48a223 Gui::Add mergeoverlay function to ViewProviderExtension 2019-06-23 01:03:36 +02:00
Abdullah Tahiri
561475a780 Gui: BitmapFactory new static function to make icon overlays with pixmaps 2019-06-23 01:03:35 +02:00
Abdullah Tahiri
79b54c3494 Gui: Extend ViewProvider to enable merging of overlays on icon 2019-06-23 01:03:35 +02:00
wmayer
b62366dbf9 code simplification in PythonWrapper 2019-06-22 14:32:50 +02:00
wmayer
d1e255f8d9 issue #0003984: Creating a Path Job object fails with 'PySide2.QtWidgets.QDialog' object has no attribute 'templateGroup' 2019-06-22 12:32:36 +02:00
luz.paz
c2827611be [Crowdin] string fix + misc. typo and whitespace fixes
* Crowdin link: https://crowdin.com/translate/freecad/6766/en-hu#6576162  
* Tacked on a few typo+whitespace fixes
2019-06-20 18:42:09 +02:00
triplus
46d1095816 Set QMdiArea tabs movable 2019-06-20 17:30:47 +02:00
Yorik van Havre
ed8be15ef4 Merged translations from crowdin 2019-06-17 20:06:59 -03:00
Yorik van Havre
624c65dea3 Updated master ts files 2019-06-17 17:28:12 -03:00
luz.paz
9845c002ab Misc. source comment typo and whitespace fixes
Found via codespell
2019-06-16 20:47:07 +02:00
wmayer
032485f7ca Automatic visibility handling of axis cross 2019-06-16 13:05:39 +02:00
Yorik van Havre
ab68749909 AddonManager: New UI 2019-06-11 17:06:11 -03:00
wmayer
69cb43eebd disable ESC button support in View3DInventor::keyEvent() for Qt5 because changing MDI view mode causes rendering artifacts 2019-06-05 15:44:23 +02:00
wmayer
b35966cd00 set Qt::AA_ShareOpenGLContexts for Qt5.9 2019-06-05 09:43:47 +02:00
wmayer
c10de2f744 Qt WebEngine seems to be initialized from a plugin. Please set Qt::AA_ShareOpenGLContexts using QCoreApplication::setAttribute before constructing QGuiApplication 2019-06-05 07:28:02 +02:00
wmayer
85fddfc54a do some security checks to make sure Py::Module is valid 2019-06-03 17:57:52 +02:00
luz.paz
2b02659010 Misc. typo and whitespace fixes
Found via `codespell`
2019-05-30 19:56:12 +02:00
DeepSOIC
dd25a37b0f Gui: GestureNavigationStyle: logging option
To enable logging, execute:

App.ParamGet("User parameter:BaseApp/Preferences/View").SetBool("NavigationDebug",True)
2019-05-27 19:37:04 +03:00
DeepSOIC
5e63edde31 Revert "Gui: GestureNavigationStyle: remove logging"
This reverts commit 27d1bbfd3de5cf99324262cdc12ce148fe60a64d.
2019-05-27 19:37:04 +03:00
wmayer
7646e54580 fixes 0003986: Changing view attributes does not trigger 'File changed' status 2019-05-26 23:25:58 +02:00
wmayer
737e82c053 handle eventual system error messages 2019-05-21 15:44:49 +02:00
wmayer
603191d756 improve whitespaces 2019-05-21 15:44:07 +02:00
luz.paz
92bf2228d9 Misc. typo fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller -L pard,wallthickness,commen,byteorder,alocation`
2019-05-17 13:19:36 +02:00
wmayer
f4e81a55a3 fix PartDesign build failure 2019-05-16 12:46:02 +02:00