Commit Graph

272 Commits

Author SHA1 Message Date
cclauss
361c44c6dc Unicode fixes for Python3 2019-03-17 20:58:00 +01:00
triplus
63455844e0 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
8ab36b9371 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
be49b27010 Draft: Removed leftovers from DraftTools in DraftGui 2019-02-19 19:53:14 -03:00
wandererfan
11d0bc9e90 Fix ShapeString attachment to Face 2019-02-19 10:32:46 -03:00
triplus
062206bee2 Icon themes support for draft tray and snap 2019-02-18 10:11:25 -03:00
carlopav
f40f1fde59 Update Edit Tool
Arc 3 points and minor other fixes
2019-02-13 16:40:26 +01:00
carlopav
54be7c15ce Update DraftGui.py
added value to store last edit toolbar mode
2019-02-10 12:03:26 +01:00
carlopav
f312b0dd33 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
0802908e52 Move hardcoded tab shortcut for cycling elsewhere in prep for refactor 2019-02-08 10:59:26 -02:00
Dion Moult
0498a4c619 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
edaeb679d4 fix translate() function for Py2 & Qt5 2018-12-16 16:25:25 +01:00
wandererfan
971cbc4e73 Remove custom translation code
- go back to letting loadUi do the translating.
2018-12-06 08:54:46 -03:00
wandererfan
2e55e5b0ca 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
88f47ee725 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
8150d39a25 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
fe067060d4 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
14c70ce8cd Draft: Don't show the Draft tray bar automatically 2018-10-24 12:23:20 -03:00
luz.paz
424cd49398 Typos and whitespace fixes 2018-08-07 11:13:31 -04:00
Yorik van Havre
02868667dc Draft: Allow to turn off Draft verbose output in preferences 2018-08-03 19:07:59 -03:00
Yorik van Havre
f68f3140af Draft: better tooltip for copy mode option 2018-08-01 21:50:44 -03:00
Yorik van Havre
a1bc8dbc9a Draft: Minor bugfix 2018-07-24 17:10:18 -03:00
Mark Ganson TheMarkster
7484412d47 convert tabs to spaces 2018-07-16 12:03:45 -03:00
Mark Ganson TheMarkster
51fdef4193 save current color so it can be reverted on cancel 2018-07-16 12:03:45 -03:00
Mark Ganson TheMarkster
012db7a0b1 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
808a7b675e Revert "Added support in DraftGui.todo.delay function to accept any number of arguments."
This reverts commit 7d0334302eed6bfd3af873870f0c16ff3c192d39.
2018-07-11 21:31:57 -03:00
Amritpal Singh
1c8402dd78 Added support in DraftGui.todo.delay function to accept any number of arguments. 2018-07-11 21:12:27 -03:00
Yorik van Havre
096af04a57 Draft: Show in-command shortcuts on buttons and in console 2018-05-14 18:57:28 -03:00
Yorik van Havre
03908877fc Draft: Catch deleted objects in DraftGui.todo 2018-05-11 12:01:22 -03:00
Yorik van Havre
8a7ee4de52 Draft: Added reference mode to Draft Scale task panel 2018-05-09 22:38:51 -03:00
Yorik van Havre
b451ba87fe Draft: Fixed wrong wire point position - closes #3063 2018-01-17 10:49:24 -02:00
Yorik van Havre
762140d9ab Draft: Fixed py3 compatibility issues 2018-01-06 13:19:08 -02:00
Yorik van Havre
9e01b26038 Draft: Fixed problem with french translation 2018-01-05 20:00:32 -02:00
wmayer
42d577ba68 fix utf-8 decoding issue in Draft 2018-01-02 10:24:37 +01:00
WandererFan
06eeef4281 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
61d36f0419 Draft: Added preference option to set focus on Length when drawing lines 2017-11-27 13:05:10 -02:00
looooo
adb836c33b qt5: fix in Draft translate 2017-09-03 11:28:05 -03:00
luzpaz
f7b8e070db Misc. typos discovered via crowdin
should close several crowdin issues.
2017-08-28 11:50:33 -03:00
Yorik van Havre
353e9a6228 Draft: New UI for the Scale tool 2017-08-25 16:40:49 -03:00
Yorik van Havre
0bee1b972e Draft: Fixed Move & Rotate continue mode 2017-07-26 12:51:52 -03:00
Yorik van Havre
f1886c7020 Draft: More solid closing of Draft commands - fixes #2532 2017-06-29 12:17:36 -03:00
Yorik van Havre
0f844c421c Draft: trying different method to solve encoding problem 2017-06-26 23:51:45 -03:00
looooo
6ae56b491f draft: move translation to DraftGui
otherwiser there are some strange ImportEroors.
2017-06-20 12:18:01 +02:00
looooo
10866d38d3 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
3bf17c3d44 Draft: Added icons to select plane buttons 2017-06-15 18:26:57 -03:00
Yorik van Havre
9807cf937d Draft: Added visual feedback when modifying x,y,z values manually 2017-06-01 14:16:43 -03:00
Yorik van Havre
28f315f4f6 Draft: First version of Draft Label object 2017-05-29 16:57:25 -03:00
Yorik van Havre
7fac74a211 Draft: New button to modify working plane during Wire drawing 2017-05-09 23:36:41 -03:00
Yorik van Havre
a397f6a412 Draft: Adding missing stuff from last commit 2017-04-16 14:09:57 -03:00
Yorik van Havre
404b5da5d9 Draft: Finally fixed Draft UI focus bug - fixes #2810 2017-04-16 14:07:15 -03:00