Commit Graph

2759 Commits

Author SHA1 Message Date
Mateusz Skowroński
ac508516da Use QString's multi-arg overload to save memory allocations. [-Wclazy-qstring-arg] Thanks Clazy! 2019-02-11 15:39:14 +01:00
wmayer
c64aec5fd2 simplify creation of strings 2019-02-11 13:46:58 +01:00
wmayer
0e60e897ef Fix theoretically possible format string vulnerability 2019-02-11 11:49:12 +01:00
luz.paz
cb4a0adf71 Misc. typos
Found via `codespell`
2019-02-08 11:01:24 -02:00
Yorik van Havre
95dda429eb Updated translations 2019-02-01 13:54:10 -02:00
luz.paz
1233fbe64e Fix for a previous commits
Crowdin:  Sketcher/App/SketcherAnalysis remove newlines
Crowdin:  Part/AttachmentEditor/TaskAttachmentEditor.py fix previous commiit
Crowdin:  Gui/NetworkRetriever.cpp correct previous commit
2019-01-30 11:08:03 -02:00
luz.paz
4765762dd4 Crowdin: Gui/CADNavigationStyle.cpp refinements 2019-01-30 11:08:03 -02:00
luz.paz
ff1b2bc91f Crowdin: Gui/NetworkRetriever.cpp superfluous whitespace fix 2019-01-30 11:08:03 -02:00
luz.paz
550a60c43f Crowdin: Several more various fixes 2019-01-30 11:08:03 -02:00
luz.paz
2ce03a55c6 [WIP] Crowdin: fixes pre-0.18 release
Includes some whitespace fixes as well
2019-01-30 11:08:03 -02:00
wmayer
3564278739 fixes 0003785: Incorrect extension FCstd instead fcstd 2019-01-21 11:41:16 +01:00
wmayer
2100f16076 disconnect boost signals when destroying tree view 2019-01-18 16:33:48 +01:00
wmayer
0a733ffd18 fixes 0002706: Box selection does not select dimension or text 2019-01-18 14:46:21 +01:00
wmayer
be257336b9 fixes 0001673: Assign already assigned keyboard shortcuts without searching old assigned action 2019-01-18 00:55:34 +01:00
wmayer
307bb7744f add method to check if key sequence is none 2019-01-18 00:54:49 +01:00
wmayer
46804085c9 simplify handling of locale specific with InputField from Python 2019-01-17 02:57:00 +01:00
wmayer
2c42c57560 fixes 0003222: Invert zoom setting is not respected in paper/page mode 2019-01-14 11:08:17 +01:00
wmayer
dff1832255 fix build failure with old Coin3d versions 2019-01-14 10:10:15 +01:00
wmayer
4898bb76c9 allow to set user-defined standard orientation 2019-01-13 02:21:54 +01:00
wmayer
11c0c9adde harmonize functions to set camera orientations 2019-01-12 22:59:44 +01:00
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