blacksun
fae3cf33bd
Fix behavior when use arrow key with dynamic element text item and element text item group
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5789 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-16 11:34:52 +00:00
scorpio810
9509da6142
Fix typo
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5741 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-20 23:35:37 +00:00
blacksun
481dda8477
Free selection : minor
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5733 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-04 20:43:58 +00:00
blacksun
ae68f08bb6
Improve free selection behavior
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5732 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-04 19:00:46 +00:00
scorpio810
7cd5fc57a9
Free hand selection : Change CTRL key by SHIFT
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5731 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-04 17:44:33 +00:00
scorpio810
c861498a0a
Typo fix
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5720 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-27 21:58:57 +00:00
blacksun
0db73abd41
Free hand selection : at the end of the selection, popup a context menu for create conductors between selected terminal
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5718 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-27 17:04:13 +00:00
blacksun
ee44b4e8a2
Add new selection style : free selection.
...
Use like normal selection + hold the ctrl key.
The code made in this commit are largely inspired by the the rubber band of QGraphicsView.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5716 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-23 17:08:04 +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
94dc195028
Search and replace : Diagram properties can be changed (and mass changed) through the search and replace widget.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5564 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-21 09:54:59 +00:00
blacksun
6a12a008e9
Start the work on a new feature : search and replace.
...
This commit let user find for : texts, conductors and elements.
WIP.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5526 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-25 16:05:24 +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
blacksun
e60b65546f
fix "fail to build from source" with Qt < 5.7, and in the same occasion fix a memory leak
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5424 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-02 13:48:47 +00:00
blacksun
0f4a058e63
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5420 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-01 18:35:03 +00:00
blacksun
8386002ef3
Clean (and reduce the size) the class QETDiagramEditor, mostly by replacing the connection syntax "signal -> slot" by "signal -> lambda".
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5401 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-20 18:03:39 +00:00
blacksun
89506df464
Diagram editor : add new context menu action "group the selected texts"
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5372 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-18 21:46: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
12e7a7002e
Diagram editor : add new action in the context menu : multiple paste.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5319 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-08 16:50:52 +00:00
blacksun
fb47a18b69
Remove, move and clean some functions of diagram view, among other things because it is not the role of the diagram view to provide these functions.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5294 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-04 11:02:40 +00:00
blacksun
250b2d42fe
Element editor and diagram editor : context menu display only enabled actions
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5283 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-31 11:21:55 +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
0a4bca6acc
Minor diagram editor : fix minor wrong behavior when naviagte with the arrow key
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5274 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-24 14:29:43 +00:00
scorpio810
45cbe170c9
Fix scroll mouse to lower it can flips the diagram, thanks Gabberworld for this patch
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5235 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-10 16:32:57 +00:00
blacksun
e8905793cc
Texts group can be removed with the delete key of keybord
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5142 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-05 21:41:29 +00:00
blacksun
89c019a10e
Texts group item can be rotate.
...
The keybord shortcut for texts group alignment change. Now it's ctrl + arrow-left/up/right
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5141 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-05 20:51:54 +00:00
blacksun
fbb07bf2b8
Commit 5005 break the change made in commit 5003 : fix it
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5022 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-16 14:32:34 +00:00
blacksun
3c535b2904
Minor : fix warning
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5012 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-09 09:03:04 +00:00
blacksun
3ef55906a4
First step for the dynamic element text : Now user can add directly from the diagram editor an editable text of an element.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5005 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-03 17:36:08 +00:00
blacksun
fec5c95682
Improve the behavior of the feature "zoom out beyond of folio" : drag the scene is now more user-friendly
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5003 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-03 16:53:43 +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
54c85db29c
Minor update Copyright year
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4860 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-20 10:55:49 +00:00
blacksun
537c0ad95a
Minor : imrpove method
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4753 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-10-20 17:48:10 +00:00
dfochi
b1c465528d
Bug Fix: correct Folio List folio display. Bug Fix: correct arrow key move behavior
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4693 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-09-05 21:19:00 +00:00
dfochi
230700f845
Conductor Autonum now works with variables. Folio Autonumberings added to conductor autonum
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4674 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-08-29 15:37:42 +00:00
blacksun
d63bde3930
QetDiagramEditor : add option 'Display grid'
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4637 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-08-18 16:30:24 +00:00
dfochi
8f8ede0e6c
Fix Home and End Buttons Handling and DiagramEditor Scroll
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4613 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-08-08 16:42:47 +00:00
dfochi
6355611947
Copy/Paste now works with Element Label Variables
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4599 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-31 01:30:42 +00:00
dfochi
ec67d8c408
Minor: %prefix is not hardcoded anymore. Zoom in and out with Ctrl + and Ctrl -
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4574 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-13 21:25:29 +00:00
scorpio810
e218228ea9
Increase size of the conductors junction points
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4572 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-13 04:57:02 +00:00
scorpio810
c762106e8a
Fix Plus and Minus buttons zoom in and out of the editor.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4571 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-07-12 18:07:32 +00:00
dfochi
44e96a6ea7
Moving elements with keyboard arrows scrolls editor and expands scene to right or below the editor. Element movement to the left and above the editor is impeded. Plus and Minus buttons zoom in and out of the editor.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4549 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-06-09 20:46:27 +00:00
blacksun
d36fe97611
Remove the class IntegrationMoveElementsHandler
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4482 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-14 14:48:55 +00:00
scorpio810
025fa64f67
Minor : update Copyright date
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4481 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-13 17:40:36 +00:00
scorpio810
662e3b20d2
Restore commit 4476
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4478 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-13 15:00:22 +00:00
dfochi
f077361856
Reverting previous commit and going back to revision 4475.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4477 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-13 13:48:36 +00:00
dfochi
fa4714b95d
1) Use arrow keys to navigate through the diagram editor. 2) Use PgUp, PgDn, Home and End keys to navigate through open folios. 3)Use Delete Key inside elements panel widget to delete diagrams. 4) Added a scroll area in auto numbering page.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4476 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-13 13:10:32 +00:00
blacksun
168467abb0
Improve the way how an element is updated in the new element panel.
...
Now Qet only use the new embbeded collection (XmlElementCollection).
No need to reload the old element panel for add a new element created by the new element panel
Elements are always imported to the embbeded collection of a project
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4468 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-05 13:31:04 +00:00