Commit Graph

173 Commits

Author SHA1 Message Date
Yorik van Havre
272a8dfcc9 Merge branch 'master' of https://github.com/carlopav/FreeCAD into carlopav-master 2019-03-27 15:57:31 -03:00
cclauss
e3545c8c06 Unicode fixes for Python3 2019-03-17 20:58:00 +01:00
triplus
10cdb56f24 Add scroll area to Draft Toolbar
Forum discussion:
https://forum.freecadweb.org/viewtopic.php?f=3&t=34552&p=291101#p291101

issue #3881
2019-03-06 11:53:45 -03:00
Dion Moult
8d01876484 Change hotkey of of cycle snap from tab to ` to prevent clashes with current tab behaviour 2019-03-06 11:47:00 -03:00
Yorik van Havre
3fc17edb41 Draft: Removed leftovers from DraftTools in DraftGui 2019-02-19 19:53:14 -03:00
wandererfan
dace2f39cf Fix ShapeString attachment to Face 2019-02-19 10:32:46 -03:00
triplus
68e7975157 Icon themes support for draft tray and snap 2019-02-18 10:11:25 -03:00
carlopav
dea44454c6 Update Edit Tool
Arc 3 points and minor other fixes
2019-02-13 16:40:26 +01:00
carlopav
0091f2513e Update DraftGui.py
added value to store last edit toolbar mode
2019-02-10 12:03:26 +01:00
carlopav
3b4aaab869 Edit tool Arc 3 points editing
Updated the edit tool to edit arc by 3 points. Just a dubt: i did a bit of a workaround using Part.ArcOfCircle to compute the values of the new arc.
2019-02-10 11:55:26 +01:00
Dion Moult
140d085517 Move hardcoded tab shortcut for cycling elsewhere in prep for refactor 2019-02-08 10:59:26 -02:00
Dion Moult
334a2a31d0 Allow tabbing to cycle through objects to snap
To do this, the object snapping code has been refactored into a snapToObject function. This allows it to be called on different objects easily. A new base class which handles the tab event has been added.
2019-02-08 10:59:26 -02:00
wmayer
fec487dc7f fix translate() function for Py2 & Qt5 2018-12-16 16:25:25 +01:00
wandererfan
eb9aa5c54d Remove custom translation code
- go back to letting loadUi do the translating.
2018-12-06 08:54:46 -03:00
wandererfan
bdbdf8c6b7 FR1973 Draft ShapeString Ui
- load new ui from Resource file
- minor updates to translate for Py3
2018-12-01 11:08:37 -03:00
Yorik van Havre
024540dbbe Fixed coverity issues
169009 Bad use of null-like value
169005 Bad use of null-like value
169003 Bad use of null-like value
169000 Bad use of null-like value
168998 Bad use of null-like value
168996 Structurally dead code
2018-11-20 12:37:32 -02:00
triplus
10cd4cc7af Hide Draft tray toolbar
Forum discussion:

https://forum.freecadweb.org/viewtopic.php?f=3&t=31720
2018-10-26 04:26:20 +02:00
Yorik van Havre
46b152669b Draft: fixed bug in delay system when passing a function with False as argument 2018-10-24 14:22:11 -03:00
Yorik van Havre
3969400a11 Draft: Don't show the Draft tray bar automatically 2018-10-24 12:23:20 -03:00
luz.paz
baa6d89328 Typos and whitespace fixes 2018-08-07 11:13:31 -04:00
Yorik van Havre
123e9d210d Draft: Allow to turn off Draft verbose output in preferences 2018-08-03 19:07:59 -03:00
Yorik van Havre
ee517cf184 Draft: better tooltip for copy mode option 2018-08-01 21:50:44 -03:00
Yorik van Havre
111c0496b4 Draft: Minor bugfix 2018-07-24 17:10:18 -03:00
Mark Ganson TheMarkster
fa32af7025 convert tabs to spaces 2018-07-16 12:03:45 -03:00
Mark Ganson TheMarkster
dc79a93dde save current color so it can be reverted on cancel 2018-07-16 12:03:45 -03:00
Mark Ganson TheMarkster
1cb114e256 handle user cancel color dialog
Currently, when user cancels line color or face color selection dialog current color gets changed to black, as opposed to retaining the status quo.  https://forum.freecadweb.org/viewtopic.php?f=3&t=29762

The fix is to test QColor.isValid(color), which returns false when the user cancels the QColor dialog.
2018-07-16 12:03:45 -03:00
Yorik van Havre
c9b29dc63b Revert "Added support in DraftGui.todo.delay function to accept any number of arguments."
This reverts commit dc4fa6e804.
2018-07-11 21:31:57 -03:00
Amritpal Singh
dc4fa6e804 Added support in DraftGui.todo.delay function to accept any number of arguments. 2018-07-11 21:12:27 -03:00
Yorik van Havre
a711474552 Draft: Show in-command shortcuts on buttons and in console 2018-05-14 18:57:28 -03:00
Yorik van Havre
89bee2c83c Draft: Catch deleted objects in DraftGui.todo 2018-05-11 12:01:22 -03:00
Yorik van Havre
b3fb790d54 Draft: Added reference mode to Draft Scale task panel 2018-05-09 22:38:51 -03:00
Yorik van Havre
6051a6e9cd Draft: Fixed wrong wire point position - closes #3063 2018-01-17 10:49:24 -02:00
Yorik van Havre
dd45eddbba Draft: Fixed py3 compatibility issues 2018-01-06 13:19:08 -02:00
Yorik van Havre
c198650bd5 Draft: Fixed problem with french translation 2018-01-05 20:00:32 -02:00
wmayer
90a71f34bc fix utf-8 decoding issue in Draft 2018-01-02 10:24:37 +01:00
WandererFan
750661de35 Fix #1947 non-ASCII in file path
- this also fixes file path part of #3139
- this needs work for Py3
2017-12-06 19:51:22 -05:00
Yorik van Havre
2ee230a1a0 Draft: Added preference option to set focus on Length when drawing lines 2017-11-27 13:05:10 -02:00
looooo
4baf05933d qt5: fix in Draft translate 2017-09-03 11:28:05 -03:00
luzpaz
467ef55788 Misc. typos discovered via crowdin
should close several crowdin issues.
2017-08-28 11:50:33 -03:00
Yorik van Havre
fccb5dbc87 Draft: New UI for the Scale tool 2017-08-25 16:40:49 -03:00
Yorik van Havre
352accabd9 Draft: Fixed Move & Rotate continue mode 2017-07-26 12:51:52 -03:00
Yorik van Havre
74e7940024 Draft: More solid closing of Draft commands - fixes #2532 2017-06-29 12:17:36 -03:00
Yorik van Havre
859b94e311 Draft: trying different method to solve encoding problem 2017-06-26 23:51:45 -03:00
looooo
fe66e96faf draft: move translation to DraftGui
otherwiser there are some strange ImportEroors.
2017-06-20 12:18:01 +02:00
looooo
d9d1e8640f py3: Draft: string / unicode:
issue 0000995
- use optional argument to get unicode from translation in python2
- add a utf8_decode function to get unicode from string, bytes, unicode
2017-06-20 12:18:01 +02:00
Yorik van Havre
e02430f5bf Draft: Added icons to select plane buttons 2017-06-15 18:26:57 -03:00
Yorik van Havre
38544db282 Draft: Added visual feedback when modifying x,y,z values manually 2017-06-01 14:16:43 -03:00
Yorik van Havre
f55592755e Draft: First version of Draft Label object 2017-05-29 16:57:25 -03:00
Yorik van Havre
19b14520e9 Draft: New button to modify working plane during Wire drawing 2017-05-09 23:36:41 -03:00
Yorik van Havre
ff9b027ddb Draft: Adding missing stuff from last commit 2017-04-16 14:09:57 -03:00