Commit Graph

2189 Commits

Author SHA1 Message Date
wmayer
94c28e9fc8 implement Isometric, Dimetric and Trimetric projection 2019-01-10 18:31:17 +01:00
wmayer
5a1c43b131 fix incorrect terminology in NaviCube, add support of isometric view 2019-01-09 14:18:26 +01:00
Yorik van Havre
4892a24f18 Updated credits page 2019-01-04 15:25:12 -02:00
wmayer
91988080df improve handling of (raw) input in Python console 2019-01-04 14:16:50 +01:00
wmayer
378c57fe1c Qt5: don't use native color dialog 2019-01-03 16:14:12 +01:00
Silas
895a920b19 Improve readability with some comments 2019-01-03 11:43:43 +01:00
Silas
aa02240325 Only changes the ViewSystem if the user confirms
UnitsApi::setSchema() was being called when the user changed the
comboBox item, so the view system was saved if the user later clicked
Cancel.  This call was moved to the saveSettings() method that is called
only if the user clicks Apply or OK.
2019-01-03 11:43:43 +01:00
Stian Skjelstad
116478b93f Fix #3697
We need to initialize progressTime for given number of step-operations too,
else the filter that checks for X ms between each refresh update will always
fail, due to time-difference being way out of range.

Also, 10 updates per second is not a lot, since we also filter out the
QT event loop for long operations performed in the main thread.
2019-01-01 21:47:11 +01:00
wmayer
9a12380d6d add Qt5 translation files 2018-12-29 18:37:07 +01:00
wmayer
3294fbfe94 do not make default suffix lower case 2018-12-29 13:52:28 +01:00
Yorik van Havre
9ef3598405 Added support for arabic and vietnamese 2018-12-23 13:56:46 -02:00
Yorik van Havre
39d446f60f Updated translations from crowdin 2018-12-23 13:54:30 -02:00
Mateusz Skowroński
ec7d24e035 Fix GCC 8 warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 2018-12-23 11:05:02 -02:00
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