185 Commits

Author SHA1 Message Date
blacksun
822da4fe66 simple element : comment is snapped and centered to the bottom of text tagged "label"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3432 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-02 14:12:38 +00:00
blacksun
0c5035d12d Info about Linked element (cross ref item and info about pos of master for the slave element) is updated when a diagram is removed from project.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3429 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-01 22:01:59 +00:00
blacksun
1252288ad1 Bug fix: Xref for slave element will be updated when diagram order change in project.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3428 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-01 11:09:58 +00:00
blacksun
f071fc8d09 Master element: improve how the comment is displayed when there isn't linked to a slave
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3426 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-31 10:22:46 +00:00
blacksun
cf887b8c3c Master element : comment is displayed even if there isn't slave linked
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3414 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-28 15:45:28 +00:00
scorpio810
75b0efc3b3 Restore extend Terminal interval
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3408 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-27 21:08:25 +00:00
blacksun
780c039b31 Simple element : Comment is show at the bottom of diagram inside a rounded rectangle.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3407 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-27 19:37:04 +00:00
scorpio810
572323e234 Basic shapes: minor improvement
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3403 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-26 13:36:11 +00:00
blacksun
933e8cb86f Cross ref item : minor improvement
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3402 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-26 13:12:44 +00:00
scorpio810
c47a39d54e Basic shapes set pen.setWidthF(1) to all platforms
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3401 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-26 12:38:04 +00:00
blacksun
3cf0f0f929 Bug fix: element text item move strange when element is rotated. (my apologies for this weird bug)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3399 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-25 21:21:52 +00:00
blacksun
e3cc8d449d Improve signal of position changed, between linked elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3394 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-23 08:48:30 +00:00
blacksun
2a4d013994 Past command: reset some info about the pasted element (label, comment, and text of report)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3393 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-23 08:05:53 +00:00
blacksun
a4461fd1ba Edit the propertie "label" of a simple element have the same behavior of master element:
The text field tagged "label" show the text edited in the propertie and isn't editable.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3387 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-20 21:23:12 +00:00
blacksun
1e7f982c91 Conductor : improve position of conductor text item.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3384 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-20 07:30:57 +00:00
scorpio810
c7d420a4f7 Improve extendTerminal, thank Runsys
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3383 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-19 21:51:13 +00:00
blacksun
0fce8010bc Fix warning at compilation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3382 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-19 11:25:03 +00:00
blacksun
8a2c0a2d36 Conductor : reset conductor path also reset conductor text item position
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3381 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-19 10:08:55 +00:00
blacksun
58c280be2a Text item : minor improvement
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3380 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-18 12:25:16 +00:00
blacksun
243cd16e72 Text item : reduce a lot of code for several text item
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3379 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-17 21:30:42 +00:00
blacksun
6b97daeee9 Conductor : improve resize behavior. Text item is stacked behind the conductor, so they don't tack focus easily.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3376 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-16 13:31:08 +00:00
blacksun
4e431ae04b Conductor : improve one text per folio and remove option no one text per folio
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3375 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-13 18:42:38 +00:00
blacksun
53be98416c Report element, minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3372 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-12 09:40:10 +00:00
blacksun
a42e7dc422 Conductor: activate option "Don't be subjected to the option one potential text per folio"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3371 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-12 09:29:41 +00:00
blacksun
0af31b9105 Diagram command: additem, minor improvement
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3370 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-11 17:45:11 +00:00
blacksun
743b6768eb Diagram command add QGraphicsItem and derived :
Remove each comand for each type and replace it by generic class by using template class (addItemComand).


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3368 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-10 08:58:44 +00:00
blacksun
0cd1a812f3 minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3367 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-09 09:02:41 +00:00
blacksun
5722ad0af8 Conductor: fix minor bug about text visibility
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3364 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-07 21:58:10 +00:00
blacksun
781a779b49 Conductor : minor change and replace some methode by function.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3363 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-07 19:51:26 +00:00
blacksun
22c13f29ee Conductor: add option one text per potential in the same diagram (work in progress)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3341 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-03 17:02:01 +00:00
blacksun
8eaa2949c6 Conductor : remove "simple" conductor, and add option "visible" for text of multiwire conductor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3338 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-28 09:47:06 +00:00
blacksun
373c833eb7 Conductor : improve text pos
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3336 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-27 08:40:04 +00:00
blacksun
cfde3232eb Conductor : improve text position
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3333 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-26 08:48:55 +00:00
blacksun
818a7601d9 Conductor properties dialog: dialog is now build in is own class.
The conductor himself call the dialog when he have mouse double click.
The dialog isn't managed by the diagram view anymore. 


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3295 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-02 18:41:25 +00:00
blacksun
6fce7010f8 Conductor autonumerotation: Remove one autonum per diagram and add global autonums for the project.
several diagram can share the same autonumerotation.
This is first step, need to be improved and readd some feature (disabled for first step).


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3239 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-31 10:02:33 +00:00
scorpio810
ad37a11611 Fix for Mac os X, update MacQetDeploy.sh script, thank Yoann
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3234 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-27 11:56:31 +00:00
blacksun
32938655d7 Autonumerotation: Auto numbering isn't increased through the terminal Elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3229 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-23 19:54:25 +00:00
blacksun
08cf153ea8 Improvement: Use anticipate class declaration instead of include header
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3224 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-21 20:44:32 +00:00
blacksun
5a8bb42153 move undo command: graphics item is animated when undo/redo (testing)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3202 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-09 16:50:30 +00:00
blacksun
844167f181 xref: switch contact is managed by cross ref
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3201 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-07 14:36:53 +00:00
blacksun
68e9d33e88 xref properties widget: user can define the behavior of xref for coil and protection.
They don't work now with official collection, because we must to update the information of element (type coil or protection).
You can test it by creating new master element (dont forget to define the master type, coil or protection).


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3185 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-03 08:52:14 +00:00
blacksun
8379163061 Xref item: item position can be set under the texte field "label" of master element.
Double clic in xref open the properties dialog of master.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3183 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-27 18:34:18 +00:00
scorpio810
7a4b346a80 qetshapeitem: restore Antialiasing false
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3146 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-18 10:46:09 +00:00
blacksun
25acb29992 QetShapeItem: user can add polyline shape
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3144 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-17 09:08:41 +00:00
scorpio810
6c8f4482db Fix fails to build on Windows
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3142 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-16 04:20:41 +00:00
scorpio810
da1277566b Basic shapes: Antialiasing set to disable, fix print line type on Windows plateform
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3139 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-15 13:29:30 +00:00
blacksun
f5ca3114d1 QetShapeItem: improve code.
Other improvement related to the refactoring of QetShapeItem


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3134 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-14 16:04:34 +00:00
blacksun
74732bb54b element editor: add dialog for edit element properties (master, slave etc...)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3102 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-03 20:21:19 +00:00
scorpio810
441eef4a6d Minor changes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3096 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-02 01:38:02 +00:00
blacksun
6f51f1eb0d Element editor : replace home made property by Q_PROPERTY for all primitive,
Add combo box for input to set the tagg (nothing or label, actually)
Remove terminal text because unused.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3088 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-29 13:46:04 +00:00