Commit Graph

106 Commits

Author SHA1 Message Date
Mark Ganson TheMarkster
09dc6d3021 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
wmayer
ff2a4978ef CMP0050: make Image module aware of cmake policy 2018-08-20 15:52:12 +02:00
luz.paz
a1ffb0fa3c Misc. typo & whitespace fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt --skip="*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./.git,./src/zipios++"`
Revert IFC commit
2018-07-11 21:52:27 -04:00
easyw
f1096e8747 fixed a crash on escape from Image Scaling WB 2018-06-29 12:21:49 -03:00
easyw
966b617bfe adding missing changes :) 2018-06-26 10:13:33 -03:00
easyw
8d8807f601 fixing py3 exceptions 2018-06-26 10:13:33 -03:00
easyw
c560ef175e Centering the Image Scaling Dialog 2018-06-26 10:13:33 -03:00
easyw
3613672174 Adding Image Scaling Macro ti Image WB 2018-06-26 10:13:33 -03:00
easyw
f5531e1b71 updating new Icons 2018-06-15 18:29:12 +02:00
Yorik van Havre
46fd41d70a Merged translations from crowdin 2018-03-26 18:52:02 -03:00
Yorik van Havre
143b89c8f3 Applied latest translations from crowdin 2018-02-21 14:25:31 -03:00
luz.paz
69216f3604 sWhatsThis fixes
ref: https://forum.freecadweb.org/viewtopic.php?f=10&t=26687
2018-01-31 19:07:07 +01:00
looooo
bdbae7a3fe fix unicode problems for python3 2018-01-12 15:02:28 +01:00
Unknown
e3eca59173 Misc. typo fixes
Various workbenches
2017-12-23 14:30:30 +01:00
wmayer
dd963415de + found a solution using painter path to fix the text rending in image view 2017-11-08 14:49:23 +01:00
wmayer
2b1de0756d minor improvements 2017-10-24 19:39:49 +02:00
Yorik van Havre
05a5e9965e Updated translations from crowdin 2017-10-23 18:32:02 -02:00
Yorik van Havre
de4d33cb84 Updated translations 2017-05-25 10:04:05 -03:00
wmayer
ffa10bbf0c Qt5: workaround for undocking of mdi view
fix minor issues reported by clang static analyzer
2017-05-03 22:01:46 +02:00
wmayer
fb7094bf31 use specialized exception classes 2017-04-28 18:49:11 +02:00
wmayer
ac7b0fa2d8 Qt5OpenGL: replace gluOrtho2D for macOS, move includes of GL stuff from header to source 2017-03-24 10:28:57 +01:00
wmayer
764f9ce7e5 Qt5OpenGL: use OpenGL debug logger to locate problems, fix a couple of errors 2017-03-21 20:37:03 +01:00
wmayer
5763de76bd move Image viewer to QOpenGLWidget 2017-03-21 20:37:03 +01:00
Yorik van Havre
9f44809e9e Updated translations with latest files from crowdin 2017-03-06 11:53:09 -03:00
Jean-Marie Verdun
9619cb6e74 Move glortho2d to GLKMatrix4MakeOrtho as to avoid Deprecated Warning on Mac OS 2017-03-03 22:37:23 +01:00
hgutsche
201c9d89b0 Some fixes for doygen syntax errors and some configuration to make it run smoother under Windows 2017-02-28 18:52:04 +01:00
Kunda
a7414e5789 source typo fixes pt1 (only on py3 merged code)
issue 0002914
2017-02-27 11:32:47 +01:00
wmayer
7ba2217617 py3: ported module init to python3 2017-02-04 15:56:31 +01:00
Yorik van Havre
49c8d65bfe updated ts files 2016-12-26 12:36:24 -02:00
Alexander Gryson
456e77de3f Update multiple workbenches
Workbenches updated:
* Complete
* Image
* Inspection
* Material
* MeshPart
* Points
* Reverse Engineering
* Start
* Test
* Web
2016-12-26 12:23:07 -02:00
wmayer
00053a7db2 fix crash when using ImageView 2016-12-20 20:52:40 +01:00
wmayer
743b83e853 Add switch to select between Qt4 and Qt5 2016-12-13 15:53:13 +01:00
wmayer
6cfaf916f8 remove superfluous Qt includes 2016-12-13 15:40:49 +01:00
wmayer
19c9a9f819 remove superfluous Qt includes 2016-12-13 14:33:16 +01:00
Yorik van Havre
bf0d37bf28 Doc: Fixes in doxygen docs for Draft,Arch, FEM 2016-11-17 17:04:09 -02:00
wmayer
a87c4f71ff scale size of loaded image from pixel to mm 2016-10-28 21:16:52 +02:00
wmayer
126bfa13d4 do not grab focus when showing image view 2016-09-26 17:54:34 +02:00
wmayer
e6c01b7227 fix -Wextra in Image 2016-09-22 14:23:25 +02:00
wmayer
1eaa2dcb2a fix Coverity issues 2016-08-21 15:13:32 +02:00
David Pello
21ffb0305f BSD Porting fixes, conditional compilation and use of gettimeofday() 2016-05-15 12:08:43 +02:00
Yorik van Havre
819f790900 updated translations 2016-04-06 22:39:34 -03:00
wmayer
f623d870ce + fix bug in GLImageBox 2016-03-31 14:14:59 +02:00
Yorik van Havre
7d0012e160 Added latest translations from crowdin 2016-03-06 14:50:07 -03:00
Yorik van Havre
03e0792dc7 Merge pull request #102 from triplus/SVG_WB_Icons
Add SVG workbench icons
2016-02-27 16:06:13 -03:00
wmayer
38f0d6e3d7 + use quantity box in image orientation dialog 2016-02-27 15:10:31 +01:00
triplus
93c7a6bcac Add SVG workbench icons 2016-02-26 23:17:43 +01:00
Yorik van Havre
f93b1b26df Added updated translations from crowdin - fixes #2443 2016-02-26 18:32:02 -03:00
Yorik van Havre
3106ca7df3 Added slovenian language 2016-02-03 13:36:51 -02:00
Yorik van Havre
758b0778d4 Updated translations with latest from crowdin 2016-02-01 23:32:58 -02:00
wmayer
8e9e6b441f + simplify porting of Image module to Python3 2016-01-21 12:27:12 +01:00