Commit Graph

2176 Commits

Author SHA1 Message Date
wmayer
81f50a577c fix several bugs in LabelEditor to handle PropertyStringList 2018-12-20 23:20:23 +01:00
wmayer
e629fd0b69 fixes 0002304: Duplicate multi selection of sketch element produces many sketches 2018-12-19 21:17:59 +01:00
Abdullah Tahiri
e72398c48c remove experimental string from VBO and sketcher continue mode 2018-12-17 18:01:52 +01:00
wmayer
c3cfd83f6c include cmath header for definition of M_PI 2018-12-17 10:04:10 +01:00
wmayer
046e8e0444 fixes 0003726: Property Editor Angle Fields Do Not Respect Units 2018-12-16 21:35:58 +01:00
Abdullah Tahiri
8fabcc8d75 Thumbnail generation
====================

Dynamically check whether to apply the fix for thumbnail generation.

Some QT5 version seem to be affected. This problem appears in some linux distributions with some window managers.

You may check/activate this fix:

>>> hgrp = App.ParamGet("User parameter:BaseApp/Preferences/Document")
>>> hgrp.GetBool("SaveThumbnailFix")
False
>>> hgrp.SetBool("SaveThumbnailFix",True)
>>> hgrp.GetBool("SaveThumbnailFix")
True
2018-12-10 09:14:36 -03:00
wandererfan
fefe83ecbb Add ImperialCivil Units Schema
- units for civil engineering - ft, ft2, ft3, mph,
  and angles as degrees/minutes/seconds
2018-12-06 08:57:17 -03:00
wmayer
02c51ff2dd if activating a workbench raises a general error then add the name to the message 2018-12-05 11:31:16 +01:00
lorenz
def5007033 py3: try to fix online doc problem 2018-12-01 11:05:20 -03:00
wmayer
d8053cc1d5 fix converting float list to string list in property editor 2018-12-01 11:58:09 +01:00
wmayer
64b7dc1c41 add runtime option to choose between native and Qt file dialogs 2018-11-30 12:37:26 +01:00
plgarcia
77232b2141 Drags and drop with groups 2018-11-29 21:25:28 +01:00
DeepSOIC
47ae980fa2 Gui: Gesture: add option to disable tilt
On Qt5, using pinch will inevitably cause tilt. It's annoying, so it is disabled by default.

