Commit Graph

2170 Commits

Author SHA1 Message Date
blacksun
d4b49ed07c Minor : remove unused function
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5786 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-15 16:53:13 +00:00
blacksun
ad76d438ef Element editor :
The font of the dynamic text field can be edited.
The font of the static text field can be edited.
The color of the static text field can be edited. 


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5775 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-10 17:58:33 +00:00
scorpio810
ce1c80d047 Fix typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5768 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-09 00:00:33 +00:00
blacksun
32db96c623 Add new entry if the main QElectroTech dialog conf, to set a defaut font and rotation of independent text item.
Revamp some GUI


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5767 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-08 20:07:00 +00:00
blacksun
a58cecc22a Independent text can have custom font.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5766 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-08 13:47:33 +00:00
blacksun
c9ebb78639 Diagram text item : remove the function fontSize, and use instead font
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5765 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-08 11:53:27 +00:00
blacksun
26a071a4d9 Dynamic element text item : The font of the dynamic texts can be individually be setted.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5764 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-08 10:27:33 +00: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
504636cb79 Add KColorButton in the shape properties editor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5757 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-04 15:42:53 +00:00
blacksun
aaba90419f Diagram editor : dock used to edit the shape item, can now edit several items in the same time
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5756 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-04 15:34:42 +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
blacksun
47295b5ed7 minor : fix naming convention
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5751 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-02 21:45:09 +00:00
blacksun
09e39b97f5 Minor : fix gui layout
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5750 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-02 20:33:07 +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
scorpio810
09d373bc21 Fix typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5742 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-20 23:45:17 +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
6d84414374 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5740 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-20 21:04:08 +00:00
blacksun
03edae216f fix crash
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5739 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-20 20:47:40 +00:00
blacksun
1ec083a313 Independent text editor can now edit several texts.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5738 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-20 20:36:56 +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
d2236e101d fix segfault, see bugtracker N°167
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5735 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-10 17:37:25 +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
13520e9f70 forget file from previous commit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5719 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-27 17:06:38 +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
blacksun
3d17947074 Use QETArguments, instead of arguments list itself
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5715 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-21 17:23:00 +00:00
scorpio810
ac33911644 Update manual_online URL to new manual link
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5712 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-21 13:17:50 +00:00
scorpio810
d42f11b83d Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5711 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-21 08:52:58 +00:00
blacksun
3d7b39be07 Fix regression : QElectrotech is unable to open several project/elements/titleblock from the outside of the application (for exemple by double clicking on a .qet file).
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5709 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-20 13:01:44 +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
ba0a85c166 When remove an element with several conductors connected to the same terminal, the electrical potential is partially or totally destroyed.
This commit fix it : When element is removed one or several conductors are created (if needed) to conserve the electrical potential.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5703 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-09 18:08:49 +00:00
blacksun
58ef54090e Element panel : elements can be searched by their name but also with by all their informations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5698 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-04 22:06:34 +00:00
scorpio810
f70d1d250b Revert r5689
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5691 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-02 20:01:13 +00:00
scorpio810
a92820c6fc Remove "{ }" in variables pasted
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5689 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-02 17:28:38 +00:00
blacksun
04e890ab7d NameList widget : add a combo box for easily paste texts, like the variables for title block.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5687 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-02 16:56:46 +00:00
scorpio810
0ca29b5f02 Add translator
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5673 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-29 19:45:19 +00:00
scorpio810
e071717d30 Title block : list of texts variables can be selected with the mouse and
copied to the clipboard using a context menu or standard keyboard
shortcuts.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5666 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-29 08:45:17 +00:00
blacksun
2274382219 Title block : add two news variables, previous-folio-num and next-folio-num
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5664 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-28 18:39:54 +00:00
blacksun
34f59f4920 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5663 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-26 20:57:11 +00:00
blacksun
d45c070e16 Search and replace : improve the search for elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5662 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-26 20:32:11 +00:00
blacksun
64e900206d Search and replace : We can now replace a properties text (diagram, element, conductor, diagram text) with regular expression
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5658 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-21 18:08:58 +00:00
blacksun
28fd6e13e4 Minor fix typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5650 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-15 18:03:03 +00:00
blacksun
e1cb7e6d6c Search and replace widget, improve layout
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5649 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-15 17:54:20 +00:00
blacksun
c64b74d328 Fix : On windows when user drag and drop an element from the common elements collection to the custom elements collection,
the element file stay in read only mode, and so user can't save the element



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5648 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-13 21:39:44 +00:00
blacksun
7a17200cf6 Search and replace : improve the search for conductor.
Minor gui change of conductor properties widget


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5647 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-13 17:34:41 +00:00