Commit Graph

20 Commits

Author SHA1 Message Date
luz paz
aecddeedcc Image: fix header uniformity
Make uniform all Image workbench headers.
2022-11-28 07:42:15 -06:00
luz paz
1559683684 Image: remove trailing whitespace 2022-11-21 03:59:51 +01:00
0penBrain
38473f24be Make image scaling command aware of user units (#7222)
* Image: image scaling command is user unit aware ; fixes #6118

- if unitless value entered, InputField uses user choosen base unit
 Before change, always used FC core base unit
 Only applies to GUI user entered values, value changed programmatically still ...
 ... considered in core base unit if applied unitless
2022-07-25 21:17:02 +02:00
Chris Hennes
b8952aaeb8 Image: Change _translate to translate 2022-05-31 10:05:22 -05:00
Chris Hennes
3ef6e1c6d0 [OTHER] Catch only Exception, not BaseException 2021-02-11 11:52:45 +01:00
wmayer
f653694655 Image: [skip ci] pass trackers as argument to cmdCreateImageScaling 2020-11-21 09:51:54 +01:00
wmayer
8f69368f65 Image: [skip ci] move the import of Draft trackers inside scaling function. This gives a more useful error message in case of a failure to load it 2020-11-14 12:08:03 +01:00
Syres916
4fbb37623a [Image] Very minor improvement to Report View..
..output
2020-10-06 12:01:32 +02:00
vocx-fc
a86e2a69b1 Draft: ImageTools, import new gui_trackers module 2020-03-23 12:14:33 +01:00
Mateusz Skowroński
9d6cf324e7 [ImageWB] Fix image scaling dialog for HighDPI displays. 2020-03-03 21:27:31 +01:00
wmayer
7803460f7d replace insecure use of eval() with proper use of units 2019-05-11 12:50:36 +02:00
easyw
dd62a3e66b fixing locale issue for Image WB
https://forum.freecadweb.org/viewtopic.php?f=3&t=36069#p305570
2019-05-04 14:33:01 -03:00
triplus
b5bd2e3405 Image workbench missing icons 2019-03-05 13:41:33 +01:00
triplus
43b081947f Improved icon themes support 2019-02-13 10:42:46 -02:00
wmayer
5a028e4578 fixes 0003734: Image Scaling tooltip is untranslatable and should be reworded 2018-12-16 11:15:06 +01:00
Mark Ganson TheMarkster
94fa64077b Add eval() to distance line edit during scaling
This adds the ability to enter things like 6 * 25.4 into the distance line edit widget during scaling operations in the image workbench.  Can also enter something like math.pi * 3 or 2**3, etc.  Basically, any legal python input can be used.

Using eval() is not considered a secure way of doing things, but in this context the user would be entering malicious code into his own computer.  Also, what can the user do in eval() that he can't already do just by entering directly into the python console?
2018-09-01 18:16:48 -05:00
easyw
88729418b7 fixed a crash on escape from Image Scaling WB 2018-06-29 12:21:49 -03:00
easyw
13cbc0c250 fixing py3 exceptions 2018-06-26 10:13:33 -03:00
easyw
87ee06b930 Centering the Image Scaling Dialog 2018-06-26 10:13:33 -03:00
easyw
090211b632 Adding Image Scaling Macro ti Image WB 2018-06-26 10:13:33 -03:00