In the future, it's best to introduce some kind of threshold to overcome for the tilt to be triggered.
2018-11-29 15:29:27 -03:00
DeepSOIC
8ba6df2548 Gui: Gesture: fix tilt angle sign 2018-11-29 15:29:27 -03:00
DeepSOIC
97128a501d Gui: Gesture: QPinchGesture angle - sign, degrees, make cumulative
fixes pinch gesture rotation part on Qt5 (tested only on windows, Qt4 and Qt5)
2018-11-29 15:29:27 -03:00
wmayer
338cd1adda If option USE_QT_FILEDIALOG is used then for Qt5 we still have to set QFileDialog::DontUseNativeDialog 2018-11-28 15:50:21 +01:00
Yorik van Havre
7aa61cca0d More readable splash image 2018-11-21 18:37:01 -02:00
Yorik van Havre
d24c6a9da3 Changed splash screen, to remind us of it... 2018-11-20 14:15:42 -02:00
wmayer
132076f33b improve drag and drop in tree view 2018-11-16 17:19:58 +01:00
plgarcia
402487fb7e Improvement and correction drags and drops in tree views. 2018-11-16 13:14:57 +01:00
wmayer
5a9c65e4fc use more speaking variable names 2018-11-16 11:24:25 +01:00
wmayer
f2d963edce harmonize settings for DAGView with other dockable windows 2018-11-15 10:58:14 +01:00
wmayer
0b60a64395 Enable again the standalone tree and property view by default 2018-11-15 10:24:53 +01:00
wmayer
87cfa25a23 fix file guards 2018-11-14 23:58:19 +01:00
wmayer
9b41132580 Replace Base::Exception with appropriate subclass 2018-11-14 23:17:42 +01:00
Yorik van Havre
d478c3057b Selection view: only select search results when enter is pressed 2018-11-14 15:11:54 -02:00
wmayer
31963f16c1 Fix scan coverity issues:
CID 184294: Uncaught exception
CID 183597: Unchecked return value
CID 175809: Dereference before null check
CID 175810: Logically dead code
CID 133000: Uninitialized scalar variable
CID 133001: Uninitialized scalar variable
CID 183591: Explicit null dereferenced
2018-11-13 16:47:58 +01:00
wmayer
fe016510ec add search function to tree view 2018-11-13 11:27:34 +01:00
wmayer
8eb3600a2d fixes 0003518: Expressions (fx) not updated 2018-11-11 10:58:48 +01:00
wmayer
990d54d4be When activating a part container in the tree view make sure all parent items are expanded 2018-11-10 16:13:10 +01:00
wmayer
06fa64a00d add method to check if an open transaction is empty
This is needed to avoid to incorrectly abort a transaction if a recompute was done between opening and closing an editor in the property view
2018-11-10 14:50:58 +01:00
wmayer
acb8946de4 by default disable old tree view & property view 2018-11-09 17:44:51 +01:00
wmayer
f94445f9a9 add PS action to dumpToFile 2018-11-05 19:22:52 +01:00
wmayer
07810aed49 fix blocking of SelectionObserver 2018-11-04 11:54:40 +01:00
wmayer
0a4eae24bc add/extend helper classes to safely access documents, document objects or view providers 2018-10-31 14:27:28 +01:00
wmayer
42601fc4e4 add/extend helper classes to savely access document, document objects or view providers 2018-10-31 11:24:45 +01:00
wmayer
c50f6aea53 add an assert to several Command methods to be notified in debug mode if no active document exists 2018-10-31 11:21:33 +01:00
wmayer
36271b4052 move from deprecated boost.signals to boost.signals2 library 2018-10-30 19:09:03 +01:00
wmayer
f513305916 fix crash with Py3 when releasing memory buffer 2018-10-29 11:59:34 +01:00
wmayer
0e1cfea354 fixes 0003657: automatic rotation disabled by default 2018-10-28 20:45:02 +01:00
wmayer
39babc560f improve call tips window 2018-10-26 19:37:16 +02:00
wmayer
622203bb97 add functions to customize NaviCube 2018-10-26 15:51:03 +02:00
wmayer
cfb04647b2 Do not use a view provider's bounding box node when handling BoundBox selection style because it leads to some inconsistent behaviour.
Instead let SoBoxSelectionRenderAction render the bounding box.
2018-10-26 00:39:15 +02:00
luz.paz
7e221ab15d Misc. typos and whitespace fixes
Found via `codespell -q 3 --skip="*.po,*.ts,./.git,./src/3rdParty,./src/CXX,./src/zipios++,./src/Mod/Assembly/App/opendcm" -I ../fc-word-whitelist.txt` and `grep`
2018-10-25 11:06:28 -03:00
wmayer
d65b6b67c0 check for existence of PySide stuff when defining convertWrapperToQuantity 2018-10-24 23:12:59 +02:00
wmayer
36f776aab8 restore shiboken wrapper for Base::Quantity 2018-10-24 22:27:59 +02:00
wmayer
13a8355a60 suppress error message if while restoring a document one of the lines or planes of an origin cannot be found 2018-10-23 23:12:25 +02:00
wmayer
8392914f50 allow to access NaviCube of 3d viewer 2018-10-23 12:47:11 +02:00
wmayer
e99c4f98fc cache supported languages in order to make preferences dialog open faster 2018-10-23 12:44:43 +02:00
wmayer
9b1151bec5 improve whitspaces 2018-10-23 12:43:47 +02:00