Commit Graph

150 Commits

Author SHA1 Message Date
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
Yorik van Havre
fcae6ef451 Draft: Finally fixed Draft UI focus bug - fixes #2810 2017-04-16 14:07:15 -03:00
Yorik van Havre
aa086c1dd9 Draft: Hold snapping points
When drawing (snapping) using the Draft module, it is now possible
to press the Q key to record points. Additional snap locations then
become available orthogonally to these hold points.
2017-04-05 19:04:05 -03:00
Yorik van Havre
dd7b65a585 Draft: Added utilities -> create Working Plane Proxy command 2017-02-25 20:34:43 -03:00
Yorik van Havre
5bb2a5d4dd Draft: Added a couple of missing tooltips 2017-02-25 19:24:42 -03:00
Yorik van Havre
89035021fb Draft: Added checkbox to center working plane on current view in Select Plane dialog 2017-02-25 15:55:17 -03:00
Yorik van Havre
819b3e8e96 Draft: Fixed buggy task panel of Facebinder 2017-02-10 12:40:42 -02:00
Yorik van Havre
9a6191f572 Draft: AutoGroup system 2017-01-25 14:55:14 -02:00
Mateusz Skowroński
37b7513268 Fix layout issue in DraftGui's _inputfield. 2017-01-21 08:37:24 +01:00
Yorik van Havre
17c6921341 Draft: Fixed bug in line UI - fixes #2860 2017-01-15 17:55:11 -02:00
wmayer
f065f8eb53 if UnicodeUTF8 is not defined use a fallback implementation of translate() 2016-12-27 20:12:39 +01:00
Yorik van Havre
af97583026 Doc: Fixes in doxygen docs for Draft,Arch, FEM 2016-11-17 17:04:09 -02:00
Yorik van Havre
85534c7014 Draft: Allow to override system unit in dimensions 2016-10-28 18:08:13 -02:00
Yorik van Havre
c8059f2631 Draft: removed debug message 2016-10-11 19:29:08 -03:00
Yorik van Havre
7ef31e499c Draft: Disabled builtin ctrl+z shortcut in wire drawing (indicated UI shortcut works) - fixed #2696 2016-10-06 11:23:54 -03:00
Yorik van Havre
8b3f8cc9e6 Draft: fixed typo 2016-08-08 13:08:24 -03:00
Yorik van Havre
7e310b2444 Draft: fixed wrong decimals in dimensions display + minor bugfix 2016-08-04 19:16:38 -03:00
Yorik van Havre
1e333f4ef3 Draft: Fixed buggy units display in Draft widgets 2016-07-03 18:41:33 -03:00
Yorik van Havre
2938fde32c Draft: Grid can now be changed on-the-fly from the Set Working Plane button - fixes #2566 2016-05-29 19:23:11 -03:00
Yorik van Havre
d3870968df Draft: Fixed undo mode of wires - fixes #2456 2016-02-26 16:11:13 -03:00
Yorik van Havre
c6af697230 Draft: avoid blocking keys in fields that can be used for units 2016-02-22 20:16:51 -03:00
Yorik van Havre
fa6046ea19 Draft: fixes in line/wire creation by angle 2016-02-18 20:09:19 -02:00
Yorik van Havre
45f059d3a9 Draft: replaced the Draft OK task button with a more clear 'Create Point' button. 2016-02-09 17:58:22 -02:00
Yorik van Havre
fc9fe3ee00 Draft: fixed bug introduced by OK button 2016-02-01 20:28:30 -02:00