Commit Graph

46 Commits

Author SHA1 Message Date
Uwe
62ed7ae5a3 [Drawing] Gui: remove unused headers
- also some sorting
- also enable precompiled header
2022-12-10 05:59:51 +01:00
wmayer
dd3a98a9ca Drawing: [skip ci] Fix several clazy issues:
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
* Don't call QList::operator[]() on temporary [-Wclazy-detaching-temporary]
* Use multi-arg instead [-Wclazy-qstring-arg]
2022-07-25 11:31:37 +02:00
wmayer
1b4c23eeea Drawing: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
wmayer
8f786ea6ef Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +01:00
wmayer
1e589f05df Drawing: remove some more deprecated Py2 code 2021-04-26 11:12:34 +02:00
wmayer
7b72dcb062 Qt5: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 2020-06-12 17:51:33 +02:00
wmayer
52afd8aa11 fix further file names vulnerabilities in modules 2019-10-03 02:37:25 +02:00
wmayer
e48c52c480 force strict ISO C++ (-Wpedantic)
for Drawing, Image, Inspection, Mesh, MeshPart, Part, Path, Points, Raytracing, ReverseEngineering, Spreadsheet, Start, Surface, Web

TODO: fix several -Woverflow in area
2019-09-18 11:32:42 +02:00
wmayer
97244a77e7 Py3: fix opening file 2018-10-11 12:06:07 +02:00
luzpaz
985980648c Typos: user-facing and trivial
Several typos and uniformity fixes.
Note: 
*SCL/SimpleDataTypes.py is a upstream stepcode file whose fiz has been submitted upstream and accepted.
*the header of Tools/generateBase/generateMetaModel_Module.xsd  had redundant data. It has been removed. Please double check it.
2017-12-02 14:00:57 +01:00
Alexander Gryson
40b4d8c151 Don't depend on svg contents for file info 2017-01-15 21:08:08 +01:00
wmayer
c997180a47 Qt4/Qt5 neutral changes:
+ remove QCoreApplication::UnicodeUTF8/QApplication::UnicodeUTF8
+ remove QCoreApplication::CodecForTr/QApplication::CodecForTr
2016-12-12 14:52:09 +01:00
wmayer
81ddb1c6c0 fix -Wextra & -Wdeprecated in Drawing 2016-09-22 15:29:10 +02:00
wmayer
24d466473a fix Coverity issues 2016-08-21 14:44:14 +02:00
Mateusz Skowroński
c275b35d48 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
Mateusz Skowroński
0695552cff QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:06:48 +01:00
Yorik van Havre
16e857cbef Drawing: Add SpreadsheetView command - fixes #1805 2016-01-03 16:44:56 -02:00
wmayer
b374fcb6ef + split file extension from descriptive text of file format to avoid that invalid translation breaks file dialog 2015-10-06 18:45:06 +02:00
wmayer
f52ed288c1 + fixes #0001998: For 32 px and 48 px the icons with a submenu in toolbars are not display at the good size 2015-04-17 23:16:28 +02:00
Yorik van Havre
d3207edb22 Drawing: reset the default template to the classic one 2015-02-12 13:46:13 +01:00
Yorik van Havre
7a40da3497 Drawing: small fix in DraftView command 2015-01-26 16:00:13 -02:00
wmayer
67b4ab51e4 + slight fix in file filter 2015-01-24 16:31:49 +01:00
Yorik van Havre
aa28666817 Moved Draft-Drawing tool to the Drawing WB (renamed Draft View) 2015-01-16 17:16:39 -02:00
wmayer
492135fc23 + issue #0001856: Add standard set of blank ISO drawing template sizes 2015-01-10 19:09:58 +01:00
wmayer
553ddff9c1 + fix undo/redo issues with ortho views 2015-01-03 22:39:07 +01:00
Michael Georg Hansen
f7915fcffa Simplify access to projection properties.
Directly access the properties where possible.
2014-12-20 22:17:46 +01:00
Michael Georg Hansen
4ee88ee085 Reuse projection settings from an existing view when creating new part views.
Select a part and a view on a drawing page, then the view created for the part
will have the same projection settings as the selected view.
2014-12-20 22:16:41 +01:00
Sebastian Hoogen
01cf0f5872 issue #1027 use unicode filepaths 2014-10-11 13:32:06 +02:00
wmayer
c94403412d + fixes #0001719: Show current shortcuts (S) in menus and hover text. 2014-08-31 14:28:33 +02:00
Michael G. Hansen
784e52ddb6 Fix bug 1643: Projections are always added to the first drawing page 2014-08-19 15:07:02 +02:00
Yorik van Havre
e46fbcdb8e Drawing: Allow to select the page in which to create a view feature - fixes #1668 2014-08-07 22:00:31 -03:00
Yorik van Havre
5a193f0e47 Fix in Drawing page object - fixes #1540
* Changing the editable texts updates the page automatically
* Added a doc.recompute() after creating a new page
2014-08-07 10:39:33 -03:00
wmayer
b82668a450 + fixes #0001312: Save sheet doesn't write the file in some directories 2014-03-04 10:38:40 +01:00
wmayer
0a8b3a7ec8 + fixes #0001447: Crash when opening task dialog for orthographic projection while another task dialog is open 2014-02-27 11:14:53 +01:00
wmayer
f63e91a63a fixes #0001337: Add american templates to Drawing workbench 'New Drawing' drop-down button 2013-12-24 12:39:15 +01:00
Yorik van Havre
e888e4f6b3 Drawing: Symbol command
A new symbol command and Drawing::FeatureViewSymbol object allow to
load the contents of an external svg file and place it as a symbol
on a Drawing page. This symbol can then be moved and rescaled.
2013-11-01 19:12:09 -02:00
wmayer
f9f03f1d89 Automatically create actions for each template 2012-07-22 14:56:25 +02:00
wmayer
ce862419a0 Check at runtime if drawing page is there 2012-07-21 09:47:44 +02:00
Yorik van Havre
5eb163b060 Added 0000145 : Drawing clip objects 2012-05-16 16:31:02 -03:00
Yorik van Havre
020b14f6bb Refined Drawing::FeatureViewAnnotation
+ Now goes inside an existing page automatically
+ Supports Rotation value
2012-05-03 16:04:48 -03:00
Yorik van Havre
ecd15b692f Added 0000602 : Annotations object for Drawing pages 2012-05-02 18:16:41 -03:00
Yorik van Havre
f45fd39964 Added Drawing_OpenBrowserView command
While the Drawing viewer is still based on QtSvg,
I added this little button to make it handy to
check how a page renders in the webkit window.
2012-01-19 21:01:57 -02:00
wmayer
0a7abc975f + support multi-selection when inserting objects to drawing page
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5390 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-05 18:50:56 +00:00
wmayer
eac5828903 + add patch for ortho view (j-dowsett)
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5310 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-15 18:31:59 +00:00
wmayer
7d7631bc9d + add task panel for projections (j-dowsett)
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5262 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-10 21:36:02 +00:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00