92 Commits

Author SHA1 Message Date
plc-user
cc20c218d8 add option "transparent background" in SVG-export 2024-03-27 14:50:26 +01:00
plc-user
5df77291fe fix size of SVG-export 2024-03-14 08:51:53 +01:00
Laurent Trinques
9afef79629 Update Copyright date 2023-01-01 17:05:57 +01:00
David Varley
af5d5e0aa3 Allow for open polygons (ie polylines) when saving as dxf 2022-08-13 11:57:29 +10:00
Laurent Trinques
ef58f34c14 Update Copyright date 2021-02-20 12:13:46 +01:00
joshua
2513961cd6 Revert "Update Copyright date"
This reverts commit d04bccc384aa8b9dc16e4432ac72ccb787b2508b.
2021-02-06 19:00:48 +01:00
Laurent Trinques
d04bccc384 Update Copyright date 2021-02-06 18:33:42 +01:00
Simon De Backer
10c4c3d528 Wip Fix preprocessor on Cmake 2020-12-08 19:57:35 +01:00
David Varley
2d6bef71ae DXF - Add some color 2020-09-22 19:41:47 +10:00
David Varley
bcc5846662 DXF - Cleaning up scaling 2020-09-22 12:16:32 +10:00
David Varley
4d7ece07ab DXF - Simplifying, WIP 2020-09-17 21:45:14 +10:00
David Varley
6b1d51bab8 DXF - Add Polylines, use for conductors and rectangles 2020-09-11 11:22:08 +10:00
David Varley
046d7c6b59 DXF - Add terminals to plot (optional) 2020-09-10 18:35:22 +10:00
David Varley
d5d8181332 DXF - fine tune text item locations 2020-09-10 00:12:45 +10:00
David Varley
713d467fe4 Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2020-09-08 22:10:31 +10:00
David Varley
cc8d0da0ac DXF - Fix conductor number positioning, add junction dots 2020-09-08 21:44:58 +10:00
Simon De Backer
8ee38fab9e Fix Coding convention
Please download and use
https://qelectrotech.org/wiki_new/_media/doc/qtcreator-qet-style.xml
when you write code in Qt
2020-09-07 21:41:45 +02:00
David Varley
babf3d2cf2 Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2020-09-07 22:14:07 +10:00
David Varley
68b4705630 Tidy up som comments 2020-09-07 16:27:59 +10:00
David Varley
d062175da7 Add tables to dxf export 2020-09-07 16:16:33 +10:00
Simon De Backer
610a44c7cd Removed some Q_UNUSED 2020-09-04 23:19:59 +02:00
Simon De Backer
331918d143 Wrap code for better readability 2020-08-20 21:58:23 +02:00
Simon De Backer
0c00d83b27 Fix some doxygen issues 2020-08-20 21:57:35 +02:00
David Varley
73dd1e8299 Merge branch 'master' of https://github.com/qelectrotech/qelectrotech-source-mirror 2020-08-17 15:53:19 +10:00
Simon De Backer
41cef49453 Improve code style, Wrap code for better readability 2020-08-16 14:26:40 +02:00
David Varley
ea9a230844 Fix dxf export for border 2020-08-16 12:22:36 +02:00
David Varley
ddc2afa427 Fix dxf export for border 2020-08-16 15:39:20 +10:00
David Varley
ceb2868b02 Fix dxf export for copied conductors 2020-08-15 14:15:57 +02:00
David Varley
02afb6c003 Fix dxf export for copied conductors 2020-08-15 22:00:14 +10:00
Claveau Joshua
132f3ad1b4 Remove old summary feature 2020-07-14 20:00:28 +02:00
Laurent Trinques
e10ae8ce2e Update Copyright date 2020-06-15 17:42:53 +02:00
Simon De Backer
09006dc75f fix deprecated warning QDir& QDir::operator=(const QString&)
This function is obsolete.

Use
QDir::setPath() instead
instead.
2020-05-30 06:24:04 +02:00
scorpio810
76fafc19b2 Fix Static text size of element exported to dxf
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5897 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-30 18:49:43 +00:00
blacksun
4cbf103cbc Static text of element are now exported to dxf
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5896 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-28 19:22:36 +00:00
blacksun
07da381515 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5799 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-18 19:27:37 +00:00
blacksun
66ef773c53 Fix DXF export
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5794 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-16 19:13:46 +00:00
scorpio810
3ed7a4e63b Minor : update Copyright date
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5705 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-13 16:56:12 +00:00
blacksun
e6d73977c1 1-Use the "implicite shared" of Qt for the QPicture and QPixmap of element (https://doc.qt.io/qt-5/implicit-sharing.html).
This avoid to parse the same element definition each time user drop the same element in the diagram.
Only the first element build the picture, all other get the created picture which is shared.

2- For use the "implicite shared" QPicture and QPixmap of element, now this isn't the element who build her picture, but a dedicated class who made only this job : build the QPicture and QPixmap of elements.

3- With the two previous novelty, the class CustomElement and GhostElement are became useless, and so was removed.
Some few member function of CustomElement was moved to Element.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5492 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-23 19:41:58 +00:00
scorpio810
30bee81432 Revert r5449 and disable r5452 momentary : Load time from elements is
very slow


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5461 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-30 15:24:29 +00:00
scorpio810
b97b01d63c Apply clang-tidy's modernize-use-auto
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5449 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-19 16:27:20 +00:00
scorpio810
e4b1ba9797 Apply clang-tidy's performance-unnecessary-value-param, performance-for-
range-copy


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5448 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-19 14:14:31 +00:00
blacksun
37ef43b97b clean some code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5279 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-25 18:42:18 +00:00
blacksun
a7917bb5bb Remove the class element text item.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5276 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-25 14:33:49 +00:00
scorpio810
fc05a2f2ec Add some colors for basic shapes inside dxf, thanks Gabberworld for this
patch


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5238 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-11 16:14:53 +00:00
scorpio810
b4c2fd2372 DXF export : fix some double items in dxf file, thanks to Gabberworld for this patch
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5230 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-06 16:12:33 +00:00
scorpio810
41659fa6fd Revert r4900
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4902 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-05 16:18:50 +00:00
scorpio810
6422dd096f Replace foreach function by for, please try and report problem
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4900 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-04 21:43:23 +00:00
scorpio810
f40950d714 Minor : Increase widget Minimum Size (800, 390) to (800, 590)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4871 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-25 11:08:21 +00:00
scorpio810
a3be18280b Export Dialog : add the %idx as a prefix to exported file names
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4870 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-24 17:05:02 +00:00
scorpio810
40bb3fe2c6 Improve dxf export for folio list
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4869 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-24 08:08:08 +00:00