Simon De Backer
10c4c3d528
Wip Fix preprocessor on Cmake
2020-12-08 19:57:35 +01:00
Claveau Joshua
b514c39883
Improve update of the project database
2020-11-01 21:27:40 +01:00
Claveau Joshua
e0201a8027
Remove old Backward compatibility: prior to version 0.3
2020-10-02 17:39:07 +02:00
Simon De Backer
36dbe65457
Add TODO compile var + Fix doxygen issue
...
You can make your code warn on compile time for the TODO's
In order to do so, uncomment the following line. in pro file
DEFINES += TODO_LIST
2020-09-24 17:01:33 +02:00
Simon De Backer
5d92393ee7
Wrap code for better readability
2020-09-07 22:03:40 +02:00
Simon De Backer
0c00d83b27
Fix some doxygen issues
2020-08-20 21:57:35 +02:00
Simon De Backer
d4ee161c07
Mod doc set style de same
2020-08-16 11:19:36 +02:00
Simon De Backer
7a04788d54
Mod code to drop 2 inden
...
- if (isReadOnly()) return;
- if (dc.items(DiagramContent::All).isEmpty())
2020-08-02 20:52:52 +02:00
Simon De Backer
fa1abbd38d
Wrap code for better readability + Mod doc
2020-08-02 20:29:20 +02:00
Simon De Backer
effc86e72c
Translate documentation + Fix indentation
2020-08-02 20:29:06 +02:00
Simon De Backer
4751934d68
New Signal Slot Syntax
2020-08-02 15:23:38 +02:00
Simon De Backer
e938673872
Add documentation
2020-08-02 15:09:21 +02:00
Simon De Backer
2a53f09a37
Translate documentation + Fix indentation
2020-08-02 12:09:08 +02:00
Simon De Backer
fe4552200b
Add compiler message @TODO
2020-07-19 22:06:42 +02:00
Laurent Trinques
6313319f80
Fix-indentation-code
2020-07-15 19:57:37 +02:00
Claveau Joshua
dae4329699
Update project database class
...
Add method :
addDiagram and removeDiagram
2020-07-06 21:52:14 +02:00
Claveau Joshua
c86f9ccc3a
Improve ProjectDataBase use
2020-07-01 18:31:19 +02:00
Laurent Trinques
e10ae8ce2e
Update Copyright date
2020-06-15 17:42:53 +02:00
Laurent Trinques
09dd92215f
Try to fix Ubuntu 18.04 FTBFS
2020-06-14 16:22:23 +02:00
Martin Marmsoler
51843bf03e
replace foreach by for
2020-06-14 13:29:26 +02:00
Martin Marmsoler
af989b1cd8
Use uuid instead of an index to connect multiple elements
2020-06-14 13:29:25 +02:00
Laurent Trinques
22e619d6b9
Revert pull request #48
2020-06-14 07:35:52 +02:00
Martin Marmsoler
a8a2df7c55
replace foreach by for
2020-06-13 16:26:22 +02:00
Martin Marmsoler
9b06a81c49
Use uuid instead of an index to connect multiple elements
2020-06-13 16:26:22 +02:00
Laurent Trinques
3e1740cee0
Revert Martin pull request for now, and return to last 7e9fd8df9 commit
2020-06-11 13:19:30 +02:00
Martin Marmsoler
b7c2740778
replace foreach by for
2020-06-11 11:12:05 +02:00
Martin Marmsoler
e6f77ec369
Use uuid instead of an index to connect multiple elements
2020-06-11 11:12:05 +02:00
Simon De Backer
fe64923ffe
fix deprecated warning QSet<T> QList<T>::toSet()
...
Use
QSet<T>(list.begin(), list.end())
instead.
This function was introduced in Qt 5.14
2020-06-08 03:52:51 +02:00
Claveau Joshua
908d79925c
save/load QetGraphicsTableItem to/from .qet file
2020-04-17 18:40:28 +02:00
Laurent Trinques
73149973e3
Merge remote-tracking branch 'origin/QetGraphicsTableItem'
2020-04-12 18:51:38 +02:00
Laurent Trinques
99064fe2ab
Moving elements by mouse does not respect the grid settings
...
When moving element by mouse, snapping to grid uses fixed 10 px steps
hardcoded in source instead of using the value from grid settings. When
moved by keyboard, the grid step is respected.
It is due to QPointF Diagram::snapToGrid(const QPointF &p) function not
considering the settings.
Thanks jethro for this patch
2020-03-27 21:21:49 +01:00
blacksun
62f5c4092d
fix typo
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5759 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-05 13:48:47 +00:00
blacksun
1c2b3baba7
Minor : update gui layout.
...
Fix : change grid step doesn't applyed
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5754 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-04 08:55:06 +00:00
scorpio810
ba293a650e
Add two speedsize for displacing items when working with a keyboard on
...
diagram editor :
normal displacement "adjustable from 1 to 30"
(keys : Left,Right,Up,Down)
fine displacement "adjustable from 1 to 10"
(ALT + keys : Left,Right,Up,Down ), thanks Erik for his patch
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5749 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-24 15:44:47 +00:00
scorpio810
47aaa1cdf4
Add Erik path : User can Diagram grid layout and keys
...
Left,Right,Up,Down stepsize
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5744 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-21 00:02:49 +00:00
blacksun
33d757e0d8
Diagram editor : add a new widget in the "curent selection dock" for edit the independent text. WIP
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5737 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-19 16:42:07 +00:00
blacksun
dba6a58390
Minor refactoring of diagram event interface
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5706 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-14 18:25:43 +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
4adf94dabf
Fix crash when load an old project, wich contain element without her definition embedded, aka "ghost element".
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5550 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-10 16:48:44 +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
52eb4b5f71
Diagram editor : add 4 tools for edit the depth (Z value) of items.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5394 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-17 18:21:56 +00:00
blacksun
3225bdb371
minor fix : elements can't be moved up and left, when there rotation are different than 0.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5389 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-07 16:29:41 +00:00
blacksun
9d2124f593
Multipaste dialog : add 'autonum pasted conductors' check box
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5339 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-23 13:50:36 +00:00
blacksun
3228f3e5db
Multi paste dialog : add a check box for allows auto connection of the pasted elements.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5331 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-12 16:24:44 +00:00
blacksun
22f95c22f0
simplify some code
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5299 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-05 09:37:35 +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
blacksun
8e74d88e65
Fix wrong behavior when move a text item group, with rotation different than 0
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5223 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-01-28 11:16:09 +00:00