Compare commits

..

3138 Commits
0.1 ... 0.4

Author SHA1 Message Date
scorpio810
d9de763863 Tag version 0.4
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/tags/0.4@3735 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-20 15:03:01 +00:00
scorpio810
eaff56b669 Update copyright date
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3734 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-20 14:56:22 +00:00
scorpio810
8e8c16467b Prepare to final tag
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3733 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-20 14:09:12 +00:00
pavelfric
398542b8b2 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3732 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-19 21:26:51 +00:00
pawel32640
e1225130ad updated Polish translation - minor changes - completed
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3731 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-19 19:55:19 +00:00
aitolos
65db4be2b5 Update Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3730 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-18 17:45:35 +00:00
pawel32640
2432afd362 updated Polish translation :-)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3729 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-18 17:19:44 +00:00
scorpio810
fe59e4eb74 Update TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3728 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-18 17:12:00 +00:00
scorpio810
37029313fa Add Yoann contributor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3727 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-18 16:58:24 +00:00
silvio
baac2c2dab New italian translation of .ts file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3726 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-18 14:27:46 +00:00
pawel32640
d5151e44f5 updated Polish translation :-)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3725 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-18 14:16:52 +00:00
scorpio810
3cc5d605ae Update TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3724 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-18 13:05:01 +00:00
scorpio810
866f27ae6c Add Nuri contributor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3723 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-18 02:38:04 +00:00
pawel32640
96c4f3267e updated Polish translation - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3722 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-17 11:38:30 +00:00
scorpio810
adb701194d Add new symbol, thank Yannick and eb3pas
Update German translation, thank Nuri


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3721 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-17 10:28:17 +00:00
scorpio810
22239f80f4 Change splash to release tag
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3720 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-16 21:38:45 +00:00
aitolos
58664001bb Update elements Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3719 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-16 18:52:36 +00:00
pawel32640
4c4d5ae13b minor fixes elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3718 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-15 21:47:50 +00:00
pawel32640
2d97f61ff3 updated Polish translation - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3717 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-15 11:26:15 +00:00
blacksun
d1819c967f Element editor : Editor can change several primitive style in same time. Just select several primitive and edit it with the style editor widget.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3716 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-15 10:21:32 +00:00
blacksun
deeac895c3 Fix warning
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3715 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-12 21:37:56 +00:00
pawel32640
61c265732a updated Polish translation - minor changes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3713 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-12 20:31:24 +00:00
silvio
4a50f2cff8 New italian translation of .ts file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3712 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-12 17:59:59 +00:00
pawel32640
d7aa6dd38c updated Polish translation - minor changes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3711 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-12 15:46:03 +00:00
scorpio810
747a2a9509 Diagram disable element snap To Grid by Qt::ControlModifier touch
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3710 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-12 12:43:13 +00:00
blacksun
e0cb854721 Remove some obselete elements.
Redraw some elements


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3709 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-12 10:22:40 +00:00
blacksun
170f76d3b8 Remove some obsolete elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3708 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-12 09:43:27 +00:00
pawel32640
57284260a4 updated Polish translation - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3707 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-11 16:32:30 +00:00
pawel32640
67d8188458 updated Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3706 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-11 14:59:49 +00:00
scorpio810
7065b5c2bf Refresh element, thank Yannick
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3705 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-11 12:15:19 +00:00
scorpio810
eefa784800 Update TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3704 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-11 09:00:58 +00:00
blacksun
ab1f02bc6b Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3703 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-11 08:27:39 +00:00
silvio
5e73294d9d FIX Italian translation of elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3702 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-10 21:33:59 +00:00
silvio
27b0fb5017 Italian translation of elements - updating
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3701 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-10 20:41:04 +00:00
scorpio810
f185186bee Minor fix elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3700 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-10 19:38:41 +00:00
scorpio810
53e41d9268 Fix multiple translation in elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3699 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-10 17:40:25 +00:00
scorpio810
96d87c27cc Element collection, fix minor errors
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3698 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-10 17:26:49 +00:00
scorpio810
3301fb1293 Element fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3697 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-09 17:03:42 +00:00
pawel32640
d4ad46299f updated Polish translation - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3696 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-09 16:24:22 +00:00
scorpio810
5281a8392d Add new elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3695 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-09 13:41:14 +00:00
blacksun
9c6499813c Element editor : hover a primitve will highlight it with a blue halo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3694 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-09 08:57:40 +00:00
pawel32640
c5036dfb17 minor fixes elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3693 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-07 15:38:11 +00:00
aitolos
16664104cf Update elements Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3692 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-07 15:26:05 +00:00
silvio
296ebd3bf2 Italian translation of elements - updating
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3691 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-06 09:04:51 +00:00
scorpio810
61a51aa764 Apply patch to Paul elements archive for Netherlands translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3690 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-05 21:25:08 +00:00
scorpio810
9843114615 Minor change in qelectrotech.desktop
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3689 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-05 21:09:26 +00:00
scorpio810
8bfe516209 Qelectrotech.desktop: remove Encoding=UTF-8 and add Keywords
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3688 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-05 20:51:36 +00:00
scorpio810
dbd2c3707f When compressing man, do not save the time stamp by default
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3687 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-05 19:05:54 +00:00
silvio
91f0e8ed80 Italian translation of elements - updating
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3686 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-05 17:18:56 +00:00
pawel32640
8dc9ad63fd updated Polish translation - elements - error repair
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3685 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-05 15:30:31 +00:00
pawel32640
39a7d2b7f9 updated Polish translation - elements - completed
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3684 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-05 15:23:41 +00:00
pawel32640
035742e9e5 updated Polish translation - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3683 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-05 14:34:04 +00:00
scorpio810
bc71094cbd Chage splashscreen, thank Nuri
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3682 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-05 13:03:59 +00:00
pawel32640
e6d655717b updated Polish translation - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3681 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-04 20:12:07 +00:00
pawel32640
a967ce005c updated Polish translation - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3680 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-04 18:38:49 +00:00
pawel32640
dccd28872a updated Polish translation - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3679 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-04 17:48:27 +00:00
pawel32640
6a628f918d updated Polish translation - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3678 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-04 15:41:11 +00:00
pawel32640
0571128120 updated Polish translation - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3677 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-04 14:16:28 +00:00
scorpio810
e3f47e162a Update Netherlands translations, thanks Paul
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3676 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-03 19:44:58 +00:00
scorpio810
4d3350a161 Updated French, English translation - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3675 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-02 23:34:49 +00:00
scorpio810
310006d90f Fix element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3674 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-02 13:40:31 +00:00
pawel32640
54f54c34f8 updated Polish translation - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3673 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-02 11:46:55 +00:00
pawel32640
09648ca6fa updated Polish translation - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3672 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-02 10:56:29 +00:00
pawel32640
e09c31d7e8 updated Polish translation - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3671 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-02 10:40:43 +00:00
pawel32640
2577a2b197 updated Polish translation - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3670 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-02 10:00:25 +00:00
scorpio810
28c391077b Add new symbols, thanks
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3669 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-02 09:21:26 +00:00
pawel32640
651d37c536 updated Polish translation - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3666 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-01 11:14:27 +00:00
pawel32640
c893b5190a updated Polish translation - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3665 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-01 10:53:48 +00:00
pawel32640
8d89a731d9 updated Polish translation - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3664 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-01 10:34:40 +00:00
pawel32640
79fbf1140a updated Polish translation - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3663 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-01 10:12:54 +00:00
pawel32640
42b685f65f updated Polish translation - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3662 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-01 09:52:48 +00:00
scorpio810
f85772df26 Update flemisch langue file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3661 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-31 16:02:03 +00:00
scorpio810
31b31fd9b0 Revert previous commit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3660 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-31 15:57:41 +00:00
rdsivd
83a54c30c4 update flemisch langue file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3659 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-31 15:38:13 +00:00
pawel32640
3fe6f3fa4a minor fixes elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3658 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-30 11:29:36 +00:00
scorpio810
9602875807 Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3657 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-30 10:15:59 +00:00
scorpio810
27ebead763 Fix minor french typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3656 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-30 09:44:33 +00:00
pawel32640
f47e3ffcef minor fixes elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3655 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-30 09:24:37 +00:00
pawel32640
7295659ec1 updated Polish translation - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3654 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-30 09:20:34 +00:00
pawel32640
daffb1c224 updated Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3653 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-30 08:56:16 +00:00
pawel32640
5bbd562c53 updated Polish translation - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3652 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-30 08:16:28 +00:00
aitolos
fa4681f272 Update elements Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3651 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-29 18:29:59 +00:00
aitolos
ff5770f961 Update Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3650 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-29 17:30:12 +00:00
scorpio810
fe860c4a2f Fix Multiple translation in elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3649 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-29 13:12:12 +00:00
pawel32640
c9175b65d7 updated Polish translation - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3648 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-29 11:45:08 +00:00
pawel32640
7c9d5b2c1c updated Polish translation - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3647 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-29 11:00:19 +00:00
pawel32640
25e72322f9 updated Polish translation - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3646 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-29 09:51:17 +00:00
pawel32640
fc3e3b738e updated Polish translation - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3645 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-29 09:32:35 +00:00
pawel32640
99c12e5ebb updated Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3644 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-29 09:12:07 +00:00
scorpio810
c15795030f Refresh element collection
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3643 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-28 23:15:40 +00:00
scorpio810
fe42313b17 Fix Multiple translation in elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3642 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-28 22:55:48 +00:00
scorpio810
93d11320af Delete duplicate files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3641 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-28 22:36:48 +00:00
scorpio810
5a295b6582 Change element collection directory by collection revamped by Nuri
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3640 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-28 21:31:51 +00:00
pavelfric
05585827ef Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3639 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-28 21:19:12 +00:00
scorpio810
838f5ea981 Update German translation, thank Nuri
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3638 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-28 10:20:37 +00:00
pawel32640
d604831806 updated Polish translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3637 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-27 22:14:40 +00:00
silvio
0bc3940f6b upgraded Italian translation of .ts file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3636 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-27 22:04:46 +00:00
scorpio810
b8859217f4 Update TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3635 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-27 21:47:28 +00:00
scorpio810
166382c18e Minor: typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3634 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-27 21:36:56 +00:00
scorpio810
85fba587bc Minor: fix french typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3633 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-27 21:33:12 +00:00
scorpio810
8179f96529 Update German translation, thank Nuri
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3632 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-27 11:11:02 +00:00
blacksun
385d72a94b Clean some code (related to element editor)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3631 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-27 10:37:03 +00:00
blacksun
5e58524cac Master element : bug fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3630 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-26 22:32:55 +00:00
blacksun
f2f52a3f41 Fix error from previous commit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3629 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-26 09:06:17 +00:00
blacksun
d40f2c23b1 Element editor : move all graphics part in a single directory
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3628 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-26 08:55:43 +00:00
blacksun
6256468c8e Add auto conductor even if movement is null
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3627 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-23 14:35:49 +00:00
blacksun
c1d20ca091 terminal -> help line : minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3626 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-23 14:12:03 +00:00
pawel32640
9531a094a3 updated Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3625 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-20 15:20:30 +00:00
scorpio810
1e866d6b7b Fix german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3624 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-19 18:09:41 +00:00
aitolos
714edf6ebe Update Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3623 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-19 16:39:47 +00:00
scorpio810
a861014ca7 Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3622 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-19 12:13:27 +00:00
scorpio810
5efc114e7b All help line have the same visual rendering
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3621 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-19 11:52:10 +00:00
scorpio810
ef43266954 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3620 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-19 10:51:10 +00:00
scorpio810
419be89382 Help line cosmetic changes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3619 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-19 00:12:05 +00:00
pawel32640
13c6ce48ae updated Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3618 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-18 19:15:27 +00:00
pawel32640
bcabd140a0 updated Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3617 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-18 19:06:56 +00:00
pawel32640
396ebce967 updated Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3616 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-18 18:18:32 +00:00
blacksun
21a62066a2 Element : add new help line (perpendicular to terminal)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3615 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-18 11:28:56 +00:00
blacksun
6ac8a3f610 Fix regression provided by rev 3604
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3614 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-18 10:27:36 +00:00
pawel32640
b2f83d3331 updated Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3613 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-17 20:15:32 +00:00
pawel32640
38cdb40a94 updated Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3612 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-17 19:36:16 +00:00
pawel32640
673555f91a updated Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3611 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-17 14:30:09 +00:00
pawel32640
776a426ca6 updated Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3610 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-17 13:58:40 +00:00
scorpio810
8db5b74980 Minor change auto conductor icon
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3609 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-14 11:52:41 +00:00
silvio
ffd83c7e4e upgraded Italian translation of .ts file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3608 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-11 22:55:36 +00:00
pawel32640
21452946b6 updated Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3607 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-11 21:55:25 +00:00
pawel32640
f7e284b659 updated Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3606 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-11 21:10:56 +00:00
rdsivd
a0fc9163f6 update be langue
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3605 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-11 20:54:21 +00:00
blacksun
78a1b56d7e Conductor : extend terminal return a point snapped to the diagram grid
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3604 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-11 20:39:58 +00:00
pawel32640
e58eb2a30a updated Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3603 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-11 20:23:42 +00:00
pawel32640
7b3cfa8345 updated Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3602 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-11 19:51:55 +00:00
pawel32640
01c4542cbd updated Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3601 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-11 18:04:01 +00:00
pawel32640
fa448c0cdb updated Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3600 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-11 15:37:37 +00:00
scorpio810
56b63123ec Update TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3599 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-11 14:44:49 +00:00
scorpio810
4d196fb7bf Disable show me: when attach link to previous link and set equipotential liaison
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3598 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-11 14:39:46 +00:00
blacksun
3154a1bdae Bug fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3597 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-11 11:31:53 +00:00
blacksun
811142bff7 Add button to disable/enable auto conductor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3596 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-11 11:10:57 +00:00
blacksun
8079b2e83a Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3595 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-11 08:50:36 +00:00
blacksun
3e80f7076f Finish a move element with free terminal aligned with other terminal from other element, will create auto creation of conductor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3594 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-09 17:18:16 +00:00
blacksun
f782976fa7 Qet graphics item : disable context menu from view when right button is holded
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3593 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-08 18:59:23 +00:00
blacksun
de096fef23 Move element display help line
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3592 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-07 19:35:42 +00:00
blacksun
ceb2b9bcfd Add help line for assist alignement of element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3591 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-07 19:21:17 +00:00
scorpio810
16e17438d2 lrelease qet_be
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3590 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-03 14:40:01 +00:00
silvio
dc31c745ac Italian translation of elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3589 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-03 13:18:50 +00:00
rdsivd
40c0ab6250 update langue be
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3584 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-03 09:37:02 +00:00
scorpio810
5249fbb800 Minor refresh example
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3583 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-03 07:20:25 +00:00
scorpio810
0e8a3312d5 Add new symbols, thanks Liptus and all
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3582 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-01-01 06:42:39 +00:00
scorpio810
6e7e895bae Fix FTBS on OS2, thank Elbert for tests
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3581 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-31 12:04:54 +00:00
blacksun
991a9bfbc9 Minor change : Change behavior of shape creation in diagram editor, to be same has element editor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3580 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-29 23:18:00 +00:00
pavelfric
0e3593e600 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3579 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-28 19:19:49 +00:00
pavelfric
72dbc2e914 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3578 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-28 18:54:16 +00:00
pavelfric
70048ba653 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3577 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-28 18:50:02 +00:00
scorpio810
b5a7747523 Bug fix: when attach link to previous link and set equipotential liaison, now isn't going to the view in origin link
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3576 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-28 03:53:12 +00:00
silvio
cd437d689f upgraded Italian translation of .ts file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3575 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-27 21:29:57 +00:00
pawel32640
38bc2f7a51 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3574 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-27 14:17:06 +00:00
scorpio810
5ec7ea194f Update TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3572 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-27 13:39:51 +00:00
blacksun
a3525b466d QETDiagramEditor : clean some code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3571 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-26 19:41:00 +00:00
scorpio810
f93b0817d6 Prepare for release candidate 2 tag
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3570 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-26 17:09:25 +00:00
blacksun
27f6b6c929 Remove information about internal connection in element editor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3569 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-23 19:08:29 +00:00
blacksun
2c4af2b128 Remove all information about internal connection in element (obselete since internal connection is always allowed)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3568 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-23 19:00:37 +00:00
scorpio810
10d086d378 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3567 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-23 02:06:36 +00:00
scorpio810
bcbf6ba431 Bug fix: disable entry edit text field for html editor for elements text in diagram
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3566 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-23 01:51:17 +00:00
blacksun
dfacacfdce Read only is no more managed for each diagram but for the whole project
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3565 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-21 13:17:35 +00:00
blacksun
a5b1a92beb Diagram : Constructor need a QETProject
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3564 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-21 12:50:26 +00:00
blacksun
8477d4d928 Diagram view : diagram isn't anymore optional in constructor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3563 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-21 12:15:45 +00:00
blacksun
2147fca19b Generic panel : Fix wrong index when move diagram by x10
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3562 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-19 19:55:53 +00:00
blacksun
cf868a0cc8 When unlink an element, make sure this element isn't highlighted
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3561 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-19 19:18:05 +00:00
blacksun
51d40f9fcd Report element : minor improvement about text (text used to display the position of linked report is now tagged "label")
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3560 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-18 10:51:08 +00:00
rdsivd
11bf04390e Adapte langue be-nl
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3559 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-17 18:07:39 +00:00
pawel32640
ed263bb180 update polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3558 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-14 23:01:31 +00:00
silvio
0dd3386ec4 upgraded Italian translation of .ts file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3557 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-14 21:59:14 +00:00
blacksun
e2211389e9 Minor clean code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3556 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-14 21:52:27 +00:00
blacksun
0e9dc51879 Conductor text item : minor bug fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3555 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-14 21:30:58 +00:00
blacksun
3c94d9a054 Minor improvment : over element, highlight every linked elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3554 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-14 18:51:49 +00:00
aitolos
d385c6f8cf Update Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3553 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-14 17:56:01 +00:00
scorpio810
164b442871 Update TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3552 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-14 17:08:26 +00:00
scorpio810
83733f2dc6 Add new action DiagramMoveDownx10, DiagramMoveUpx10
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3551 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-14 17:01:11 +00:00
blacksun
0cc1424f90 Minor improvement
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3550 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-14 15:14:24 +00:00
blacksun
15261ba896 element text item : improve mouse double clic.
Over text (Only if tagged label or parent are report) will higlight element linked to parent element


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3549 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-14 14:36:12 +00:00
blacksun
1acf132128 forget file from previous comit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3548 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-14 13:43:16 +00:00
blacksun
5e935a976e Minor change according to the evolution of Qt class (remove QGraphicsScene from constructor of QGraphicsItem).
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3547 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-14 13:06:21 +00:00
blacksun
62fa93ea1b Element text item -> mouse double click : If parent element is linked to other element,
show the other element (only work for report and salve element)


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3546 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-13 14:01:09 +00:00
blacksun
57edc4be80 Sort value of search field in dialog to link report/master
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3545 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-12 18:39:12 +00:00
blacksun
6ec416c351 Remove unused code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3544 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-12 13:27:13 +00:00
blacksun
40ecef5ff9 Minor improvement
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3543 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-12 13:04:16 +00:00
blacksun
77164adf4b Change element information is now managed by an undo command
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3542 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-11 20:10:28 +00:00
blacksun
60dd0f2054 Save icon is disable when undo stack is empty
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3541 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-10 17:00:08 +00:00
silvio
575a731819 upgraded Italian translation of .ts file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3540 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-08 20:18:30 +00:00
blacksun
e4c73b8666 Cross ref item : change how some methods work
Master element : minor change related to the change of cross ref item


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3539 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-08 17:39:57 +00:00
pawel32640
cfe267fcb3 update polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3538 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-08 17:25:41 +00:00
scorpio810
931c7811f3 Update TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3537 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-08 09:41:50 +00:00
scorpio810
af5563c760 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3536 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-07 16:43:31 +00:00
scorpio810
4de19d8ae4 Element editor improve pinch to zoom
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3535 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-07 16:32:14 +00:00
blacksun
5ab965588b Fix artefact on qgraphics scene when remove a linked element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3534 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-07 15:47:58 +00:00
scorpio810
438f98d34b Element editor add touchpad gestures, thank Yoann
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3533 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-06 17:56:07 +00:00
blacksun
74b1270d0d Conductor auto numerotation : use function from QET namespace instead of function from this file.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3532 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-04 23:25:49 +00:00
blacksun
9119d156c3 Comment item & cross ref item : reduce the size of the rectangle where is display the comment for better visual
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3531 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-04 23:14:20 +00:00
blacksun
8070f7eedb Forget file from previous commit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3530 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-04 10:57:21 +00:00
blacksun
bc0d70e1ea Report link widget : each content show the string of the conductor and search field filter with this string.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3529 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-04 10:54:38 +00:00
blacksun
257cc7e91f Minor improvement
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3528 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-03 10:45:16 +00:00
blacksun
8e6a796ba8 element information : add info 'designation'
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3527 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-30 11:53:23 +00:00
scorpio810
bdadd33697 Update MacQetDeploy.sh, thank yoann
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3526 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-28 21:41:16 +00:00
blacksun
f6f0c2106f Qetdiagrameditor : tabify undo and element panel dock widget
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3525 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-28 18:14:33 +00:00
blacksun
67680f59a9 clean some code about undo stack
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3524 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-27 18:46:30 +00:00
blacksun
1c7892cc19 clean some code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3523 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-27 17:57:10 +00:00
blacksun
c890e67ddd Remove obsolete method
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3522 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-27 17:47:01 +00:00
blacksun
8c321049d9 Bug fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3521 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-26 22:44:33 +00:00
blacksun
afdf20cf9f Delete an element linked to others unlink it.
Undo this action relink other element elements 


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3520 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-26 22:05:37 +00:00
scorpio810
0876d2c549 Add a progress bar on save file action
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3519 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-26 18:48:24 +00:00
scorpio810
223674c93e Update German translations, thank Nuri
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3518 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-26 14:10:00 +00:00
blacksun
9f4fbe456f Bug fix for terminal primtive : the rotation of terminal isn't save
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3517 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-25 05:45:50 +00:00
silvio
308b3a99d7 upgraded Italian translation of .ts file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3516 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-24 22:03:35 +00:00
blacksun
e8cbb23c0b Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3515 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-24 18:17:20 +00:00
scorpio810
40a36e069e Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3514 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-24 18:00:37 +00:00
scorpio810
5a951d94d6 Minor: add forget setRenderHint(QPainter::Antialiasing, false);
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3513 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-24 17:51:13 +00:00
blacksun
dec5d3002c QetShapeItem : improve mouse interaction
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3512 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-24 17:36:02 +00:00
scorpio810
80e78b4e04 Minor, refresh TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3511 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-24 03:00:36 +00:00
scorpio810
438d690edc Improve status bar about save information
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3510 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-24 02:51:08 +00:00
pawel32640
547ae24252 update polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3509 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-23 20:10:09 +00:00
aitolos
72ea869f63 Update Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3508 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-23 16:57:01 +00:00
pavelfric
3c77a34b32 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3507 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-23 14:05:35 +00:00
scorpio810
c744721aad Remove save information box
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3506 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-23 11:12:54 +00:00
silvio
10a94b2a5a upgraded Italian translation of .ts file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3505 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-23 00:03:22 +00:00
scorpio810
dacfd4117f Update TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3504 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-22 20:14:03 +00:00
scorpio810
48051a17de Minor: add message box for inform user as project was saved
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3503 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-22 20:03:38 +00:00
alfredo
a3ce7cbfbc update Spanish translation _es
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3500 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-20 05:38:02 +00:00
blacksun
a0ba343951 Element information : Check box "visible" for text re-work.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3499 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-18 23:00:06 +00:00
blacksun
46100f0d94 Conductor: Paste a conductor reset the text
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3498 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-17 22:32:06 +00:00
blacksun
f4bd29a5db Diagram folio sheet fix minor bug : create folio sheet isn't added in order in project.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3497 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-17 10:10:00 +00:00
blacksun
066c373365 Fix crash : When remove a diagram from project, close project, and open a project, Qet crash.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3496 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-16 23:24:30 +00:00
scorpio810
499f52e100 Enable mouse hoverMoveEvent conductor
Minor change in conductorpropertieswidget.ui


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3494 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-16 20:51:46 +00:00
scorpio810
d544fd3d85 Revert r3492
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3493 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-16 20:32:55 +00:00
runsys
02df8a5073 Download patch
Init branch

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3492 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-16 20:27:11 +00:00
runsys
e2f6e232ee Light change in user interface
When mouse over a element, coonductor, text, the graphic symbol draw his bounding box.
and draw a tooltip with his name
For conductor the conductor size change.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3490 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-16 14:15:32 +00:00
scorpio810
6f23bea143 Folio list moving to the second page
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3489 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-15 17:15:43 +00:00
scorpio810
e079fc1aac Update MacQetDeploy script, thanks Yoann
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3488 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-14 20:44:17 +00:00
blacksun
aeecb4c816 Fix wrong behavior with conductor text item when use "past here"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3487 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-14 19:58:25 +00:00
blacksun
3be20f27bb conductor : remove qdebug
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3486 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-14 13:10:43 +00:00
blacksun
78b57e56e8 Conductor and conductor text item : minor change about how the text is save to xml
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3485 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-14 13:06:24 +00:00
blacksun
5f9251a22e Conductor : fix weird bug (not so weird when found) with the position of text item when was moved by user
and also  the two element linked by the conductor was moved.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3484 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-13 19:32:56 +00:00
blacksun
70cc553ba0 Diagram image item fix : At opening of diagram, position is wrong if image was saved with is_movable to false;
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3483 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-13 12:12:53 +00:00
scorpio810
b83834e7ff Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3482 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-13 11:21:06 +00:00
scorpio810
bb4a9c0314 Save and read "is movable" attribute to xml for basic shape & image
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3481 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-13 11:04:34 +00:00
scorpio810
74aedf605f Minor:shape event, cosmetic change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3480 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-12 14:44:50 +00:00
blacksun
d248e02e4a element editor : clean some code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3479 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-11 17:09:24 +00:00
blacksun
031c0fc155 element editor : create primitive isn't selected anymore.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3478 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-11 14:05:45 +00:00
blacksun
ec288f4885 element editor : clean some code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3477 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-11 12:02:08 +00:00
blacksun
848be587e3 Element editor : clean some code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3476 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-10 22:57:32 +00:00
blacksun
e8d6d4de5d Element editor: add terminal is managed by esevent
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3475 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-10 21:47:28 +00:00
scorpio810
4d8bec09e3 Prepare for release candidate 1 tag
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3473 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-10 16:22:47 +00:00
blacksun
b492ad1fff Element editor : add text field is managed by ESEvent
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3472 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-09 23:49:13 +00:00
blacksun
49c53376ef Element editor : add text is managed by esevent
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3471 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-09 23:11:17 +00:00
blacksun
53f87d2143 element editor: add arc is managed by ESEvent
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3470 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-09 21:58:46 +00:00
rdsivd
58c2606db7 updated be-nl langue
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3469 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-09 09:25:37 +00:00
aitolos
75a57258de Update Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3468 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-08 18:28:10 +00:00
aitolos
2812afac40 Update Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3467 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-08 18:21:48 +00:00
blacksun
217cb4939c Element editor: add polygon is managed by an esevent
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3466 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-08 11:14:56 +00:00
scorpio810
f3e86766c1 Minor, fix typo, and restore old examples
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3465 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-07 22:16:40 +00:00
blacksun
1329682ad6 Master element minor bug fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3464 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-07 19:24:29 +00:00
scorpio810
041fb1bc92 Minor: basic shape event change color to blue
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3463 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-07 18:21:54 +00:00
scorpio810
bad4b28200 Element editor: ellipse set Property "antialias"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3462 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-07 17:16:33 +00:00
blacksun
8892828f87 Element editor: add ellipse is managed by an esevent
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3461 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-07 09:39:19 +00:00
blacksun
a7192fcda6 bug fix: At project opening, simple element don't displayed the good text, but '_'
if the text wasn't write in the element propertie dialog (only affect the text field tagged 'label')


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3460 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-06 21:08:45 +00:00
scorpio810
492a0881c7 Fix provisory
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3459 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-06 16:55:38 +00:00
scorpio810
b311b4b195 Fix regression occurred in rev 3439
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3458 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-06 15:22:30 +00:00
blacksun
ceea767f26 element editor, add rect is managed by esevent
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3457 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-06 10:46:14 +00:00
blacksun
97bf2333ae rename method
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3456 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-06 09:44:20 +00:00
blacksun
e4de046db5 element editor: minor improvement about line creation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3455 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-05 21:37:25 +00:00
blacksun
c81b4fb07c element editor : improve add line
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3454 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-05 10:09:12 +00:00
blacksun
1177512f23 element editor, improve the granularity of the grid and adjust the snap to grid according to the displayed dot in grid.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3453 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-04 23:36:37 +00:00
blacksun
0a6149761f Forget file from previous comit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3452 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-04 22:23:27 +00:00
blacksun
46ddc4741a Element editor : start work for change how draw primitive (work in progress)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3451 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-04 22:08:42 +00:00
scorpio810
5f26e47a8a Update mac os script
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3450 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-04 17:39:27 +00:00
pawel32640
bd1738cb41 update polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3449 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-04 09:48:13 +00:00
pawel32640
c56e836743 update polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3448 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-04 06:58:54 +00:00
silvio
263c283059 upgraded Italian translation .ts and elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3447 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-03 21:24:16 +00:00
pawel32640
f15c357c46 update polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3446 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-03 20:36:44 +00:00
scorpio810
3a65fb60b4 Minor:typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3445 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-03 19:26:32 +00:00
aitolos
4b4b645532 Update Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3444 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-03 16:34:10 +00:00
scorpio810
5af07aa2d8 Minor: update TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3443 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-03 01:27:10 +00:00
scorpio810
d07b2cbb3e Fix menu recent file in element editor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3442 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-03 01:22:10 +00:00
aitolos
d11d19c999 Update Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3441 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-02 20:45:16 +00:00
scorpio810
0cc4726358 Add new contributors
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3440 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-02 20:35:37 +00:00
blacksun
3c5592a0d2 Minor change for Qt4.7
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3439 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-02 20:15:56 +00:00
scorpio810
f1b29694d1 Prepare for tag
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3437 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-02 16:30:22 +00:00
blacksun
c01e432e24 Comment is displayed when open project
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3433 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-02 14:24:01 +00:00
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
scorpio810
305b8845cc Remove obsolete symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3431 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-02 11:51:59 +00:00
scorpio810
d42ffc44cb Remove obsolete symbol, change splash for future tag 0.4b
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3430 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-02 11:43:45 +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
scorpio810
7f24ab49c1 Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3427 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-01 00:03:46 +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
scorpio810
eb2d3fcaa9 Add tagg="label" 5
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3425 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-30 22:20:35 +00:00
scorpio810
cf73314ec9 Add tagg="label" 4
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3424 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-30 17:21:57 +00:00
scorpio810
bdb379fbf9 Add tagg="label" 3
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3423 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-30 16:12:21 +00:00
scorpio810
a6525cfc37 Add tagg="label" 2
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3422 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-30 15:06:02 +00:00
scorpio810
8a37b72f69 Add tagg="label"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3421 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-30 15:03:58 +00:00
blacksun
b7a3d25eb9 Element selector widget: minor improvement
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3420 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-30 13:57:54 +00:00
blacksun
6b40932bb4 Diagram view: reactive drag&drop html text
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3419 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-30 13:29:58 +00:00
scorpio810
75b0d3b54f Remove some obsolete element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3418 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-30 05:26:04 +00:00
scorpio810
2244659ccd Remove some obsolete element and add new.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3417 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-30 02:47:50 +00:00
blacksun
5d43ad28f6 Remove some obsolete element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3416 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-29 16:48:26 +00:00
scorpio810
ea0955c1c9 Fix element information
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3415 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-29 02:33:01 +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
silvio
23457271e6 upgraded translation .ts file ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3413 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-28 12:55:39 +00:00
scorpio810
9b8b5768c6 Update TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3412 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-28 12:12:07 +00:00
scorpio810
9311abe807 Element fix: deleted rectangle primitive with null size
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3411 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-28 11:51:36 +00:00
silvio
51a6e0ecdc fixed translation .ts file ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3410 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-28 07:59:45 +00:00
scorpio810
2aacb3c039 Fixed segfault when load element collection in Mac os 10.10, thank Yoann
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3409 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-27 22:50:31 +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
b5a14ef56b Minor: qetapp remove background-image
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3405 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-27 13:51:27 +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
bf4e6d2a58 QET is open without diagram, and tool bar are disabled.
Default properties is now a static method of the propertie class himself


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3400 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-26 11:57:38 +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
bd76d66b31 Element mover : remove unused var
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3398 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-25 14:51:02 +00:00
blacksun
52f71b89c3 text field editor: minor bug fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3397 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-25 08:32:47 +00:00
blacksun
4746d097eb Remove unused class
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3396 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-24 18:51:12 +00:00
blacksun
793d4bc49c Paste command, bug fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3395 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-23 19:38:49 +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
scorpio810
5ce6acb627 Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3392 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-22 11:26:07 +00:00
blacksun
50f897f688 Diagram command : minor imrpovement
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3391 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-21 20:29:16 +00:00
scorpio810
183ea8ca77 Update mdiarea_bg.png
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3390 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-21 14:04:26 +00:00
scorpio810
24237f9c86 Removed new empty project at start
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3389 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-21 13:57:28 +00:00
blacksun
ee4208329d Remove action : save current diagram
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3388 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-20 23:06:32 +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
d6c6f287ce Create simple element must have text field tagged "label".
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3386 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-20 21:10:32 +00:00
blacksun
de103dc934 Bug fix: qet crash when move item with arrow keys
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3385 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-20 08:00:53 +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
runsys
7f4d2cc317 Modification du filtre : recherche sur plusieur mot (sepration caractere +)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3378 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-16 20:35:32 +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
1a842dc263 DVEvent: press key escape, abort the curent action
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3369 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-10 18:16:02 +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
silvio
b910992143 Translation elements ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3366 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-08 06:42:30 +00:00
silvio
fcec5f159e upgraded translation .ts file ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3365 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-08 06:22:18 +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
pawel32640
132f2a4719 update polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3360 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-06 14:00:34 +00:00
blacksun
171a7f3a6b Conductor: when delete conductor, if option one text/folio is enable, and the curent conductor own the displayed text,
We upate other conductor text item at the same potential, to keep text always visible.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3359 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-06 08:33:17 +00:00
scorpio810
663968686d Fixed bug nomenclature translation headers
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3358 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-05 23:18:31 +00:00
scorpio810
7167da5c35 Nomenclature:
Fixed translation of column headers


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3357 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-05 23:15:28 +00:00
scorpio810
c66a99ca90 Refresh english translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3356 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-05 23:02:54 +00:00
scorpio810
5adf6da44e Refresh TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3355 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-05 23:01:26 +00:00
scorpio810
0c3e07bc89 minor, fix typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3354 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-05 22:59:52 +00:00
scorpio810
0ec6c358e0 Update english translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3353 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-05 22:42:12 +00:00
scorpio810
2e4b3821ab Update TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3352 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-05 22:33:11 +00:00
scorpio810
a212282e9b Minor:fix typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3351 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-05 14:49:37 +00:00
scorpio810
ef4daee0fb Nomenclature:
Remove beta entry in menu


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3350 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-05 14:38:34 +00:00
blacksun
419a48213a Nomenclature, some improvement
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3348 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-05 13:35:01 +00:00
scorpio810
d749c612b2 Revert 3344
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3345 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-05 00:42:20 +00:00
scorpio810
f6426411ab Nomenclature
Add dialog for informing the user


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3344 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-04 15:49:27 +00:00
scorpio810
c883f612e6 Nomenclature:
Add folio index row


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3343 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-04 14:16:35 +00:00
scorpio810
789fdb71e1 Nomenclature
Added elementInformations: label, comment, manufacturer, manufacturer-reference, machine-manufacturer-reference to list


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3342 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-04 13:15:21 +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
7ebdf8cf00 DVEventAddShape : add a cross for help drawing
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3339 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-28 11:42:08 +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
016f24dcda Diagrameditor / view, revamp the way to edit selection.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3331 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-25 09:44:41 +00:00
blacksun
69f239d197 Diagram view: All add action (text/shape/image) is now managed outside of diagram view by subclass of DVEventInterface
DVEventInterface :this abstract class is used by diagram view to manage is event action (mouse event).
For add new action to diagram view, we must to create subclass of DVEventInterface and give it to diagram view,
when diagram view get the new dvevent, they manage it, and delete it when action is finish. 


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3329 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-24 09:38:16 +00:00
aitolos
c7523b5d37 Update Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3328 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-23 15:50:34 +00:00
pawel32640
f4ee528bd1 update polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3327 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-23 07:54:44 +00:00
silvio
04e36890d6 upgraded .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3326 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-22 21:46:53 +00:00
rdsivd
0061801d1f be langue updated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3325 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-22 18:02:23 +00:00
scorpio810
5d9fb8fa8c Update TS files,
add new symbols, thanks jlouis, Titus


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3324 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-22 16:12:48 +00:00
blacksun
c393192fb8 Fix minor wrong title
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3321 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-21 13:23:02 +00:00
scorpio810
6250c57d92 Fix minor wrong titles
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3320 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-21 13:04:54 +00:00
blacksun
f0c63c39af remove unused #include
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3319 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-20 23:15:52 +00:00
blacksun
5daa13890b Diagram context widget: fix minor wrong behavior (tabwidget will be wrong init at construction)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3318 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-20 22:54:46 +00:00
blacksun
0f40e173ef New diagram properties dialog :
Merge the dialog of default configuration and the dialog of project configuration, into a single configuration dialog.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3317 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-20 20:04:02 +00:00
blacksun
e7d33b9b4b Replace some #include, by pre declaration
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3316 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-20 18:26:13 +00:00
blacksun
01f1bc8dd1 fix memory leak
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3315 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-20 17:58:00 +00:00
blacksun
54eab1f1b4 Diagram folio list is now always at the beginnig of the project (at creation and at load)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3314 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-19 10:22:57 +00:00
blacksun
0b5c110b8f Minor code improvent in creation of diagram folio list
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3313 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-18 18:12:05 +00:00
scorpio810
f3aeb872c3 Folio list read Default Properties Xml
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3312 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-18 16:42:20 +00:00
scorpio810
a16d4dd935 Bug fix: load the folio list on the first page if the user added to the project
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3311 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-18 15:16:32 +00:00
alfredo
88e49b0943 Update Spanish Translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3310 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-16 22:38:41 +00:00
silvio
0a4284f9be upgraded elements translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3309 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-10 05:30:49 +00:00
scorpio810
764c41c20c Diagramfoliolist change date format to Qt::SystemLocaleShortDate
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3308 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-05 23:38:14 +00:00
scorpio810
a75de483f1 Add new symbols, thanks Titus and Zizzu
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3307 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-05 14:22:55 +00:00
scorpio810
4d43abbc4a Titlebocks date now use Qt::SystemLocaleShortDate
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3306 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-05 13:07:58 +00:00
scorpio810
116892d6ea Update russian translations, thank Ximer
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3305 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-05 12:22:57 +00:00
scorpio810
e470f038b9 refresh bordertitleblock date
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3304 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-04 22:41:31 +00:00
scorpio810
94a5de7195 Titleblocks change date format to iso date
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3303 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-04 17:32:20 +00:00
aitolos
addd0d5c98 Update Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3302 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-04 13:53:28 +00:00
pawel32640
5f60003b88 update polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3301 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-04 13:44:22 +00:00
scorpio810
b25d46b3de Add new symbols, thank Zizzu
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3300 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-04 13:03:34 +00:00
silvio
ef543448f7 fixed .ts file ITA translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3299 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-03 20:06:36 +00:00
silvio
f78ebf9362 upgraded .ts file ITA translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3298 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-03 20:00:59 +00:00
scorpio810
ab8bd675e6 Update TS files and english translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3297 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-03 19:50:44 +00:00
scorpio810
bced4a851d Update russian translations, thanks Ximer
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3296 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-03 17:41:56 +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
scorpio810
209a6277b8 bug fix: gestures set false by default
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3294 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-01 14:56:11 +00:00
blacksun
120696d822 Diagram view, improve behavior with track pad
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3293 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-31 09:45:01 +00:00
scorpio810
1fd72b7feb Refresh configpages
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3292 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-30 09:28:12 +00:00
scorpio810
2e6af1b2e9 Add switch button to enable trackpad gesture
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3291 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-29 02:33:38 +00:00
pavelfric
d8217a7328 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3290 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-24 08:03:02 +00:00
scorpio810
e2debaefa3 Refrefresh diagramview
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3289 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-24 03:36:38 +00:00
scorpio810
8b352982e9 Refresh diagramview
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3288 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-19 16:06:28 +00:00
scorpio810
5f495bff24 Fix Mac os X FTBFS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3287 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-19 11:29:47 +00:00
scorpio810
2f287080d7 DiagramView::wheelEvent limit scale for zoom out
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3286 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-18 23:33:31 +00:00
pawel32640
0b4339a4b6 refresh example m_000.qet
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3285 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-18 18:42:03 +00:00
scorpio810
d4e64d72ff Mac os X add QAbstractScrollArea::wheelEvent(e) only, and gestureEvent, thank Yoann
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3284 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-18 18:26:38 +00:00
pawel32640
dbbff61b25 refresh example m_000.qet
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3283 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-18 17:15:49 +00:00
scorpio810
51a13f3e3a Refresh qetapp
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3282 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-17 23:02:32 +00:00
pawel32640
7aa9c62304 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3281 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-17 13:13:02 +00:00
pawel32640
ad6f7742e6 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3280 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-17 13:01:15 +00:00
scorpio810
0d30d2ff7a qelectrotech.pro fix Qt creator bug on Windows, Mac OS X
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3279 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-17 09:26:47 +00:00
pawel32640
e64b3d52b2 refresh example m_00.qet
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3278 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-17 08:20:08 +00:00
pawel32640
6752c35a0b refresh example m_00.qet
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3277 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-16 18:23:56 +00:00
scorpio810
68a10dc107 Update and translate to french m_000 example, thanks Pawel
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3276 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-16 18:16:00 +00:00
scorpio810
9e17c25374 Update MacQetDeploy script, thank Yoann
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3275 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-15 15:09:55 +00:00
blacksun
bb7fbfca61 Diagram properties dialog: add button to open the conductor autonumérotation editor.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3274 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-15 13:16:58 +00:00
scorpio810
f7a142bf4a Update MacQetDeploy script, thank Yoann
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3273 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-14 20:31:22 +00:00
scorpio810
5b9b2517f4 Add new icons
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3272 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-14 16:16:16 +00:00
aitolos
9cf71525d4 Update Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3271 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-13 17:12:20 +00:00
blacksun
5f80a53222 Conductor autonum dialog : add remove autonum button.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3270 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-12 09:41:33 +00:00
scorpio810
ed7c1dab0d revert 3268: ftbs on windows
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3269 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-11 16:44:16 +00:00
scorpio810
e65a7753b6 Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3268 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-11 16:10:07 +00:00
scorpio810
9577cc7c25 Add autodetection windows version for styles
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3267 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-11 13:08:43 +00:00
scorpio810
08b4be9c2e Update binary qet_be translation.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3266 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-10 12:04:17 +00:00
pawel32640
1c082c5caa update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3265 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-10 10:27:30 +00:00
scorpio810
e353e96cd7 Cosmetic change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3264 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-09 22:28:53 +00:00
silvio
4701f300e6 upgrade element translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3263 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-09 20:56:31 +00:00
scorpio810
a8cf65e699 Update german translation, thank Nuri
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3262 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-09 18:27:32 +00:00
scorpio810
b7f583b0c8 Revert previous commit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3261 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-09 13:21:05 +00:00
scorpio810
82c1fd6c8a Better fix for ConductorSegment::middle()
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3260 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-08 23:58:39 +00:00
scorpio810
e5b8c89901 m_color_pb button set styleSheet to min-height to 1.5em; and border-radius:to 4px;
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3259 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-08 16:26:03 +00:00
scorpio810
4510480385 Add new symbols, thank Arnaud
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3258 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-08 14:23:47 +00:00
scorpio810
1054c672ad Bug fix: conductorpropertieswidget, the color button now shows the true color of the conductor color in other style as windowsvista GTK etc...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3257 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-07 21:02:06 +00:00
rdsivd
d8976eead4 update be langue
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3256 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-07 20:52:44 +00:00
silvio
1680f1588b upgrade .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3255 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-06 06:33:04 +00:00
scorpio810
987e9771e7 Update TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3254 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-05 22:22:10 +00:00
blacksun
0c6c3c8f7e Dialog autonum : minor improvement
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3253 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-04 17:25:10 +00:00
blacksun
824e4315aa Editor autonum dialog: add next/previous button
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3252 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-04 16:12:59 +00:00
blacksun
f918917c7a conductor autonum. Diagram save current selected autonum.
Readd dialog to select texts, when potential have different texts


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3251 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-04 14:39:57 +00:00
silvio
deaf53fa74 upgrade elements translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3250 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-03 23:36:45 +00:00
silvio
0819fdc858 upgrade elements translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3249 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-03 23:34:21 +00:00
silvio
a105cf4e72 upgrade .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3248 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-03 23:28:35 +00:00
scorpio810
1ae0c800af Add new symbols, thank Alexis, and added folder for slave contacts protection
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3247 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-03 14:11:38 +00:00
scorpio810
6855032719 Add new symbols, thank Alexis and Laurent
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3246 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-03 03:52:21 +00:00
scorpio810
68d1caf776 Add source icon
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3245 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-02 17:28:23 +00:00
scorpio810
6357a451ae Update icon autonum
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3244 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-02 16:25:24 +00:00
scorpio810
7e5f3599b6 Change icon colors
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3243 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-02 15:11:06 +00:00
scorpio810
429560a2ca Add icon for automum tab
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3242 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-02 14:53:12 +00:00
scorpio810
ce267623ae Update appdata, thanks Remy
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3241 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-02 12:01:46 +00:00
blacksun
cf4a7bcb2c foret file from previous comit.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3240 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-31 19:44: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
pawel32640
d1730f39bd update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3238 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-30 20:14:39 +00:00
pawel32640
123db9d48d update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3237 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-29 22:33:30 +00:00
scorpio810
2995a2760c Add new icon for auto num tab
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3236 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-28 12:35:11 +00:00
scorpio810
d6f0cea9a5 Update german translation, thank Nuri
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3235 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-28 12:06:22 +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
rdsivd
742fd731bd update be langue
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3233 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-27 07:46:41 +00:00
aitolos
da8d839a35 Update Greek TS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3232 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-25 18:37:56 +00:00
scorpio810
1dacd3ea38 Update TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3231 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-25 16:43:07 +00:00
blacksun
494526586a Element editor: manage terminal element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3230 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-24 14:24:36 +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
scorpio810
bfa610db89 Refresh directory
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3228 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-23 18:02:29 +00:00
scorpio810
1880913dcb Prepare terminal to numbering auto, don't increase number after terminal
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3227 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-23 17:57:18 +00:00
scorpio810
0e011df1c8 Add new script for Max os X, thank Yoann
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3226 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-23 11:15:34 +00:00
scorpio810
e8440187a0 Update to Mac os X
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3225 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-22 10:09:09 +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
aitolos
3d96244949 Update Greek TS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3223 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-19 15:41:05 +00:00
blacksun
01eb4e6455 Diagram properties dialog: the dialog is not built in DiagramView anymore, but a class itself
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3222 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-19 11:42:16 +00:00
aitolos
a42980b7f3 Update Greek TS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3221 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-18 14:24:06 +00:00
pawel32640
1c997430f7 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3220 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-18 09:36:45 +00:00
silvio
3c2a036ed6 upgrade .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3219 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-18 00:31:15 +00:00
scorpio810
3615c15b15 Update english translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3218 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-18 00:06:40 +00:00
scorpio810
888f57e795 Update TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3217 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-17 23:58:40 +00:00
blacksun
b0622570e3 conductor properties widget: replace widget made by c++ by widget build by ui file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3216 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-17 09:20:21 +00:00
scorpio810
1d52485915 Fix MAC OS X compil
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3215 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-16 08:31:11 +00:00
rdsivd
891c1b1aeb update be translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3214 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-14 20:16:23 +00:00
pavelfric
efdd6bdb12 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3213 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-14 19:38:00 +00:00
silvio
55e6a6eca9 upgrade .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3212 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-14 13:05:11 +00:00
pawel32640
e7b0534976 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3211 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-13 16:45:29 +00:00
blacksun
83583dd94e title block properties widget: minor improvement
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3210 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-13 13:37:43 +00:00
scorpio810
1bb7d0bc02 Update english translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3209 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-12 21:24:22 +00:00
pawel32640
e558fe4b18 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3208 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-12 20:53:01 +00:00
scorpio810
e952dd5158 Fix typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3207 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-12 20:01:17 +00:00
scorpio810
bc517d4db3 Update TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3206 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-12 19:53:04 +00:00
pawel32640
b366aa0766 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3205 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-12 15:46:53 +00:00
blacksun
bb378b4efb TitleBlockPropertiesWidget: replace widget made with c++ by widget made with ui file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3204 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-12 13:14:47 +00:00
blacksun
e7600cb3d4 BorderPropertiesWridget: replace widget made with C++ by widget build by ui file.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3203 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-11 16:45:18 +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
silvio
bf4a2bbaec simple fixing .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3200 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-07 07:06:02 +00:00
silvio
47623ae839 simple fixing .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3199 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-07 06:58:49 +00:00
scorpio810
3f38cf76a2 Update english translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3198 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-07 02:30:46 +00:00
aitolos
b0ff52d090 Update Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3197 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-06 14:07:25 +00:00
rdsivd
e9c1a072f6 update be translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3196 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-06 10:01:14 +00:00
silvio
0affe1c0c6 fixing .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3195 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-04 20:29:18 +00:00
silvio
4cce521744 upgrade elements translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3194 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-04 20:25:17 +00:00
silvio
2f322f5bdd upgrade .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3193 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-04 20:21:41 +00:00
pawel32640
fff23916d9 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3192 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-04 19:53:15 +00:00
blacksun
3fcb8823d3 element editor -> save element :
text field ins't include in the bounding rect of the element (better behavior with xref and more handy in general use). 


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3191 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-03 22:48:36 +00:00
aitolos
9b8537c59d Update Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3190 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-03 17:47:08 +00:00
scorpio810
a8ad4cc0da Update TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3189 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-03 17:26:32 +00:00
aitolos
c51ac3b79f Update Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3188 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-03 17:04:06 +00:00
scorpio810
9367805dd5 Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3187 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-03 10:33:47 +00:00
scorpio810
764a52d53b Update the information of element (type coil or protection)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3186 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-03 10:29:21 +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
scorpio810
8c5f953897 Fix typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3184 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-28 15:13:37 +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
76371b8740 Refresh example with new basic shapes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3182 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-27 12:06:37 +00:00
scorpio810
ee1826e13a Refresh qelectrotech.qrc
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3181 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-24 16:57:18 +00:00
scorpio810
f00a5019c8 Delete file style.css in wrong directory
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3180 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-24 16:43:56 +00:00
scorpio810
96a7d2a0b0 Restore .pro and add style.css in example folder
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3179 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-24 16:40:41 +00:00
scorpio810
4b5e8067fa Qetapp now read style.css in user configDir
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3178 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-24 15:09:09 +00:00
scorpio810
0c0699567e Fix for packaging and for users can edit style.css
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3177 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-24 12:30:21 +00:00
scorpio810
5d60438224 Add style to qelectrotech.pro, change url location to read style
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3176 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-24 10:46:29 +00:00
scorpio810
f8cdd061c2 Style.css minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3175 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-23 22:42:16 +00:00
scorpio810
9aa62e7546 Add css file style.css
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3174 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-23 15:17:35 +00:00
pawel32640
dd3dde3684 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3173 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-23 07:35:28 +00:00
pawel32640
0272ed7eac update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3172 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-23 06:38:37 +00:00
pawel32640
e5028e5ed3 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3171 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-23 06:20:49 +00:00
scorpio810
2442ac2a22 Highlighted Text set to black
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3170 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-23 04:01:11 +00:00
scorpio810
13cb1c4f8f Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3169 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-22 18:25:07 +00:00
scorpio810
5d51172933 Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3168 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-22 18:02:09 +00:00
scorpio810
7d4fa4ac38 QTreeViewitem change text color to white
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3167 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-22 17:54:58 +00:00
scorpio810
7b5b651fd7 QTreeView cosmetic change add item:hover
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3166 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-22 16:32:12 +00:00
silvio
3cc02943f3 fixed elements translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3165 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-22 16:29:36 +00:00
scorpio810
bb23a6f110 QTreeView cosmetic change QTreeView::item
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3164 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-22 15:49:46 +00:00
scorpio810
767d63101f QTreeView cosmetic change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3163 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-22 15:27:59 +00:00
scorpio810
088c7f85e6 Fix segfault on Windows
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3162 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-22 14:42:30 +00:00
scorpio810
efa2854f40 Cosmetic: change gray mode by blue lineargradient
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3161 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-22 12:48:19 +00:00
scorpio810
7ef5e3fa53 Cosmetic change when not use system color
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3160 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-21 12:17:00 +00:00
scorpio810
c68e7ebbec Restore it_prev_
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3159 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-21 09:51:37 +00:00
scorpio810
4eb6dbb9fd Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3158 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-21 04:19:54 +00:00
blacksun
60748954b6 Element editor -> properties: user can edit subtype for master.
Change the properties is now managed by undo command


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3157 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-20 20:10:09 +00:00
msouabni
ba04d35288 Update Arabic version (files:qet_ar.qm, qet_ar.ts)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3156 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-20 20:00:11 +00:00
aitolos
5922d1532a Update Greek TS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3155 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-20 16:43:12 +00:00
scorpio810
3d320d900f Minor change: cosmetic
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3154 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-20 11:58:07 +00:00
scorpio810
8573c2b2f0 Adapt ico to no project
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3153 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-20 04:40:12 +00:00
scorpio810
444595203c ElementsPanel improve highlightItems for faster
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3152 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-20 04:24:39 +00:00
scorpio810
e6c32bc057 Background set to use System Palette
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3151 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-19 18:23:16 +00:00
scorpio810
764fe5b75e Change background color
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3150 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-19 15:30:07 +00:00
scorpio810
45f3dd28a3 Fix duplicate translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3149 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-19 10:21:21 +00:00
scorpio810
65021090ff Add qt_be ts and qm for dialog box buttons in flemish, thanks Ronny
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3148 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-18 22:16:30 +00:00
scorpio810
430c34828b Add qt translation files for dialog button box for only files not included by Qt
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3147 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-18 12:57:12 +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
scorpio810
52548e579f Revert r3134, is only for windows packaging
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3145 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-17 18:34:02 +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
a2966a48af Add qt translation files for dialogbuttonbox
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3143 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-17 06:28:43 +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
rdsivd
5aaac28bb7 adding link type to elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3141 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-15 20:45:31 +00:00
blacksun
8627b6541d Move several items : shape item now move with the others selected item
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3140 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-15 18:03:25 +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
rdsivd
0bb1aad866 update elmt be langue
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3138 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-15 09:53:06 +00:00
rdsivd
5d774a4914 minor change on be langue
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3137 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-15 08:51:19 +00:00
silvio
fc6f3dcf1c upgrade .TS file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3136 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-15 07:29:31 +00:00
scorpio810
40dae0e980 Update TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3135 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-14 19:45:58 +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
scorpio810
22db245e6b Update translation symbols fr, en
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3133 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-13 07:26:33 +00:00
pawel32640
53bb657c2d update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3132 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-12 19:05:00 +00:00
silvio
8567af705c upgrade elements translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3131 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-12 11:37:28 +00:00
silvio
50b380d2ff upgrade elements translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3130 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-12 10:13:11 +00:00
pawel32640
f46b010d00 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3129 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-11 20:47:27 +00:00
pawel32640
05d46d607f update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3128 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-11 20:40:57 +00:00
scorpio810
cc0dad8eae Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3127 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-09 19:20:39 +00:00
pawel32640
6e6d9338e4 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3126 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-09 13:37:38 +00:00
pawel32640
3bb100f763 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3125 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-08 20:30:22 +00:00
pawel32640
85fbdcdfcd update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3124 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-08 20:26:59 +00:00
scorpio810
e2226e8f8f Add new symbols, thanks David
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3123 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-08 18:57:44 +00:00
scorpio810
41e930ca39 Update Netherland translation, thank Paul
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3122 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-08 15:47:47 +00:00
rdsivd
e3f1af89a2 update be langue
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3121 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-08 13:33:19 +00:00
scorpio810
86846e67e0 Update symbols fr, en
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3120 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-08 11:28:11 +00:00
scorpio810
b79ee1e347 Update symbols translation fr, en
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3119 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-08 09:17:37 +00:00
pawel32640
d07acc21e4 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3118 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-08 08:20:02 +00:00
blacksun
de38f654a9 Qetdiagram editor, diagramView : some code improvement (less code)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3117 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-07 21:03:49 +00:00
silvio
36c873ca82 upgrade .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3116 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-07 19:48:15 +00:00
pawel32640
5be6814743 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3115 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-07 19:21:45 +00:00
pawel32640
7a6713d651 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3114 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-07 19:17:20 +00:00
rdsivd
3facd818fb flemisch translation added
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3113 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-07 13:59:55 +00:00
scorpio810
2b93997cd9 Delete duplicate folder
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3112 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-07 13:11:04 +00:00
scorpio810
081b67a88c Add new symbols found on Rafael Ferrando blog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3111 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-07 13:05:35 +00:00
pawel32640
ae3d4e35ec update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3110 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-07 09:41:00 +00:00
aitolos
914ec76da5 Update Greek TS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3109 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-07 09:19:32 +00:00
scorpio810
bd5c6be8da Update example
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3108 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-06 14:38:53 +00:00
scorpio810
913185094e Update TS files, update english translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3107 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-05 10:12:26 +00:00
blacksun
aeb8e22a0b element editor: check properties for folio report
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3106 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-05 09:06:57 +00:00
silvio
54135627d8 upgrade .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3105 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-04 19:19:43 +00:00
scorpio810
33b3e26d1c Update TS files, update english translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3104 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-04 11:04:00 +00:00
silvio
912a06130d upgrade elements translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3103 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-03 22:52:02 +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
blacksun
ff5b82d61a element editor, fix bug in line editor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3101 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-02 23:40:14 +00:00
silvio
0b55f88adf upgrade elements translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3100 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-02 17:33:47 +00:00
silvio
6267fa6296 upgrade .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3099 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-02 17:18:02 +00:00
pawel32640
71010447fd update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3098 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-02 11:22:17 +00:00
scorpio810
7562c5e37b Update TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3097 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-02 01:51:59 +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
scorpio810
20214f22d6 Add new symbols, thank Ronny
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3095 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-01 20:44:22 +00:00
pawel32640
9cc4441299 git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3094 bfdf4180-ca20-0410-9c96-a3a8aa849046 2014-06-01 19:47:24 +00:00
pavelfric
38a9841ff6 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3093 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-01 08:51:25 +00:00
scorpio810
e4cf8d33be Add new symbols, update example
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3092 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-31 15:16:19 +00:00
silvio
65b2e93bd7 upgrade elements translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3091 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-30 20:53:59 +00:00
scorpio810
e033059be1 Add new symbols, thanks david
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3090 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-30 15:41:34 +00:00
alfredo
183739522f spanish update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3089 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-30 04:41:27 +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
scorpio810
f639871057 Minor fix:
Multiple translation in elements/00automatisme/organigramme/qet_directory
Multiple translation in elements/00automatisme/process/tac_xenta_schneider_electric/module_serveur_web/qet_directory



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3087 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-28 22:32:14 +00:00
rdsivd
b313b22983 translation .xml and .desktop
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3086 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-28 22:06:46 +00:00
rdsivd
77cb506a9a transaltio directory 00
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3085 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-28 19:17:21 +00:00
scorpio810
46373f0f35 Update example affuteuse
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3084 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-28 13:16:59 +00:00
scorpio810
dc4cbce85c Add new symbols, thanks Pawel
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3083 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-27 22:36:17 +00:00
scorpio810
e748c06f99 Rename example.qet
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3082 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-27 13:19:38 +00:00
scorpio810
a68955dec7 Add new little example
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3081 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-27 12:01:18 +00:00
rdsivd
dd13aa171b langue correction be
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3080 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-26 19:49:21 +00:00
blacksun
9d9f6bd0db Add flags for qmake to use C++11
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3079 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-26 14:42:00 +00:00
abhishekm71
215e268467 QetShapeItem: Add Scale option with UNDO/REDO
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3078 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-25 18:33:06 +00:00
scorpio810
92b8d4babf translations_stat.pl add missing entry
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3077 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-25 14:59:42 +00:00
scorpio810
1ec76be4d3 Update script translation status, and aboutqet
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3076 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-25 14:55:35 +00:00
scorpio810
47246efca1 Update Belgium-Flemish, thanks Ronny
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3075 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-25 13:22:31 +00:00
scorpio810
fde2d441ca Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3074 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-24 12:25:48 +00:00
pavelfric
e64883c526 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3073 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-21 15:16:14 +00:00
silvio
680ec1f03f upgrade .ts translation (ITA)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3072 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-19 21:09:33 +00:00
aitolos
63ada12653 Update Greek TS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3071 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-19 17:47:56 +00:00
scorpio810
d8d632c0bc Add Belgium-Flemish ts, qm files and upadates TS files, thanks Ronny
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3070 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-19 16:43:40 +00:00
scorpio810
40fd5abf0a Add switch gui for Flemish language (dutch-belgium)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3069 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-19 16:35:13 +00:00
scorpio810
de745b04b4 Add new elements, thanks Paul and Bernard-andre
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3068 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-19 13:34:57 +00:00
scorpio810
bae2598738 correcting element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3067 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-13 20:41:59 +00:00
blacksun
2e2ac0cb61 Xref item: minor improvement
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3066 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-13 19:28:11 +00:00
blacksun
7b7471c14c cross ref item: min cross size is set for 4 contacts.
cross ref item: improve code (will be faster)


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3065 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-13 17:37:14 +00:00
scorpio810
f3f7569feb Add automatic label for protections directory elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3064 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-11 20:12:50 +00:00
scorpio810
65af32ddcc Add properties link_type="master" to protections directory elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3063 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-11 19:49:00 +00:00
blacksun
4fe34f8956 Previous comit was wrong and add memory leak.
This comit fix regression come from previous comit and improve how diagram folio list is drawed 


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3062 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-10 17:13:09 +00:00
blacksun
dde2d3716f Bug fix, segfault when print with a folio list.
Fix memory leak too


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3061 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-10 16:00:23 +00:00
blacksun
56bf8b1c6b Cross ref item: when xref is show has table, user can add prefix to the text of power and delay contact.
Minor improvemnt: the table update is size according to his content


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3060 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-07 20:56:51 +00:00
scorpio810
b185bc323d svn move elements/00automatisme/grafcet/iso_sfc/example.qet examples/
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3059 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-06 23:38:06 +00:00
scorpio810
b853465ed6 Add new symbols, thanks Paul
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3058 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-06 19:07:27 +00:00
scorpio810
942f2e6d47 better fix recentfiles
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3057 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-05 17:32:10 +00:00
silvio
ede644aea0 upgrade elements translation (ITA)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3056 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-04 22:14:57 +00:00
aitolos
8308c57d0b Update Greek TS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3055 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-04 16:51:05 +00:00
scorpio810
412f42f295 update recentfiles but isn't perfect
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3054 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-04 16:47:55 +00:00
scorpio810
fd091ad24a recent files refresh
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3053 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-04 15:49:57 +00:00
scorpio810
7b6ef67358 Valid recent file translation in *ts files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3052 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-04 15:27:22 +00:00
scorpio810
b9255fd154 Bug fix translate recent files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3051 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-04 15:15:57 +00:00
scorpio810
8a8496b27a Update english translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3050 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-03 22:06:25 +00:00
scorpio810
bb3375d60f No change refresh TS for qet_fr.ts
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3049 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-03 22:01:09 +00:00
pawel32640
9638bd68a8 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3048 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-03 18:58:28 +00:00
blacksun
9595e55645 Xref propertie widget: fix wrong behavior
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3047 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-03 13:22:50 +00:00
silvio
0a65b4df8c upgrade .ts file translation (ITA)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3046 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-03 08:33:26 +00:00
aitolos
3c8ad1467b Update Greek Translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3045 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-03 04:22:43 +00:00
scorpio810
29402a46a1 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3044 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-03 00:44:44 +00:00
scorpio810
3c3a7c9255 Bugfix:foliolist and shapeitem are now translated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3043 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-03 00:37:57 +00:00
blacksun
af22c5bc70 improve behavior of Xref item (must show or not the power contact)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3042 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-05-02 18:14:42 +00:00
scorpio810
3252c1eda9 Update script and translation netherland
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3041 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-30 20:38:02 +00:00
scorpio810
f7bcc12c98 Update Netherland translation for files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3040 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-30 20:23:14 +00:00
scorpio810
3a00f60598 Update namesListForIntegrationCategory
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3039 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-30 19:13:36 +00:00
alfredo
2d0e6d092b Update spanish translator
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3038 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-29 04:23:56 +00:00
scorpio810
1148cd8557 Basic shapes, Workaround: QCheckBox cb(tr("Verrouiller la position") setVisible(false);
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3037 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-29 03:47:37 +00:00
jonasstein
8c37dfba71 fix typos in german and english translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3036 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-28 20:51:23 +00:00
blacksun
1cd9c4b28c cross ref item: bugfix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3035 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-28 19:00:49 +00:00
scorpio810
f9aaff37a2 Update translation misc folder in netherland, thanks Tellie
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3034 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-28 16:46:13 +00:00
blacksun
91552373cf Cross ref item: user can select if xref must be displayed has a table or a contacts list.
Option is found in config dialog under the tab Cross ref.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3033 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-28 15:41:58 +00:00
scorpio810
65e16029a1 Update aboutqet
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3032 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-28 08:58:02 +00:00
scorpio810
340e968e49 Update translation netherland
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3031 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-28 08:34:56 +00:00
scorpio810
80d61a2f78 Update translation netherland and ISO7200_A4_V1.titleblock
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3030 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-27 18:57:35 +00:00
scorpio810
e224211ec9 Remove flag no fipa-sra
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3029 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-27 17:27:44 +00:00
scorpio810
46ea5d008c Update genericpanel for debug
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3028 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-27 16:28:51 +00:00
scorpio810
a8e7892546 Update genericpanel
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3027 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-27 16:12:39 +00:00
scorpio810
0a86b0cae7 Add new titleblock, thanks Paul
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3026 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-26 12:45:45 +00:00
scorpio810
eb42fd5fcf Update Netherlands ts files, thanks Paul
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3025 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-25 11:57:36 +00:00
aitolos
5794139a0f Update Greek TS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3024 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-24 14:09:17 +00:00
scorpio810
85ea65ce49 English translation TS files merge corrected by Paul, thanks
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3023 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-24 13:31:12 +00:00
scorpio810
a846674007 Update Netherlands ts files, thanks Paul
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3022 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-23 22:50:16 +00:00
scorpio810
e61e9bf815 Add NL man, update TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3021 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-23 21:43:52 +00:00
scorpio810
53b27968e6 Update Netherlands ts files, thanks Paul
Delete duplicate symbols 


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3020 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-23 21:24:03 +00:00
blacksun
470fab348e update element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3019 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-22 21:28:00 +00:00
scorpio810
49194132e0 Update richtexteditor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3018 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-22 09:54:22 +00:00
alfredo
5120aefff5 update Spanish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3017 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-22 06:33:00 +00:00
scorpio810
f59a14f51a Update richtexteditor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3016 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-21 21:24:19 +00:00
blacksun
eee2a9181e Bug fix: qet crash when close a diagram with a cross ref item.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3015 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-20 23:37:03 +00:00
scorpio810
38f1d820b1 Update richtexteditor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3014 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-20 18:53:10 +00:00
scorpio810
aa6d7efd98 Update English translation (elements)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3013 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-19 16:23:20 +00:00
blacksun
b4999bfafb fix some memory leaks
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3012 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-19 12:56:30 +00:00
scorpio810
f37250f17d Add new symbols, thanks Didierm, patre90
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3011 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-19 08:04:08 +00:00
aitolos
acad4ba36e Update Greek translation (elements)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3010 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-18 14:24:33 +00:00
aitolos
6d6a8d752c fix Greek translation (elements)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3009 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-18 12:39:05 +00:00
scorpio810
fbf2166136 Element fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3008 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-18 12:38:14 +00:00
scorpio810
9722231e2b Element translation Nederland part 8
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3007 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-18 12:27:23 +00:00
scorpio810
9ece05e5cc Element fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3006 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-18 11:32:17 +00:00
scorpio810
1843698603 Elements fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3005 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-18 11:29:19 +00:00
aitolos
d5af9d5d29 Elements, Update Greek Translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3004 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-18 07:55:49 +00:00
scorpio810
bd460fad3e remvove multiple translation in elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3003 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-18 02:28:24 +00:00
scorpio810
d37270f49b Element translation Nederland part 7
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3002 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-18 02:12:05 +00:00
scorpio810
b7501f4b6b Element translation Nederland part 6
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3001 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-18 01:39:48 +00:00
aitolos
dcae31a408 Update Greek TS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3000 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-17 19:41:05 +00:00
scorpio810
3a6e84851f Add new country Netherlands switch
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2999 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-17 14:41:45 +00:00
scorpio810
c04623878b Update TS * files add qet_nl
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2998 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-17 06:04:36 +00:00
scorpio810
27fc8367c4 translations_stat.pl refresh
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2997 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-17 05:47:16 +00:00
scorpio810
f0bbe4e445 translations_stat.pl: fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2996 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-17 03:14:28 +00:00
scorpio810
67f4e6a31d translations_stat.pl: refresh
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2995 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-17 03:07:26 +00:00
scorpio810
904dd29bf1 prepare scripts to add Nederland translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2994 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-17 02:52:57 +00:00
scorpio810
533bdfb28a Element translation Nederland part 5
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2993 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-17 02:34:39 +00:00
scorpio810
ee5b9d1f07 Element translation Nederland part 4
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2992 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-17 02:00:58 +00:00
aitolos
180b1c7f7c Update Greek translation (elements)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2991 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-16 19:48:26 +00:00
blacksun
0f5154ed55 cross ref item: comment is wrapped for better visual
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2990 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-16 19:39:20 +00:00
scorpio810
cd3c9a3785 Element translation Nederland part 3
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2989 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-16 17:01:53 +00:00
scorpio810
08510c7189 Element translation Nederland part 2
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2988 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-15 18:25:07 +00:00
scorpio810
f9e0847662 Add element translation Nederland by Shooter part 1
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2987 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-15 17:54:43 +00:00
scorpio810
e1605dcb84 QET.nsi script: bug fix adding fonction to remove icon and menu after uninstall
Remove dupllicate entries in qet_directory


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2986 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-14 16:44:20 +00:00
blacksun
ff14edda6b Cross ref item, check properties for show power contacts or not.
Change properties in project is applied immediately to cross ref


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2985 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-12 12:51:25 +00:00
blacksun
c7fe3f583b bug fix: cross ref item have wrong behavior when rotate is master. (thanks mmiacca)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2984 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-12 01:26:19 +00:00
blacksun
c7aaf5b509 -add class for store Xref properties
-add widget for edit it
-make link betwen QET -> QETproject -> Diagram, for transmit the xrefproperties
-xrefpropertie can save/load to xml and setting.
-XRefItem don't use the properties yet


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2983 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-11 09:51:21 +00:00
msouabni
457ecbc12c Update translation Arabic
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2982 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-11 08:06:55 +00:00
aitolos
59ae2a77ec Refine Greek TS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2981 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-10 20:05:57 +00:00
aitolos
c1f2fcf863 Update Greek TS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2980 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-10 16:59:41 +00:00
aitolos
ff415e5f23 Update - Undo2
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2978 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-10 15:02:18 +00:00
aitolos
04877dcb32 Update - Undo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2977 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-10 14:59:58 +00:00
pawel32640
4656afe31b update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2976 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-10 13:10:35 +00:00
silvio
a7a4f10ad9 upgrade elements translation (ITA)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2974 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-09 22:32:38 +00:00
scorpio810
a92accdbf4 Add new symbol, thank Vincent
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2973 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-09 22:11:47 +00:00
silvio
f9ba1b9d17 upgrade .ts file translation (ITA)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2972 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-09 21:11:48 +00:00
pawel32640
f2e67dd7fb update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2971 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-09 20:18:06 +00:00
aitolos
b89524705c Update Greek TS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2970 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-09 14:41:06 +00:00
scorpio810
addc671dc2 Add new symbols, thank Vincent
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2969 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-09 11:26:50 +00:00
pawel32640
cde32d7fc4 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2968 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-09 08:39:25 +00:00
scorpio810
762b5a9585 Update english translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2967 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-08 20:32:53 +00:00
scorpio810
b03a69c69d Update Ts files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2966 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-08 20:23:50 +00:00
aitolos
6f02d22d58 Minor Update of Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2965 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-08 20:16:59 +00:00
pavelfric
1485b05206 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2964 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-07 18:33:26 +00:00
pavelfric
d3104e5c64 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2963 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-05 10:50:25 +00:00
silvio
6b0b57c252 upgrade elements translation (ITA)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2962 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-04 13:21:10 +00:00
aitolos
8b4f5f8724 Update Greek translation (elements)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2961 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-03 16:11:17 +00:00
scorpio810
65918dd5fc Add new symbols, thanks Alexis
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2960 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-02 19:40:47 +00:00
blacksun
1ce608e7df cross ref item: don't show postion of element 'power'.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2959 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-02 17:36:40 +00:00
blacksun
e686dc4405 kind info, replace "puissance" by "power"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2958 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-02 17:20:35 +00:00
blacksun
40e9a11ab2 power slave elements: readd kind info
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2957 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-02 17:09:26 +00:00
blacksun
07eed05123 improve commit 2954
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2956 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-02 16:57:13 +00:00
aitolos
da5e6a61fe Update Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2955 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-02 14:38:59 +00:00
scorpio810
5f7836710a cross ref item: bug fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2954 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-01 01:58:37 +00:00
scorpio810
28e41fd4cb cross ref item: refresh table align
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2953 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-01 01:45:53 +00:00
scorpio810
e506f057c4 Restore slave power contacts folder
Delete kindinformations: don't want power contacts in cross ref table  
Add new automatic label for text field
Now these elements know positions of master coils add auto label
Clean duplicates 



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2952 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-04-01 01:27:18 +00:00
blacksun
1a1dbbc3be master element: add auto label when "comment" isn't empty and must show
element info widget -> comment line: must show is checked by default


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2951 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-31 16:02:47 +00:00
blacksun
9766b8f01e cross ref item: improve improve the position of the comment at the bottom of the cross
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2950 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-28 10:33:14 +00:00
scorpio810
8012b4ed75 Add new automatic label for text field in coil master elements
Refresh coils directory - moving various relays to relay directory
Refresh slave directory - moving various contacts to contacts directory


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2949 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-28 03:15:29 +00:00
blacksun
0c486bcb09 cross ref item : show the master comment at the bottom of cross
element : improve the function to sort an element list
qet graphics item : add a bool to disable the snap to grid (used for cross ref item, to be exactly at the bottom of element)


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2948 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-26 10:41:06 +00:00
alfredo
b69bbbe3f7 spanish translation update elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2947 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-25 04:52:00 +00:00
blacksun
0109a5d188 slave element: when linked to master, label is replaced by the label of master, and show the position of the master
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2946 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-21 14:40:33 +00:00
blacksun
a35c2dc022 bug fix for Qt version older than 4.7
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2945 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-21 10:39:05 +00:00
scorpio810
0570862e41 cross ref item:reduce table and redrawing symbolic by joshua
Basic shapes: workaround,pen set with 1px only in Win OS


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2944 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-21 02:28:47 +00:00
scorpio810
5760403f11 Basic shapes: after many print tests retore line with 1.0
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2943 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-20 14:09:31 +00:00
scorpio810
2c6ebeeeeb cross ref item:reduce pixel table for printers
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2942 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-20 13:56:53 +00:00
scorpio810
3612bd0fad cross ref item:restore cosmetic for text
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2941 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-20 13:47:58 +00:00
scorpio810
68a6fcab75 cross ref item: redraw symbolic contacts for reduce size
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2940 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-20 13:32:41 +00:00
scorpio810
246910ba84 Basic shapes crossrefitem: update to cosmetic changes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2939 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-20 11:56:06 +00:00
scorpio810
0e898ae82a Add new automatic label for text field in slave elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2938 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-19 21:05:24 +00:00
scorpio810
25e0ace619 Fix typo in previous commit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2937 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-19 16:29:25 +00:00
scorpio810
c21f0b4017 crossrefitem fix printing on X11
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2936 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-19 15:18:25 +00:00
scorpio810
d34c15537c Basic shapes: better fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2935 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-19 14:56:06 +00:00
scorpio810
64b706c30f Basic shapes:fix line type on MS Windows printing
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2934 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-19 14:30:27 +00:00
silvio
1a16e93550 upgrade elements translation (ITA)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2933 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-18 22:11:53 +00:00
blacksun
5c3bdee705 hover an element when create new shape don't focus him
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2932 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-18 16:12:51 +00:00
blacksun
e516cc6a87 add function to sort an elements list by the positions of elements.
this function is use by:
cross ref item -> shild are always sorted
element selector widget -> list of widget are sorted.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2931 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-18 12:35:36 +00:00
scorpio810
9402541022 Add new symbols, thanks Arun
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2930 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-18 11:19:15 +00:00
blacksun
0d536f9c21 cross ref item: use symbolic contact instead of text NO NC (No need to translate, understand everywhere)
Element selector widget: add label of element.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2929 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-17 17:58:04 +00:00
scorpio810
9b53bbeca0 Add new symbols, thanks Arun
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2928 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-17 13:15:19 +00:00
blacksun
b94cb6a69f link single element widget: fix wrong behavior with the the bouton "see the linked element"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2927 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-16 21:20:38 +00:00
blacksun
82c1ff9fde LinkSingleElementWidget: add line for filter available element.
filter work with the information of element.
elementSelectorWidget: add filter method.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2926 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-15 20:49:05 +00:00
pawel32640
3240f381d9 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2925 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-14 20:38:34 +00:00
blacksun
48e37ce3c9 bug fix: cross ref item doesn't update when shild is moving
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2924 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-14 14:45:54 +00:00
blacksun
6c77a8ae07 cross ref item : grow the size of the cross according to the number of linked elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2923 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-13 14:59:40 +00:00
blacksun
80b5cc1508 wrong file from previous comit: unable to compil
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2922 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-12 09:44:24 +00:00
blacksun
b74c5804be Replace the class folioReportProperties by the class linkSingleElementWidget.
The new class does the same thing but is more flexible, this class is used by report and slave element
to find element to be linked and/or unlink an already linked element.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2921 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-12 09:32:56 +00:00
scorpio810
cbbd9354cf Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2920 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-10 14:12:05 +00:00
silvio
3ff42960ba upgrade .ts file translation (ITA)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2919 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-09 20:31:24 +00:00
pawel32640
75c8c07b0f update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2918 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-09 09:22:26 +00:00
pawel32640
5cf926cc53 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2917 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-08 21:08:48 +00:00
pawel32640
8397ce6e5a update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2916 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-08 14:43:15 +00:00
scorpio810
a9d9b0518b Update TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2915 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-08 14:10:52 +00:00
scorpio810
b28a291413 Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2914 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-08 14:08:16 +00:00
scorpio810
d5817fc557 Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2913 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-08 13:45:36 +00:00
abhishekm71
7242854045 Basic Shapes: Move coords corrected for XML, DXF export
(Bounding Rectangle had to be updated with each move)



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2912 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-07 12:34:47 +00:00
abhishekm71
b969f86d55 Shapes Move: Undo/Redo added
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2911 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-07 08:47:56 +00:00
abhishekm71
82ad6168c1 Basic Shapes: Edit property(style) added, undo/redo style added
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2910 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-07 08:05:25 +00:00
abhishekm71
dbd1607a7a Basic Shape Delete/CUT/Copy: Keyboard Shortcuts now possible
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2909 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-06 15:40:18 +00:00
scorpio810
44c1cc1207 Refresh element directory
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2908 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-06 15:19:01 +00:00
abhishekm71
b3654fa5fa Basic Shapes: Added Delete shape (not from keyboard DEL)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2907 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-06 14:04:19 +00:00
blacksun
020d4f575c add cross reference graphic item, only for master element.
(basic implementation, need to be improved)


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2906 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-03 17:31:45 +00:00
scorpio810
b59e562e35 Add elements_license part 4
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2905 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-02 21:11:32 +00:00
scorpio810
5aee5f6cf3 Add elements_license part 3
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2904 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-02 21:09:03 +00:00
scorpio810
4e88d6b8cc Add elements_license part 2
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2903 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-02 21:04:50 +00:00
scorpio810
d38048b064 Add elements_license
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2902 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-02 21:01:05 +00:00
scorpio810
eee40f7a30 moving elements and directory part 2
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2901 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-02 20:46:47 +00:00
scorpio810
394a5fbc08 moving elements and directory
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2900 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-02 20:43:10 +00:00
scorpio810
312cebf35f Add <kindInformations> and moving elements and directory
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2899 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-02 20:30:50 +00:00
aitolos
b7c0ed0509 Elements-Update Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2898 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-02 16:18:40 +00:00
abhishekm71
d80a2289d6 Basic Shape: qgraphicsitem_cast<> instead of dynamic_cast
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2897 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-02 13:49:11 +00:00
blacksun
578cda387b Move load of kind information from element to custom element, because the kind information
belong to the element definition, so custom element.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2896 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-02 11:15:59 +00:00
aitolos
390132933b Greek TS update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2895 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-02 11:10:34 +00:00
scorpio810
22d482c67a Add Nuri German translation, thanks
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2894 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-01 16:54:03 +00:00
silvio
ad2ac7ce04 fixed .ts file translation (ITA)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2893 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-01 14:01:05 +00:00
abhishekm71
5d9c6f00f3 Basic Shapes: Undo/Redo command added
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2892 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-01 07:30:11 +00:00
abhishekm71
2c4d365200 Correction: DiagramContent:: enum Filter values (thanks joshua)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2891 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-03-01 06:14:58 +00:00
scorpio810
e6f6cdb2fb Add <kindInformations> part 2
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2890 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-28 16:14:40 +00:00
scorpio810
d908e13c30 Add <kindInformations> part 1
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2889 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-28 15:55:18 +00:00
abhishekm71
092c638868 Basic Shapes: XML export/import added.
Many files were changed, so debugging required.
Minor Bug exists: 
If we export to xml first time, it is OK. But if we then add another shape and then export, then the new shape is not added in XML.
Reason: UndoAction not implemented at present for basi shape addition.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2888 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-28 14:30:59 +00:00
pawel32640
dce76e46c9 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2887 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-28 09:41:38 +00:00
abhishekm71
0af7b828b0 Basic Shapes: DXF Export added.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2886 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-28 08:20:00 +00:00
silvio
f131790f5d upgrade .ts file translation (ITA)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2885 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-27 19:07:19 +00:00
scorpio810
58c04d10fb Delete Multiple translation in element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2884 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-27 15:24:04 +00:00
scorpio810
7a949dfe48 Update TS files and english translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2883 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-27 15:18:28 +00:00
scorpio810
f81b7ac526 Refresh elements to link_type="slave">
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2882 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-27 14:21:45 +00:00
scorpio810
6588e57595 Basic shapes prepare to right menu
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2881 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-27 13:48:24 +00:00
scorpio810
ece4baca66 Basic shapes add setRenderHint(QPainter::Antialiasing, false);
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2880 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-27 12:54:09 +00:00
abhishekm71
8e4c71c3e7 Basic shapes: Items can be selected and moved (thanks joshua)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2879 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-27 09:55:54 +00:00
blacksun
bf707cca2e master propertie widget:
can link/unlink slave to master
can show element by double clic item on the list
reset modification 


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2878 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-26 23:57:22 +00:00
scorpio810
322ba055c0 Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2877 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-26 14:09:25 +00:00
abhishekm71
25aa9603fc Basic Shapes: Dynamic Preview added when constructing the shape.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2876 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-24 14:22:26 +00:00
silvio
389d4baccf upgrade elements translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2875 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-23 21:33:53 +00:00
abhishekm71
7b32c56562 Removed QRubberBand Class. Not required, at present commented out the sections
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2874 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-23 19:50:06 +00:00
abhishekm71
b0e9e7efc1 Basic Primitive shapes added (line,rectangle,ellipse). Default style dashed.
Pending work:
1. DXF Export
2. XML Import / Export
3. Properties Edit option (line style/colour/weight)
4. Debugging required



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2873 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-23 18:55:26 +00:00
pavelfric
cd1c5ffc81 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2872 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-23 06:16:51 +00:00
scorpio810
ef96d445e3 Add properties link_type="slave" to contacts directory elements part 2
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2871 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-22 21:21:01 +00:00
scorpio810
7f0091e3b2 Add properties link_type="slave" to contacts directory elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2870 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-22 21:14:10 +00:00
blacksun
105c1c87b6 element master widget property: improve gui.
add slave element class.
element class: replace diagramcontext informations by elementInformations because informations is already used in xml file for element.
minor improvement.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2869 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-22 17:24:20 +00:00
silvio
680fded375 upgrade elements translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2868 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-22 12:04:05 +00:00
scorpio810
3c3814dc4a Add new symbols, thanks David
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2867 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-22 10:41:46 +00:00
scorpio810
293c3fe1d2 Add new symbols, thanks David
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2866 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-20 21:38:56 +00:00
scorpio810
8697c98fe4 Add new symbols, thanks David
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2865 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-19 17:26:52 +00:00
pawel32640
d1e3352c30 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2864 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-19 15:09:55 +00:00
blacksun
cddc841916 add base for master element feature
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2863 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-18 20:44:54 +00:00
scorpio810
9d68da7fff Add properties link_type="master" to coils directory elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2862 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-18 19:17:04 +00:00
abhishekm71
345cbda616 ExportDialog: Add buttons for SelectAll and De-Select All
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2861 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-17 11:11:06 +00:00
aitolos
cca6e3c2a3 Greek TS update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2860 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-16 12:34:30 +00:00
pavelfric
0018e396fc Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2859 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-15 08:38:10 +00:00
silvio
6a05f51454 upgrade .ts translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2858 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-13 21:02:24 +00:00
pavelfric
534c6baa16 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2857 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-13 20:46:12 +00:00
aitolos
a2c5d531b8 Greek TS update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2856 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-13 18:06:39 +00:00
scorpio810
5cfc8d2f6a Update english translation TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2855 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-13 18:05:41 +00:00
scorpio810
c05a165850 Refresh TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2854 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-13 17:45:27 +00:00
pavelfric
04c9470eaa Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2853 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-12 21:49:40 +00:00
msouabni
025a6ea483 Update Arabic Translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2852 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-12 20:09:14 +00:00
blacksun
3eaa0fe823 remove unused include, can't compil.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2851 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-12 17:46:23 +00:00
blacksun
b361788873 Add ability to store informations for element like label, manufacturer, ref etc....
Add widget to edit it, save/load works
Informations are stored in a diagramcontext, this class was modified (new feature) to store information
but keep compatibilty with older version.  


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2850 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-12 17:36:35 +00:00
abhishekm71
2c8bf84795 Folio List:QET Crash on print corrected
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2849 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-11 11:49:03 +00:00
abhishekm71
dd9c313914 Minor formatting and documenting
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2848 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-11 05:10:16 +00:00
abhishekm71
0888f6e347 Folio List: XML save/open added. When Application starts, folio list is not added
so that user gets the option to choose whether he wants to add folio list or not.
Bug remaining:
- When open project file with folio_list present, folio list sheets are at the end,
  not at the beginning.
- Possibly many others. Thorough testing required.



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2847 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-10 13:58:30 +00:00
abhishekm71
c96036b7fa Folio List: DXF folio corrected, Delete folio sheet bug corrected,
Folio New Sheets are inserted in the beginning but after the previous folio sheets


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2846 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-10 11:48:05 +00:00
alfredo
d04c03afa4 update spanish translator
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2845 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-10 06:19:09 +00:00
abhishekm71
faa9152e7c folio list: scaling as per sheet size added
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2844 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-10 05:31:08 +00:00
alfredo
f2bdaea18a update elements translation spanish
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2843 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-10 04:52:11 +00:00
abhishekm71
23970c9473 Folio List: DXF Export long text corrected and
Alignment changed for Title: Center aligned for heading 
and left aligned for entries


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2842 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-09 17:47:18 +00:00
abhishekm71
a43d3ae67e Folio List: Long text spacing adjusted, title text left-aligned.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2841 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-09 16:51:45 +00:00
aitolos
7b8bf5771b Greek TS update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2840 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-09 14:37:06 +00:00
blacksun
fbff5a3b47 minor improvement to diagram folio list.
Add diagram folio list put it on first folio.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2839 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-08 23:54:15 +00:00
scorpio810
fa5a663787 Minor changes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2838 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-08 18:51:06 +00:00
scorpio810
bf32c96898 Enable export nomenclature Project in all mode (beta)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2837 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-08 18:49:02 +00:00
abhishekm71
173f1988ac List of Drawings: DXF export added and multple sheets for large project added.
Pending work:
- folio string to be formatted correctly.
- thorough testing to be done because lot of changes to addDiagram / removeDiagram had to be done 
  to add the feature of multiple folio list sheets



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2836 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-08 18:17:10 +00:00
silvio
a57973a101 upgrade .ts translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2835 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-08 16:37:45 +00:00
silvio
0031afec34 fixed elements translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2834 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-08 16:29:04 +00:00
silvio
b9813e9582 upgrade elements translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2833 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-08 16:22:52 +00:00
silvio
f12b1ad60f upgrade of .ts translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2832 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-08 16:14:52 +00:00
scorpio810
b803775639 Update elements translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2831 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-08 16:01:58 +00:00
scorpio810
b61e278b87 Deleted: svn:keywords
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2830 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-08 09:33:17 +00:00
scorpio810
d3e31d0168 Update elements translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2829 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-08 07:50:41 +00:00
scorpio810
48d6989cce Try Refresh svn keyword
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2828 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-08 07:29:10 +00:00
scorpio810
4d307623d8 Add Copyright forget
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2827 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-08 07:08:36 +00:00
alfredo
b0e1e2804a update elements spanish
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2826 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-08 05:48:39 +00:00
scorpio810
56525a4c53 Update elements translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2825 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-07 20:33:15 +00:00
scorpio810
3f515ef924 Refresh svn keyword
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2824 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-07 20:28:40 +00:00
scorpio810
168fe7f1da Update svn keyword
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2823 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-07 20:23:26 +00:00
blacksun
c1f8cee179 improve comit 2820
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2822 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-07 19:04:57 +00:00
pawel32640
727b5d1a3d update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2821 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-07 16:57:28 +00:00
blacksun
b51d71f897 save/load conductor text for the 3 kinds of conductor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2820 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-07 14:45:43 +00:00
scorpio810
7a5bcb14ba Update TS files and english translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2819 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-07 09:29:05 +00:00
abhishekm71
52aeedfc0d Folio List: New Diagram Folio list can be added if not already present.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2818 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-07 07:54:54 +00:00
scorpio810
8bf916ca03 Optimizes cache_db_ for faster
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2817 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-07 07:04:27 +00:00
scorpio810
5814b55083 preparing for list of drawings
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2816 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-06 23:55:02 +00:00
blacksun
801a2d298f bug fix: segfault when load project with folio report linked but without the same potential text
(Assert QList(), in conductor.cpp)


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2815 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-06 21:35:13 +00:00
scorpio810
0e46586892 Add new symbols, thanks Salvatore
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2814 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-06 16:43:55 +00:00
abhishekm71
f4d2485563 List of Drawings: Date format changed to dd/mm/yyyy
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2813 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-06 16:03:22 +00:00
abhishekm71
026c7f95bb New Diagram: List of Drawings (rough draft) added
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2812 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-06 15:19:27 +00:00
silvio
004b7ddc3e fixed elements translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2811 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-06 11:05:47 +00:00
silvio
1b3e927305 last ITA elements translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2810 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-06 11:03:44 +00:00
silvio
2c9dfd2242 upgrading ITA elements translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2809 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-06 10:32:14 +00:00
silvio
0472c76a9f upgrading ITA elements translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2808 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-06 10:29:33 +00:00
scorpio810
11309bc5fd refresh splashscreen
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2807 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-06 05:10:34 +00:00
scorpio810
f8748204c6 remove Multiple translation in elements/00automatisme/domotique/knx/actionneur/knx_062.elmt
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2806 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-06 04:07:18 +00:00
scorpio810
bd56027b2b Move elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2805 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-06 03:49:51 +00:00
scorpio810
fd05704440 Move elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2804 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-06 03:36:53 +00:00
scorpio810
3599213c19 redraw elements Soft start motor controllers & Frequency drive
change line-style:dashed by line-style:normal


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2803 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-05 17:09:45 +00:00
pavelfric
bacc8091e9 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2802 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-04 21:32:34 +00:00
blacksun
5ace5ba5ee When link report, check if all text of the potential is equal.
If not ask user what must to do.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2801 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-04 18:03:02 +00:00
scorpio810
93d1782c2e Add new symbol, thanks Renaud
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2800 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-04 16:29:32 +00:00
msouabni
603499b2fb Update Arabic Translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2799 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-02-01 09:19:18 +00:00
scorpio810
33f2ede72a Update QET:aboutTab in all languages
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2798 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-30 01:02:16 +00:00
scorpio810
ff0f40886a Update QET:aboutTab
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2797 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-30 00:49:02 +00:00
scorpio810
57e6166010 Add Copyright forget part 4
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2796 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-29 19:31:34 +00:00
scorpio810
ac3cf9478c Add Copyright forget part 3
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2795 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-29 19:24:11 +00:00
scorpio810
0e0d8f4d83 Add Copyright forget part 2
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2794 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-29 19:14:04 +00:00
scorpio810
78daa5f3c3 Add Copyright forget part 1
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2793 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-29 19:10:05 +00:00
scorpio810
433ebc7158 Update Copyright to 2014
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2792 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-29 18:37:45 +00:00
scorpio810
d4d0662df4 Re try Keyword Substitution
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2791 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-29 18:07:43 +00:00
scorpio810
28bd7e4079 Try SVN Keyword Substitution
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2790 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-29 17:59:56 +00:00
scorpio810
1aa03296d6 Refresh QString version
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2789 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-29 11:30:01 +00:00
scorpio810
c9c2388b9f Update splash.png and displayedVersion
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2788 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-29 04:45:12 +00:00
silvio
0bca20ffdf upgrading elements Italian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2787 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-28 21:24:54 +00:00
scorpio810
350f367962 Sort order report folio by fonction
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2786 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-28 17:03:33 +00:00
pawel32640
3578e5d188 updated Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2785 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-28 11:38:37 +00:00
blacksun
c3042460e2 Bug fix: Paste element, make new uuid for the element.
In previous version, uuid are same whith copied and paste element.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2784 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-28 10:45:45 +00:00
blacksun
760886e6dc Add elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2783 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-27 09:15:44 +00:00
alfredo
7c9c9d8aa0 elements translation spanish
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2782 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-27 05:54:12 +00:00
scorpio810
25b1be1e88 Add icon system to language switch
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2781 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-27 03:20:20 +00:00
scorpio810
6d1d4e3bb8 Update Copyright
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2780 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-27 03:00:37 +00:00
silvio
d08bae8369 upgrading elements Italian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2779 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-26 08:59:30 +00:00
pawel32640
588996ae71 updated Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2778 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-25 21:40:07 +00:00
scorpio810
e9d1b3ad0e Add new symbols, thanks David
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2777 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-25 17:58:53 +00:00
silvio
9299de0cd0 fix of Italian .ts file translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2776 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-25 16:15:33 +00:00
silvio
cecb39d81d Italian .ts file translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2775 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-25 16:00:08 +00:00
pawel32640
7c97616dbe updated Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2774 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-24 18:27:34 +00:00
scorpio810
903a2270c0 Fix strange bug....
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2773 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-23 21:43:14 +00:00
blacksun
5265479f50 Element panel: check local when reload.
No need to relaunch qet for change element translation, only reload it.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2772 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-23 19:59:04 +00:00
aitolos
44790aa33b Greek TS update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2771 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-23 14:53:26 +00:00
scorpio810
ca8ade1ed2 Minor bug fix country flags
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2770 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-23 08:55:21 +00:00
scorpio810
a77ca66a3c Refresh indenting
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2769 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-23 08:43:20 +00:00
scorpio810
f966dab85e Add country flag icon in combobox switch language
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2768 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-23 08:34:47 +00:00
scorpio810
ca6aa46836 Add new country flags icon
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2767 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-23 02:52:57 +00:00
scorpio810
962a20420f English .ts file translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2766 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-23 00:57:47 +00:00
scorpio810
cce4047fb2 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2765 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-23 00:51:11 +00:00
blacksun
1f8bd1e411 Minor improvement 1 : folio report widget, reports aren't sort if they aren't drop in same order of diagram
ex: first are drop in diagram 1, 2 in diag 5, 3 in diag 3 etc...

Minor iprovement 2 : Able to connect folio report in the same folio.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2764 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-22 20:10:06 +00:00
aitolos
83bb7fd67f Greek TS update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2763 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-21 20:02:59 +00:00
blacksun
e8475c833e Add widget to select langage, must relauch qet for make change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2762 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-21 19:23:44 +00:00
aitolos
f426aba3a6 Greek TS update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2761 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-20 19:30:20 +00:00
abhishekm71
80bed0af5f DXF Arc & Ellipse: Improved approximate formation.
The ellipse is divided into 4 parts (as per 4 quadrants). 
These 4 arcs are drawn separately by approximating them as arcs of circles.



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2760 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-20 11:46:34 +00:00
scorpio810
6b56b344b0 Move regulator elements in process directory
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2759 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-20 02:39:14 +00:00
pavelfric
0066a61efe Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2758 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-19 19:18:01 +00:00
abhishekm71
6c10c16e27 DXF: Multi-line Text rotation fine-tuned
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2757 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-19 18:09:27 +00:00
pawel32640
8b261f3caa updated polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2756 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-19 16:59:42 +00:00
scorpio810
caf9c3c096 Bug fix: refresh Lancer QET.bat
Add --common-tbt-dir=titleblocks/ to installer and change style


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2755 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-19 15:35:41 +00:00
scorpio810
9fe29b4ccc Refresh align authors tab
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2754 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-19 14:25:11 +00:00
scorpio810
9d8290efec Add Abhishek Bansal to authors
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2753 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-19 14:16:25 +00:00
abhishekm71
0577df384a DXF: Element rotation added
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2752 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-19 10:46:34 +00:00
silvio
4d2a058eac Italian .ts file translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2751 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-19 02:07:28 +00:00
scorpio810
65fcfb7945 Update .TS files, and update english translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2750 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-19 01:40:21 +00:00
blacksun
e1f9a26f4d folio report: add user able to make custom label.
Revamp GUI dialog for new diagram configuration.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2749 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-18 19:04:39 +00:00
silvio
7b83d3dd12 Italian element translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2748 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-18 13:06:38 +00:00
abhishekm71
c90c09e4f1 DXF: Unnecessary "_" text removed.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2747 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-18 13:03:42 +00:00
abhishekm71
9699f8d010 DXF Export: Added Ellipse and Element Text Document for export.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2746 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-18 12:23:35 +00:00
scorpio810
efa2381f6f Bug fix: better fix for: After project Was Closed refresh updateActions if new project is open
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2745 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-18 12:21:27 +00:00
blacksun
417526c90b close dialog: fix wrong title
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2744 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-16 09:44:11 +00:00
alfredo
b8c2d888e5 divers_spanich
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2743 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-15 05:33:28 +00:00
blacksun
d0bafa135f folio report properties widget: add two buttons:
first see the edited report,
second see the linked report (if the edited report is already linked)


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2742 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-14 23:09:07 +00:00
blacksun
6f01fce254 bugfix, rotate text crash qet
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2741 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-13 20:26:04 +00:00
aitolos
6cc6ef5572 Greek TS update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2740 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-13 20:11:04 +00:00
scorpio810
cb0eda744d After project Was Closed refresh updateActions if new project is open
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2739 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-13 01:40:54 +00:00
abhishekm71
8e50476b03 DXF Export: Multi-line text can be exported
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2738 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-12 17:02:30 +00:00
abhishekm71
ae589a5302 Minor Fix: Division by 0 avoided
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2737 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-12 13:22:16 +00:00
scorpio810
a7d384ea44 Translate comment
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2736 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-12 00:34:06 +00:00
scorpio810
99fa838bdd Minor change: refresh indent
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2735 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-11 22:38:30 +00:00
blacksun
d25e07db7c element text item: element isn't movable by defaut,
for move text we must hold ctrl key


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2734 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-11 18:09:04 +00:00
abhishekm71
8c86ced6df Bug Fix: Extra line in polygon of elements and arcs and ellipses added.
Arcs and ellipses are approximated with circles at present.
Also, element rotation is not supported right now. Needs to be added.



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2733 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-11 08:31:39 +00:00
abhishekm71
ea953c4c4c DXF Export: Added some parts of elements:
1. lines
2. rectangles
3. circles
4. polygons

Coordinate accuracy to be checked. More element parts to be added.




git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2732 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-10 18:25:14 +00:00
scorpio810
9f3120e7f1 Fix previous commits
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2731 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-10 18:17:21 +00:00
scorpio810
ec9a3c83c3 Add sorting the list of report folio
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2730 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-10 17:56:52 +00:00
pawel32640
c4c5267bbf updated polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2729 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-09 20:36:31 +00:00
aitolos
8407f2aded Greek TS update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2728 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-09 20:27:49 +00:00
pawel32640
2d5a45c02b updated polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2727 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-09 11:50:31 +00:00
pawel32640
ff1616c605 updated polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2726 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-09 10:57:35 +00:00
pawel32640
6cffef1451 updated polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2725 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-09 09:34:50 +00:00
silvio
cddc726680 Italian .TS file translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2724 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-09 01:39:16 +00:00
scorpio810
c5f8d6aea4 update English translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2723 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-09 00:57:19 +00:00
scorpio810
89db329636 Update .TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2722 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-09 00:51:15 +00:00
blacksun
f69af2944f bug fix: QET crash when rotate image or text
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2721 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-08 21:06:26 +00:00
blacksun
601e4faaa0 folio report: improve GUI and add unlinkcommand
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2720 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-08 19:27:38 +00:00
pawel32640
ae7e6938d1 updated polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2719 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-08 16:56:29 +00:00
abhishekm71
de10e6cf69 Export to DXF Format partially added. Following entities are exported:
1. Border and title block
2. Diagram independent text items
3. Element text items
4. Conductors

Following entities are not exported right now:
1. Element components
2. Terminals
3. Maybe other things also.

Lot of debugging shall be required.

Thank you




git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2718 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-08 16:55:16 +00:00
scorpio810
3b0f0e1b1b Add new symbols, thanks SuperVinzou
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2717 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-08 13:49:55 +00:00
blacksun
6e58482495 add undo command for linkable element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2716 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-07 20:11:28 +00:00
scorpio810
b1704f8260 refresh demotic directory
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2715 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-07 13:40:32 +00:00
blacksun
51c34b416b Show corresponding diagram to undo/redo action
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2714 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-06 18:21:58 +00:00
scorpio810
38ea0c7ff8 refresh transformer directory 5
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2713 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-06 15:58:31 +00:00
scorpio810
83966fbb1c refresh transformer directory 4
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2712 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-06 15:45:17 +00:00
scorpio810
7e7b64ff19 refresh transformer directory 3
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2711 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-06 15:33:02 +00:00
scorpio810
4dfdfec6df refresh transformer directory 2
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2710 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-06 15:21:40 +00:00
scorpio810
68ddabe907 refresh transformer directory 1
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2709 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-06 03:39:10 +00:00
scorpio810
e42117206f Refresh tree element directory
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2708 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-06 01:07:05 +00:00
scorpio810
871c67cc2b Element translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2707 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-05 21:03:53 +00:00
blacksun
1a83a7f2aa remove undo stack by diagram, and add single undo stack for project
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2706 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-05 15:00:46 +00:00
scorpio810
c7660de89a test
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2705 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-04 16:27:07 +00:00
pawel32640
a3c9a85c04 updated polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2704 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-04 07:25:38 +00:00
pawel32640
255cae3d0d updated polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2703 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-04 07:12:04 +00:00
scorpio810
0664cbf40a Element translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2702 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-04 02:12:49 +00:00
scorpio810
0605a64f57 updated english translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2701 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-04 01:32:12 +00:00
pawel32640
ed4f4d44d0 updated polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2700 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-03 19:25:22 +00:00
pawel32640
12734adcff updated polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2699 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-02 17:29:17 +00:00
silvio
975e78e531 Italian .TS file translation fixing
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2698 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-02 13:16:39 +00:00
silvio
5034745f03 Italian .TS file translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2697 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-02 13:03:27 +00:00
scorpio810
7235c72b7f Update .TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2696 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-02 11:55:47 +00:00
silvio
2d24955fd5 ITA element translation (and some in ENG)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2695 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-02 08:57:31 +00:00
blacksun
c795bf72fc folio report can only be linked to inverted folio report
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2694 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-01 19:21:10 +00:00
scorpio810
c0f1aa735b Add new symbols, thanks Baboune
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2693 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-01 16:39:01 +00:00
blacksun
c58448bf76 update folio report when move diagram position
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2692 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-01 16:28:19 +00:00
scorpio810
b18576895a Refresh report folio elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2691 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-01 12:02:50 +00:00
scorpio810
9b8f617f22 Redraw report folio and delete in.elmt and renvoi_in.elmt
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2690 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-01-01 11:40:17 +00:00
blacksun
cd9e78a49f Electric potential search: folio report are take into account
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2689 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-31 17:01:14 +00:00
blacksun
5ad42fb491 Folio report are save/load in .qet file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2688 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-31 14:39:34 +00:00
blacksun
b7186468d0 forget file from previous commit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2687 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-31 12:53:22 +00:00
blacksun
8adf17b906 revert some change in comit 2675:
Qt use enum for use flags: Qt is a good exemple to make code


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2686 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-31 12:03:36 +00:00
silvio
78bff76471 fixed element translation (ITA) final
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2685 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-31 08:51:18 +00:00
silvio
04960cfb3a fixed element translation (ITA) part2
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2684 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-31 08:46:25 +00:00
silvio
1026ae8fc4 fixed element translation (ITA)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2683 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-31 08:38:07 +00:00
blacksun
d1e11ead59 report element: label update when the linked folio report position change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2682 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-29 22:47:31 +00:00
scorpio810
72ef8a20f2 rename folio report
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2681 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-29 18:39:03 +00:00
blacksun
5fe7286998 folio report can be linked (basic)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2680 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-29 18:37:34 +00:00
blacksun
ea5902fe38 make user text for folio report none editable
Add signal mapper for radiobutton in the folio report dialog


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2679 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-29 18:09:25 +00:00
abhishekm71
04e5961d17 Text color and element color now do not change with background color
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2678 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-29 17:51:01 +00:00
scorpio810
af6091d8b5 Move renvoi directory to element/
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2677 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-29 14:07:26 +00:00
scorpio810
c0262b4fc1 Revert previous commit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2676 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-29 13:39:48 +00:00
blacksun
5eecfedd02 element class: replace enum linkertype by #define (better way for use flags)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2675 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-29 13:27:46 +00:00
abhishekm71
0d37b13dab Diagram View now white and gray, Print always in white
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2674 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-29 13:25:09 +00:00
scorpio810
31a865b5d1 Added Abhishek new patch:
Diagram::background_color is now selectable for white or grey
remove QColorDialog for Background
print dialog is always in white background
Thanks


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2673 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-28 20:39:38 +00:00
blacksun
38e3e26ff8 add class ElementProvider and build small ui for the properties of folio report element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2672 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-28 13:28:27 +00:00
scorpio810
c44f8704f9 Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2671 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-27 04:27:12 +00:00
scorpio810
106b57ba3c Added Abhishek Bansal patch:
Diagram::background_color is now selectable
and make component color reverse color for contrast, thanks Abhishek


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2670 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-26 17:59:58 +00:00
scorpio810
ef4bbdf0e3 Editor: gathering combobox style and line_weight in same layout
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2669 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-26 14:08:35 +00:00
alfredo
3f74b0025d update spanish
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2668 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-25 02:05:41 +00:00
blacksun
3cb9da244b forget file (again)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2667 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-20 21:11:19 +00:00
blacksun
f2472e559d forget file in previous comit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2666 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-20 20:34:45 +00:00
blacksun
7ff6ac4410 add pattern factory/singletton to create different type of element
add two news class for element type : simple and folio report
add an empty tab for the element report in the element properties widget


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2665 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-20 20:30:55 +00:00
alfredo
fa91cead3f update spanish correction minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2664 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-20 14:53:49 +00:00
alfredo
de7610e3b6 update spanish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2663 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-20 14:16:26 +00:00
scorpio810
7ae3842a22 editor element: style selection, change radio button by combobox
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2662 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-19 23:47:57 +00:00
scorpio810
1ec9d9705f Replacing getenv function in Windows, thanks Francisco
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2661 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-19 16:11:52 +00:00
scorpio810
5c3e0d6dc4 Add widget combobox line weight to element editor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2660 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-19 15:22:12 +00:00
blacksun
f4cd3cd58e refresh element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2659 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-18 23:58:49 +00:00
scorpio810
c54818bdea Minor change (indent) and refresh west8010 symbol, thanks David
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2658 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-18 10:50:05 +00:00
alfredo
7ad0ee7a0d update elements -es
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2657 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-10 05:42:02 +00:00
cfdev
3ccaf0e2fd Update habitat example.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2656 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-08 12:41:22 +00:00
silvio
05e52d22dd update elements translation (ITA)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2655 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-05 14:38:30 +00:00
aitolos
b827d64cd2 Greek TS update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2654 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-04 17:17:40 +00:00
silvio
a3979a5c47 update qet_it.ts file translation (ITA)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2653 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-04 10:17:05 +00:00
scorpio810
f4375f978a Minor update italian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2652 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-04 00:04:06 +00:00
scorpio810
356a3d0195 Update english translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2651 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-03 23:58:59 +00:00
pawel32640
ff43ad373e update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2650 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-03 22:04:15 +00:00
scorpio810
a22221daa8 Update .TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2649 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-03 21:33:19 +00:00
silvio
67198cbfad update qet_it.ts file translation (ITA)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2648 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-03 21:00:28 +00:00
blacksun
0b5e205453 add widget for change size of conductor text item
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2647 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-12-03 10:17:49 +00:00
blacksun
6424ce4819 make new element properties dialog (first step for the new dialog)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2646 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-29 14:42:03 +00:00
blacksun
9b1052484e image properties dialog: add hold position option
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2645 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-28 21:25:20 +00:00
cfdev
938ce26b2b Add highlight item on drag element (test it)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2644 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-28 15:36:25 +00:00
scorpio810
8804b7803b Minor change directory
svn move elements/semiconducteurs/condensateurs elements/rlc/
svn move elements/semiconducteurs/resistances elements/rlc/


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2643 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-26 21:05:07 +00:00
scorpio810
19464329e0 Minor changes directory
svn move elements/semiconducteurs/rlc elements/
svn move elements/semiconducteurs/inductances elements/rlc/



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2642 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-26 20:58:50 +00:00
aitolos
c2c76a19b2 Greek man file- minor update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2641 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-26 17:37:45 +00:00
aitolos
436f86c953 Elements-Update Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2640 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-26 16:44:22 +00:00
pawel32640
3659aa483d adding terminals to the elements knx
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2639 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-25 15:41:58 +00:00
blacksun
c2ac7227b1 change the way for apply new conductor property to all potential
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2638 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-23 13:21:29 +00:00
pawel32640
811f65f06c correct errors in the elements :-( x3
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2637 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-22 14:53:28 +00:00
scorpio810
fae0bfcbbb Update english translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2636 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-22 14:15:00 +00:00
scorpio810
3dd6469861 Add new symbols, thanks Pawel
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2635 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-22 09:26:33 +00:00
blacksun
73bf32a640 when change a propertie of conductor, ask for apply the change for each conductor of the same potential
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2634 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-21 21:34:49 +00:00
silvio
8496b000d1 update element translation (ITA)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2633 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-21 18:58:12 +00:00
cfdev
f71c4db093 Update number and name to the editor: Work now!
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2632 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-21 16:25:56 +00:00
cfdev
ef1d789311 Update number and name support to terminal class
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2631 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-21 16:24:55 +00:00
pawel32640
6f39b03db5 Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2630 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-21 09:49:18 +00:00
pawel32640
d531b7b8cb updated Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2629 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-20 20:57:04 +00:00
cfdev
7c26e88fdb Add elements (Laurent check it if you have some time...)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2628 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-20 17:22:05 +00:00
pawel32640
1ddf500946 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2627 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-20 09:05:47 +00:00
cfdev
5954a0b627 Update of terminal class compatibility
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2626 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-19 17:39:55 +00:00
pawel32640
ed4ebacd74 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2625 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-19 11:54:53 +00:00
pawel32640
c6e4701212 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2624 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-19 11:45:35 +00:00
scorpio810
9399e490a4 Update man files* and CREDIT
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2623 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-17 13:33:16 +00:00
pawel32640
25e308d847 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2622 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-17 09:53:20 +00:00
pawel32640
b2f3cc73d3 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2621 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-16 20:25:04 +00:00
pawel32640
53d2b25e5d polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2620 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-16 19:52:49 +00:00
pawel32640
77ad0eab1e polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2619 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-16 19:41:35 +00:00
cfdev
44f32ed46e EditorElement: try to add number and name GUI...so hard! why is it so complicated?!
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2618 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-16 19:20:15 +00:00
cfdev
f1f5409cbe Add name property to terminal
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2617 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-16 16:53:46 +00:00
cfdev
97889c68a0 Add schema_indus example
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2616 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-15 17:25:45 +00:00
silvio
af54cd3be8 update element translation (ITA)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2615 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-14 10:42:42 +00:00
silvio
35f22fdb34 update element translation (ITA)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2614 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-14 10:26:41 +00:00
scorpio810
971ce1facb Merge sources dir branch devel to trunk
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2613 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-14 10:11:22 +00:00
silvio
434849c3eb update element translation (ITA)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2612 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-14 09:55:08 +00:00
scorpio810
bc91230602 Add new symbols, thanks Pawel
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2611 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-14 08:19:11 +00:00
cfdev
7541214038 Update number of terminal, add new constructor and setNumber function.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2610 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-13 11:55:27 +00:00
cfdev
319ef76b86 Start work to add number for terminal
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2609 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-12 18:43:59 +00:00
cfdev
725fcd00a5 Update all user to start menu
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2608 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-11 16:15:43 +00:00
silvio
e68f96f7f6 update element translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2607 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-10 20:57:01 +00:00
scorpio810
3dc413a2b9 Add new symbol, thanks Chajo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2606 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-10 17:20:59 +00:00
scorpio810
cda3b622b9 Update changelog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2605 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-10 13:02:44 +00:00
scorpio810
e50d0af061 Refresh changelog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2604 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-10 11:17:18 +00:00
alfredo
f31532b3c3 update elements spanish
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2603 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-10 05:35:29 +00:00
silvio
271040860e update element translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2602 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-08 20:58:12 +00:00
scorpio810
191054d509 Add new symbols, thanhs Chajo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2601 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-08 20:34:11 +00:00
silvio
92fd17ecdf update element translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2599 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-07 14:24:02 +00:00
scorpio810
f9376a11ea Add new symbols, thanks Morvion
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2595 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-06 18:44:39 +00:00
scorpio810
9125f87d9c Add new symbol, thanks Renaud
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2594 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-06 13:19:13 +00:00
cfdev
4f882aa178 fixed syntax error, since revision 2585
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2593 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-11-05 17:11:01 +00:00
silvio
a29396aa8f fixed mistake in translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2590 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-10-28 15:09:58 +00:00
silvio
04b11cf97b update element translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2589 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-10-28 14:48:03 +00:00
scorpio810
6240bea2cc Revert revision 2578
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2586 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-10-26 11:51:46 +00:00
blacksun
a21b1782d2 handle drag and drop of text (html work to)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2585 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-10-26 11:46:59 +00:00
alfredo
f091659c35 update elements-es
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2584 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-10-25 04:55:04 +00:00
scorpio810
3292ad62ed Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2583 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-10-23 17:57:44 +00:00
scorpio810
5bdffe5ea5 Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2582 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-10-23 17:54:40 +00:00
scorpio810
a12cd16a39 Add new symbols, thanks David
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2581 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-10-23 17:36:52 +00:00
scorpio810
cd2e8b69de Update contributors
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2579 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-10-21 12:04:03 +00:00
blacksun
c53199755b start work to use system icon (only available on x11)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2578 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-10-21 09:48:27 +00:00
blacksun
396fbeac19 fix minor graphics bug with new element wizard
on windows vista and 7 with the Aero style.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2577 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-10-20 17:22:33 +00:00
alfredo
70655d4f42 update elements qet
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2576 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-10-20 05:17:12 +00:00
silvio
77072fc312 update element translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2575 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-10-16 21:18:28 +00:00
blacksun
c7d70d35a5 fix memory leak (pointer not deleted)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2574 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-10-16 19:10:11 +00:00
blacksun
842bbd1cd9 Better bug fix for dash dot line
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2573 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-10-16 18:47:14 +00:00
cfdev
a239d87e20 Update nsi script for All user shortcut
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2572 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-10-16 10:53:07 +00:00
scorpio810
dcb8a864dc Fix dashdotted primitives, add new symbol thanks Renaud
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2571 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-10-15 19:48:09 +00:00
scorpio810
3c0d526401 Minor fix to dashdotted primitives
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2570 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-10-15 10:17:32 +00:00
scorpio810
ba6e19a810 Delete Xavier in aboutqet.cpp
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2569 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-10-13 19:07:15 +00:00
jonasstein
60e40385aa translate main menu
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2568 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-10-03 20:38:26 +00:00
silvio
49f6ee4359 fixed qet_it.ts translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2567 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-29 15:18:40 +00:00
scorpio810
9134392794 Add catalan translator
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2566 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-29 14:01:24 +00:00
scorpio810
fd3f91e11a prepare to tag 0.3 release
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2563 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-28 10:49:55 +00:00
blacksun
d314ed68c6 bug fix, diagramContent: fix the bug about & and ==
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2558 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-26 09:27:55 +00:00
silvio
0890de4505 update qet_it.ts file italian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2557 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-26 05:54:26 +00:00
alfredo
9a03e014d0 update elements spanish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2556 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-23 06:07:35 +00:00
alfredo
eb91fa4d67 update spanish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2555 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-23 05:24:43 +00:00
silvio
6e1b3c7d2b fixing elements translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2554 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-21 13:46:27 +00:00
blacksun
195494cf83 element editor bug fix:
at save, if element aren't drawn at the origin point (red cross),
we move element to the nearest point of origin


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2553 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-21 13:09:23 +00:00
msouabni
8f534a0548 Update Arabic translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2552 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-21 07:25:37 +00:00
silvio
4d5c0ca8ec update elements translation pl_cs_pt_es_it_el
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2551 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-20 07:54:28 +00:00
scorpio810
bc4a23329b Fix regression in context menu edit image
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2550 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-19 21:53:28 +00:00
scorpio810
758502c2dc Fix regression
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2549 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-19 19:34:26 +00:00
scorpio810
a19b917217 Add new symbols, thanks Ludo-43
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2548 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-19 17:38:02 +00:00
scorpio810
1cdc0913cb Fix regression for text and image
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2547 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-19 16:33:02 +00:00
scorpio810
58b2cc37ec Fix regression in diagramcontent introduced by revision 2459 affecting selection_prop: a dialog describing the selection, thanks Pawel for report bug
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2546 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-19 16:16:25 +00:00
blacksun
eae024ebce fix warning at compil
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2545 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-17 20:48:15 +00:00
blacksun
8201daa564 element editor: improve context menu and fix the end of polygon
diagram: fix memory leak


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2544 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-17 20:14:30 +00:00
cfdev
7a9b1a81bb Add Habitat sample
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2543 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-16 10:48:07 +00:00
scorpio810
5461ff64a5 Update french translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2542 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-15 17:48:39 +00:00
jonasstein
dcd6703a0e more translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2541 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-15 17:42:10 +00:00
jonasstein
5d35e75fae translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2540 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-15 17:11:45 +00:00
scorpio810
d12793e95b Element editor context menu: adding a submenu
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2539 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-15 11:21:07 +00:00
silvio
c43ca7c5b9 update italian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2538 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-15 06:41:52 +00:00
pawel32640
4444e85786 minor changes in the Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2537 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-14 20:48:36 +00:00
scorpio810
e6f082f6af Fix hotspot auto when importing element in the draw area
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2536 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-14 19:44:07 +00:00
scorpio810
74354275f3 Element editor update context menu end
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2535 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-14 14:42:24 +00:00
scorpio810
1e7f23ec58 Element editor update context menu.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2534 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-14 13:36:06 +00:00
scorpio810
f7973f43ae Element editor: add context menu
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2533 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-14 13:11:32 +00:00
pawel32640
58fd905ed0 minor changes in the Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2532 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-14 07:39:40 +00:00
scorpio810
ab0afb7596 Element editor: disable zoomFit after paste a primitive.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2531 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-14 03:29:35 +00:00
pavelfric
87ceb1781e Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2530 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-13 19:03:16 +00:00
pavelfric
32236c4324 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2529 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-13 18:36:51 +00:00
pawel32640
fa02fd234f minor changes in the Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2528 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-12 17:25:38 +00:00
pawel32640
4f58388ea7 minor changes in the Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2527 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-12 17:20:10 +00:00
pawel32640
024a47b349 minor changes in the Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2526 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-12 17:02:51 +00:00
scorpio810
36de201d21 Add Lancer QET.bat for windows packaging.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2525 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-12 16:48:34 +00:00
blacksun
c060e03007 minor change to slot_UpdateComplexAction
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2524 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-12 13:42:31 +00:00
scorpio810
b62969b1c0 Add pavel patch
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2523 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-11 22:03:17 +00:00
pawel32640
e48b6827ca Polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2522 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-11 18:49:20 +00:00
scorpio810
fdc895a91d Add remi collet patch, thanks.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2521 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-11 17:49:27 +00:00
scorpio810
009043fe0a Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2520 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-11 16:22:27 +00:00
scorpio810
5616d42582 Delete icon.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2519 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-11 16:01:00 +00:00
scorpio810
4dfd3caee3 Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2518 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-11 15:59:11 +00:00
scorpio810
57ccbe387b Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2517 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-11 15:48:46 +00:00
scorpio810
0b30ded795 Add news icons.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2516 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-11 15:30:49 +00:00
pawel32640
e3a762411d Polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2515 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-11 14:19:38 +00:00
aitolos
3c402bce70 Update Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2514 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-11 14:01:28 +00:00
pawel32640
45b13fedff Polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2513 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-11 13:37:41 +00:00
silvio
39edb9862e update italian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2512 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-11 11:20:14 +00:00
scorpio810
dac736507f Updated english translation.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2511 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-11 10:58:25 +00:00
scorpio810
d739e65cf2 Refresh .TS files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2510 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-11 10:50:54 +00:00
aitolos
a7c328e15a Update Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2509 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-10 14:44:55 +00:00
blacksun
7cfb83d350 add edit image to context menu
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2508 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-10 14:44:25 +00:00
scorpio810
95a399c2b7 Refresh .qm files and minor changes.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2506 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-10 12:31:42 +00:00
scorpio810
a1f43476f9 Correct qelectrotech.pro for compil fix.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2505 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-10 11:17:52 +00:00
scorpio810
3b25f2a728 Refresh readme.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2504 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-10 10:01:51 +00:00
scorpio810
bdba3eb7f2 Add remi collet patch.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2503 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-10 09:46:49 +00:00
pawel32640
8f31949143 Polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2502 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-09 19:47:42 +00:00
scorpio810
0e2f55cb30 Update qelectrotech.appdata.xml.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2501 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-09 16:25:44 +00:00
scorpio810
1977a9ea65 Tag version to release candidate.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2500 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-09 14:27:17 +00:00
scorpio810
6a163b5efc Add qelectrotech.appdata.xml for fedora packaging.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2499 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-09 14:08:09 +00:00
blacksun
8e5f4762e8 diagram image: add undo/redo command and save/load to .qet file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2498 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-09 13:29:28 +00:00
scorpio810
17661b561a Moving parts.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2497 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-09 13:20:57 +00:00
scorpio810
ea626ef0fb Moving parts.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2496 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-09 12:46:03 +00:00
pawel32640
acfa9a1600 Polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2495 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-09 05:49:37 +00:00
scorpio810
1cf0d28824 Moving parts.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2494 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-08 17:15:33 +00:00
scorpio810
1259957439 Moving parts.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2493 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-08 16:59:01 +00:00
scorpio810
5d5bc9adb8 Moving parts.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2492 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-08 16:38:07 +00:00
scorpio810
297b0a056d Moving parts.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2491 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-07 17:27:03 +00:00
scorpio810
cff63421ec Moving parts.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2490 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-07 12:53:52 +00:00
scorpio810
5658a24b40 Moving parts.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2489 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-07 12:48:27 +00:00
blacksun
e497ef8af8 image can be resized (not undo command and save to xml yet)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2488 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-06 17:14:10 +00:00
pawel32640
69804303ac Polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2487 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-06 13:41:04 +00:00
scorpio810
8cc2494f40 Moving parts.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2486 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-06 13:17:14 +00:00
scorpio810
47838033b3 adding a new category and moving parts.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2485 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-06 13:12:51 +00:00
scorpio810
35c8dbedc1 Refresh symbols.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2484 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-06 13:00:53 +00:00
scorpio810
0ece473e0c Add news symbols, thanks Fabio.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2483 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-05 20:12:28 +00:00
silvio
bef9e6ef6b fix in the element translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2482 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-05 12:55:06 +00:00
alfredo
f1ef9704af update elements-es
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2481 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-04 04:06:34 +00:00
scorpio810
e5b2753027 Delete blocs_de_securite directory and add new symbols thanks Renaud.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2480 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-03 18:03:40 +00:00
pawel32640
fee708df55 English translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2479 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-03 12:21:06 +00:00
silvio
d909802410 translation fix of elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2478 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-03 11:56:07 +00:00
scorpio810
e264a767b4 move files to the "Sécurité des machines"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2477 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-03 11:42:13 +00:00
blacksun
282faadf05 improve the copy/paste of DiagramImageItem
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2476 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-02 12:30:28 +00:00
silvio
e91ee7b171 Italian translation of .ts file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2475 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-09-01 07:28:14 +00:00
alfredo
f4847f184b update spanish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2474 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-29 04:12:23 +00:00
pawel32640
40b15a3611 adding a new category and moving parts - not completed
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2473 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-28 09:35:01 +00:00
pawel32640
40e00af707 adding a new category and moving parts - not completed
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2472 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-28 08:11:16 +00:00
pawel32640
bdc35dd71a adding a new category and moving parts - not completed
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2471 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-28 08:11:03 +00:00
pawel32640
d2f8bf59c0 adding a new category and moving parts - not completed
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2470 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-28 08:10:44 +00:00
pawel32640
9e16a6f507 adding a new category and moving parts - not completed
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2469 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-27 19:45:45 +00:00
pawel32640
a8129525c5 move elements - not completed
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2468 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-27 15:10:08 +00:00
pawel32640
524a4f4a2a move elements - not completed
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2467 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-27 14:50:19 +00:00
pawel32640
7d4beac7f4 adding a new category and moving parts - not completed
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2466 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-27 14:17:28 +00:00
pawel32640
2a118229f0 adding a new category and moving parts - not completed
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2465 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-27 14:08:27 +00:00
pawel32640
f851e7958a adding a new category and moving parts - not completed
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2464 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-27 14:05:15 +00:00
blacksun
de6d7b09be bugfix: the enum 'ALL' was never handled
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2463 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-25 22:28:06 +00:00
blacksun
06a5505162 dialog autonum: when open the dialog the showed autonum is the current diagram
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2462 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-25 21:48:12 +00:00
aitolos
05f0c7b827 Elements, Update Greek Translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2461 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-25 17:56:36 +00:00
aitolos
9e9c3ca589 Update Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2460 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-25 14:24:55 +00:00
blacksun
e3110b2bb3 replace & by ==, to better handle content
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2459 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-25 11:55:23 +00:00
blacksun
21a8dfc640 revert some change at the comit 2445 and change the autonum entry in the ContextMenuEvent
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2458 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-25 10:38:26 +00:00
pavelfric
0ff299b337 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2457 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-24 19:04:39 +00:00
pawel32640
90b38fe99b Polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2456 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-24 18:19:24 +00:00
silvio
6e47837a72 fixed Italian translation of new .ts file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2455 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-24 18:08:27 +00:00
silvio
0f774b2e74 Italian translation of new .ts file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2454 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-24 18:01:38 +00:00
scorpio810
cc68146cd5 Update english translation.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2453 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-24 17:42:24 +00:00
scorpio810
626e0168dc Update TS files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2452 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-24 17:30:14 +00:00
blacksun
4420d104ae change zvalue of conductor at 9, to be at bottom of element (it's better to grab terminal)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2451 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-24 16:52:11 +00:00
blacksun
6ba45839ed fix the bug when drag a image item
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2450 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-24 15:32:07 +00:00
scorpio810
0b9adb77d5 Merge branch 0.4 import image to trunk
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2449 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-24 15:18:45 +00:00
alfredo
33e2dc5c00 update spanish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2442 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-21 04:17:54 +00:00
pawel32640
29ee408563 Minor changes and moving parts
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2438 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-19 16:31:29 +00:00
alfredo
27fea43daf update elements-es translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2437 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-19 04:07:39 +00:00
scorpio810
e1615b7fb3 Submitted polish translation removed by previous commit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2436 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-18 21:55:19 +00:00
alfredo
8f01305faa elements-es translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2435 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-18 20:43:03 +00:00
msouabni
a1366b452e Update arabic translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2434 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-18 12:28:49 +00:00
msouabni
50e89ca350 Update arabic translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2433 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-18 10:16:44 +00:00
pavelfric
a1f8f6eca1 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2429 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-15 21:15:43 +00:00
silvio
4ad9446e8f Italian translation of new .ts file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2428 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-15 20:45:08 +00:00
silvio
7f57174cf3 Italian translation of new .ts file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2427 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-15 20:33:35 +00:00
pawel32640
77700e830a Polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2426 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-15 18:58:29 +00:00
scorpio810
a596787e74 Add new symbols, thanks arnaudG.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2425 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-15 11:56:47 +00:00
pavelfric
fc2658e53f Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2422 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-11 08:01:17 +00:00
scorpio810
7fb899241f Update installer/uninstaller system script
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2421 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-10 14:07:16 +00:00
scorpio810
5226e97343 Add new Languages avalable in installer/uninstaller Windows system
version update 0.3b


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2420 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-10 13:07:23 +00:00
blacksun
835288f02f element editor: improve the drag of the scene with wheel click
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2419 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-08 19:58:15 +00:00
scorpio810
5523d06d8a Add new symbols, thanks arnaudG.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2418 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-07 12:01:05 +00:00
aitolos
b178f8ebf7 Update Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2417 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-05 18:03:46 +00:00
aitolos
ab34f64ef9 Update Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2416 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-05 17:56:13 +00:00
pawel32640
76dd1279cb update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2415 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-05 17:11:22 +00:00
silvio
f44ec801f8 Italian translation of new .ts file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2414 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-05 16:55:06 +00:00
scorpio810
0837032730 Refresh .TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2413 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-05 16:29:57 +00:00
jonasstein
329b5386b0 translate DE and EN
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2412 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-05 14:25:32 +00:00
pawel32640
47d30acb0f update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2411 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-05 13:47:25 +00:00
blacksun
302b519dfb Remove file and code, because unused with the new auto hotspot
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2410 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-05 13:20:57 +00:00
jonasstein
797d5200ba german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2409 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-03 21:33:08 +00:00
blacksun
006d117edc element editor bugfix: when close the editor and a primitive have focus, qet crash
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2408 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-03 12:00:32 +00:00
blacksun
c0920f1118 element editor: improve the autosize of element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2406 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-08-01 23:17:39 +00:00
pavelfric
f72aa65d7e Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2405 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-31 20:52:24 +00:00
silvio
4a65902dd0 Italian translation of new elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2404 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-29 06:41:44 +00:00
scorpio810
395cf12e3c Add new symbols, thanks arnaudG.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2403 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-28 23:08:47 +00:00
blacksun
2d0bdb72f0 previous comit was wrong, this is good bugfix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2402 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-28 22:48:36 +00:00
blacksun
ee02965880 element editor bugfix: after reload element, add a primitive crash qet
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2401 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-28 21:55:02 +00:00
scorpio810
20f37a2595 Element editor: disable action reload temporarily, elements after reload action are not editable.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2400 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-28 14:42:24 +00:00
scorpio810
2306413b64 Disable checkElement in slot_save.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2399 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-28 13:09:17 +00:00
blacksun
ef124bbdeb element editor: start work to define automatically the size of element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2398 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-28 00:23:10 +00:00
pavelfric
8d77d7040b Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2397 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-27 07:45:35 +00:00
aitolos
e279bd8d81 Elements, Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2396 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-25 17:30:12 +00:00
pawel32640
57dabad06c update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2393 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-22 03:13:02 +00:00
pawel32640
cfd1d66946 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2392 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-17 19:36:03 +00:00
pawel32640
f19bbd9f79 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2391 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-17 18:43:09 +00:00
pawel32640
7469a505ff update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2390 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-17 18:40:46 +00:00
pawel32640
d0f0544774 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2389 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-17 18:36:16 +00:00
pawel32640
ab64835b89 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2388 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-15 19:02:36 +00:00
alfredo
289341e9fa qet_translation es.ts
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2387 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-15 02:03:10 +00:00
jonasstein
0a35dd12e6 more translations and some corrections
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2386 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-14 12:18:20 +00:00
aitolos
95e6f4a724 Elements, Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2385 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-12 17:58:26 +00:00
silvio
d02c250b76 Element & .ts file italian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2382 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-07 19:47:21 +00:00
scorpio810
1c4f78eae6 Updated translations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2380 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-06 22:25:24 +00:00
scorpio810
96c13f6338 Updated translations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2379 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-06 22:18:58 +00:00
aitolos
9e4b94dd42 Update Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2378 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-06 18:33:17 +00:00
scorpio810
a74a991aaf Updated TS files & updated english translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2377 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-05 19:09:43 +00:00
blacksun
ead766ac90 autonum: add help dialog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2376 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-05 18:53:11 +00:00
scorpio810
1bb6ae67a0 Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2375 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-05 17:32:35 +00:00
aitolos
30be5ddc2e Update elements, Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2374 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-04 19:07:09 +00:00
aitolos
8d38a42f6a Greek translation for Imported elements folder
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2373 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-04 16:15:51 +00:00
scorpio810
b67be92ce8 minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2372 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-04 15:55:06 +00:00
scorpio810
a4b2bcb34a Minor change update element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2371 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-04 15:52:17 +00:00
aitolos
e332517260 Elements, update Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2370 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-03 17:06:58 +00:00
scorpio810
4a71fde4c3 Updated french translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2369 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-02 16:11:09 +00:00
silvio
4e3fac78b8 IT element translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2368 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-01 14:43:34 +00:00
aitolos
a37df72fd1 Elements, Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2367 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-07-01 14:06:10 +00:00
scorpio810
3e7a6ff04e Add new category Auxiliary contacts and updated french translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2366 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-30 20:35:21 +00:00
pawel32640
83c14ebb4e add new elements - need a new category -> Auxiliary contacts ???
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2365 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-30 19:15:09 +00:00
pawel32640
42a4820fef add new elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2364 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-30 19:13:28 +00:00
pawel32640
6663ac0476 add new elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2363 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-30 19:12:03 +00:00
pavelfric
c10c99fa4c Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2362 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-30 17:08:58 +00:00
silvio
2241149ac7 IT element translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2361 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-29 17:55:18 +00:00
aitolos
31dc4ddeb0 minor update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2360 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-29 14:04:19 +00:00
scorpio810
1822cd3cb1 setvisible to disable checkbox hotspot_sync
one for remove bug in element editor after un move hotspot_sync, selection is not focused on primitives
two is not specialy used
and for future auto boudinrect hotspot


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2359 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-28 21:50:48 +00:00
msouabni
f9a47b4a47 Elements Arabic Translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2358 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-28 19:53:45 +00:00
msouabni
ac5f46cb8e Element Arabic translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2357 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-28 19:51:52 +00:00
msouabni
cc2ab44b72 Elements Arabic translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2356 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-28 19:49:34 +00:00
msouabni
b3f5b78dbc Elements Arabic Translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2355 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-28 19:34:25 +00:00
aitolos
d96e914a79 Add new elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2354 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-28 17:53:52 +00:00
blacksun
372a7610f7 autonum widget: if user change type (old type numeric to new type numeric) the value field isn't erase
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2353 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-28 11:29:36 +00:00
aitolos
7c6e50177f Elements, Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2352 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-27 18:43:31 +00:00
blacksun
238115df84 config autonum widget: minor change about enable/disable apply button
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2351 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-27 14:02:59 +00:00
aitolos
5151fb9d1f Elements, Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2350 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-26 19:43:47 +00:00
scorpio810
90d4de7acb Refresh symbol, thanks Renaud
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2349 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-26 11:37:04 +00:00
scorpio810
f7e7f85fb0 Add new symbol, thanks Renaud rafart.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2348 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-26 11:15:34 +00:00
aitolos
52722b8b94 Elements, Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2347 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-25 17:22:19 +00:00
scorpio810
3de37e1fd6 Cosmetic: in about Qet change windows size (setMinimumHeight) because all translators aren't visible by default.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2346 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-24 23:42:33 +00:00
scorpio810
e82cbc7895 Add Shortcut Qt::Key_F5 on reload button in elementpanelwidget
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2345 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-24 20:18:20 +00:00
aitolos
d07d856276 update Greek translation + elements translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2344 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-24 18:03:00 +00:00
scorpio810
ba904feced element translation and corrected minor error
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2343 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-24 17:34:55 +00:00
silvio
eb9a154bfe element translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2342 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-24 17:15:41 +00:00
aitolos
d4d586654e Add thumbnail, General Purpose Relay
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2341 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-24 16:48:14 +00:00
msouabni
b48c3f7135 Update Arabic translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2340 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-24 16:11:34 +00:00
aitolos
451bfe40af Update Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2339 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-24 14:35:16 +00:00
silvio
e7556c6b37 qet_it.ts fixed translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2338 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-24 09:57:10 +00:00
blacksun
c40d5d8434 minor change, don't increase autonum if conductor isn't a "Multi"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2337 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-24 09:36:05 +00:00
silvio
9a485ac7c7 qet_it.ts translation -typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2336 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-24 07:31:48 +00:00
silvio
0db9c3697c qet_it.ts translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2335 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-24 07:28:12 +00:00
pawel32640
c0d4f157f4 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2334 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-24 05:55:59 +00:00
scorpio810
71a79d0982 Update .TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2333 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-23 21:36:35 +00:00
silvio
67c9c23f28 new elements italian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2332 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-23 21:06:03 +00:00
blacksun
df16f13c86 editor element: color selection, change radio button by combobox
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2330 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-23 19:16:14 +00:00
scorpio810
e0aecf746b delete Multiple translation in elements/energie/solaire/qet_directory
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2329 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-23 16:23:20 +00:00
aitolos
0283ce7fbf elements, Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2328 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-23 15:02:45 +00:00
aitolos
9a31f4f09b typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2326 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-23 12:04:07 +00:00
scorpio810
357c6a0f41 update french translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2324 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-22 19:55:52 +00:00
aitolos
751df102ae elements, Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2323 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-22 18:39:09 +00:00
pawel32640
844b009aed update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2322 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-22 18:35:19 +00:00
aitolos
0881db830f new elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2321 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-22 15:56:08 +00:00
pawel32640
bfb7b253b7 add new elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2320 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-22 13:24:13 +00:00
pawel32640
6a50071bc0 update Polish translation, add new elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2319 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-22 13:22:05 +00:00
jonasstein
0f4f405a2e more translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2318 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-22 10:30:29 +00:00
pawel32640
1d690e1a51 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2317 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-21 19:44:49 +00:00
pawel32640
b591e8d97a update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2316 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-21 19:17:30 +00:00
scorpio810
d85bfdb8e5 Update translations_stat.pl
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2314 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-21 14:09:22 +00:00
jonasstein
c7aad59ff1 some fixes in DE and EN
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2312 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-20 23:12:36 +00:00
scorpio810
a097f1e0f7 Update translations_stat script
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2311 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-20 22:11:38 +00:00
scorpio810
a15a042178 Add new german translator: Noah Braden
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2310 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-20 22:01:32 +00:00
scorpio810
f69a983d6c Refresh qet_de.ts, qqet_en.ts files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2309 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-20 21:52:39 +00:00
jonasstein
731d473832 translation by Noah
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2308 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-20 21:30:00 +00:00
aitolos
a117727594 elements, Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2307 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-20 18:31:12 +00:00
scorpio810
b97d229dc3 Updated english translation.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2306 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-20 05:58:05 +00:00
scorpio810
d0a77a0f61 delete Multiple translation in elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2305 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-20 04:18:29 +00:00
scorpio810
49c1bcba7c minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2304 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-20 03:55:07 +00:00
scorpio810
c4a467fe4d Refresh qet_de.ts
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2303 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-20 03:51:54 +00:00
blacksun
9f07f5ad1d fix minor bug with the undo/redo of conductor text item
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2302 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-19 21:40:28 +00:00
aitolos
c4bcc6fed7 elements, Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2301 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-19 20:00:30 +00:00
jonasstein
3a2600c209 upload translations by Noah
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2300 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-19 18:35:23 +00:00
pawel32640
6a25b34593 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2299 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-19 18:22:32 +00:00
scorpio810
4097b78d5d minor change in qet.h
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2298 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-19 17:42:30 +00:00
msouabni
cf31e6ea67 Update Arabic version
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2297 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-19 17:39:05 +00:00
silvio
2b1f81b8a0 trunk/misc italian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2296 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-19 17:36:54 +00:00
pavelfric
e2e6783128 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2295 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-19 16:55:10 +00:00
silvio
90a5fc9427 .ts file italian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2294 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-19 15:40:33 +00:00
scorpio810
75e59168d4 Updated TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2293 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-19 15:34:43 +00:00
aitolos
a9232b58d1 element, Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2292 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-18 17:06:06 +00:00
aitolos
ab2cedc687 element, Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2291 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-18 17:01:40 +00:00
scorpio810
5cb3c5f32f Updated date in aboutqet
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2290 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-18 11:25:37 +00:00
scorpio810
e8e0fc008a Refresh qet_*.qm
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2289 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-18 11:16:37 +00:00
scorpio810
c71ed69342 Updated Copyright 2006-2013
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2288 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-18 11:10:19 +00:00
scorpio810
b990df8b6e prepare to tagg beta
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2286 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-18 08:48:16 +00:00
silvio
404e792765 organigramme italian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2284 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-17 08:46:19 +00:00
aitolos
0db2b05427 refine Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2283 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-16 14:46:06 +00:00
aitolos
2553fb3bb2 complete and refine Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2282 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-16 14:39:33 +00:00
jonasstein
2b19f8a7e3 german translation added
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2281 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-16 11:59:31 +00:00
jonasstein
3b7d9acd65 more german translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2280 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-16 11:51:35 +00:00
aitolos
ba24516ad1 New elements, Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2279 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-16 11:08:01 +00:00
jonasstein
ce7deb6479 translated section polygon and more to german
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2278 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-16 09:21:46 +00:00
pavelfric
dd7b73b81c Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2277 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-16 08:48:30 +00:00
scorpio810
0ab769d8c2 qetelementeditor: added warnings when close editor if primitives seem to be out of the element bordenow and change method
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2276 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-16 05:36:57 +00:00
pawel32640
28026ddac0 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2275 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-15 18:55:47 +00:00
scorpio810
c715be438a Add new symbols, thanks Ezza
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2274 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-15 17:06:42 +00:00
scorpio810
461d8fe16e element editor: remove the possible bypass action by close window when save element
if seem to be out of the element bordenow, now check and don't save same if user responds yes,
it now close editor and don't save element .
Cette ligne, et les suivantes ci-dessous, seront ignorées--

M    sources/editor/qetelementeditor.cpp


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2273 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-15 16:40:41 +00:00
aitolos
9022f36231 examples, clean up the unused elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2272 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-15 15:25:17 +00:00
scorpio810
595a2e00d4 Fix compil error
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2271 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-15 09:33:18 +00:00
jonasstein
12235a3e31 more german and english translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2270 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-14 19:07:31 +00:00
aitolos
6736133fbb elements, Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2269 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-14 18:15:08 +00:00
aitolos
2c8e5cb20b man page, Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2268 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-14 15:52:54 +00:00
scorpio810
eb920104d5 Refresh qetelementeditor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2267 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-14 08:27:11 +00:00
aitolos
d5484536e2 Typo in Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2266 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-13 20:03:35 +00:00
aitolos
364e43b251 elements, Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2265 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-13 19:52:28 +00:00
blacksun
1a3462d9b4 now ConductorTextItem rotation is only save to XML if he was rotate by user
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2264 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-13 18:01:35 +00:00
blacksun
6b3f027625 define if conductor text item was moved by user or not by the weel orientation widget
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2263 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-13 17:42:37 +00:00
blacksun
5d06054d1a fix a 'warning' at compilation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2262 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-13 17:06:37 +00:00
scorpio810
2822c7c51f qetelementeditor check element if it seem to be out of the element border and set all actions save to disable.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2261 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-13 11:36:19 +00:00
jonasstein
d784952bf1 use lang="C" first time
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2260 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-12 21:32:43 +00:00
jonasstein
f802df380a more german words
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2259 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-12 19:30:49 +00:00
aitolos
6b29b3b987 elements, Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2258 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-12 18:14:58 +00:00
aitolos
33ac731ddc GREDIT, Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2257 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-12 16:18:07 +00:00
scorpio810
ffc95786b8 CREDIT change link not be found
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2256 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-12 08:21:47 +00:00
silvio
02db238fe1 fixed email address
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2255 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-12 08:19:17 +00:00
silvio
82455b79f1 fixed CREDIT English version
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2254 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-12 08:12:23 +00:00
scorpio810
a2ddde4603 Refresh CREDIT , thanks silvio for your fixes ;-)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2253 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-12 07:58:27 +00:00
silvio
374500d4c6 CREDIT italian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2252 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-12 07:46:03 +00:00
scorpio810
762f28f9d4 refresh CREDIT and aboutqet added all new translators
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2251 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-12 07:06:30 +00:00
scorpio810
7058fcfd87 Added warnings if disable every save if a primitive is out of the hospot
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2250 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-11 18:56:30 +00:00
aitolos
fc0a096e89 Greek translation, elements etc
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2249 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-11 16:56:07 +00:00
blacksun
929c185525 element editor: disable every save if a primitive is out of the hospot
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2248 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-11 16:48:15 +00:00
scorpio810
fdcf1e3608 Refresh qetelementeditor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2247 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-11 16:27:16 +00:00
scorpio810
03672b8046 Add method to don't save, save as save to file a element if it seem to be out of the element border (hotspot).
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2246 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-11 16:15:29 +00:00
aitolos
09022db51a Greek translation, root dir files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2245 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-11 14:31:18 +00:00
scorpio810
a830d61bd8 Add method to don't save a element if it seem to be out of the element border (hotspot).
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2244 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-11 10:30:01 +00:00
pawel32640
20c72d0067 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2243 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-11 10:19:03 +00:00
silvio
2466dda913 update italian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2242 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-11 10:03:48 +00:00
scorpio810
06afc1cdcc Updated Greek Translation, thanks Yannis
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2241 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-11 04:35:39 +00:00
jonasstein
1e3c048b20 DE translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2240 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-10 21:08:17 +00:00
scorpio810
d4ffd468cb Update Greek translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2239 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-10 06:17:18 +00:00
silvio
a47c71cfc7 Updated element translation italian
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2238 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-09 21:29:38 +00:00
jonasstein
f6af15c287 translate DE
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2237 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-09 20:29:39 +00:00
jonasstein
9a281e46ca german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2236 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-09 20:16:30 +00:00
jonasstein
2dc48a2103 add domnestic oven
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2235 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-09 20:06:19 +00:00
jonasstein
a2ea1c147e remove dupe
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2234 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-09 19:55:26 +00:00
jonasstein
37eb4caeb1 tidy up
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2233 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-09 19:53:58 +00:00
jonasstein
6999e506d2 tidy up
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2232 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-09 19:52:59 +00:00
jonasstein
a16ffb294e tidy up pilz folder
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2231 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-09 19:50:49 +00:00
blacksun
674177d9fa forget this file from the last comit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2230 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-09 19:24:04 +00:00
blacksun
d91d60aed2 start work to define if conductor text item was moved by user or not
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2229 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-09 19:09:27 +00:00
scorpio810
c3aedf2a16 Releted duplicate entrys, and do not use capitalized in directory and symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2228 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-09 17:40:41 +00:00
jonasstein
a756a32c44 sort PILZ modules
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2227 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-09 17:22:27 +00:00
scorpio810
6cdfa1fa41 Updated talian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2226 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-09 14:14:34 +00:00
blacksun
5944968107 conductorproperties: default conductor rotation text are save/load to xml
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2225 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-09 12:03:41 +00:00
jonasstein
4e0750a60d more translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2224 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-09 11:20:27 +00:00
pavelfric
350a6e824c Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2223 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-09 10:48:48 +00:00
jonasstein
841320b5a5 translate the Desktop files to german
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2222 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-08 20:55:28 +00:00
scorpio810
e6c3deec0c Update translators in aboutqet
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2221 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-08 20:42:37 +00:00
scorpio810
10f42e5340 Updated translations_stat.pl script
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2220 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-08 20:28:35 +00:00
jonasstein
265a3887f7 german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2219 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-08 18:43:58 +00:00
scorpio810
fd7a423aa5 Updated Greek translation, thanks Yannis
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2218 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-08 17:28:26 +00:00
jonasstein
ba3ae68e06 add a phrase book for fr-de
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2217 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-08 16:01:09 +00:00
jonasstein
0cfdb4ac38 more translations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2216 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-08 16:00:15 +00:00
jonasstein
1ce120d75c AboutQET 29/29 translated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2215 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-08 13:31:59 +00:00
jonasstein
51adcbabf9 new start after the file was broken
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2214 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-08 13:10:56 +00:00
scorpio810
d4aecfe01b Delete fail german translation, and refresh new translated german empty .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2213 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-08 11:50:10 +00:00
scorpio810
e8e48192af Updated talian translation, thanks Silvio
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2212 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-07 08:48:58 +00:00
scorpio810
daaa555376 Updated Greek Translation, thanks Yannis Gyftomitros
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2211 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-06 18:27:22 +00:00
scorpio810
8d9ceef1d2 Updated talian translation, thanks Silvio
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2210 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-06 07:05:51 +00:00
scorpio810
68cadf52bf Updated Greek Translation, thanks Yannis Gyftomitros
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2209 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-06 06:49:37 +00:00
blacksun
4e24242b2f bug fix: sometime main window freeze when opening a .qet file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2208 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-05 23:25:00 +00:00
blacksun
d2617480ed now default conductor rotate text are save/load from qelectrotech.conf file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2207 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-05 21:42:45 +00:00
blacksun
f8eb7ac616 fix bug about default conductor rotation text with an existing potential
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2206 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-04 23:11:05 +00:00
msouabni
e58438ade4 Update Arabic translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2205 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-03 17:05:33 +00:00
scorpio810
9e0d000b56 Fix size widget conductorpropertieswidget in config dialog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2204 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-03 06:45:17 +00:00
pawel32640
170a13e35b update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2203 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-03 06:40:46 +00:00
jonasstein
668c81069d delete spaces
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2202 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-03 00:36:32 +00:00
jonasstein
2cd3a8ce20 deleted over 66 wrong spaces before ":" in german .ts file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2201 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-03 00:34:29 +00:00
jonasstein
02e7c3366f added some new translations and fixed many typos
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2200 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-02 23:52:21 +00:00
scorpio810
f2c0ef7927 Udated TS file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2199 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-02 22:52:15 +00:00
blacksun
f7478c2051 add widget to configure rotation conductor text by default (not finish)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2198 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-02 21:37:04 +00:00
scorpio810
8fe4b7807f Refresh customelement.cpp
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2197 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-01 18:38:38 +00:00
msouabni
40dba0ffc7 Update Arabic translation version
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2196 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-01 17:09:24 +00:00
jonasstein
02f3fc228c translations and minor corrections
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2195 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-01 17:01:00 +00:00
scorpio810
489b71dc01 Updated TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2194 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-01 16:39:07 +00:00
scorpio810
25d3622d63 Add dashdotted_style for line in symbol editor.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2193 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-01 16:09:58 +00:00
scorpio810
650b7a5060 Add comment in customelement.cpp
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2192 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-01 14:41:43 +00:00
cfdev
9c5e4e69be Add House sample (French Norme)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2191 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-06-01 11:57:08 +00:00
scorpio810
af40b9545a Updated Italian translations by Silvio
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2190 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-31 18:51:10 +00:00
msouabni
77fce4f0aa Update Arabic version
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2189 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-31 15:50:46 +00:00
scorpio810
ed235184ee Refresh customelementgraphicpart.cpp and update .TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2188 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-31 14:29:08 +00:00
scorpio810
4b969c2323 Add basic color line in symbol editor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2187 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-31 13:30:50 +00:00
msouabni
e66e62c46b Update Arabic translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2186 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-30 15:46:08 +00:00
scorpio810
3a3732add3 Minor change.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2185 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-30 15:42:46 +00:00
scorpio810
4e18bf0d5c Updated Italian translations by Silvio
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2184 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-29 17:57:42 +00:00
pawel32640
def260a0f1 update Polish translation (real time)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2183 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-29 16:35:52 +00:00
scorpio810
36a7d81ce6 Minor change and updated TS file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2182 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-29 13:29:53 +00:00
scorpio810
005107cb4d Add basic color for filling symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2181 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-29 09:02:26 +00:00
blacksun
e8e005dfaa add condition to enable the richtext menu entry
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2180 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-28 16:50:35 +00:00
scorpio810
b5cdfb233d Updated english translation ans push joshua script to rotate angle text to 270° if conductor is vertical, interaction his not prefect at this time but is work
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2179 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-25 15:57:03 +00:00
pawel32640
c9f6ef8ea3 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2178 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-21 19:27:21 +00:00
blacksun
155f308e2c add condition to break conductorAutonum if numerotationContext is empty
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2177 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-21 16:35:50 +00:00
scorpio810
cf5e24f84e Updated italian translation.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2176 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-21 15:19:11 +00:00
scorpio810
7b4d46fe1d Updated .ts files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2175 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-21 09:03:49 +00:00
scorpio810
ada21076f9 Action Automatic numbering is now enabled by default
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2174 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-20 20:19:44 +00:00
blacksun
e0c99d2cda fix wrong methods name
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2173 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-20 19:58:31 +00:00
scorpio810
2a019bb62b Add action autonumbering to contextmenu
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2172 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-20 19:48:53 +00:00
blacksun
4363fb8481 add methods to save/load autonumerotation of conductor to .qet file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2171 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-20 19:29:10 +00:00
scorpio810
44a853a204 Updated Italian translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2170 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-20 14:06:57 +00:00
jonasstein
e6b57a7c15 phrase file should help with standard phrases
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2169 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-19 15:59:48 +00:00
jonasstein
db31f10b59 fixed many _: mistakes and some bad translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2168 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-19 15:47:45 +00:00
jonasstein
851909036b add information about gentoo packaging
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2167 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-19 14:13:30 +00:00
jonasstein
040d085080 fix typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2166 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-19 12:48:23 +00:00
jonasstein
2998205cee english translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2165 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-19 12:45:17 +00:00
blacksun
8e9ad0dec2 add dialog to configure the autonumerotation context
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2164 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-18 18:39:53 +00:00
scorpio810
6465e45278 Updated Spanish translations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2163 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-17 08:07:25 +00:00
pavelfric
690c742d5c Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2162 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-16 19:28:24 +00:00
msouabni
588fa636c9 Update Arabic Translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2161 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-16 15:19:37 +00:00
scorpio810
9926ec38a3 updated aboutqet
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2160 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-13 18:39:00 +00:00
scorpio810
a9201172b3 Refresh Qt Italian translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2159 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-13 11:58:59 +00:00
scorpio810
41cd3b168b Refresh translations_stat.pl script
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2158 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-12 14:20:29 +00:00
pawel32640
fb681f9e23 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2157 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-12 10:19:34 +00:00
pawel32640
3ceec48b3b update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2156 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-12 10:11:03 +00:00
pawel32640
da1236e91d refresh elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2155 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-12 05:36:41 +00:00
scorpio810
f74a471b3f Updated .ts files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2154 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-11 21:47:09 +00:00
blacksun
b837ffa0b1 element editor and diagram view, now can move view by holding wheel click and drag mouse
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2153 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-11 18:20:26 +00:00
scorpio810
5a84e5161d Elements collection + ts files : integrated Italian translations by Silvio
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2152 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-10 03:53:46 +00:00
blacksun
549f44e375 diagramselection, minor bugfix with unselect/selectall contextMenu
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2151 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-08 11:38:31 +00:00
blacksun
98b2b2b4af diagramselection, little change of the appearance
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2150 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-08 11:23:47 +00:00
blacksun
2888fb4b19 dialog autonum, add default text if diagram or project title are empty
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2149 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-08 10:32:08 +00:00
pawel32640
ff7a88c519 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2148 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-07 17:54:46 +00:00
cfdev
0857577f28 update diagramAutoNum
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2147 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-07 13:17:57 +00:00
scorpio810
f14792eadb Refresh richtexteditor.cpp
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2146 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-05 02:05:19 +00:00
scorpio810
943cc0bfdf Add new icons for Richtexteditor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2145 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-04 23:52:31 +00:00
scorpio810
30780ec5df Add new symbol, thanks david
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2144 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-04 10:22:13 +00:00
scorpio810
31a066dcfe Add new symbols, thanks david & jonas
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2143 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-03 22:48:12 +00:00
blacksun
4a07e5e38c revamp conductorautonumerotation and add autonumerotation class
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2142 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-03 17:35:22 +00:00
blacksun
b681d27473 add class to handle numerotation context
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2141 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-03 16:21:25 +00:00
cfdev
9db7351a1d Resize icon of dialogwaiting
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2140 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-03 10:54:14 +00:00
cfdev
d35eab6668 add call method to enumerate conductor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2139 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-02 14:50:44 +00:00
blacksun
8245a7770e add class to store numerotation context and add methode to use it on diagram
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2138 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-02 11:47:14 +00:00
scorpio810
8cafa7c6ba Update english translation.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2137 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-01 23:10:26 +00:00
scorpio810
19f57b37da Refresh english update.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2136 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-01 20:49:36 +00:00
scorpio810
6e67b25e5b Update english translation.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2135 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-01 20:15:13 +00:00
scorpio810
89b982dab1 Update english translation.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2134 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-05-01 19:55:55 +00:00
cfdev
7b950562d5 Update the dialogconductorautonum with the diagramselection widget
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2133 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-30 10:26:13 +00:00
cfdev
4b915ab77f Add an diagramselection widget
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2132 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-30 10:25:05 +00:00
cfdev
e4c8a83b6e add an icon for dialogwaiting
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2131 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-30 08:57:53 +00:00
blacksun
70beaea9cc minor change, revamp method applyText
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2130 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-25 22:32:29 +00:00
pawel32640
44a7911f6e update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2129 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-25 21:40:22 +00:00
scorpio810
6985e29591 Add new symbols, thanks Captaindoc, refresh dir, refresh translations_stat.pl
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2128 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-24 14:41:30 +00:00
pawel32640
e2d13c11f1 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2127 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-23 10:35:20 +00:00
pawel32640
5389710190 git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2126 bfdf4180-ca20-0410-9c96-a3a8aa849046 2013-04-23 07:29:16 +00:00
scorpio810
20e64c933f Update translations_stat.pl script
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2124 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-22 06:54:05 +00:00
scorpio810
ed477c76b2 Add greek translation and refresh .ts
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2123 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-22 06:17:40 +00:00
blacksun
8a7d022486 remove needless code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2122 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-21 13:55:51 +00:00
blacksun
73d78ea623 add method for get each potentials in a diagram and revamp method for reset all conductors text in a diagram
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2121 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-19 14:59:20 +00:00
blacksun
acb7e21a6d revamp class conductorautonumerotation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2120 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-19 13:22:30 +00:00
blacksun
cc2e64b2d7 fix a bug when change a conductor property on multiple conductor potential with conductor dialog property
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2119 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-19 12:28:08 +00:00
cfdev
bf63815bce Apply the default text with the removeNum_ofDiagram function. (sorry for the last comment, it's removeNum_ofDiagram function)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2118 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-18 15:53:06 +00:00
cfdev
16b0df47ac Add the removeDiagramFromProject methode for autonum (beta)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2117 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-18 08:00:09 +00:00
scorpio810
d78a6ca56c Delete icons "zoom in/out in menubar in elementEditor && in diagramview, it 's now obsolete because: the MidButton click set selection or visualisation mode.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2116 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-16 12:36:24 +00:00
cfdev
5dc829569e Clean wheelEvent in diagramview and add the same system to element Editor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2115 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-16 12:00:41 +00:00
cfdev
e7ac7c9c40 Prepare: On changeCurrentTitleBlockTemplate combobox load the fields of the template to additional_fields_
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2114 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-15 20:44:19 +00:00
cfdev
f8f4dbaaca Change mousePressEvent: the MidButton click set selection or visualisation mode.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2113 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-15 19:51:39 +00:00
cfdev
9f53e1f3ec Prepare on the wheelEvent Onclick select visu mode and drag schema.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2112 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-15 13:17:06 +00:00
blacksun
c932a0f57b delete unnecessary code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2111 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-15 12:07:59 +00:00
blacksun
aae0c96689 revert the way of scaling operations before rev 2108 except for vertical and horizontal line
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2110 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-14 19:36:02 +00:00
msouabni
6fdc2abf2a Update arabic translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2109 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-14 18:23:33 +00:00
scorpio810
e6b68ebb0c Revert the way scaling operations get rounded for fix move/scale line primitive if horizontal or vertical
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2108 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-14 12:53:39 +00:00
scorpio810
3dd73325d3 Revert commit 2106 is too buggy.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2107 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-13 14:02:47 +00:00
cfdev
ff916f1320 Set the wheelEvent Like libreCad or Autocad: Onclick select visu mode and drag schema.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2106 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-13 12:26:42 +00:00
scorpio810
1a27dd8fb3 Export nomenclature file to csv format
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2105 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-11 15:23:46 +00:00
cfdev
6baac30851 (BETA) only available in debug mode: Add dialogconductorautonum and call to nomenclature
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2104 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-11 09:35:10 +00:00
scorpio810
a38163c737 Remove White spaces in .pro
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2103 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-11 07:51:15 +00:00
cfdev
84440d63aa update pro file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2102 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-11 07:00:48 +00:00
cfdev
918aa64972 Add an dialogwaiting ! and use it to open project.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2101 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-11 06:55:00 +00:00
blacksun
e4b8822caf forget header
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2100 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-10 19:52:00 +00:00
blacksun
5bd6d3edc4 like rev 2096 without breaking code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2099 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-10 19:35:47 +00:00
cfdev
1d8b527982 Delete some QAction in RichText
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2098 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-10 15:14:49 +00:00
scorpio810
c639d69108 Revert Rev 2096.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2097 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-10 11:10:02 +00:00
blacksun
26a0ead2b0 add dialog when user change a conductor text on a multi conductor potential and revamp class
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2096 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-10 09:31:51 +00:00
cfdev
b35bb53512 Delete htmleditor, add ritchEdit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2095 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-09 11:26:53 +00:00
cfdev
4d0ad03e19 Translate french comment to english on mousePressEvent.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2094 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-08 20:06:36 +00:00
cfdev
fbe57dda2b Delete past with wheel click on X11
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2093 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-08 19:46:11 +00:00
cfdev
265eb17f63 fix regression on mousePressEvent
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2092 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-08 19:38:50 +00:00
cfdev
99a2880136 Update wheel mouse event and add the possibility to change mode (selection, visu) with the wheel click.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2091 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-08 14:39:50 +00:00
cfdev
ead18553f1 Change the wheel event for zoomIn and zoomOut directly
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2090 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-06 18:54:32 +00:00
blacksun
b49d8d9b4c bug fix and minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2089 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-06 14:32:39 +00:00
blacksun
bbbdcb3a89 fix some warning messages at compilation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2088 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-05 16:03:05 +00:00
blacksun
4a038a8bf0 add class for auto numerotation (for the time, only same potential)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2087 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-04 16:57:15 +00:00
scorpio810
53bc7e8af7 Remove ui files, and refresh Qetdiagrameditor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2086 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-03 15:03:09 +00:00
scorpio810
1682bd1a1a Select methode to disable action Htmleditor if conductor is select
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2085 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-02 10:56:07 +00:00
scorpio810
4983db972e Removing the posibility to call html editor on the text conductor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2084 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-01 23:40:03 +00:00
scorpio810
9f37e00a4b Revert removed files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2083 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-01 20:15:53 +00:00
cfdev
5c8a1bee57 Delete closeEvent and and ButtonBox to htmleditor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2082 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-01 16:19:05 +00:00
cfdev
b10c83f8fe Add the HTML Editor !
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2081 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-01 13:49:34 +00:00
scorpio810
1a2d82186b Move action edittext in menu.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2080 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-31 18:13:30 +00:00
scorpio810
ccb6c30ab1 Minor change.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2079 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-31 18:02:09 +00:00
scorpio810
becfa02360 Minor change .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2078 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-31 17:05:19 +00:00
scorpio810
17a0f8a774 Add new action edittext to context_menu.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2077 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-31 16:42:06 +00:00
scorpio810
42671af596 Minor changes + remove icon :Actions-format-text-bold-icon.png.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2076 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-31 14:37:21 +00:00
scorpio810
890e671652 Move action to menu edition .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2075 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-27 21:20:53 +00:00
scorpio810
a40551f2ea Prepare to add new texteditor action.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2074 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-27 19:11:16 +00:00
blacksun
55c28b9973 element editor: language dialog give the focus for new line and sort language by alphabetic
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2073 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-25 17:29:07 +00:00
pavelfric
4b807824b7 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2072 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-24 09:09:43 +00:00
pawel32640
211c508683 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2071 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-24 06:52:57 +00:00
cfdev
b172b047fd version update 0.3 for next release...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2070 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-23 20:55:02 +00:00
cfdev
7c9e8b61bb update logo in splash.png
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2069 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-23 17:04:26 +00:00
scorpio810
138f4f6e1d Update qet_it.ts file, thanks Silvio.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2068 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-23 15:23:03 +00:00
scorpio810
e628e76c34 Updated .ts files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2067 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-23 11:57:16 +00:00
scorpio810
d22df0b353 Add a new property to automatically detect HTML markup and display rich text in a text field .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2066 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-22 23:17:39 +00:00
cfdev
44986d2daa copyright updated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2065 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-17 20:54:53 +00:00
cfdev
e989371418 Add class to make the nomenclaure
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2064 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-17 20:24:48 +00:00
cfdev
bb06acc38c Add Cyril Frausti to contributors list
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2063 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-17 15:04:24 +00:00
cfdev
30315a8313 add new splashscreen for QET version 0.3
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2062 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-17 12:46:47 +00:00
xavier
bea6bdc91c Elements collection: integrated Italian translations by Silvio
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2061 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-13 23:14:47 +00:00
xavier
6a4c827a07 Updated Spanish translations thanks to Alfredo.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2060 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-13 23:14:45 +00:00
pawel32640
0c7444cb69 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2059 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-07 09:42:06 +00:00
xavier
5af8573960 Element editor: changed the way scaling operations get rounded.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2058 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-06 18:51:29 +00:00
xavier
62a59f5341 Added QET::round() and QET::roundPoint().
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2057 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-06 18:50:46 +00:00
xavier
1e1cf8b1da Elements collection: integrated Italian translations by Silvio
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2056 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-04 06:30:44 +00:00
xavier
433b00bfc3 Elements collection: integrated Italian translations by Silvio.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2055 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-03 21:05:54 +00:00
scorpio810
7e04abe28e Add comment for translators.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2054 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-03 17:07:05 +00:00
scorpio810
39103b6c4c Refresh commit: Remove text:"schema" form every schema tab.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2053 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-03 16:59:52 +00:00
scorpio810
1233c84077 Remove text:"schéma" form every schema tab.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2052 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-03-03 16:02:46 +00:00
scorpio810
0da1fa2230 Add new symbol, thanks JEROME32310.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2051 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-28 09:48:13 +00:00
pawel32640
b8c44313b7 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2050 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-27 17:25:32 +00:00
xavier
724f76422d Updated .ts files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2049 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-26 22:07:08 +00:00
xavier
e4cd03719b Elements collection: integrated Spanish translations by Alfredo.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2048 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-26 22:03:01 +00:00
xavier
0524906cd7 Elements collection: integrated Italian translations of categories by Silvio.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2047 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-26 06:48:55 +00:00
xavier
8f61661431 Elements collection: integrated Italian translations by Silvio.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2046 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-25 23:00:34 +00:00
xavier
75f6df7628 Got rid of a stray comma before a semicolon to please gcc-4.8.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2045 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-23 12:53:15 +00:00
msouabni
2c341461ad Update Arabic Translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2044 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-20 17:53:19 +00:00
blacksun
9f5699f62d remove duplicates elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2043 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-18 18:06:46 +00:00
blacksun
37090d9052 refresh elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2042 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-17 13:11:40 +00:00
xavier
83c51334cb Diagrma editor: removed the upper limit of 99px imposed by the UI when setting the width/height of diagrams columns/rows.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2041 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-12 18:55:56 +00:00
xavier
62688aa0da Diagram editor: added "Find in panel" and "Edit" actions to the context menu.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2040 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-12 18:37:08 +00:00
xavier
d36820ca2b Element editor: removed the "circle" tool because it was incompatible with non 1:1 scaling operations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2039 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-11 21:45:51 +00:00
blacksun
cf063e0a6c fixed a bug with the size of propertie project windows.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2038 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-11 21:30:32 +00:00
xavier
2af5eb54b1 Diagram editor: conductors can now be rendered with a solid, dashed or dashed-and-dotted style.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2037 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-11 18:35:18 +00:00
xavier
d69130f3aa Element editor: the decorator now relies on sceneGeometricRect() instead of sceneBoundingRect().
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2036 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-11 18:35:16 +00:00
xavier
ec6ea11d0d Element editor: introduced CustomElementPart::sceneGeometricRect(), which provides a margin-less equivalent to sceneBoundingRect().
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2035 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-11 18:35:13 +00:00
pawel32640
cbee08b115 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2034 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-11 10:53:53 +00:00
xavier
84207ae4e1 Updated translation files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2033 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-10 21:58:51 +00:00
xavier
036b2657a7 Element Editor does not apply the "paste offset" the first time cut content is pasted.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2032 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-09 19:46:14 +00:00
xavier
af3e9c7c04 Element editor: keyboard shortcuts work again.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2031 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-09 19:07:08 +00:00
xavier
47f9c5ebe6 ElementEditor: decorator: got rid of calls to grabKeyboard()
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2030 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-08 22:05:22 +00:00
xavier
e78b0d5804 Element editor: revamped ElementScene::zItems() to fulfil the needs of ElementScene::managePrimitivesGroups()
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2029 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-08 22:05:20 +00:00
xavier
1ba32a5b27 The primitive decorator now handles keyboard-driven movements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2028 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-08 22:05:18 +00:00
xavier
2bed00fd25 Implemented a primitive decorator, allowing groups of primitives to be easily resized.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2027 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-08 22:05:15 +00:00
xavier
73fa01c7b9 Added startUserTransformation() and handleUserTransformation() methods to the CustomElementPart class and all of its subclasses.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2026 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-08 22:05:12 +00:00
xavier
c2b69dd6da Refactored command classes related to the element editor by adding a common base class.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2025 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-08 22:05:08 +00:00
xavier
1c140ea0ad Fixed previous commit so the directory opening also works on Windows with paths that contain spaces.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2024 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-03 21:15:26 +00:00
xavier
6ea0a96bd4 Elements panel: added contextual actions so users can easily find elements, title block templates and projects on their filesystem.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2023 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-03 19:25:02 +00:00
xavier
9c32815887 Elements panel: added methods to easily get the underlying filepath for a particular item.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2022 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-03 19:22:58 +00:00
xavier
0796587a63 Added hasFilePath() and filePath() methods to TitleBlockTemplatesCollection and its derived classes.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2021 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-03 19:21:13 +00:00
scorpio810
297710ce4f Add new symbols, thanks Pawel.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2020 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-03 12:02:05 +00:00
xavier
fb0aefc452 Improved the way the GenericPanel class detects it is being displayed for the first time.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2019 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-02-02 23:57:14 +00:00
xavier
70b7cd7d16 Ensured events were processed regularly while the elements panel is being reloaded.
Also disabled the "Reload" button during that same process.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2018 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-29 23:03:09 +00:00
pawel32640
31b34ce4ca refresh elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2017 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-29 16:54:39 +00:00
scorpio810
930a308cbb Add compilation's informations in about dialog.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2016 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-29 16:42:58 +00:00
xavier
b6a2747223 The -fno-ipa-sra option is now added under Windows too.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2015 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-28 21:04:31 +00:00
cfdev
0c153d1a3f Add function to have the possibility to sort the table.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2014 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-27 16:34:34 +00:00
xavier
65a6bdc739 ElementsPanel: removed the old, error-prone, thread-based implementation of ElementsPanel::reloadCollections().
Reverted rev2011 to prevent memory leak.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2013 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-27 15:48:14 +00:00
xavier
cd4c78bcff Fixed minor formatting issues.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2012 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-27 15:46:38 +00:00
cfdev
ccbda05dc1 Fix bug on categories reload, and add compilation's informations in about dialog.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2011 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-27 10:34:30 +00:00
pawel32640
9bffba6c44 refresh elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2010 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-26 09:22:39 +00:00
blacksun
7a8e9b9432 Resize dimension of elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2009 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-23 13:23:03 +00:00
pawel32640
ee5d68b6e3 refresh elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2008 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-20 13:51:27 +00:00
pawel32640
f24977d120 refresh example
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2007 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-20 13:49:17 +00:00
pawel32640
765843628b refresh elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2006 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-20 13:46:23 +00:00
pawel32640
fe01e667b0 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2005 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-20 13:36:36 +00:00
pavelfric
f029f0311f Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2004 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-20 09:18:11 +00:00
pawel32640
6fb7589e95 refresh example - a little closer standards ;-)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2003 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-17 10:55:06 +00:00
pawel32640
a4214fa5db refresh elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2002 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-10 16:37:55 +00:00
blacksun
7292708f87 Resize dimension of elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2001 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-08 19:27:27 +00:00
pawel32640
48e9eb6989 refresh example
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2000 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-05 11:39:15 +00:00
xavier
c37d401f38 Fixed a bug in QETDiagramEditor::viewForFile() which prevented the display of an error message when trying to open a non-existent file.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1999 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-04 14:11:03 +00:00
xavier
59e262b152 Prevented multiple messages from being displayed when opening a recent file.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1998 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-03 21:53:26 +00:00
cfdev
0b1d3a32c7 add warning message if recent file doesn't exists.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1997 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-03 17:26:08 +00:00
pawel32640
39c9d60dd1 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1996 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-01 18:39:42 +00:00
pawel32640
8cd6e1979e update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1995 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-01-01 16:13:23 +00:00
xavier
62b165df79 Elements collection: Integrated Italian translations provided by Silvio.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1994 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-12-31 18:31:49 +00:00
xavier
f938fc3df3 Updated Italian translations thanks to Silvio's work.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1993 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-12-31 17:14:32 +00:00
blacksun
9c9345ad92 add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1992 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-12-30 18:49:42 +00:00
scorpio810
ca36eb38da Add neww symbols, thanks pawel, and update english translation.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1991 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-12-25 14:05:44 +00:00
pawel32640
12b41968fd refresh example
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1990 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-12-23 13:36:58 +00:00
msouabni
9082f570f9 Update Arabic translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1989 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-12-13 04:16:34 +00:00
xavier
71d308b82c Updated Catalan translations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1988 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-12-09 19:57:39 +00:00
pawel32640
fd4daaf7b9 refresh symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1987 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-12-09 05:53:40 +00:00
pawel32640
9200a2f6c2 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1986 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-12-06 16:03:09 +00:00
xavier
51d34d21ae Added Eduard Amoros to the "About QET" dialog.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1985 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-12-06 10:57:51 +00:00
xavier
cd25e03e86 Updated Catalan translations thanks to Eduard Amoros
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1984 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-12-06 10:45:02 +00:00
pawel32640
1447a8f6f2 refresh Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1983 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-12-04 20:06:26 +00:00
scorpio810
04bebfdd3c Add new symbols, thanks Pawel .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1982 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-12-02 20:54:11 +00:00
scorpio810
5f602eba51 Updated English translations .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1981 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-12-02 20:34:29 +00:00
xavier
ce1423420e Renamed an element having a space in its filename.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1980 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-12-02 13:39:08 +00:00
xavier
9cd1a35507 Updated Spanish translations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1979 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-12-02 13:35:29 +00:00
xavier
b85b0349fc Updated Catalan translations thanks to Eduard Amoros
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1978 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-12-01 14:47:33 +00:00
pawel32640
335036648a added terminals
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1977 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-22 06:51:38 +00:00
msouabni
52f33df443 Update Arabic translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1976 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-21 17:08:30 +00:00
youssefsan
35224bc3e9 Added some translations. Minor fixes. Validation of some translations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1975 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-18 18:41:42 +00:00
xavier
f4c8eccf02 Updated English translations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1974 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-18 12:01:17 +00:00
pawel32640
897c9b0422 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1973 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-18 09:55:03 +00:00
xavier
ae19bba190 Updated Catalan translation thanks to Eduard Amoros.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1972 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-17 20:17:54 +00:00
xavier
99ea67cbe8 Updated .ts files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1971 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-17 20:15:42 +00:00
scorpio810
7af9be625a Minor changes .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1970 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-17 18:46:21 +00:00
pavelfric
8269a794e8 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1969 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-15 20:13:44 +00:00
scorpio810
15ca43ce3c Refresh the list of elements after copy .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1968 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-13 09:29:01 +00:00
scorpio810
83fc0cc5fc Add new symbols, thanks Pawel .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1967 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-13 07:37:08 +00:00
cfdev
78ff0b5906 Refresh the list of elements after moving
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1966 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-12 21:11:07 +00:00
youssefsan
3fc026a013 Adding a few translations into English. 1094/1096
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1965 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-10 22:11:30 +00:00
cfdev
371c929962 Replace icon QET::Icons::arrowleft by QET::Icons::Start
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1964 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-10 16:33:51 +00:00
cfdev
42e0715fde dateNow to date_now
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1963 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-10 16:04:51 +00:00
cfdev
d829cbf2ce git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1962 bfdf4180-ca20-0410-9c96-a3a8aa849046 2012-11-10 15:41:21 +00:00
cfdev
71f79ccce6 try to clean the code...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1961 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-10 15:35:15 +00:00
xavier
160ccec733 Translated all comments found in header files (*.h) from French to English.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1960 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-09 21:09:24 +00:00
cfdev
75c37aa029 Title block properties: added a "Set to current date" button.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1959 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-07 21:26:09 +00:00
xavier
0ef85e5b97 Conductor properties: sometimes the PEN button was erroneously enabled.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1958 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-05 18:19:25 +00:00
pavelfric
de763187ec Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1957 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-04 18:38:32 +00:00
scorpio810
3787deacb1 Add new example, thanks Ezza .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1956 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-01 17:30:18 +00:00
pawel32640
72c145246b polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1955 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-01 10:51:16 +00:00
scorpio810
c1d025875e Add new symbols, thanks Ezza .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1954 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-11-01 04:59:44 +00:00
pawel32640
c9696c9293 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1953 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-10-29 09:08:21 +00:00
scorpio810
8959b1b60e Add new symbols, thanks Ezza .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1952 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-10-28 22:24:42 +00:00
msouabni
6b5603c989 Update Arabic translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1951 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-10-23 10:51:45 +00:00
xavier
3c0342f28a Updated Spanish translations thanks to Alfredo's work.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1950 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-10-22 06:08:48 +00:00
scorpio810
c9d4bd754c Add new symbol, thanks dj_jean_jean .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1948 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-10-11 10:10:50 +00:00
pawel32640
d0293eaaa1 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1947 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-10-03 06:29:23 +00:00
xavier
68cbd62cde Updated .ts files, integrated small fixes from Alfredo.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1946 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-10-03 05:28:20 +00:00
pawel32640
c964ea6b93 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1945 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-09-30 10:53:32 +00:00
xavier
808ea1f494 Fixed ghost elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1944 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-09-27 18:59:16 +00:00
xavier
787b292056 Intregrated latest Spanish translation from Alfredo.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1943 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-09-26 05:54:32 +00:00
pawel32640
c0337ab377 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1942 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-09-22 15:16:07 +00:00
pavelfric
24ee119eea Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1941 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-09-08 19:33:09 +00:00
pawel32640
4b061e4cd2 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1940 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-09-08 19:17:34 +00:00
pawel32640
097aa3d6ce polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1939 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-09-08 19:11:59 +00:00
pavelfric
62dc802e84 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1938 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-09-08 09:18:51 +00:00
pawel32640
b57d51304b polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1937 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-08-16 16:04:36 +00:00
blacksun
aea8bee857 Add new elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1936 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-08-15 23:44:04 +00:00
xavier
6ea73a0218 Fixed a bug causing some settings to be saved under printer-related sections.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1935 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-08-12 20:32:56 +00:00
xavier
540f0c13ea Resized single line symbols to improve readability.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1934 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-08-12 20:32:55 +00:00
xavier
b5430118e4 Conductor properties: added the "PEN" option, which enables users to merge neutral and ground symbols.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1933 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-08-12 20:32:53 +00:00
xavier
eb2acce3b6 Diagram editor: added the "zoom content" action.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1932 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-08-12 11:46:42 +00:00
pawel32640
6dca1f3030 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1931 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-08-10 19:43:48 +00:00
pawel32640
456e18f5ec polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1930 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-08-09 18:51:34 +00:00
blacksun
4a82258f59 Add new folders and elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1929 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-08-08 18:17:52 +00:00
xavier
8b772d5658 Translated some forgotten string to English.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1928 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-08-05 20:25:43 +00:00
xavier
857476c7dd Project closing dialog: fixed "Action" header alignment
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1927 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-08-05 17:15:01 +00:00
xavier
c6c74b9db8 Slightly improved the project closing diagram.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1926 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-08-05 17:10:59 +00:00
pawel32640
9751d57895 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1925 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-08-05 13:26:42 +00:00
xavier
af7f84b3cb Updated English translations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1924 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-08-05 12:57:47 +00:00
xavier
ca39cb225e Updated .ts files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1923 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-08-05 12:57:32 +00:00
pawel32640
52000c746b polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1922 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-08-05 12:23:36 +00:00
xavier
5ce0632beb Fixed full page restore.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1921 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-08-05 00:32:39 +00:00
xavier
ba8cd22326 Page setup parameters are now saved in the application configuration after the user has accepted the print preview and restored before the user has chosen a printer.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1920 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-08-05 00:23:13 +00:00
scorpio810
326794e62a Add new sybol , thanks pikip
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1919 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-31 18:56:08 +00:00
msouabni
c24116afc7 Arabic Translation Update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1918 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-21 11:01:15 +00:00
laupion
6e0f89cd57 Replace space by tabulation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1917 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-20 21:34:16 +00:00
laupion
3433083170 Change the word <tevenin> by <thevenin> into the QET collection
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1916 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-20 20:32:44 +00:00
xavier
f00107e733 Modified qelectrotech.desktop according to FreeDesktop standards.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1915 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-20 05:14:17 +00:00
xavier
3bbf9fc6b8 Got rid of the default "system menu" added by Qt on MDI subwindows (tabs or windows).
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1914 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-15 13:17:32 +00:00
xavier
f8c3df7b5f Removed the double frame border caused by the view-in-tabs imbrication.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1913 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-15 13:01:08 +00:00
xavier
b20e982cf9 Circumvented a display bug occuring when moving the current diagram from the elements panel.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1912 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-15 13:01:04 +00:00
xavier
61ec5986a8 Intregrated latest Spanish translation from Alfredo.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1911 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-14 17:02:51 +00:00
xavier
14096b7f85 Now ask whether to save the project when the diagrams order is changed.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1910 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-13 17:34:34 +00:00
xavier
0c85acee54 Improved the look of the closing dialog when no diagram were modified.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1909 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-13 17:34:31 +00:00
xavier
baca3db621 Fixed strings related to "save" and "save current diagram" buttons.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1908 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-13 14:01:12 +00:00
xavier
00d158856a Reworked the way project saving is presented to users.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1907 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-13 07:21:19 +00:00
pawel32640
aa87f823d0 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1906 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-10 00:11:12 +00:00
pawel32640
c6fe6440cb polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1905 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-09 23:32:13 +00:00
pawel32640
4c0e017fc9 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1904 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-09 23:19:44 +00:00
xavier
069387a58e Project tabs now have a close button.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1903 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-08 13:32:38 +00:00
xavier
2505d6170f Added a "+" button to add a new diagram to an edited project.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1902 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-08 13:00:14 +00:00
xavier
e0d23abd91 Projects are now displayed with a [Modified] tag after their properties were edited.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1901 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-07 19:45:32 +00:00
xavier
b84f713d33 Fixed typos in example diagram.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1900 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-07 19:45:30 +00:00
xavier
c693ea1371 Fixed a bug when comparing two ConductorProperties objects.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1899 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-07 19:45:29 +00:00
scorpio810
61b365ba0d Add new symbols, thanks CaptainDoc .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1898 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-05 15:00:45 +00:00
xavier
1fe9a2bce1 Reworked methods related to project saving in order to optimize the "save all" feature.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1897 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-05 05:54:45 +00:00
xavier
616a96ff58 Diagrams are now updated after project-wide properties were changed.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1896 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-05 05:54:42 +00:00
pawel32640
f1afdfbf80 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1895 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-03 10:50:20 +00:00
blacksun
05e5a5ee72 Refresh symbol
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1894 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-02 22:30:07 +00:00
xavier
94b9db6570 The project title is now made available to child diagrams as %projecttitle.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1893 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-02 06:34:40 +00:00
xavier
d5efc331a1 Introduced project-wide properties, i.e. key/value pairs defined at the project scope available in all child diagrams.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1892 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-01 21:54:07 +00:00
xavier
317d149c89 Updated the TitleBlockProperties class following DiagramContext improvements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1891 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-01 21:54:06 +00:00
xavier
dd93f59b26 Improved the DiagramContext class.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1890 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-01 21:54:05 +00:00
xavier
47ea8fef37 Bugfix: existing project files could end up saving application-wide default template properties.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1889 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-01 21:54:03 +00:00
xavier
8ebdfbc5a4 DiagramContextWidget: fixed margins.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1888 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-01 21:54:02 +00:00
xavier
9819490dcd TitleBlockPropertiesWidget: moved the table used for custom variables into a new DiagramContextWidget class.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1887 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-07-01 21:54:00 +00:00
xavier
f97bc8cf21 Fixed a typo in comments.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1886 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-29 05:26:29 +00:00
xavier
d685c56f21 ConductorPropertiesWidget: fixed a UI consistency bug.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1885 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-29 05:21:47 +00:00
xavier
4a01fed0ba Reworked the DiagramContext class to sort custom variables.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1884 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-29 05:21:46 +00:00
xavier
805ee08e1b The TitleBlockPropertiesWidget class was unable to load a diagram context apart from the one passed to the constructor.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1883 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-29 05:21:43 +00:00
xavier
70dd359f25 Converted the "project properties" dialog to ConfigDialog.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1882 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-29 05:21:41 +00:00
xavier
00affb107e Minor refactoring: moved the Qt:Sheet window flag into the ConfigPage constructor.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1881 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-29 05:21:39 +00:00
xavier
4ce3c89e1d BorderProperties class: made setEditedBorder() public.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1880 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-29 05:21:37 +00:00
xavier
c6a50220dc Trivial indentation fix.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1879 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-29 05:21:36 +00:00
xavier
dee29ac8cb Moved the ConfigPage class to a separated, dedicated header file.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1878 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-29 05:21:34 +00:00
xavier
7a587a7d36 Refactored the ConfigDialog class to make it more generic.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1877 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-29 05:21:32 +00:00
xavier
1539628f24 Fixed a bug preventing the storage of custom variables in Configure QElectroTech > New Diagram.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1876 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-29 05:21:30 +00:00
scorpio810
7c73ddc127 Add new symbols , thanks Joshua claveau .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1875 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-26 06:28:11 +00:00
scorpio810
bc11cdf83c Add new symbols , thanks Rafart renaud .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1874 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-25 13:08:24 +00:00
xavier
488cb69a7c Elements panel: added a "switch to this project" action to the context menu
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1873 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-25 06:27:24 +00:00
pawel32640
492932b8a2 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1872 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-19 05:48:44 +00:00
scorpio810
be0d5af383 Add new symbols , thnaks Renaud .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1871 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-06-14 13:53:01 +00:00
pawel32640
2abe9a8243 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1870 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-30 05:37:10 +00:00
pavelfric
f80efa6a23 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1869 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-29 14:43:57 +00:00
scorpio810
9945d37613 Fix name symbol
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1868 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-28 21:31:33 +00:00
pawel32640
fbf7a47419 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1867 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-28 05:16:44 +00:00
xavier
cb7cbbf0e1 Diagram editor: fixed a text position bug that occurred only when dropping elements onto diagrams.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1866 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-27 15:18:22 +00:00
xavier
800aa588bf Element editor: fixed a text position bug that occurred when changing font size.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1865 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-27 15:18:21 +00:00
scorpio810
869cd4baf5 Add new symbols , thanks Joshua , and refresh varh_08-04-15_en60617.elmt
thanks Jonas .


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1864 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-27 14:02:18 +00:00
xavier
5aae1d61a0 Removed a call to a function unavailable in Qt 4.6.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1863 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-25 09:06:55 +00:00
xavier
5868cf9b34 Fixed a forgotten slash.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1862 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-25 08:57:15 +00:00
xavier
515311db04 Dropping a file onto a main window now opens that file.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1861 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-24 17:27:15 +00:00
pawel32640
9100578e9d update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1860 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-20 16:42:45 +00:00
pavelfric
d94117de7f Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1859 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-20 10:26:48 +00:00
xavier
bb92ecdb88 English translation: minor improvements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1858 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-19 22:37:03 +00:00
scorpio810
4d4c844143 Add new symbols , thanks Joshua .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1857 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-19 21:24:53 +00:00
msouabni
073f2b1820 Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1856 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-19 19:44:28 +00:00
scorpio810
1f6e31c881 Add new symbols , thanks Joshua .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1855 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-19 18:36:01 +00:00
msouabni
69a88b4c07 Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1854 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-19 17:06:20 +00:00
scorpio810
e23b009dc6 Add new symbols , thanks Jonas
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1853 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-19 15:26:09 +00:00
pavelfric
1fe1be3251 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1852 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-18 17:09:30 +00:00
msouabni
209b4823ca Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1851 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-18 12:04:24 +00:00
pawel32640
cf03d2295a update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1850 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-18 11:51:24 +00:00
scorpio810
7468c09318 Add new symbols, thanks Ezza .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1849 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-18 11:19:49 +00:00
msouabni
29ae1d505f Arabic Translation Update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1848 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-18 06:49:07 +00:00
pawel32640
9705d08a71 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1847 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-18 06:06:43 +00:00
xavier
a298c6297c Fixed version in the Doxygen configuration file.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1846 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-17 19:57:47 +00:00
scorpio810
4b0849ff22 Add new symbols , thanks ezza and Pawel .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1845 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-15 18:09:55 +00:00
pawel32640
3016ae70f2 small change in the Polish translation - qelectrotech.desktop
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1844 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-15 09:42:35 +00:00
xavier
ddf9e059dd Fedora packaging: replaced obsolete .spec file with URL to Fedora Git repository
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1843 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-14 19:23:33 +00:00
xavier
69deaa3f75 Removed script duplicate.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1842 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-14 19:23:31 +00:00
xavier
81c0532fc2 The elements cache now expects the element mtime to be equal to the one stored in the cache entry.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1841 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-14 19:23:30 +00:00
xavier
191fbab78e make install now copies title block templates.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1840 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-14 19:23:29 +00:00
xavier
556d01596c make install now preserves timestamps when copying directories
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1839 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-14 19:23:26 +00:00
pawel32640
f9513f622b update Polish translation - qelectrotech.desktop
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1838 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-13 20:45:15 +00:00
xavier
19d8dbe4f0 qelectrotech.desktop: fixed categories according to desktop-file-install errors, reduced duplicates between generic names and comments.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1836 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-13 11:46:04 +00:00
xavier
7878773874 Fixed a typo.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1835 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-13 10:48:29 +00:00
xavier
82388d80fe Changed email address for Remi Collet.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1834 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-13 10:41:20 +00:00
xavier
c0700bb6fd Removed svn:executable property from a few elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1833 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-13 10:29:45 +00:00
xavier
741045c8be Updated elements Spanish translations thanks to Alfredo Carreto.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1832 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-13 01:40:14 +00:00
xavier
afb8254fe2 Modified displayedVersion and splash screen to prepare 0.3a tag
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1829 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-12 23:24:20 +00:00
xavier
4a9e3f248f Doxygen: minor modification
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1828 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-12 23:24:19 +00:00
xavier
fa5ec6f597 Element editor: fixed yet another bug in the zValue choice for newly added parts.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1827 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-12 22:03:07 +00:00
xavier
4a200bbcf5 Unix manual: minor updates.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1826 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-12 20:39:03 +00:00
xavier
81a9406e01 Ran dos2unix on the elements collection.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1825 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-12 20:06:47 +00:00
xavier
7af1431105 Added Antun to the "About QET" dialog.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1824 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-12 19:52:23 +00:00
xavier
b178080208 Integrated Mohamed's latest translations for the application (erroneously committed to branches/0.3)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1823 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-12 19:08:32 +00:00
xavier
10dc4b6300 Integrated Mohamed's latest translations (erroneously committed to branches/0.3)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1822 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-12 18:46:20 +00:00
xavier
6922979bcb Updated Croation translations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1821 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-12 16:24:06 +00:00
jcm
20aab5c922 updated pt transl.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1819 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-12 14:14:17 +00:00
xavier
a7a3024837 Copied missing Czech translation.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1818 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-12 12:30:13 +00:00
xavier
384f5c2d2b Fixed revision 1814.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1817 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-12 12:26:04 +00:00
scorpio810
c93ae47b24 Update translation to A4_1.titleblock ,DIN_A4.titleblock .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1816 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-12 11:55:28 +00:00
pavelfric
268a171a87 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1815 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-12 10:23:19 +00:00
youssefsan
6f34fbbd9b Added missing Spanish translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1814 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-12 09:40:03 +00:00
youssefsan
6c3e49a436 Added missing translations into Spanish 1073/1073
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1813 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-12 09:33:57 +00:00
pawel32640
1256dfcfcb update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1812 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-12 05:13:46 +00:00
pawel32640
1871d5c6ef update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1811 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-12 04:28:07 +00:00
pavelfric
beb8519c89 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1810 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-12 00:43:14 +00:00
xavier
bbbbbfd942 Updated English translations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1809 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-11 23:10:29 +00:00
xavier
20c440d45a Updated .ts files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1808 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-11 23:08:13 +00:00
xavier
df4edf60e5 Replaced a QMultiMap-based sort with a cleaner qSort().
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1807 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-11 21:38:50 +00:00
xavier
b7feb25dbd Element editor: fixed a bug when determining the zValue for a newly added part.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1806 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-11 21:27:31 +00:00
pawel32640
35e960a0cf update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1805 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-11 18:17:29 +00:00
xavier
0c961cb884 TBT editor: logos manager: added a "Close" button.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1804 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-11 17:47:42 +00:00
xavier
3e4b948fd6 TBT editor: logos manager: added an "export" button.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1803 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-11 17:47:38 +00:00
xavier
5f006e7ece Removed tabs in qet_directory files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1802 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-11 10:14:51 +00:00
xavier
25dfadbe85 Improved the mechanism that chooses the best translation from a names list.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1801 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-11 10:08:36 +00:00
xavier
a7d4c44c36 Translated double-logo and single-logo titleblocks to all potentially supported languages.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1800 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-11 06:22:32 +00:00
xavier
5cc4fb8ac7 Translated the default title block template in all potentially supported languages.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1799 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-11 06:12:46 +00:00
xavier
603c2ba63e Element editor: new parts are now added with a zValue higher than other non-terminal parts.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1798 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-11 05:41:40 +00:00
xavier
719e1c008e Elements panel: also highlight integrated element when they are erased.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1794 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-10 17:48:38 +00:00
xavier
efbfb462c8 Fixed a bug preventing from adding an element when erasing an already integrated element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1793 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-10 17:48:33 +00:00
scorpio810
7816031b0c Conform to english term .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1792 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-10 15:23:41 +00:00
scorpio810
8d910ccaa4 Update english translation .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1791 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-10 15:14:25 +00:00
scorpio810
8c3f9f49e0 Update english translation .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1790 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-10 14:34:16 +00:00
scorpio810
85fa1252cb Update english translation .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1789 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-10 13:26:54 +00:00
xavier
29cdb19877 Fixed a French typo.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1788 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-10 06:13:27 +00:00
xavier
5997bdb36f Removed all non-ASCII characters from source code.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1787 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-10 06:13:23 +00:00
xavier
8225e6ba8f Updated English translations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1786 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 21:48:47 +00:00
xavier
bff9d5f048 Updated .ts files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1785 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 21:48:40 +00:00
xavier
cdfd49a5a3 Improved an informative text.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1784 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 21:48:37 +00:00
xavier
d5a3dbc461 TBT editor: added informative texts regarding labels and values.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1783 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 21:17:12 +00:00
xavier
2767df712a NamesListWidget: minor improvements (icon, What's this tips, ...)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1782 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 21:17:10 +00:00
xavier
28fca988b9 Title block templates: variables are now interpreted within labels too.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1781 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 21:17:09 +00:00
xavier
a161ce0bd4 Title block properties: now warn users when they enter invalid keys.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1780 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 17:21:46 +00:00
xavier
626ff78ae0 Title block properties: added tooltips onto historical fields.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1779 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 17:21:44 +00:00
pavelfric
a542f1d4bf Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1778 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 15:45:01 +00:00
xavier
2300783bfe Replaced old Crystal icons with recent Oxygen equivalents.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1777 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 13:55:59 +00:00
xavier
a8b0d63a5c TBT editor: logo manager: added icons.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1776 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 12:56:18 +00:00
xavier
7c75e2f0bf TBT editor: logos manager: minor improvements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1775 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 02:31:46 +00:00
xavier
c516f3a1ca Fixed two elements with erroneous XML.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1774 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 02:31:45 +00:00
xavier
d42a9ad176 Title block template editor: added a menu entry to manage logos.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1773 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 02:31:43 +00:00
xavier
dd237b148e Title block template editor: added tooltips to helper cells to ensure their content remains readable even when their size is reduced.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1772 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 02:31:41 +00:00
xavier
f54e3bb90b Fixed a bug in the dimension widget used in the title block editor.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1771 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-09 02:31:40 +00:00
xavier
4b39950397 Updated windows scripts that take care of file associations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1770 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-08 23:59:22 +00:00
xavier
597a8cf79f Yet another small fix on examples/Convoyeur_bouteilles.qet
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1769 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-08 22:32:29 +00:00
xavier
2e75d0932b Removed inadequate title block from Convoyeur_bouteilles.qet
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1768 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-08 22:32:27 +00:00
xavier
3fc74b8723 Added bitmap icons generated using first drafts from Nuno Pinheiro.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1767 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-08 20:33:07 +00:00
pawel32640
9b6863322d update Polish translation: x-qet-titleblock.desktop
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1766 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-08 19:29:19 +00:00
xavier
e3149c5c0f Updated translations statistics script.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1765 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-08 19:21:31 +00:00
xavier
95ff9634ef Updated Croatian translations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1764 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-08 19:07:45 +00:00
pawel32640
71ad75978c update Polish translation: qelectrotech,xml, x-qet-titleblock.xml, default.titleblock
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1763 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-08 17:15:19 +00:00
scorpio810
7f73e07b66 Update qelectrotech.desktop .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1762 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-08 15:58:04 +00:00
scorpio810
3dd53cb5ac Update shared-mime-info-spec to new freedesktop.org reference .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1761 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-08 10:38:24 +00:00
pawel32640
9e9bf1ccf0 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1760 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-07 08:08:08 +00:00
scorpio810
3837ffa38b Fix typo in croate translation default.titleblock .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1759 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-06 22:39:05 +00:00
xavier
4a256907f9 Translated default title block template thanks to Antun Marakovic's work.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1758 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-06 22:20:23 +00:00
xavier
5e5bbaf4f3 Updated Croatian .ts file with latest strings.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1757 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-06 22:14:07 +00:00
xavier
b07d2d8742 Updated Croatian translations thanks to Antun Marakovic's work.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1756 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-06 22:14:02 +00:00
pawel32640
d04110f437 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1755 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-06 17:41:37 +00:00
pawel32640
d5427ee61c update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1754 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-06 16:41:55 +00:00
scorpio810
1f7e96605a remove &#xd; in symbol compteur_horaire.elmt , and add other translation to compteur_horaire_08-04-03_en60617.elmt & wattheuremetre_08-04-03_en60617.elmt .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1753 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-06 14:41:09 +00:00
scorpio810
2d2646ca84 Fix name and dir for en60617 .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1752 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-06 14:30:20 +00:00
scorpio810
a5ea81162a Add jonas symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1751 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-06 13:43:33 +00:00
xavier
bb87d508ae Fetched branch 0.3 back into the trunk.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1750 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-05 23:27:53 +00:00
jcm
29f5dcad8c updated pt trans
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1749 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-05 20:57:46 +00:00
scorpio810
21b7901d4f Refresh titeblock A4_1 to use the entire page .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1748 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-05 12:11:42 +00:00
scorpio810
7024bf0e6c Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1747 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-04 23:10:14 +00:00
scorpio810
f08b19da4e Update english translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1746 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-04 07:10:44 +00:00
msouabni
1d98158078 Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1745 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-04 04:07:36 +00:00
xavier
7206e4166e Fixed a double-translation.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1744 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-03 20:55:12 +00:00
alfredo
8352c31203 Updated Spanish translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1743 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-03 20:20:10 +00:00
scorpio810
b852e6de65 Rename cd20_entrees_zoom_2.elmt , thanks José Carlos Martins for report .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1742 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-03 19:27:30 +00:00
msouabni
f8f35d2312 Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1741 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-03 15:37:34 +00:00
jcm
2568d71c21 updated pt translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1740 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-03 15:02:06 +00:00
xavier
291b432ab4 Updated German translations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1739 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-03 05:28:35 +00:00
xavier
72ca6eb33d Moved some ElementsPanel-specific modifications to reimplemented GenericPanel virtual methods.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1738 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-03 05:28:28 +00:00
scorpio810
5c2a405f78 Update english translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1737 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-02 13:37:21 +00:00
msouabni
fc10cd63b7 Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1736 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-02 03:20:20 +00:00
xavier
8f5927ac55 Updated English translations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1735 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-01 22:19:21 +00:00
msouabni
6deb2272f8 Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1734 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-01 18:20:30 +00:00
jcm
260119479d Updated Pt Translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1733 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-01 17:29:00 +00:00
scorpio810
bef1bd97f0 Update english translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1732 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-01 15:57:43 +00:00
scorpio810
a048897be8 Update english translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1731 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-01 15:18:23 +00:00
msouabni
4954b7d251 Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1730 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-01 13:07:12 +00:00
xavier
bfb3d8b351 Updated .ts files with latest strings from sources.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1729 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-30 20:43:36 +00:00
xavier
1a7dd5ab8b Updated German translations thanks to Markus Budde's work.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1728 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-30 20:43:31 +00:00
xavier
e175db1449 Fixed a typo in a What's this tip.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1727 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-30 20:35:25 +00:00
msouabni
eebd0b4583 Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1726 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-30 19:33:29 +00:00
msouabni
c4bdedbb95 Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1725 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-30 19:32:16 +00:00
msouabni
52bdbd20cc Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1724 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-30 13:54:39 +00:00
msouabni
d51b064374 Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1723 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-30 13:53:46 +00:00
msouabni
4ab6a006f0 Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1722 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-30 13:37:17 +00:00
msouabni
db651655eb Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1721 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-30 13:36:31 +00:00
scorpio810
e54dce8721 Add new symbols , thanks uros & cyril
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1720 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-30 02:27:29 +00:00
msouabni
8d40da12ef Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1719 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-29 20:49:41 +00:00
msouabni
07fca790a7 Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1718 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-29 20:49:07 +00:00
msouabni
d3f129d003 Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1717 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-29 20:48:39 +00:00
msouabni
bae9ab53fd Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1716 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-29 20:48:13 +00:00
msouabni
1301b96cb8 Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1715 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-29 20:47:40 +00:00
xavier
b56a594c54 The scroll-and-highlight animation when integrating an element into a project is now optional.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1714 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-29 20:29:40 +00:00
xavier
7990889d99 Elements panel now avoid marking freshly integrated elements as unused.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1713 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-29 20:29:37 +00:00
pavelfric
339d5e0f43 Updated Czech translations. Done. But it seemes the last element has translation - ./contacts/fin_de_course/fin_de_course_came_no.elmt
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1712 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-29 20:28:12 +00:00
msouabni
b2c3827c8d Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1711 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-29 20:05:30 +00:00
msouabni
5e5f8532a1 Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1710 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-29 19:36:56 +00:00
pavelfric
43cebe93f2 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1709 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-29 17:31:55 +00:00
pavelfric
c57ec8dbe5 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1708 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-29 09:56:36 +00:00
msouabni
9282bed14f Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1707 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-29 03:44:04 +00:00
xavier
f039a37447 Fixed regression introduced in rev1657: key strokes were discarded when editing texts.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1706 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-28 23:22:34 +00:00
xavier
f40560a041 Updated English translations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1705 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-28 22:06:25 +00:00
xavier
54cb918abe Updated again .ts files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1704 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-28 21:45:29 +00:00
xavier
9bea5c84cb Fixed a missing closing tag.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1703 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-28 21:45:24 +00:00
xavier
ab0657a3d4 Fixed qelectrotech.qrc (remaining deleted file).
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1702 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-28 21:45:21 +00:00
xavier
e6180e8971 Introduced the new icon for title block templates, got rid of the "green directory" icon used for projects.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1701 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-28 21:33:36 +00:00
msouabni
a507e863e7 Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1700 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-28 21:15:50 +00:00
xavier
10edad5641 Updated .ts files so they contain recently added strings.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1699 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-28 18:59:44 +00:00
xavier
1a7261c1de Elements panel: the tooltip is back on elements categories.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1698 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-28 16:45:19 +00:00
xavier
fac1c5c2c4 Elements panels now display and highlight elements newly-integrated into projects.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1697 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-28 16:45:16 +00:00
xavier
1b52030484 Diagram editor: added a few status and "What's this?" tips.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1696 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-28 16:45:13 +00:00
xavier
3b7b70f551 Main windows: added a "What's this?" action.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1695 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-28 16:45:10 +00:00
pavelfric
c239b66cf4 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1694 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-28 14:34:28 +00:00
pavelfric
b3ba4a6a2c Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1693 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-27 21:21:23 +00:00
msouabni
b1215d66d4 Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1692 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-24 20:32:13 +00:00
msouabni
178eac3e26 Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1691 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-24 17:10:26 +00:00
xavier
d810aa1400 Translation of elements to Spanish by Alfredo.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1690 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-23 05:56:13 +00:00
pawel32640
e30d6d5a18 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1689 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-22 18:36:19 +00:00
pawel32640
cbc6a13e2a polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1688 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-22 17:29:23 +00:00
msouabni
c386374223 Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1687 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-22 17:18:06 +00:00
msouabni
aab87decf7 Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1686 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-21 17:44:46 +00:00
youssefsan
6db24aab25 Added few translations into Catalan (573/1038)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1685 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-21 13:58:17 +00:00
youssefsan
174252b482 Added missing translations for qet_es 1038/1038.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1684 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-21 13:46:54 +00:00
pawel32640
926a0d70a1 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1683 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-20 23:01:52 +00:00
pawel32640
de071e17b5 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1682 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-20 22:33:58 +00:00
pawel32640
5411ed4ea1 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1681 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-20 22:15:14 +00:00
pawel32640
7117c67b56 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1680 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-20 21:46:27 +00:00
msouabni
9bea4ae8bf Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1679 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-20 19:44:00 +00:00
pawel32640
159f414567 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1678 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-20 19:31:11 +00:00
msouabni
c7b746ddb3 Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1677 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-20 19:27:00 +00:00
pawel32640
01b720ac34 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1676 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-20 18:51:37 +00:00
msouabni
f7d6896b52 Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1675 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-20 06:58:57 +00:00
msouabni
813ebe0a2a Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1674 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-19 13:59:20 +00:00
pawel32640
2dc40fd182 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1673 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-19 05:36:36 +00:00
scorpio810
50d53a0469 Remove duplicate symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1672 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-18 16:02:00 +00:00
scorpio810
bee598cd67 Remove duplicate symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1671 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-18 15:46:09 +00:00
pawel32640
3e7da0fd93 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1670 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-18 06:36:37 +00:00
xavier
949a65f640 Elements collection: fixed tabs-indented files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1669 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-18 06:16:16 +00:00
xavier
2fb35a6a11 Fixed Mohamed's UTF-8 BOM along with a few other glitches.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1668 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-18 06:15:31 +00:00
pawel32640
63c4ad067f polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1667 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-18 05:36:50 +00:00
msouabni
1dd9670f0c Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1666 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-17 19:33:43 +00:00
msouabni
0d1388ce57 Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1665 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-17 17:20:51 +00:00
scorpio810
e744597e5e merge ezza "solar symbols" working directory
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1664 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-17 14:34:41 +00:00
xavier
1871572312 Added Croatian to the translations statistics script.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1663 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-17 05:43:08 +00:00
xavier
f16df99266 Added mailing list address as contact and Laurent as main author.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1662 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-17 05:37:01 +00:00
scorpio810
ba29308b31 English translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1661 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-16 19:07:03 +00:00
scorpio810
0a934ac43b English translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1660 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-16 17:16:45 +00:00
scorpio810
6f9105a202 Add new symbols , thanks fylip22
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1659 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-16 16:06:47 +00:00
xavier
0eb5559703 Added Croatian .ts file.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1658 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-16 12:44:32 +00:00
xavier
417ef1b02e Bugfix: arrow keys triggered both items movement and scroll area on diagrams.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1657 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-16 06:33:26 +00:00
xavier
b89397670e Added Slovenian to the translations statistics script.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1656 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-15 18:54:04 +00:00
xavier
68dffdd5da Added Slovenian .ts file.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1655 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-15 14:14:37 +00:00
xavier
1a48c5af83 Fixed behaviour when moving conductor/independent text items.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1654 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-15 14:14:34 +00:00
xavier
5f3dcd1dbb Fixed a Mac-specific, relatively obvious error.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1653 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-10 17:22:49 +00:00
drslump
a77895c62c updated qet_it italian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1652 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-10 07:24:21 +00:00
msouabni
5496a4f9cc Update Arabic version
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1651 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-09 19:03:17 +00:00
xavier
15a79881b0 The title block template editor now save its geometry and state when closing.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1650 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-09 18:56:17 +00:00
pawel32640
1e474e4a77 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1649 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-09 18:23:34 +00:00
xavier
a2f73bc1dd Diagram context menu: added "Rotate texts" action.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1648 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-09 17:48:54 +00:00
xavier
8b76fc20b0 Updated .xml and .desktop files to declare application/x-qet-titleblock MIME type.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1647 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-09 15:27:18 +00:00
xavier
8ba02ef932 QElectroTech is now able to open .titleblock files passed as arguments to the program.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1646 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-09 15:27:15 +00:00
xavier
b8ae554310 Updated .ts files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1645 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-09 11:55:30 +00:00
xavier
83ca44e6b9 Fixed a forgotten tr().
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1644 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-09 11:55:26 +00:00
xavier
fd32b98651 Polish translation: fixed translations filled in "translator comments" field.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1643 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-09 11:49:27 +00:00
xavier
714f9e09e2 Printing: when printing diagrams with no titleblock, use the space left by the titleblock.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1642 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-09 02:42:31 +00:00
xavier
f1dd11b903 CR characters in elements and TBT extra information field are now stripped.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1641 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-09 01:03:11 +00:00
xavier
318df55a37 Implemented QET::writeXmlFile() to handle every XML file generation in a single place.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1640 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-09 01:03:08 +00:00
xavier
6ab83f3517 TBT editor: fixed "Save as" icon.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1639 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-08 20:51:48 +00:00
xavier
7c89f95d8a TBT editor: added toolbars
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1638 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-08 20:51:46 +00:00
xavier
acbbf01cf4 TBT editor: added menu entries to add rows/columns at the end of the grid.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1637 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-08 20:51:43 +00:00
xavier
ba7e030d9f Title block templates: improved span management
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1636 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-08 20:51:40 +00:00
msouabni
e3eaed2314 Update arabic version
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1635 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-08 19:04:06 +00:00
scorpio810
1a616e6e94 Add new symbol , thx ludo-43
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1634 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-07 15:06:30 +00:00
xavier
070de7f706 Elements collections: removed UTF-8 BOM added by Mohamed.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1633 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-06 08:23:01 +00:00
msouabni
8091bd5502 Update Arabic version -Automatism -
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1632 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-06 07:26:58 +00:00
scorpio810
65ad6c08b2 Refresh *.conf files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1631 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-04 18:43:10 +00:00
scorpio810
444afebd21 Update qelectrotech.conf
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1630 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-04 18:16:40 +00:00
scorpio810
b78803a1a7 Update sample.conf
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1629 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-04 17:24:20 +00:00
xavier
d995d9e6a9 Fixed a bug preventing the user from dropping an already-integrated titleblock template onto a diagram.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1628 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-04 16:13:08 +00:00
scorpio810
3d9f1a876c Remove unused terminal in plc symbols .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1627 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-04 15:39:18 +00:00
scorpio810
3b4b36f0e6 Refresh plc symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1626 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-04 13:10:40 +00:00
scorpio810
33c0cbab34 re draw other plc symbol + add terminals
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1625 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-04 00:07:10 +00:00
scorpio810
d42f1cc31f Re draw for Art
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1624 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-02 23:40:46 +00:00
pawel32640
46e0d63db6 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1623 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-02 18:46:32 +00:00
msouabni
4fa182be4c Updated Arabic version "About QET" dialog.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1622 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-02 16:05:08 +00:00
xavier
05f150904c Updated "About QET" dialog.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1621 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-01 20:29:43 +00:00
xavier
ccd8aa8638 Elements collection: removed duplicate translations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1620 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-01 20:16:05 +00:00
xavier
500c75603d Fixed two source strings not in the usual source language.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1619 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-01 20:13:44 +00:00
xavier
610a94f10f Updated French and English translations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1618 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-01 20:08:16 +00:00
xavier
75ba376b89 Updated .ts files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1617 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-04-01 20:02:00 +00:00
xavier
8f07be7312 Elements static texts can now be either black or white.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1616 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-31 22:48:40 +00:00
xavier
457458e6d9 Elements collection: fixed a typo.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1615 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-31 22:08:57 +00:00
xavier
4828445aaf Elements collection: removed all remaining &xd;.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1614 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-31 22:07:30 +00:00
xavier
c6694bcde0 Elemnts collection: removed remaining extra &xd; in information fields.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1613 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-31 21:50:52 +00:00
xavier
088180dd30 Elements collection: fixed various things (UTF-8 BOM, encoding problems, extra &#xd;...).
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1612 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-31 21:38:35 +00:00
msouabni
a44a36697b Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1611 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-31 19:13:48 +00:00
msouabni
4de56d0dd5 Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1610 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-31 18:15:34 +00:00
pawel32640
23bf20b0c7 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1609 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-31 16:30:41 +00:00
scorpio810
0a1a9858e7 Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1608 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-31 15:59:35 +00:00
pavelfric
f471bbde19 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1607 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-31 15:13:22 +00:00
pawel32640
7fe80ab8e2 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1606 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-31 02:19:54 +00:00
scorpio810
aad172e3d3 Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1605 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-31 01:32:25 +00:00
xavier
709bfa27c5 Reverted commits 1600 (translation does not imply copying files), 1601 and 1603 (translation does not imply renaming files).
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1604 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-29 22:07:09 +00:00
msouabni
5ec1dbffbc Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1603 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-29 17:09:51 +00:00
pavelfric
adf9ff1591 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1602 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-29 16:38:01 +00:00
msouabni
1abfe9e33f Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1601 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-29 16:06:31 +00:00
msouabni
7dd91cde8b Arabic translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1600 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-29 14:48:46 +00:00
pawel32640
f98439e532 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1599 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-29 09:38:57 +00:00
scorpio810
9f7a650713 Add new symbols thanks Eike
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1598 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-29 09:04:51 +00:00
xavier
8b1e7904c4 The title block template editor now supports pasting multiple cells.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1597 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-25 16:34:53 +00:00
xavier
e31a8a375e Minor refactoring: added TitleBlockTemplateView::pastedCells().
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1596 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-25 16:34:49 +00:00
pawel32640
767565d147 minor changes in the polish translation files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1595 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-25 06:17:15 +00:00
pawel32640
1354c04d3c minor changes in the polish translation files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1594 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-25 05:46:48 +00:00
xavier
245a8abbb1 Diagram editor: users may now enter visualisation mode by pressing Ctrl and Shift.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1593 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-24 14:34:25 +00:00
scorpio810
7370edbb4e Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1592 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-20 16:25:39 +00:00
scorpio810
b35fbf952f Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1591 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-20 14:55:02 +00:00
alfredo
032594a346 Updated Spanish translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1590 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-19 20:12:58 +00:00
scorpio810
a818198e76 Delete unused terminals in Omron symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1589 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-19 14:49:57 +00:00
alfredo
1efdcedf68 Updated Spanish translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1588 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-19 02:15:54 +00:00
xavier
e7207734c5 Fixed items deletion in GenericPanel::deleteItem().
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1587 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-18 19:20:47 +00:00
scorpio810
79682cb3d0 Add and refresh symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1586 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-18 08:35:33 +00:00
pavelfric
30da0147d3 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1585 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-18 06:59:19 +00:00
scorpio810
47617deaea Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1584 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-18 03:09:31 +00:00
xavier
def111cb3f Fixed zoom fit when opening an element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1583 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-17 22:36:58 +00:00
xavier
cb37bc1d44 Elements collection: deleted a remaining uppercase directory.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1582 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-17 21:17:50 +00:00
pavelfric
996466da35 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1581 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-17 19:24:55 +00:00
msouabni
1438ee7096 git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1580 bfdf4180-ca20-0410-9c96-a3a8aa849046 2012-03-17 18:58:01 +00:00
msouabni
2f33fba21e git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1579 bfdf4180-ca20-0410-9c96-a3a8aa849046 2012-03-17 18:44:22 +00:00
msouabni
57b8880f8a Traduction Sondes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1578 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-17 18:43:35 +00:00
xavier
719722309a Renamed elements with uppercase characters in their filename.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1577 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-17 17:36:53 +00:00
pawel32640
c96322e873 Polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1576 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-17 16:01:18 +00:00
scorpio810
f393d3dc62 Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1575 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-17 15:33:43 +00:00
scorpio810
ff2d557693 Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1574 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-16 18:19:49 +00:00
xavier
87d3021bd3 Implemented QETMainWindow::firstActivation, used it to fit view when editing an element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1573 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-16 18:01:32 +00:00
scorpio810
a92bfa5e29 Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1572 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-16 16:33:04 +00:00
pawel32640
e1522a0198 Polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1571 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-16 14:07:00 +00:00
msouabni
476c242c84 Modification de la traduction arabe
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1570 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-16 07:58:03 +00:00
alfredo
c90c19cea0 Updated Spanish translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1569 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-16 05:25:56 +00:00
scorpio810
bf5db736d5 Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1568 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-15 15:46:01 +00:00
scorpio810
241dbf15d4 Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1567 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-15 15:08:11 +00:00
xavier
7b6f46a26c Title block templates: cells widths are now adjusted to fit the total width when possible.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1566 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-13 18:01:51 +00:00
scorpio810
aa13b0a708 Change logo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1565 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-11 21:34:03 +00:00
scorpio810
b135844910 Add other TBT
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1564 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-11 19:40:31 +00:00
xavier
8daa1bebce Cut/Copy/Paste menu entries are now enabled/disabled according to the current state of editor, selection and clipboard.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1563 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-11 16:06:48 +00:00
xavier
9bf900ca29 Minor refactoring within TBT commands.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1562 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-11 16:06:46 +00:00
xavier
f6b2037fb9 Title block template editor: implemented cut operation.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1561 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-11 16:06:43 +00:00
xavier
ab3caba9ef Title block template editor: implemented paste operation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1560 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-11 16:06:40 +00:00
xavier
dc2ea1ae80 Added TitleBlockCell::loadContentFromCell()
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1559 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-11 16:06:37 +00:00
xavier
14d5811979 Title block templates: cell saving/loading code is now shared between TitleBlockCell and TitleBlockTemplate.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1558 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-11 16:06:30 +00:00
xavier
e7d724ebde Fixed a typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1557 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-11 16:06:27 +00:00
xavier
1f192b26c7 Title block template editor: implemented copy operation.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1556 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-11 16:06:22 +00:00
pawel32640
fa34d7fbe6 minor changes in the polish translation files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1555 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-11 13:49:35 +00:00
pawel32640
6ed064b8fb Polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1554 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-07 15:37:05 +00:00
scorpio810
03fd6e72a9 Add new symbols, thanks Eike Krumbacher
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1553 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-07 12:04:47 +00:00
scorpio810
7d3b37e587 Minor change in TBT DIN_A4
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1552 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-07 11:50:14 +00:00
xavier
ea3042e514 Updated Arabic translations, thanks to Mohamed Souabni.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1551 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-05 22:33:46 +00:00
xavier
9f62655914 Added a forgotten Q_UNUSED statement
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1550 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-05 22:15:27 +00:00
scorpio810
08a810dbe6 Refresh n°2 TBT DIN_A4
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1549 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-05 18:14:36 +00:00
scorpio810
807c66ec4e Refresh Titleblock DIN_A4
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1548 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-05 18:10:27 +00:00
scorpio810
4f64939ade Add new titleblock DIN A4 , first works
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1547 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-05 13:26:57 +00:00
xavier
b189c72fd9 Title block template editor: the "Merge cells" and "Splti cell" actions are now enabled and disabled depending on what is currently selected.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1546 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-04 18:27:37 +00:00
xavier
ae39ee4713 Removed array intialized with a dynamic length at run-time.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1545 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-04 17:42:25 +00:00
pavelfric
987c36799a Updated Czech translations - many thanks to Xavier :]
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1544 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-03 20:35:00 +00:00
pavelfric
af2a2e71b5 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1543 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-03 19:59:11 +00:00
pavelfric
68ee93ccbe Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1542 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-03 18:46:56 +00:00
xavier
6bdd166e57 Title block templates now embed a free field for extra information.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1541 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-03-02 17:55:27 +00:00
xavier
fac0fea239 The title block template editor now displays a tooltip with the edited template's minimum and maximum widths.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1540 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-28 18:54:34 +00:00
xavier
ef2958eab1 Title block template editor: percentage are now bound within 1-100 range
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1539 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-27 18:31:47 +00:00
xavier
f7d27f25a1 Title block template editor: now write the preview width to application settings.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1538 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-27 18:20:33 +00:00
xavier
7a955b777f RTL languages integration: mirrored a few icons.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1537 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-27 18:19:39 +00:00
xavier
1e8e01c84c Replaced the QET_TBT_USE_QPICTURE_BASED_CACHE compile-time option with a hardcoded runtime check.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1536 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-26 21:54:47 +00:00
xavier
6199503954 Fixed erroneous messages in .pro file.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1535 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-26 21:00:56 +00:00
xavier
9a996544f6 Due to a nebulous QPicture-related bug, added a compile-time option to enable the cached rendering of titleblock templates.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1534 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-26 18:35:48 +00:00
xavier
fd155f90d4 Title block template rendering: minor optimization.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1533 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-26 18:34:24 +00:00
scorpio810
e7c9d8cf9a Minor changes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1532 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-26 13:35:02 +00:00
pawel32640
c3bf22ef2e Small changes in Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1531 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-26 09:07:58 +00:00
xavier
988c983bd5 Reintegrated Qt Italian translations since they do not seem to be provided by Qt.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1530 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-25 18:45:30 +00:00
xavier
4164cf227f Removed Qt translations from the lang/ directory.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1529 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-25 16:44:11 +00:00
pawel32640
d0d27efd57 Small changes in Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1528 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-25 08:59:42 +00:00
xavier
271ee23116 Various improvements for RTL languages.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1527 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-24 21:26:24 +00:00
pawel32640
a73c260e6c Small changes in Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1526 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-24 11:54:13 +00:00
drslump
dc2c47f6e6 updated qet_it italian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1525 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-22 14:20:13 +00:00
xavier
542f061370 Added French and English translations to a Polish-only element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1524 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-22 05:55:43 +00:00
pawel32640
2d1d3c9c3e Polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1523 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-21 23:44:31 +00:00
scorpio810
a60d840aae Minor changes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1522 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-21 17:04:01 +00:00
xavier
292622ea97 Fixed a few original strings, updated translations accordingly.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1521 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-20 22:26:52 +00:00
xavier
8d7316641f Slightly improved the rendering of the "About QET" dialog with RTL languages.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1520 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-20 21:21:40 +00:00
xavier
fa54b6eaae Updated translation files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1519 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-20 21:20:51 +00:00
xavier
0815332c73 The application now uses right-to-left layouts when required by translations through a special, non-displayed translated string.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1518 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-20 21:20:34 +00:00
xavier
007e627b86 Updated Arabic translations thanks to Mohamed's work.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1517 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-20 21:04:12 +00:00
xavier
03bb2b3776 Now checks whether g++ option -fno-ipa-sra is available before adding it.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1516 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-20 20:24:03 +00:00
pawel32640
37daadacd9 Polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1515 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-20 15:09:15 +00:00
scorpio810
2b92163230 Add new symbols, thanks pawel
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1514 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-19 14:56:14 +00:00
scorpio810
39c1913640 Add new symbols , thanks pawel & eike
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1513 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-18 02:29:09 +00:00
xavier
62bb0d2d01 Title block template editor: added icons for row/columns/cells operations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1512 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-17 07:26:46 +00:00
pawel32640
caacd177d7 Polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1511 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-16 20:50:37 +00:00
xavier
b6ae248036 Oxygen-based theme: updated zoom-related icons.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1510 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-16 19:09:30 +00:00
pawel32640
22f4a7cecf Polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1509 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-16 17:48:46 +00:00
scorpio810
932ba96c98 Add new symbols , thanks lack_sun_2012
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1508 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-15 18:01:33 +00:00
xavier
fce37998d1 Now uses -fno-ipa-sra with g++, due to compilation errors wth -O2 and beyond.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1507 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-14 21:09:38 +00:00
xavier
ee99c57218 QETTemplateEditor now inherits from QETMainWindow.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1506 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-13 22:28:26 +00:00
xavier
55cfef61b8 QETElementEditor now inherits from QETMainWindow.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1505 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-13 22:13:19 +00:00
xavier
92897f14a8 QETDiagramEditor now inherits from QETMainWindow.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1504 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-13 22:12:37 +00:00
xavier
5f019b859d Introduced the QETMainWindow class.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1503 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-13 22:10:36 +00:00
xavier
9c59980228 Template editor: added keyboard shortcuts for open from file and save to file actions.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1502 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-13 22:09:40 +00:00
xavier
518987a9a0 Generic panel: elements were not correctly marked as used in some cases.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1501 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-12 17:25:08 +00:00
xavier
072f63dfb6 Elements panel: replaced embedded collections original titles with simpler ones.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1500 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-12 17:19:01 +00:00
xavier
b50ff0fb8a Expand projects tree only the first time they are displayed.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1499 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-12 17:17:44 +00:00
xavier
3036f23d1b The elements panel now checks that embedded collections exist before expanding them.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1498 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-12 16:47:37 +00:00
xavier
bd53c662b7 Fixed a minor typo.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1497 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-12 16:45:05 +00:00
xavier
39c75e0136 The elements panel now applies again the filter when the panel content is changed.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1496 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-12 15:33:04 +00:00
xavier
bde78d0412 Improved the GenericPanel class: added generic updateItem() and fillItem() methods and a panelContentChanged() signal.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1495 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-12 15:29:57 +00:00
pawel32640
815c973050 Polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1494 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-09 11:21:59 +00:00
xavier
3abdd8a9c0 Partially fixed some problems inherent to adding/updating panel items when a filter is applied.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1493 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-06 22:46:26 +00:00
xavier
9fb4eb7c2d GenericPanel and its subclasses now use the title and icon provided by collections.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1492 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-06 22:34:52 +00:00
xavier
7661b2f47e Elements collection now have a title and an icon.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1491 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-06 22:13:39 +00:00
xavier
7ca84724ae Refactoring: added the class GenericPanel, which provides most functions for ElementsPanel, ElementsCategoriesList, and any future panel-like widget.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1490 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-06 21:21:43 +00:00
xavier
4adbba85df Added QETApp::collectionCache() for the currently unique SQLite cache to be usable by most classes.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1489 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-06 21:19:58 +00:00
xavier
6b8506c61e Implemented TitleBlockTemplatesCollection::templatesLocations() to ease templates collections usage.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1488 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-05 19:33:11 +00:00
xavier
7d4b90ca3a The *Location classes can now be used with QVariant, QHash and signals/slots.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1487 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-05 19:24:42 +00:00
xavier
0e63192a3d Fixed a minor bug in the template editor > save as dialog.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1486 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-05 18:56:02 +00:00
xavier
ef07a3b7f0 Added Arabic to the translations statistics script.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1485 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-03 21:36:19 +00:00
xavier
4a07d8de7e Added Arabic translation by Mohamed Souabni.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1484 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-02-03 21:19:33 +00:00
scorpio810
230daa4636 Add new example and symbols thanks black_sun
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1483 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-28 14:45:50 +00:00
xavier
a04f7b33e4 Updated Windows start script.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1482 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-26 21:29:36 +00:00
scorpio810
b777e759b8 Add new ewample , thanks Gérard
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1481 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-26 14:47:05 +00:00
xavier
2678b75b14 Title block properties dialog: the templates list is now dynamically updated.
Also, it is now possible to edit and/or duplicate the default template.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1480 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-25 18:02:17 +00:00
xavier
0345e54512 When editing a diagram, it is now possible to edit and/or duplicate a title block template from the title block properties dialog.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1479 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-25 07:29:50 +00:00
xavier
cae43d0fc1 The "clean project" dialog is now able to clean unused title block template.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1478 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-24 07:11:19 +00:00
xavier
7f9d792368 The panel now highlights unused title block templates.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1477 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-23 20:36:51 +00:00
xavier
6d5570404a The title block template editor now opens templates as read-only if needed.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1476 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-23 07:22:07 +00:00
xavier
0473244284 The panel now reflects whether title block templates are read-only.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1475 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-23 07:21:09 +00:00
xavier
3fc9409559 Improved isReadOnly() methods for templates collections.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1474 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-23 07:20:07 +00:00
xavier
21c8ffbd7b Added setReadOnly() methods to the title block template editor classes.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1473 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-22 14:35:57 +00:00
xavier
0e0e4dfc29 Fixed the widgets alignments in the cell edition widget.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1472 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-22 12:08:52 +00:00
xavier
4795ed206d Implemented drag'n drop of title block templates to diagrams + automatic integration in the parent project
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1471 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-22 10:40:37 +00:00
xavier
1ef2a0421a Fixed typos.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1470 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-19 21:01:26 +00:00
xavier
156867a380 Minor improvements in the TitleBlockTemplateLocation class.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1469 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-18 19:53:27 +00:00
xavier
aa0a83e0d6 Added API to get a valid TitleBlockTemplateLocation from a string.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1468 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-15 19:26:40 +00:00
pawel32640
9c658d84b1 removing duplicate elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1467 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-15 18:52:33 +00:00
pawel32640
03cd055b9a minor change element - the ability to edit the MAC address
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1466 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-15 18:36:39 +00:00
pawel32640
3890ed9811 Polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1465 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-15 18:17:38 +00:00
pawel32640
02eecf52a0 Polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1464 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-15 17:42:55 +00:00
drslump
a8a8610f48 updated qet_it italian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1463 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-15 16:00:00 +00:00
pawel32640
22d589f630 Polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1462 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-15 15:21:49 +00:00
pawel32640
ad4646e534 Polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1461 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-15 14:27:49 +00:00
xavier
a2d095e7a8 Title block tempalte editor: added undo/redo menu entries.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1460 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-15 00:33:03 +00:00
pavelfric
1f960e10ac Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1459 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-14 20:22:29 +00:00
xavier
44dbe5a20f Title block template editor: the window title now displays a [Modified] tag.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1458 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-12 07:24:21 +00:00
xavier
fa11ec59ad Title block template editor: added "Open from file" and "Save to file" actions.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1457 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-12 07:04:09 +00:00
xavier
a9e4d972b8 Added method TitleBlockTemplate::saveToXmlFile().
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1456 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-12 06:47:02 +00:00
xavier
358aef7cf5 Translated misc/qelectrotech.xml to Czech using x-qet-*.xml files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1455 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-10 22:21:03 +00:00
xavier
94f1bf0d87 Changed Pawel's mail address.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1454 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-10 21:44:09 +00:00
xavier
d535283d24 Handled window closing and added File > Open in the title block template editor.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1453 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-10 18:53:48 +00:00
pawel32640
8c48856886 Polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1452 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-10 12:28:30 +00:00
pawel32640
da4591cdca Polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1451 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-10 11:58:04 +00:00
pawel32640
416a16ca01 Polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1450 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-10 11:43:51 +00:00
pawel32640
34b5859fc8 Polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1449 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-10 09:58:02 +00:00
pawel32640
2eb28ddc2f Polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1448 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-10 09:41:56 +00:00
xavier
69302638be Added the TitleBlockTemplateLocationSaver class.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1447 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-10 07:07:48 +00:00
pawel32640
8208bdef6b Polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1446 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-09 20:08:55 +00:00
pawel32640
b211c2d3fd Polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1445 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-09 19:17:14 +00:00
xavier
980490fd82 Added File > New in the title block template editor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1444 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-09 18:50:26 +00:00
xavier
364750f09d Updated start script.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1443 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-08 23:36:50 +00:00
pavelfric
8cae0c000c Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1442 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-08 22:38:59 +00:00
pavelfric
5cff725310 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1441 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-08 22:16:29 +00:00
pavelfric
8f1e93bee9 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1440 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-08 22:03:36 +00:00
scorpio810
1b46f7709a merge svn diff -r 1436:1437 to avoid crush pavel taff :p
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1439 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-08 21:24:43 +00:00
scorpio810
3043fc8e2f Refresh new symbol and translate to english
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1438 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-08 20:57:57 +00:00
pavelfric
ab94c96567 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1437 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-08 18:11:04 +00:00
xavier
eb429d1730 Updated .ts files and English translations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1436 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-08 17:18:00 +00:00
xavier
4c24526928 Removed the obsolete "TemplateEditor" class.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1435 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-08 17:09:17 +00:00
xavier
4e65acef0d Added two simple title block templates.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1434 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-08 17:05:17 +00:00
xavier
91adb47b88 Implemented the common and custom title block templates collections.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1433 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-08 17:04:34 +00:00
scorpio810
c86b064847 Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1432 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-08 14:03:53 +00:00
pavelfric
17c7b84b45 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1431 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-07 15:50:00 +00:00
pavelfric
53a9802f36 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1430 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-07 14:28:26 +00:00
pavelfric
0279ad21df Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1429 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-07 11:07:19 +00:00
pavelfric
02da5c9875 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1428 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-05 22:58:39 +00:00
xavier
a5ab02406b Updated English translations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1427 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-02 01:20:47 +00:00
pawel32640
f8e3626bf2 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1426 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-02 00:49:07 +00:00
xavier
0efe9774d1 Updated .ts files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1425 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-01 22:55:04 +00:00
xavier
5ccf015280 Updated copyright notice for year 2012.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1424 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-01-01 22:51:51 +00:00
drslump
df1c9dae3c updated some elements italian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1423 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-31 21:13:19 +00:00
drslump
ef46da501d updated qet_it.ts italian translation and Happy New Year
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1422 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-31 19:38:56 +00:00
pawel32640
66a4fd827c polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1421 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-31 04:30:22 +00:00
xavier
7c2716ae35 Elements panel: now require user confirmation before deleting a title block template.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1420 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-31 02:30:31 +00:00
xavier
853d169549 Title block template editor: the logos combo box is now updated after every change made from the logo manager.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1419 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-30 02:42:50 +00:00
xavier
5a1d557668 Diagram view: update the scene after the title block template is changed.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1418 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-30 02:17:26 +00:00
xavier
dd2801f784 Added zoom-related menus.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1417 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-30 02:05:46 +00:00
xavier
c560a61610 Removed duplicate terminals in repartiteur.elmt.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1416 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-29 17:42:18 +00:00
xavier
adb8c26f8b Diagram loading: removed an optimization that could lead to conductors not being loaded when several terminals share the same coordinates.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1415 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-29 17:37:24 +00:00
xavier
7c50ff6c94 Double clicking on a title block template now opens a dedicated editor.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1414 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-27 02:17:07 +00:00
xavier
5582ec974c Closing a project now attempts to close the related title block template editors.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1413 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-27 01:40:32 +00:00
xavier
82e6e22a4a The systray icon is now able to manage title block template editors as well.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1412 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-27 01:39:45 +00:00
pawel32640
b683aee182 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1411 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-26 19:31:08 +00:00
xavier
5b6bea0601 Title block template editor: implemented "Save as" action.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1410 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-26 05:42:48 +00:00
xavier
188dabf88a Updated English translations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1409 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-25 18:40:26 +00:00
xavier
c6a74baa9e Added strings from the title block template editor into .ts files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1408 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-25 18:25:57 +00:00
xavier
66ab3b20d6 Added comments for translators.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1407 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-25 18:22:39 +00:00
youssefsan
b1d2d5f9f9 Translation of some strings into Spanish. 885/885
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1406 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-25 18:12:24 +00:00
xavier
5b2a2249af Began implementing a WYSIWYG title block template editor.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1405 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-25 17:45:39 +00:00
youssefsan
271242d207 Translation of some strings into Catalan. 588/885
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1404 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-24 18:37:00 +00:00
youssefsan
edce3e18b0 Translation of some strings into Catalan. 558/885
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1403 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-24 17:22:14 +00:00
xavier
1dcd4ab652 Fixed a typo in comments.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1402 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-23 17:43:13 +00:00
xavier
55c191b7da Made the NameList class usable with QVariant.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1401 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-23 17:41:16 +00:00
xavier
fdb57497ae Fixed a warning about an unused variable.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1400 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-23 17:38:08 +00:00
xavier
4cdf293f01 Indentation fix.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1399 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-23 17:33:46 +00:00
pawel32640
5d274349cd polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1398 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-22 03:29:14 +00:00
scorpio810
45c2923bc6 Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1397 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-21 14:01:38 +00:00
youssefsan
dad45ea974 Translation of some strings into Spanish (860/885).
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1396 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-18 17:09:49 +00:00
youssefsan
009cdb285a Translation of some strings into Spanish (837/885).
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1395 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-17 21:40:44 +00:00
youssefsan
02c7879eeb Translation of some strings into Catalan (544/885). Fixing some Catalan translations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1394 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-17 21:06:06 +00:00
pawel32640
8b4a0d367b minor amendment of the polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1393 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-09 12:44:00 +00:00
pawel32640
7bda3ad839 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1392 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-09 06:39:28 +00:00
pawel32640
6a812984ca polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1391 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-08 07:43:04 +00:00
youssefsan
d4a9653a41 Translation of some strings into Catalan. 533/885
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1390 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-07 17:36:55 +00:00
pawel32640
d21d932677 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1389 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-07 09:44:59 +00:00
xavier
53e19b85e6 Fixed missing French translation for an element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1388 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-07 06:42:23 +00:00
xavier
ff383ce291 Updated English translations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1387 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-06 19:50:13 +00:00
xavier
2488e9a7e7 Fixed a typo and updated translation files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1386 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-06 19:44:09 +00:00
youssefsan
1962114dc8 Translation of some strings into Catalan. 516/881
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1385 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-06 17:43:18 +00:00
youssefsan
54092e0f01 Translation of some strings into Catalan. 482/881
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1384 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-06 15:41:11 +00:00
youssefsan
847688321a Translation of some strings into Catalan. 444/881
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1383 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-06 14:05:13 +00:00
youssefsan
917b7422b8 Translation of some strings into Catalan. 444/881
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1382 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-06 14:04:25 +00:00
youssefsan
cba41ef345 Translation of some strings into Catalan. 406/881
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1381 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-06 12:38:04 +00:00
pawel32640
b9a46fd6f9 polish translation update - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1380 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-04 18:55:06 +00:00
youssefsan
d8fa44e07e Translation of some strings into Catalan. 383/881
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1379 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-04 18:11:25 +00:00
youssefsan
2d5161b4ac Translation of some strings into Catalan. 360/881
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1378 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-03 16:17:40 +00:00
scorpio810
914984e421 Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1377 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-12-02 15:50:33 +00:00
pawel32640
a66c6daae0 polish translation update and example m_000
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1376 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-11-29 05:08:00 +00:00
youssefsan
6a9a9fa92e Adding some translation in Catalan. 352/881
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1375 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-11-26 17:13:33 +00:00
scorpio810
e982d62dbf Minor changes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1374 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-11-12 15:29:16 +00:00
pawel32640
c1615dfa9c Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1373 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-11-02 14:24:32 +00:00
scorpio810
9089310e92 Add new symbols , thanks pawel
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1372 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-31 08:12:59 +00:00
scorpio810
383f3f125a Add new symbols , thanks david666
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1371 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-15 20:30:28 +00:00
scorpio810
fff5c762f8 Add new symbols , thanks pawel
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1370 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-09 19:01:12 +00:00
youssefsan
908d9f07a8 Translation of some strings into Catalan. 342/881
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1369 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-09 18:31:27 +00:00
scorpio810
8340c1399a Add new symbols , thanks pawel
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1368 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-09 13:44:55 +00:00
youssefsan
504a052e9b Added some translation. 329/881
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1367 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-09 13:20:09 +00:00
xavier
d431139d57 The application now avoids reading and keeping in memory every element file in the collection.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1366 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-08 21:54:53 +00:00
xavier
883da2a9c0 Lock-related improvement in ElementsCollectionCache.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1365 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-08 21:51:38 +00:00
drslump
282ac82ead updated elements/recepteurs/lampes italian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1364 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-08 06:06:22 +00:00
xavier
a5a05ac60c Fixed another guessable duplicated translation.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1363 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-05 20:10:43 +00:00
nishiki
076ab12843 Change tabulation by spaces
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1362 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-05 19:58:21 +00:00
xavier
cd6a11be76 Fixed duplicated lang attributes.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1361 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-05 19:54:52 +00:00
nishiki
235681d330 Update the french and english translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1360 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-05 19:52:11 +00:00
pawel32640
18a432ef62 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1359 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-05 19:41:14 +00:00
xavier
81dbda4f51 Improved the translation statistics script so that it displays any collection item having two identical "lang" attributes.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1358 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-05 19:41:03 +00:00
nishiki
f2f63edd07 Update the french and english translate
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1357 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-05 19:38:08 +00:00
xavier
3ff91116ac Minor fix in interrupteur_qmb.elmt.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1356 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-05 19:29:42 +00:00
pawel32640
fd63d4ca4c polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1355 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-05 18:52:53 +00:00
pawel32640
76665da0aa polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1354 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-05 16:30:12 +00:00
scorpio810
12306968cb Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1353 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-05 09:54:34 +00:00
pawel32640
c90c13e3f1 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1352 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-04 18:46:54 +00:00
scorpio810
0f8a504eaa Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1351 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-03 16:19:23 +00:00
xavier
9659175616 UI consistency: renamed "Import element" to "Open an element file", separated this action from those related to the current selection, and ensured elements-related actions are disabled when selecting a project/diagram/title block template.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1350 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-01 20:07:53 +00:00
xavier
710a733980 The elements panel now displays the folio index before each diagram title.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1349 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-01 19:48:26 +00:00
xavier
312beaa83f Improved revision 1346.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1348 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-01 19:46:59 +00:00
xavier
e0d8186438 Fixed a segfault that could occur when removing a diagram from a project.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1347 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-01 19:22:30 +00:00
xavier
f82c74557d Fixed a bug causing new diagrams to be placed after elements collection in the elements panel.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1346 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-01 19:17:11 +00:00
xavier
ac0386203e Fixed a bug causing new diagrams to be placed after title blocks parent directory in the elements panel.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1345 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-01 17:11:54 +00:00
xavier
6ca6d01352 Reverted previous revision.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1344 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-01 10:15:53 +00:00
drslump
fdfdf630fd some elements italian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1343 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-10-01 06:15:44 +00:00
xavier
7324457f94 Fixed a segfault occurring when trying to open a non-QET file.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1342 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-29 04:42:25 +00:00
pawel32640
d201141bb6 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1341 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-25 21:47:20 +00:00
xavier
94eaebc8f8 Added .qm file for Romanian.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1340 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-25 18:41:41 +00:00
pawel32640
bdb9d6bdbb minor fixes in the catalog "elements_de_distributeurs"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1339 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-24 18:00:39 +00:00
pawel32640
eb025b1b58 changes in the "elements_de_distributeurs" part 2 / 2
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1338 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-24 10:50:36 +00:00
xavier
3ee8fdac20 Removed an absolete @todo.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1337 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-23 05:46:31 +00:00
pawel32640
f2ee94ddbe changes in the "elements_de_distributeurs" part 1 / 2, added new elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1336 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-22 12:09:50 +00:00
scorpio810
46808be7f6 Refresh symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1335 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-21 15:38:12 +00:00
xavier
5e39beaa7d Added a mutex to avoid loading a collection twice at the same time.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1334 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-20 17:49:17 +00:00
scorpio810
d2712d8188 Add new symbols , thx pawel
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1333 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-20 14:24:39 +00:00
xavier
11ee61df4b Ensured the collections are read again when deleting an element or a category.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1332 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-18 13:31:41 +00:00
scorpio810
70483e4b54 Minnors change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1331 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-17 18:16:42 +00:00
scorpio810
837aa248d8 Draw for lightness
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1330 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-17 15:22:29 +00:00
xavier
2a6ecee31b Implemented a SQLite-based cache to speed up the elements panel loading.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1329 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-13 21:46:10 +00:00
scorpio810
9f9c67f4cf Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1328 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-13 17:13:10 +00:00
scorpio810
04011fc9f6 Add news symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1327 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-12 01:47:03 +00:00
xavier
4dc5100756 Fixed two elements lacking a French translation.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1326 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-11 00:18:38 +00:00
scorpio810
a7f4b1f9ed Fix elements_bad_coordinates
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1325 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-09 23:05:35 +00:00
xavier
3930a2580e The application now includes the folio number when displaying the properties of a selected element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1324 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-08 19:03:13 +00:00
scorpio810
b903b2b6d1 rename filenames
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1323 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-07 17:36:13 +00:00
scorpio810
41d3c01d66 Add new symbols thx malangot
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1322 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-07 14:03:34 +00:00
pawel32640
2d0a50cf5f removing outdated files QuickStart_QET_pl
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1321 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-04 05:11:26 +00:00
pawel32640
c7a4e086e9 m_000.qet file update, the directory exaples
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1320 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-04 04:17:31 +00:00
scorpio810
379ab88ca6 Fix elements_bad_coordinates 1)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1319 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-03 20:13:40 +00:00
scorpio810
3da355af22 Minors changes : remove badly antialiased in some elements , add qet_directory missing
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1318 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-03 19:19:06 +00:00
scorpio810
575e3321cc Rename filenames
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1317 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-02 08:23:01 +00:00
scorpio810
440eaf5869 Add new symbols , thx malangot
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1316 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-09-02 08:04:22 +00:00
xavier
4dc58447ca As elements, diagrams now have a "version" attribute for compatibility purposes.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1315 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-08-29 21:50:43 +00:00
nishiki
0d58f970a1 Modification of the qmessagebox during the open of project
more recently than the qet's version used.
The qmessagebox request if we want continue or cancel
the open of project




git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1314 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-08-26 19:06:35 +00:00
scorpio810
b1c0d8eea1 add a F2 shortcut for the widget "Edit the color of the given conductor"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1313 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-08-22 11:17:10 +00:00
xavier
0b97e6ad99 Indentation fix.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1312 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-08-17 18:58:07 +00:00
scorpio810
19bfb8e628 fix format in aboutqet.cpp
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1311 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-08-17 10:16:44 +00:00
scorpio810
e7dee990ad Add new symbols thanks pawel
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1310 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-08-15 16:00:20 +00:00
benoit
4f9c8b13aa Correction mineurs composants
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1309 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-08-14 18:11:11 +00:00
pavelfric
71e0f05fcc Update of Czech translation of elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1308 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-07-06 08:06:26 +00:00
pavelfric
f7edf46b3b Update of Czech translation of elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1307 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-07-05 08:53:36 +00:00
drslump
ea389fcf2b update italian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1306 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-07-02 07:20:22 +00:00
pavelfric
1eae8e9a9d Update of Czech translation of elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1305 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-07-02 06:15:26 +00:00
pavelfric
f64afb3de1 Update of Czech translation of elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1304 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-06-27 16:30:02 +00:00
pavelfric
87f25b4ea5 Update of Czech translation of elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1303 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-06-26 18:03:17 +00:00
pavelfric
2b61458bc9 Update of Czech translation of elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1302 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-06-26 16:55:08 +00:00
pavelfric
09c362c954 Update of Czech translation of elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1301 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-06-26 16:49:38 +00:00
pavelfric
6f068bb155 Update of Czech translation of elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1300 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-06-26 11:30:12 +00:00
pavelfric
edab65e50a Update of Czech translation of elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1299 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-06-25 20:17:16 +00:00
pavelfric
806b92d8ee Update of Czech translation of elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1298 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-06-25 08:53:04 +00:00
scorpio810
b4d5b5ec80 Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1297 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-06-24 10:26:45 +00:00
pavelfric
9e857aff4e Update of Czech elements translation.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1296 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-06-22 17:27:11 +00:00
pavelfric
e9c6b6a41c Update of Czech translation of elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1295 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-06-19 15:09:50 +00:00
xavier
bf348a42d0 Title block templates variables names now accept digits.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1294 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-06-04 12:44:17 +00:00
xavier
9049809ac1 Fixed vertical alignment parsing for title block templates.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1293 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-06-04 11:42:20 +00:00
xavier
2144ced889 Updated the only example file that uses title block templates.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1292 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-06-03 00:49:16 +00:00
pavelfric
dc327579cc Update of Czech translation of elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1291 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-05-28 19:43:47 +00:00
pavelfric
1c3c026362 Update of Czech translation of elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1290 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-05-28 16:48:03 +00:00
pavelfric
a323d3c8f8 Update of Czech translation of elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1289 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-05-28 08:33:50 +00:00
pavelfric
8fe4e99264 Update of Czech translation of elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1288 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-05-27 19:21:20 +00:00
pavelfric
b83bf84e7a Update of Czech element's translation.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1287 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-05-26 20:00:39 +00:00
xavier
caa0df63dc Titleblock templates values and labels can now be translated.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1286 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-05-25 14:09:47 +00:00
pavelfric
6de787a0cc Update of Czech translation - elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1285 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-05-24 16:45:36 +00:00
pavelfric
97dc089f02 Update of qet_cs.ts and .qm files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1284 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-05-23 16:32:03 +00:00
jcm
e1f642e421 Updated Pt translations v0.3
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1283 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-05-21 19:17:07 +00:00
pavelfric
78aa272836 Update of Czech translation of elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1282 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-05-21 09:28:26 +00:00
pawel32640
c6c687a1dc minor corrections in the polish translation files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1281 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-05-15 15:54:36 +00:00
pawel32640
6c6e47d8b6 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1280 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-05-15 10:47:39 +00:00
pavelfric
3cb3283053 Elements - Czech update.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1279 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-05-14 11:30:30 +00:00
pavelfric
10b507cceb Update of Czech translation of elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1278 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-05-14 08:32:21 +00:00
xavier
6ee9f2ffa4 Slightly improved behaviour when the common collection directory is not available.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1277 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-05-10 11:39:28 +00:00
xavier
b536c0998b Translation stats script: Fixed Laurent's email address.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1276 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-04-21 08:53:49 +00:00
xavier
70b54d8d5a Translation stats script: Fixed month in "Last update" line and assigned French/English to Laurent.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1275 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-04-21 08:38:21 +00:00
pawel32640
9f1cb20a38 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1274 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-04-18 07:35:43 +00:00
scorpio810
0dca6184bb Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1273 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-04-17 13:14:51 +00:00
pawel32640
e47ff17e3e polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1272 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-04-12 07:26:00 +00:00
scorpio810
d49bc9c4c2 Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1271 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-04-12 03:16:26 +00:00
scorpio810
5ea104640e Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1270 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-04-11 06:50:43 +00:00
scorpio810
a1cfd83d56 Other remove antialiasing
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1269 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-04-09 09:49:24 +00:00
scorpio810
f20dcb7a05 Add new symbols and remove antialiasing
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1268 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-04-09 09:02:48 +00:00
scorpio810
0742812e6a Add new symbols , thx C V C 71
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1267 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-04-07 20:37:49 +00:00
pavelfric
cb64b1b4e5 Update of Czech translation.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1266 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-04-06 19:04:55 +00:00
scorpio810
48dfa8bcc4 Minor refresh symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1265 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-04-05 13:28:16 +00:00
scorpio810
e4f644595a Classification symbols in blocs_de_securite directory
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1264 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-04-05 13:17:43 +00:00
pavelfric
046655cc63 Update of Czech translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1263 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-04-04 18:11:56 +00:00
scorpio810
afe75a4a4c Translation name symbols to french and remove duplicate symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1262 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-04-04 11:52:11 +00:00
scorpio810
21893fa6d0 Translation symbols name in french
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1261 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-04-03 15:43:49 +00:00
pawel32640
d2b87cd4b8 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1260 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-04-03 10:06:11 +00:00
pawel32640
a7b9222638 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1259 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-04-03 09:02:25 +00:00
xavier
1f976c8574 Removed two useless svn:executable properties.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1258 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-04-02 13:52:13 +00:00
xavier
4be7b35529 Made 58 elements filename lowercase.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1257 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-04-01 05:58:50 +00:00
xavier
6977562e37 Made 20 elements categories lowercase.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1256 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-04-01 05:54:46 +00:00
xavier
eb89769b9d Fixed two English translations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1255 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-31 12:55:22 +00:00
scorpio810
96d0f83ed7 Other translation symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1254 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-31 06:33:31 +00:00
scorpio810
659d3d9635 Other translation symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1253 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-31 05:58:31 +00:00
scorpio810
442cccd282 Other translation symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1252 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-31 05:02:49 +00:00
scorpio810
b9d0cba0f4 delete duplicate symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1251 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-31 01:01:07 +00:00
scorpio810
f6b2e08918 Other translation symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1250 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-31 00:37:29 +00:00
scorpio810
3fd1504658 Other translation symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1249 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-30 23:11:53 +00:00
scorpio810
48100b618c Other translation symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1248 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-29 23:48:03 +00:00
scorpio810
5ac244da83 Other translation symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1247 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-29 22:57:38 +00:00
scorpio810
9e196a79c9 Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1246 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-28 23:30:11 +00:00
scorpio810
58b5364b72 Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1245 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-28 13:51:00 +00:00
pawel32640
e5ff641bd1 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1244 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-28 07:24:20 +00:00
scorpio810
c680984af4 Other translation symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1243 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-27 18:34:24 +00:00
scorpio810
f3c1707d60 Other translation symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1242 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-27 16:26:58 +00:00
scorpio810
e4f4fba950 Other translation symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1241 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-27 15:38:08 +00:00
scorpio810
09426a1988 Other translation symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1240 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-27 15:08:39 +00:00
xavier
19ca68b1bb Updated translation files: mainly line number changes, except for italian, forgotten in previous update.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1239 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-27 10:44:38 +00:00
pawel32640
a4ba56d8d6 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1238 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-27 01:35:18 +00:00
pawel32640
2a17afc091 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1237 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-27 00:13:23 +00:00
xavier
cff03e456f Fixed a bug in the print preview dialog.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1236 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-26 18:29:54 +00:00
xavier
7913fd9d00 Updated translation files, translated missing strings to English.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1235 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-26 12:32:28 +00:00
xavier
360cb0a201 Fixed a typo.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1234 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-26 12:30:25 +00:00
xavier
c474544ab5 Fixed two typos.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1233 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-26 12:25:04 +00:00
scorpio810
ac7e784b0e Delete symbol in wrong dir
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1232 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-26 04:16:04 +00:00
scorpio810
2996086375 Other translate symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1231 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-26 04:11:48 +00:00
scorpio810
9ba3216422 Other translation symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1230 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-25 14:22:35 +00:00
scorpio810
78f02a3dfb Other translation to en symbols and add qet_directory missing
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1229 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-25 11:51:30 +00:00
scorpio810
3d99188990 Other re draw symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1228 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-25 10:09:04 +00:00
scorpio810
19b28ee046 Other translation symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1227 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-24 15:50:22 +00:00
scorpio810
a040a2db1d Other translate "en" symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1226 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-24 09:41:20 +00:00
scorpio810
768b4327e0 Other refresh symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1225 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-24 09:13:34 +00:00
scorpio810
cd57cbb69c Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1224 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-24 08:21:46 +00:00
scorpio810
e6bfd892cd Add symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1223 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-24 01:53:42 +00:00
scorpio810
991759ea31 Other translation symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1222 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-23 14:59:22 +00:00
scorpio810
e11635f7c1 Classification symbols in contacts directory and add other symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1221 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-20 22:35:54 +00:00
xavier
f95b6d079a Circumvented the loading problem that occured on Windows.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1220 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-20 03:13:32 +00:00
pawel32640
6b57a90879 polish translation update - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1219 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-18 07:29:37 +00:00
xavier
96899eb9f9 Fixed the message displayed by the elements panel progress bar at first loading.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1218 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-16 22:56:46 +00:00
xavier
cf6ebf8f0f Changed the way the application loads elements collections.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1217 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-15 20:06:40 +00:00
xavier
2b537f1f28 Added count() method to ElementsCollectionItem class and its subclasses.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1216 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-15 18:32:52 +00:00
scorpio810
254239571c classification symbols in automatisme/plc/schneider directory
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1215 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-13 17:29:14 +00:00
scorpio810
24d35004e6 Classification symbols in domestique directory
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1214 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-13 16:47:32 +00:00
xavier
44544e06cf Fixed badly-formatted XML.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1213 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-12 17:23:03 +00:00
drslump
4c4fdf5d45 updated qet_it.ts added qet_it.qm translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1212 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-12 08:27:56 +00:00
scorpio810
9b9a462043 Minor refresh
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1211 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-11 14:54:50 +00:00
scorpio810
879468f3be Add other symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1210 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-11 14:36:11 +00:00
scorpio810
eb9b237901 Minor refresh symbols , thanks pawel for your control ;-)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1209 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-11 09:51:50 +00:00
xavier
b333b518be Trivial fixes in elements collection.
Slightly improved translations_stat script.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1208 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-10 21:05:09 +00:00
scorpio810
15a2c9e7ce Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1207 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-10 09:29:26 +00:00
pawel32640
b94ac2fa9d polish translation update - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1206 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-09 10:44:51 +00:00
pawel32640
365dac24e3 polish translation update - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1205 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-08 08:21:15 +00:00
scorpio810
8994913261 Minor refresh symbol
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1204 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-07 16:34:42 +00:00
pawel32640
1b7a3ae0b6 polish translation update - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1203 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-07 16:21:37 +00:00
pawel32640
ba4917450e polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1202 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-07 09:54:00 +00:00
xavier
eb1e474776 Added the script used to generate translations statistics.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1201 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-06 15:15:50 +00:00
drslump
ec1eec4fe7 some italian translatios
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1200 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-05 17:28:45 +00:00
scorpio810
bed31bcee9 Other svn remane polska to french symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1199 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-05 11:47:32 +00:00
xavier
e21f1f9f9c qelectrotech.xml: added Spanish strings.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1198 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-05 00:39:05 +00:00
scorpio810
955bfff54e Other svn remane polska to french symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1197 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-04 16:38:12 +00:00
scorpio810
45ba52013b svn remane polska to french symbols in semiconducteur dir
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1196 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-04 15:51:04 +00:00
scorpio810
0f037b901a vn remane polska to french symbols in haute-tension dir
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1195 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-04 15:33:58 +00:00
scorpio810
1ce97b42b8 svn remane polska to french symbols in domestic dir
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1194 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-04 15:21:06 +00:00
pawel32640
466704cd1e polish translation update - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1193 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-04 04:15:31 +00:00
xavier
23254f44f1 Complement to rev1190: fixed a syntactic detail in XML qet_directory files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1192 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-04 00:33:56 +00:00
xavier
4504e71e4e Uncompressed the italian man file.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1191 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-04 00:30:48 +00:00
xavier
3d04ebdb20 Fixed a syntactic detail in XML elements files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1190 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-04 00:30:10 +00:00
pawel32640
7beec1776e polish translation update - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1189 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-03 18:31:44 +00:00
xavier
491e0b7151 Integration of italian translation by Alessandro Conti: qet_directory files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1188 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-03 06:36:13 +00:00
scorpio810
7eb779e8ab minor changes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1187 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-02 15:51:24 +00:00
pawel32640
c444de69f2 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1186 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-02 09:05:15 +00:00
xavier
5c4312f86d Integration of italian translation by Alessandro Conti: elements files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1185 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-02 09:00:46 +00:00
xavier
05d35d4a3a Integration of italian translation by Alessandro Conti: all but elements, Qt-specific .ts files, and packaging/linux/fedora/README.elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1184 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-02 07:15:24 +00:00
xavier
71abf66bfd Updated Copyright notice for 2011 year.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1183 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-02 00:16:40 +00:00
xavier
46f11dab1c Removed useless svn:executable properties.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1182 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-02 00:11:32 +00:00
xavier
7bb50368f0 Merged trunk into 0.3 branch: rev1079 to 1172
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1181 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-02 00:08:41 +00:00
xavier
460b556a32 Merged trunk into 0.3 branch: rev1077 to rev1079
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1180 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-01 23:55:01 +00:00
xavier
287e458f4b Merged trunk into 0.3 branch: rev1067 to rev1077
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1179 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-01 23:26:31 +00:00
xavier
87da5daed1 Merged trunk into 0.3 branch: rev1065 to 1067
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1178 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-01 23:23:29 +00:00
xavier
d2e99b5d0b Merged trunk into 0.3 branch: rev1057 to rev1065
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1177 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-01 22:52:11 +00:00
xavier
d5f0466576 Merged trunk into 0.3 branch : rev1052 to rev1057
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1176 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-01 22:47:13 +00:00
xavier
36b8082921 Merged trunk into 0.3 branch: rev1002 to rev1052
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1175 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-03-01 22:34:39 +00:00
pawel32640
82b85e9389 minor corrections in the polish translation files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1174 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-26 17:15:05 +00:00
pawel32640
34b75c4304 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1173 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-25 18:21:03 +00:00
pawel32640
1d1c0b9937 minor corrections in the polish translation files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1172 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-25 06:48:31 +00:00
xavier
cc2982ae78 Updated localization files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1171 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-25 06:41:30 +00:00
xavier
8722c6a97d Fixed several non-internationalized strings.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1170 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-25 06:26:18 +00:00
scorpio810
d0d00fdefa Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1169 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-25 00:21:35 +00:00
pawel32640
1e5d5a3c81 minor corrections in the polish translation files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1168 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-24 09:44:50 +00:00
pawel32640
e86c359db3 minor corrections in the polish translation files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1167 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-24 09:44:32 +00:00
scorpio810
2131efe518 Add symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1166 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-23 23:45:59 +00:00
scorpio810
8f13a5836e Other translate symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1165 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-23 11:52:14 +00:00
scorpio810
c0862f9e7d Add new symbols and translate
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1164 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-23 00:20:35 +00:00
scorpio810
5775731743 Other translate symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1163 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-21 14:31:07 +00:00
scorpio810
521ff739f2 Minor changes + add other translate symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1162 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-21 06:24:01 +00:00
scorpio810
3187532bc4 Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1161 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-20 19:50:33 +00:00
xavier
b6d9ad0b58 Fixed two compile time warnings.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1160 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-20 19:43:26 +00:00
scorpio810
66f4cc2668 Add new symbols + refresh
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1159 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-19 17:38:53 +00:00
scorpio810
5344f2cc76 Other translate
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1158 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-14 16:53:18 +00:00
scorpio810
0ca0338ca4 Other translate
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1157 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-14 10:54:05 +00:00
scorpio810
8ebb7c4e33 Minor changes_2
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1156 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-13 12:33:39 +00:00
scorpio810
e5c2eab123 Minor changes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1155 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-13 12:07:51 +00:00
scorpio810
7329d8d90e Add other symbols and translate
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1154 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-12 18:33:13 +00:00
scorpio810
6570e15f10 Translate symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1153 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-12 17:46:51 +00:00
scorpio810
361815b9da Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1152 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-12 15:17:29 +00:00
scorpio810
5e7cff7316 Add new symbols , and refresh pawel symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1151 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-12 14:54:39 +00:00
xavier
a3b1ac7b74 Added an "hadjust" XML attribute to title block cells, allowing too long texts to be reduced until they fit the cell.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1150 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-02-08 06:53:47 +00:00
pawel32640
cb881bb044 minor fixes in the directory elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1149 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-01-26 18:46:41 +00:00
pawel32640
1cbbe67520 changes in the Polish translation of the elements, and lang directories
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1148 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-01-26 18:45:44 +00:00
pawel32640
ee546e5487 changes in the Polish translation of the directory elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1147 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-01-26 16:33:13 +00:00
pawel32640
3d962c9743 changes in the Polish translation of the elements, and lang directories
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1146 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-01-25 19:31:42 +00:00
pawel32640
b8e7613787 fixed bug in directory elements - inverted terminal
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1145 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-01-24 20:11:36 +00:00
pawel32640
d96283db39 fixed bug in directory elements - inverted terminal
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1144 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-01-24 20:11:09 +00:00
xavier
d242546aa6 It is now possible to specify the font size of a title block template field using the "fontsize" attribute.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1143 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-01-09 21:56:52 +00:00
xavier
134b3ba83e The user can now specify his own name/value pairs at three levels:
* user configuration level (qelectrotech.conf): default configuration for new projects
  * project level (.qet file): default configuration for new diagrams
  * diagram level (title block properties): names and values may be used by the title block template


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1142 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-01-09 15:16:51 +00:00
xavier
3b07252a9a Refactoring: move code from Diagram to BorderTitleBlock.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1141 bfdf4180-ca20-0410-9c96-a3a8aa849046
2011-01-09 00:01:38 +00:00
xavier
2b0e478f08 Title block template editor: added an "Integrate logo" button.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1140 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-28 18:57:24 +00:00
xavier
0ae33913e3 Integrated the "Default conductor properties" dialog into the "Diagram properties" one.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1139 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-28 08:21:45 +00:00
xavier
4846e4f185 The template editor does not enforce anymore the user to write the template name twice.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1138 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-28 07:05:31 +00:00
pawel32640
fc7905f8f0 reversal of the terminal - amendment
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1137 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-27 15:00:31 +00:00
pawel32640
e7e17f78e8 reversal of the terminal - amendment
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1136 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-27 15:00:10 +00:00
xavier
2642095fcf Fixed the QETProject::setTemplateXmlDescription.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1135 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-26 22:52:54 +00:00
xavier
aeae9a9f89 Added a combo box in the title block properties to choose the template that will render the title block.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1134 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-24 23:35:40 +00:00
xavier
649e3de3e6 Added context menu entries and a basic, non-WYSIWYG template editor to add, modify and delete title block templates embedded within a project.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1133 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-24 21:00:11 +00:00
xavier
616626cb1c Changed every occurence in the code of the "inset" term to "title block".
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1132 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-20 02:45:36 +00:00
xavier
596bd6fd1b Project files now load and save inset templates.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1131 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-19 18:14:05 +00:00
xavier
d17d6c492e The Diagram class now renders its usual inset with a template.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1130 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-19 18:12:56 +00:00
xavier
e11acf7b57 Introduction of classes, structs and enums related to inset templates.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1129 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-19 18:08:08 +00:00
xavier
d4cacb86c9 Got rid of the `cd' hack in the misc/launch_qet.sh script.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1128 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-19 17:16:30 +00:00
xavier
c73d51ccb8 Fixed a weirdness in the layout of the inset properties widget.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1127 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-19 17:15:43 +00:00
youssefsan
ceeef7973a Translations of strings in qet_ca. 307/826
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1126 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-12-08 17:49:33 +00:00
xavier
9e0f8da7ac Elements Panel: items are now expanded/collapsed by a double click
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1125 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-11-15 00:35:02 +00:00
xavier
f59bf133d1 Elements panel: during a drag and drop operation, the hovered item is now expanded after a short time not moving the mouse.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1124 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-11-14 20:11:57 +00:00
scorpio810
1acbf1f54c Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1123 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-11-06 11:06:29 +00:00
pawel32640
72134dcd33 change QuickStart_QET_pl v0.22 -> v0.3
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1122 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-11-05 13:03:13 +00:00
pawel32640
cf1a059a7f change QuickStart_QET_pl v0.22 -> v0.3
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1121 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-11-05 13:01:25 +00:00
scorpio810
8f6fec3e7b Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1120 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-11-05 10:59:06 +00:00
scorpio810
0a59d82106 minor translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1119 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-11-04 15:22:51 +00:00
scorpio810
d5aa85df1c Add new symbols ,thx pawel ;-)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1118 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-11-04 11:36:48 +00:00
pawel32640
aa9c4ec373 minor amendment of the polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1117 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-11-03 10:45:43 +00:00
pawel32640
2149d65a4c minor amendment of the polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1116 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-11-03 10:45:23 +00:00
pawel32640
d36bd90018 minor amendment of the polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1115 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-10-29 20:00:18 +00:00
pawel32640
401835654c minor amendment of the polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1114 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-10-29 19:59:55 +00:00
scorpio810
3f4c40791f Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1113 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-10-22 13:00:56 +00:00
scorpio810
4c71da09fd Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1112 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-10-08 14:38:14 +00:00
scorpio810
01c89c1c27 Add new examples , new quickstart pl
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1111 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-09-29 15:00:48 +00:00
scorpio810
8960e74bf6 Add new symbols , thx pawel ;-)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1110 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-09-29 14:44:27 +00:00
pawel32640
7d1355d0dd minor corrections in the polish translation files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1109 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-09-19 14:23:06 +00:00
pawel32640
0aadf94720 minor corrections in the polish translation files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1108 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-09-19 14:22:32 +00:00
pawel32640
5b20748d64 corrected errors in the polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1107 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-09-15 14:02:17 +00:00
pawel32640
16145951a0 corrected errors in the polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1106 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-09-15 14:01:31 +00:00
xavier
688e9d5695 Correction : le widget d'edition des dimensions du schema permet desormais de specifier plus de 100 colonnes / lignes.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1105 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-09-14 17:28:17 +00:00
pawel32640
441c8a9d23 slight change of address card analog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1104 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-09-02 16:25:20 +00:00
pawel32640
86144b6727 change of address card analog, minor changes appearance
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1103 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-09-02 15:58:46 +00:00
scorpio810
1e035ff1a2 Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1102 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-08-15 11:45:05 +00:00
pawel32640
cd6d05e702 minor amendment of the Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1101 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-08-09 15:44:42 +00:00
pawel32640
a86a6139f0 minor amendment of the Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1100 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-08-09 15:44:24 +00:00
pawel32640
837d0e58ad correct the error (202), and minor corrections of the polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1099 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-08-08 11:54:06 +00:00
pawel32640
648010d596 correct the error (202), and minor corrections of the polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1098 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-08-08 10:48:32 +00:00
scorpio810
05b8636627 Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1097 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-08-03 09:32:14 +00:00
pawel32640
c203371ffd minor amendment of the polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1096 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-08-01 18:26:14 +00:00
pawel32640
d5cf212fb3 minor amendment of the polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1095 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-08-01 18:25:52 +00:00
pawel32640
c20d4fe88b change of address cards analog SIMATIC
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1094 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-08-01 10:02:44 +00:00
pawel32640
718bc2d197 minor amendment of the polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1093 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-08-01 09:57:32 +00:00
pawel32640
344883aa2d minor amendment of the polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1092 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-08-01 09:54:13 +00:00
xavier
85e25bb80e Correction : le positionnement des textes statiques etait mal effectue.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1091 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-07-25 16:56:29 +00:00
xavier
8933b5bb45 Il est desormais possible de pivoter les champs de texte statique.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1090 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-07-25 15:29:58 +00:00
xavier
789054c631 Editeur d'elements : mise a jour de la gestion du positionnement et de la rotation des champs de texte dynamiques.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1089 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-07-25 14:43:06 +00:00
xavier
dc62cdac4e Correction syntaxique
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1088 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-07-25 14:28:17 +00:00
xavier
e1649a77bf Correction d'un commentaire dans la classe ElementTextItem et des methodes de debug des classes PartText*
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1087 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-07-25 14:17:05 +00:00
scorpio810
f04b7f2a5a Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1086 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-07-25 11:10:26 +00:00
xavier
15e042e142 Gestion du chargement des fichiers enregistres dans une version < 0.3.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1085 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-07-18 19:16:52 +00:00
xavier
7ad60f26d5 Correction : les champs de texte dynamiques etaient mal positionnes s'ils n'avaient pas la taille de police par defaut
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1084 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-07-18 15:16:51 +00:00
xavier
00f0b7f5b6 Correction : caractere manquant dans disjoncteur4.elmt
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1083 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-07-18 01:50:19 +00:00
xavier
0031d51b01 Remise en place de la contre-rotation pour les champs de texte rattaches a un element et ne presentant pas l'option "FollowParentRotation"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1082 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-07-18 01:46:30 +00:00
xavier
1d9093637f Correction d'une typo frequente dans les traductions : oubli d'un retour chariot
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1081 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-07-14 21:26:31 +00:00
xavier
4708cdefd1 Correction d'une typo frequente dans les traductions
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1080 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-07-14 13:57:30 +00:00
xavier
285ba550a5 Ajout des dernieres traductions d'elements de Markus
Suppression de tabulations dans certains fichiers


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1079 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-07-14 13:30:40 +00:00
pawel32640
4fd8b390c5 correct the error in the element ue410-2ro.elmt
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1078 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-07-14 07:11:53 +00:00
xavier
6fed985ad9 Amelioration du widget d'edition des proprietes d'un conducteur au niveau de sa gestion du focus
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1077 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-07-13 23:17:55 +00:00
pawel32640
cc59d364ec minor corrections appearance SIEMENS SIMATIC components (terminals)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1076 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-07-12 07:02:45 +00:00
pawel32640
a1cb199b00 minor corrections appearance SIEMENS SIMATIC components (terminals)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1075 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-07-11 21:57:01 +00:00
scorpio810
f71068d452 Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1074 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-07-11 21:20:27 +00:00
scorpio810
03465a11d0 Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1073 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-07-11 14:15:08 +00:00
scorpio810
d1e9b21cbd fix terminals grip
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1072 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-07-09 18:33:24 +00:00
pawel32640
dbd33931ad minor changes in text areas - the ability to edit the PLC addresses
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1071 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-07-07 19:22:05 +00:00
scorpio810
211fda2aa5 fix terminals grip
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1070 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-07-06 07:51:46 +00:00
scorpio810
2944a9829a Litle refresh :p
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1069 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-07-05 16:24:39 +00:00
scorpio810
faa0b1c903 Add new omron symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1068 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-07-05 15:11:24 +00:00
xavier
249815315d Traduction partielle de la collection QET par Markus
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1067 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-07-04 13:52:44 +00:00
scorpio810
433ef74867 minor correction
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1066 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-07-02 21:56:04 +00:00
xavier
c8fd831d42 Correction du bug #32 : desactivation des flags Focusable avant le rendu de l'impression pour contourner un bug Qt relatif au focus des textes.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1065 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-27 22:42:43 +00:00
xavier
c3169a3939 Reverted previous revision.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1064 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-22 20:57:46 +00:00
scorpio810
6b8e83627b Add nex symbol TUX , thx markus ;p
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1063 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-22 20:49:47 +00:00
scorpio810
b0decfbdf1 Add new symbols plc siemens: pawel ;-)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1062 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-21 19:19:24 +00:00
scorpio810
facd9c9b96 Add new symbols , thx pawel
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1061 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-19 10:32:03 +00:00
pawel32640
7512842b49 correct the error in the name of the element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1060 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-17 12:29:15 +00:00
pawel32640
33d6bbe78a polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1059 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-17 08:29:46 +00:00
pawel32640
f9c17f120f polish translation - minor change to the directory elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1058 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-17 08:21:01 +00:00
xavier
7b791c6b0b Integration de la traduction en roumain.
Correction d'un element au passage.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1057 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-16 21:43:30 +00:00
scorpio810
6c657d0f27 Add new frequency variator symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1056 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-16 14:09:18 +00:00
scorpio810
7e28694e92 Add new siemens plc symbols + refresh , thx pawel
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1055 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-15 17:30:57 +00:00
youssefsan
f231a52bdc Update Catalan translation of qet_ca
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1054 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-15 16:21:46 +00:00
scorpio810
4a2abff7d6 Add new symbols frequency variator
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1053 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-15 07:49:38 +00:00
pavelfric
337da0eaf5 Update of czech translation.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1052 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-14 17:08:58 +00:00
scorpio810
c8d54c9552 Add new leroy somer frequency variator
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1051 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-14 16:20:02 +00:00
scorpio810
f4500bf94b Add leroy somer frequency variator
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1050 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-14 15:36:30 +00:00
scorpio810
f7c25ff048 Add new movitrac frequency variator
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1049 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-14 15:01:53 +00:00
scorpio810
f70a23c72c Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1048 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-13 21:10:11 +00:00
scorpio810
9d08481c3e Add sew frequency variator
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1047 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-13 20:58:32 +00:00
scorpio810
bd6e626e89 Add omron frequency variator
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1046 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-13 20:28:11 +00:00
scorpio810
fbbaa6161c Add ABB frequency variator
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1045 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-13 20:18:07 +00:00
scorpio810
5afb578b57 Add ABE7 CPA03
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1044 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-12 20:49:28 +00:00
scorpio810
2736624636 Minors changes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1043 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-11 16:07:25 +00:00
scorpio810
050711b9d7 Add ABE7-R16S210
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1042 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-10 19:15:23 +00:00
scorpio810
260dd5773e Refresh ABE7
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1041 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-10 16:50:08 +00:00
scorpio810
8d2cea0ae2 Add new elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1040 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-10 15:57:44 +00:00
scorpio810
250f51b35e Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1039 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-09 16:42:10 +00:00
scorpio810
5b9f282d9f Add siemens soft starters
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1038 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-09 16:38:31 +00:00
scorpio810
8b90831a02 Add news soft starter eurotherm & geindustrial
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1037 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-09 15:27:44 +00:00
scorpio810
b0ff061375 Add ne soft starter Aucom
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1036 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-09 14:26:57 +00:00
scorpio810
5d9e6ed124 Add danfoss MCD soft start
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1035 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-09 13:07:42 +00:00
pawel32640
00effad34c polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1034 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-09 05:03:37 +00:00
scorpio810
832c5336a9 minors change + add new altistart
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1033 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-08 19:33:34 +00:00
scorpio810
f318e71c28 Aad news altistarts
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1032 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-08 19:08:34 +00:00
scorpio810
2e99ff6d58 Add news altistarts symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1031 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-08 14:17:21 +00:00
scorpio810
898b5f3938 Add news atv symbol + minors changes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1030 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-07 21:31:24 +00:00
scorpio810
f14254a4d5 refresh siemens micromaster_420
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1029 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-07 18:54:28 +00:00
scorpio810
c18cdc682b refresh atv16
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1028 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-07 18:33:30 +00:00
scorpio810
2fe31e9edd Add atv16 and refresh atv18
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1027 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-07 18:29:41 +00:00
scorpio810
ec6cb36d1e add atv58
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1026 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-07 17:07:25 +00:00
scorpio810
7e1284a391 add and rename atv31
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1025 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-07 16:41:43 +00:00
scorpio810
d7cf662f96 Add news atv symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1024 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-07 16:17:10 +00:00
scorpio810
4291d324c6 refresh atv11 symbol ,thx pawel ,it should serve as a model for the construction of other atv frequency variator
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1023 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-07 14:48:22 +00:00
scorpio810
249fbc13c0 Add news symbols 'frequency variator'
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1022 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-07 13:30:33 +00:00
scorpio810
7f5177ed4e Minor changes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1021 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-05 14:08:47 +00:00
pawel32640
39d5ddf175 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1020 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-05 07:45:13 +00:00
pawel32640
123290c474 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1019 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-05 07:40:15 +00:00
pawel32640
9c896b7bc0 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1018 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-04 06:58:47 +00:00
pawel32640
bf338574ce polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1017 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-04 06:55:28 +00:00
pawel32640
75df1ff4f7 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1016 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-04 06:52:30 +00:00
pawel32640
7424439158 corrected errors in the names of elements in the directory - logo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1015 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-03 18:38:17 +00:00
scorpio810
f3f677996b refresh Siemens logo digital output
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1014 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-03 08:29:48 +00:00
scorpio810
8b67ea57b1 minor changes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1013 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-02 21:57:14 +00:00
scorpio810
b767c18180 /detect_non_translated_elements.sh en
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1012 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-02 20:20:10 +00:00
scorpio810
ee74168ef8 siemens dir rating
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1011 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-02 19:33:48 +00:00
scorpio810
aefa2ec5e2 Add new siemens elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1010 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-02 17:20:52 +00:00
scorpio810
c570c74578 minor changes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1009 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-06-02 16:53:14 +00:00
pawel32640
c19175b9f2 minor corrections in the polish translation files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1008 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-30 20:22:55 +00:00
pawel32640
ef80130f13 minor corrections in the polish translation files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1007 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-30 20:19:17 +00:00
lituriy
c6d4fb1de8 * Update russian translation of Elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1006 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-30 19:25:32 +00:00
lituriy
90a62faeb0 * Update russian translation qet_ru.{ts|qm}.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1005 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-30 19:05:57 +00:00
scorpio810
9dff33822c minor corrections in the polish translation files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1004 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-30 18:44:23 +00:00
xavier
d0fc783754 Rapatriement dans la branche 0.3 des revisions 968 a 1002.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1003 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-30 16:14:14 +00:00
scorpio810
cb6dabae3b Add new siemens elements thx pawel , add translate
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1002 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-30 15:29:44 +00:00
pawel32640
7b8d7eba31 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1001 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-30 13:22:15 +00:00
xavier
2213ae5db2 Ajout de la traduction en allemand, par Markus Budde.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1000 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-28 21:43:47 +00:00
pawel32640
0ab540e47f minor changes in the polish translation directory - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@999 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-24 09:06:45 +00:00
pawel32640
f6fcf4e5d5 minor corrections in the polish translation files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@998 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-24 07:34:58 +00:00
pawel32640
cf378990c9 minor corrections in the polish translation files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@997 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-24 06:33:09 +00:00
youssefsan
bc40b2f87f more translations and some fixes in qet_ca
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@996 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-22 18:03:24 +00:00
scorpio810
55a5fb8e58 legere correction
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@995 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-20 09:17:04 +00:00
pawel32640
300b028d10 minor changes in the polish translation directory - elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@994 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-17 08:33:44 +00:00
pawel32640
7cfe98442e minor corrections in the Polish translation files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@993 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-15 20:59:20 +00:00
pawel32640
da56011554 minor corrections in the Polish translation files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@992 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-13 18:40:11 +00:00
xavier
1f941759ce Distinction de deux styles : pointilles (tirets) et pointilles (points).
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@991 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-09 18:40:08 +00:00
youssefsan
ffaf02b007 More translations in qet_ca.ts. 221/826
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@990 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-09 12:32:11 +00:00
pavelfric
3f98ca54c2 Update of czech translation of elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@989 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-09 06:51:58 +00:00
xavier
344f05d20d Lors du deplacement d'un champ de texte rattache a un conducteur, ce dernier est desormais mis en evidence.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@988 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-09 00:30:41 +00:00
xavier
c8732714b8 Il est desormais possible de deplacer les champs de texte des conducteurs.
Leur deplacement est limite aux alentours du trajet de leur conducteur parent,
Reorganisation du code pour tout ce qui est relatif aux deplacements d'items sur les schemas.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@987 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-08 21:24:43 +00:00
xavier
89cb80855a Desactivation de l'antialiasing pour le dessin du cadre des champs de texte lorsque ceux-ci sont selectionnes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@986 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-08 17:03:05 +00:00
xavier
f3679a0f9b Nettoyage dans les methodes Conductor::update*
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@985 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-04 20:36:55 +00:00
xavier
f610efef8d Simplification du code permettant la mise a jour des conducteurs lors des deplacements et rotations d'elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@984 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-04 20:18:30 +00:00
xavier
b073351872 Retour arriere sur l'utilisation de QGraphicsItem::ItemSceneHasChanged pour detecter les changements de QGraphicsScene.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@983 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-02 22:21:53 +00:00
xavier
78f79c92a7 Correction : documentation de fonctions incomplete
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@982 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-02 22:00:53 +00:00
youssefsan
f677ac4399 More translations in qet_ca.ts. 119/826
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@981 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-05-02 12:36:14 +00:00
pawel32640
ffe5a5e6f9 polish translation update - directory elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@980 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-28 14:32:50 +00:00
pawel32640
a8bb2889cd polish translation update - directory elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@979 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-28 13:44:55 +00:00
scorpio810
acd15aea0e Ajout de symboles grafcet et de nouveaux exemples
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@978 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-28 07:00:03 +00:00
scorpio810
53eec1360a Traduction des derniers symboles siemens importés
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@977 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-28 04:07:24 +00:00
scorpio810
e1ecb5ab11 Ajout de nouveaux symboles siemens
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@976 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-28 03:52:25 +00:00
scorpio810
d7a903b36f Ajout d'elements plus correction
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@975 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-27 13:29:15 +00:00
scorpio810
2b7a3a9c5e classement + correction element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@974 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-27 12:25:30 +00:00
xavier
7d599b9d13 Activation de la langue polonaise dans l'installeur Windows
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@973 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-26 18:58:50 +00:00
xavier
8a215a3169 Correction pour permettre la compilation avec Qt < 4.6.x
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@972 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-25 17:34:46 +00:00
xavier
298dc06f9e Ajout de la categorie plc/crouzet, oubliee lors du merge precedent
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@971 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-25 12:57:49 +00:00
xavier
4cd9d5f830 Lors du deplacement d'un champ de texte rattache a un element, ce dernier est desormais mis en valeur par un halo bleute.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@970 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-25 12:12:59 +00:00
xavier
eb6780abdd Rapatriement dans la branche 0.3 des revisions 903 a 968
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@969 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-25 11:20:09 +00:00
xavier
7d61f34699 Correction : certaines actions du menu Edition etaient activees dans des cas ou elles n'avaient pas de sens.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@968 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-24 22:37:45 +00:00
xavier
88a4647d11 Il est desormais possible de deplacer les champs de texte des elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@967 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-24 20:42:20 +00:00
youssefsan
3e1cdc2ff4 Starting translation to Catalan. 48/826 done
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@966 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-24 20:27:03 +00:00
xavier
d290131e1e Ajout du copyright dans deux fichiers .cpp
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@965 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-24 18:39:15 +00:00
xavier
1ea20a4ec4 Suppression de l'attribut public previous_text de la classe DiagramTextItem
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@964 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-23 22:39:59 +00:00
scorpio810
870e4b429e typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@963 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-20 14:48:01 +00:00
scorpio810
8c76c41834 classement
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@962 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-20 14:41:47 +00:00
scorpio810
0ab293b773 correction du fichier XML non valide
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@961 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-20 11:49:44 +00:00
scorpio810
582232874a deplacement de repertoire
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@960 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-20 11:40:07 +00:00
xavier
e8e081bffe Correction par rapport au commit precedent.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@959 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-18 21:08:49 +00:00
xavier
dcb1faa634 Renommage d'un argument dans la classe Diagram
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@958 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-18 21:00:27 +00:00
xavier
81ffef0afb Depoussierage de la classe Terminal
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@957 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-18 20:48:15 +00:00
xavier
4a15be2370 Ajout de deux classes (ConductorTextItem et IndependentTextItem) pour faciliter la distinction du comportement de chaque type de texte.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@956 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-18 17:59:54 +00:00
xavier
35e3b8ccf9 Suite du commit 953
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@955 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-16 16:33:52 +00:00
scorpio810
5ded47a2d6 fr to en
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@954 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-16 14:30:10 +00:00
cfdev
b44c292ba2 Corrections orthographiques ! je suis vraiment fatigue...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@953 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-16 13:31:48 +00:00
cfdev
1aead2aad8 1er release de la documentation QuickStart_QET_fr
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@952 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-14 13:53:44 +00:00
scorpio810
df4dfbc6c3 fr to en
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@951 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-11 16:31:53 +00:00
scorpio810
c4a6d3ff09 diverses corrections + fr to en
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@950 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-11 16:18:33 +00:00
xavier
84c557f68d Desactivation de la contre-rotation appliquee aux champs de texte sans FollowParentRotation lors du pivotement de leur element parent
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@949 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-11 16:03:40 +00:00
scorpio810
f2f3e4cfc4 fr to en
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@948 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-11 15:08:24 +00:00
scorpio810
fae748e4f3 fr to en
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@947 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-11 15:01:05 +00:00
pavelfric
95487f6816 Translation of newly added elements intoczech language.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@946 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-10 09:03:21 +00:00
pavelfric
9dc6952a10 Update of czech translation.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@945 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-08 19:01:59 +00:00
lituriy
b720dc4fa2 * Update russian translation qet_ru.{ts|qm}.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@944 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-05 16:22:59 +00:00
lituriy
d29c705754 * Update russian translation qet_ru.{ts|qm}.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@943 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-05 15:58:58 +00:00
xavier
531298badf Renommage de variateurs en variateurs_de_frequence
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@942 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-05 15:24:00 +00:00
scorpio810
fe42262098 correction mineure
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@941 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-05 15:16:24 +00:00
scorpio810
d410c1b4fd deplacement du repertoire automates_programmable dans le repertoire automatisme
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@940 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-05 15:11:48 +00:00
scorpio810
f0de88d267 Ajout de traductions fr/en
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@939 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-05 15:08:27 +00:00
xavier
f93740da91 Tiny correction regarding Polish translation of an element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@938 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-05 14:25:13 +00:00
pawel32640
43b1ebd71b Completed translations in Polish, corrected minor errors.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@937 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-05 10:42:39 +00:00
xavier
a61c6cb203 Ajout de traductions fr/en
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@936 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-04 15:49:29 +00:00
xavier
507cfc4977 Corrections sur les derniers elements commites.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@935 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-04 15:42:18 +00:00
xavier
d2a62fb803 Deplacement du man tcheque et restauration du man anglophone.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@934 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-04 14:53:50 +00:00
pavelfric
fd99309949 Manuel Unix - czech translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@933 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-04 14:39:17 +00:00
pavelfric
29cca4f160 Completion of czech translation and translation of manual.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@932 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-04 09:15:13 +00:00
scorpio810
fef97d2e5f Suppression de symboles en doubles
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@931 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-03 22:27:21 +00:00
scorpio810
eb37665e96 dos2unix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@930 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-03 22:24:29 +00:00
scorpio810
d87bf8ebad Corrections mineures
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@929 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-03 22:19:33 +00:00
scorpio810
937434e90e Ajout de nouveaux symboles
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@928 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-03 22:06:53 +00:00
xavier
e48b4c59d2 Deplacement des categories d'elements automates/siemens/ et variateurs/ du trunk (ou ils ne sont pas exploitables) vers la branche 0.3.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@927 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-03 14:23:21 +00:00
xavier
5df69a354e Deplacement des categories d'elements automates/siemens/ et variateurs/ du trunk (ou ils ne sont pas exploitables) vers la branche 0.3.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@927 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-03 14:23:21 +00:00
scorpio810
7dcf21ec15 sixieme jet de corrections
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@926 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-03 08:52:46 +00:00
scorpio810
bcc5cc833d cinquieme jet de corrections
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@925 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-03 08:39:39 +00:00
scorpio810
3a69e724aa quatrieme jet de corrections
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@924 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-03 08:34:21 +00:00
xavier
0b43459f31 Troisieme jet de corrections :
* noms francophones
  * separateurs decimaux


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@923 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-03 00:46:11 +00:00
xavier
fb52e4d0a3 Second jet de corrections sur les elements precedemment ajoutes :
* dos2unix


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@922 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-03 00:25:48 +00:00
xavier
31d9b759fc Premier jet de corrections sur les elements precedemment ajoutes :
* Suppression d'un doublon
  * Correction de noms francophones
  * Correction de separateur decimal


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@921 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-03 00:23:54 +00:00
scorpio810
8d328c5bc5 Correction mineure typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@920 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-01 19:58:19 +00:00
scorpio810
706fdf88e1 Correction mineure
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@919 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-04-01 19:53:02 +00:00
scorpio810
a6e587c393 Ajout de nouveaux symboles
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@918 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-31 16:24:12 +00:00
scorpio810
5cf90f8c14 Correction mineure
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@917 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-31 14:24:18 +00:00
scorpio810
aee9d289de Ajout de nouveaux symboles
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@916 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-31 14:19:39 +00:00
scorpio810
bcf27c2f4a divers ajout de symboles
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@915 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-31 08:57:49 +00:00
scorpio810
8dc929bb0e Corrections mineures
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@914 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-31 08:29:41 +00:00
scorpio810
8fa603d2a2 Correction mineure
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@913 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-31 08:17:35 +00:00
scorpio810
ff449e7fcf typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@912 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-31 07:56:50 +00:00
scorpio810
f8b3081389 typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@911 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-30 20:33:14 +00:00
scorpio810
ebefc5a519 suppresion des qet_directory
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@910 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-30 19:24:48 +00:00
scorpio810
457e6e450d ajout de nouveaux elements automates
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@909 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-30 19:22:08 +00:00
scorpio810
09e8c32b21 ajout de nouveaux elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@908 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-30 19:18:54 +00:00
xavier
441fccb05b Deplacement du manuel Unix en polonais dans un sous-repertoire man1
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@907 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-29 07:33:41 +00:00
xavier
287eeee0c2 Suppression du deuxieme exemplaire du man Unix en polonais.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@906 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-29 07:32:16 +00:00
scorpio810
f350466705 Add man1 dir for pl lang
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@905 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-29 06:48:13 +00:00
xavier
c3563a8307 Rapatriement dans la branche 0.3 des revisions 870 a 903.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@904 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-28 16:27:48 +00:00
xavier
21e631a334 Ajout de traductions par Pawel Smiech, dont le manuel Unix.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@903 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-23 18:30:07 +00:00
xavier
ae4251e207 Ajout de la traduction en polonais de "Elements importes" dans la classe QETProject.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@902 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-21 18:45:20 +00:00
xavier
dd5ecb6424 Ajout de Pawel Smiech dans le dialogue "A propos de QElectroTech"
Ajout des traductions polonaises au processus d'installation.
Mise a jour des fichiers de traduction.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@901 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-21 15:40:33 +00:00
xavier
25687cc1d4 Ajout des traductions en polonais par Pawel Smiech :
* application (qet_pl.*)
  * fichiers desktop (misc/*)
  * CREDIT, README, INSTALL, ELEMENTS.LICENSE
  * packaging/linux/fedora/README.elements
Ajout des traductions Qt fournies par Nokia (qt_pl.*)


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@900 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-21 15:11:54 +00:00
xavier
4a85de97af Correction mineure sur four.elmt (dos2unix)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@899 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-18 10:20:41 +00:00
xavier
91eafc566d Traduction de la collection d'elements en polonais par Pawel Smiech.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@898 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-18 10:01:10 +00:00
xavier
89194db757 Corrections mineures dans la documentation du code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@896 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-13 21:08:38 +00:00
xavier
44b07bcbd2 Correction : un element pose sur un schema pouvait ne pas etre relu si ses bornes utilisaient des coordonnees flottantes.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@895 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-13 19:17:24 +00:00
xavier
c431daef74 Mise a jour de la version dans le fichier de configuration Doxygen
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@894 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-13 19:16:19 +00:00
xavier
c216ff786e Modification de la version et du splash screen pour le passage en 0.21.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@893 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-13 17:32:41 +00:00
xavier
040e4902bc Correction dans la classe PartPolygon : les attributs x et y etaient encore susceptibles d'etre ecrits dans un fichier .elmt avec une virgule en guise de separateur decimal.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@892 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-13 17:08:55 +00:00
xavier
975214fa37 Suite de l'uniformisation des accelerateurs des menus de l'editeur d'element avec ceux de l'editeur de schemas, en tenant compte des traductions.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@891 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-13 17:00:48 +00:00
xavier
bc995933cc Correction du positionnement des textes des conducteurs multifilaires lors du chargement d'un schema.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@890 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-13 15:54:12 +00:00
xavier
bc000bf189 Minimisation des effets du bug #30 (cf BugTracker) : les raccourcis clavier fonctionnent malgre les problemes de focus des textes.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@889 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-11 00:04:48 +00:00
xavier
7bc328192a Modification du script de lancement pour l'installeur Windows.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@888 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-08 23:07:35 +00:00
xavier
55e26edce8 Correction dans la classe FileElementDefinition : la methode isWritable pouvait retourner false alors que l'element avait recu une description XML.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@887 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-08 18:07:28 +00:00
xavier
8ee86bb092 Mise a jour des traductions en espagnol, par Alfredo Carreto.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@886 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-08 15:45:19 +00:00
xavier
3c0134bcf7 Uniformisation des accelerateurs des menus de l'editeur d'element avec ceux de l'editeur de schemas.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@885 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-07 18:37:38 +00:00
xavier
8fc142a140 Correction : le mode lecture seule est desormais active ou desactive si besoin apres un "Enregistrer sous"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@884 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-07 18:33:41 +00:00
xavier
2e8569fc0a Correction : il n'etait plus possible de modifier les dimensions et point de saisie d'un element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@883 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-07 18:13:48 +00:00
xavier
b25465cfab Deplacement et mise a jour du fichier .spec pour Fedora
Ajout d'un fichier contenant la chaine "Collection d'elements pour QElectroTech." traduite dans les langues supportees par le projet.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@882 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-06 14:05:32 +00:00
xavier
6f4f0df681 Modification de la version affichee et du splash screen pour le passage en 0.21.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@880 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-05 20:50:02 +00:00
xavier
b93c4e3c45 Evite d'embarquer des dossiers .svn lors de la creation de l'installeur Windows.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@879 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-04 21:39:36 +00:00
xavier
176256adf6 L'application active desormais l'editeur d'element adequat au lieu de permettre l'ouverture d'un meme element plusieurs fois en simultane.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@878 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-04 21:04:23 +00:00
xavier
df079a62bf Peaufinage du fichier de configuration pour la generation de la documentation du code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@877 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-04 18:58:30 +00:00
xavier
0d2f200536 Mise a jour des traductions de Qt.
Les .ts ont ete recuperes dans le .tar.gz de Qt 4.6.2, a l'exception de qt_cs.ts, recupere dans la branche master du depot Git de Qt.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@876 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-03 19:09:56 +00:00
xavier
9fef71c626 Ameliorations de l'installeur Windows :
* les langages proposes par l'installeur sont desormais les memes que QElectroTech, pour la coherence
  * la configuration est placee dans le home de l'utilisateur (%APPDATA%\qet\), et non plus dans le dossier d'installation
  * les associations de fichiers sont mises en place par l'installeur


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@875 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-03 15:23:26 +00:00
xavier
95c98e3405 Ajout de traductions en espagnol.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@874 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-02 21:40:08 +00:00
xavier
4ee89cdf02 Mise a jour des fichiers de traduction en tcheque, par Pavel Fric.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@873 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-28 19:20:58 +00:00
jcm
732ea56049 Updated Pt Translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@872 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-28 16:21:52 +00:00
xavier
815a2ea3e8 Rapatriement dans la branche 0.3 des revisions 855 a 870.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@871 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-28 16:13:45 +00:00
lituriy
2bba3f9e91 * Update russian translation qet_ru.{ts|qm}.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@870 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-28 07:03:54 +00:00
xavier
6c5f4d6ed7 Les proprietes (noms, dimensions, point de saisie, orientations, connexions internes et informations complementaires) des elements sont desormais accessibles en mode lecture seule.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@869 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-28 02:52:10 +00:00
xavier
4b9696e60d Mise a jour des fichiers de traductions.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@868 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-28 02:17:25 +00:00
xavier
7b483098ea Les proprietes des projets et schemas sont desormais accessibles en mode lecture seule.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@867 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-27 23:33:10 +00:00
xavier
016a4b2957 Correction : les onglets d'un projet ne sont plus deplacables lorsque celui-ci est en mode lecture seule.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@866 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-27 21:42:28 +00:00
xavier
5b7626090b Correction de la revision precedente pour en assurer la compilation et le bon fonctionnement avec Qt 4.4
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@865 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-27 21:22:45 +00:00
xavier
f421387b04 Panel d'elements : ajout d'actions dans le menu contextuel pour changer l'ordre des schemas.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@864 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-27 20:35:32 +00:00
jcm
16f47a92d2 Updated Pt Translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@863 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-26 12:06:15 +00:00
xavier
ebf7ee0140 Mise a jour des fichiers de traductions depuis les sources.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@862 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-24 19:50:27 +00:00
lituriy
2033cbd339 * Update russian translation qet_ru.{ts|qm}.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@861 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-24 05:13:54 +00:00
lituriy
98af3e566e * Update russian translation of Elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@860 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-24 05:11:25 +00:00
xavier
eba2520ccf Desormais, lors du drag'n drop d'un element depuis le panel d'element, la pixmap accrochee au pointeur est reduite si elle depasse une certaine taille.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@859 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-23 22:04:22 +00:00
xavier
6425a8c737 Optimisations diverses dans l'editeur d'elememt.
Inclut la desactivation de la liste des primitives au-dela de 200 primitives.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@858 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-22 19:37:46 +00:00
xavier
8b9687db90 Suppression du cadre superflu autour des editeurs de primitives.
Ameliorations mineures sur certains editeurs de primitives.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@857 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-18 15:09:52 +00:00
xavier
f6f320a0a6 Rapatriement dans la branche 0.3 de la revision 855.
Optimisation de l'editeur d'element.
L'organisation interne de l'editeur d'element a ete completement revue.
Auparavant, chaque primitive instanciait son propre widget d'edition et le
gardait durant toute sa duree de vie, entrainant ainsi une consommation memoire
et un temps de chargement importants.
Desormais, l'editeur instancie des son demarrage 9 widgets d'edition qu'il
conserve durant toute sa duree de vie. Il choisit alors lequel afficher en
fonction des primitives selectionnees.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@856 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-18 00:42:41 +00:00
xavier
04222b3f89 Optimisation de l'editeur d'element.
L'organisation interne de l'editeur d'element a ete completement revue.
Auparavant, chaque primitive instanciait son propre widget d'edition et le
gardait durant toute sa duree de vie, entrainant ainsi une consommation memoire
et un temps de chargement importants.
Desormais, l'editeur instancie des son demarrage 9 widgets d'edition qu'il
conserve durant toute sa duree de vie. Il choisit alors lequel afficher en
fonction des primitives selectionnees.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@855 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-18 00:17:34 +00:00
xavier
9a52ef4688 Rapatriement dans la branche 0.3 des revisions 839 a 853.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@854 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-14 16:28:45 +00:00
xavier
802c7c7796 Correction dans entree.elmt
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@853 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-14 14:40:42 +00:00
xavier
205d853b7a Remplissage du champ "informations" pour les elements de la collection.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@852 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-14 14:16:34 +00:00
xavier
09db8318e1 Corrections mineures dans ELEMENTS.LICENSE
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@851 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-14 13:41:04 +00:00
xavier
d918650bb7 Correction dans la classe PartLine : les attributs length1 et length2 etaient encore susceptibles d'etre ecrits dans un fichier .elmt avec un virgule en guise de separateur decimal.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@850 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-14 13:01:13 +00:00
xavier
a9b7aea2b8 Il est desormais possible de specifier l'orientation des champs de texte au degre pres.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@849 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-11 23:35:04 +00:00
xavier
bb1d4f8910 Introduction de la classe QTextOrientationSPinBoxWidget, qui regroupe un QTextOrientationWidget et un QSpinBox pour faciliter la saisie d'un angle d'orientation pour un texte.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@848 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-09 19:29:55 +00:00
xavier
69e0812034 Correction d'un bug dans la prise en compte des informations complementaires par defaut.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@847 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-07 20:02:53 +00:00
xavier
60c44403f4 Desormais, lors de la creation d'un element, la valeur par defaut pour le champ "informations" provient de la configuration de l'application.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@846 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-07 18:31:23 +00:00
xavier
275d08b2bc Ajout d'un champ "informations" dans le format .elmt afin de stocker diverses informations complementaires, a commencer par l'auteur et la licence de l'element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@845 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-02-07 17:07:22 +00:00
xavier
7d9bea480c Rapatriement dans le trunk de la revision 843 (branche 0.3).
Cela permet d'adapter le trunk au nouveau comportement de Qt 4.6 relatif au signalement des changements de geometrie dans QGraphicsItem::itemChange(...).


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@844 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-01-21 22:41:40 +00:00
xavier
6c0c8cb70a Correction : a partir de Qt 4.6, certains evenements ne sont plus signales
dans la methode QGraphicsItem::itemChange, a commencer par les changements de
position, sauf si l'on positionne explicitement un flag.
Ce comportement avait un impact important sur le repositionnement des champs de
texte.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@843 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-01-20 00:16:55 +00:00
xavier
46888a0f7b Suppression d'une ligne de debug desormais inutile.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@842 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-01-20 00:05:32 +00:00
xavier
7fa1b448e3 La position des textes dans l'editeur d'element est desormais ajustee lorsqu'on change leur taille de police.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@841 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-01-17 16:09:46 +00:00
xavier
e71042d08d Rapatriement dans la branche 0.3 des revisions 833 a 839.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@840 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-01-10 20:22:52 +00:00
xavier
6aa3caf360 Suppression du libelle "Titre du document" dans le cartouche.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@839 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-01-10 20:11:04 +00:00
xavier
96fd15a913 Optimisation sur le rendu de la grille.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@838 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-01-10 19:11:32 +00:00
xavier
f8fe7c549d Ajout de boutons "Cocher tout" et "Decocher tout" dans l'apercu avant impression
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@837 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-01-10 15:07:06 +00:00
xavier
550d4861e2 La liste des schemas utilisee dans l'apercu avant impression dispose desormais d'un ascenseur.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@836 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-01-10 03:13:28 +00:00
xavier
095b00a7c2 Modification du comportement de la fenetre "Apercu avant impression" suite a quelques soucis avec xfwm.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@835 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-01-10 02:15:20 +00:00
xavier
84318eb6ae Rapatriement dans la branche 0.3 des revisions 815 a 833.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@834 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-01-03 19:51:02 +00:00
xavier
07bf60674d Ajout d'un widget permettant d'editer l'angle d'orientation d'un texte plus intuitivement.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@833 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-01-03 19:45:33 +00:00
xavier
dfbf3101ec Traduction du manuel Unix en espagnol par Alfredo Carreto
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@832 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-01-03 19:33:41 +00:00
xavier
9524fa9f69 Amelioration de la gestion du mode "lecture seule" dans l'editeur d'element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@831 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-01-03 18:49:55 +00:00
xavier
e0e7e363b5 Modification du Splash Screen
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@830 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-01-03 17:08:10 +00:00
xavier
27e2c052b2 Mise a jour des dates de copyright dans les sources et dans les fichiers de traduction.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@829 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-01-03 16:25:37 +00:00
xavier
facebe550f Mise a jour des dates de copyright dans les sources et dans les fichiers de traduction.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@828 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-01-03 16:12:10 +00:00
xavier
34294c838d Correction de la revision 826
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@827 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-01-01 21:31:57 +00:00
xavier
8079ab0caa Correction : la revision 825 corrigeait un probleme sous X11 mais pas sous Windows.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@826 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-01-01 21:29:10 +00:00
xavier
8f86e60d59 Correction d'un souci lors du copier-coller de champs de texte dans l'editeur d'element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@825 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-01-01 20:04:15 +00:00
xavier
6562436063 Correction de problemes de positionnement des champs de texte des elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@824 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-01-01 14:41:15 +00:00
xavier
922ce67b1b Corrections de bugs mineurs au niveau de l'impression :
* les objets selectionnes etaient imprimes tels quels
  * apres selection d'un chemin pour un fichier PDF/PS sous Windows, celuik-ci apparaissait avec des / et non des \
  * ce meme champ evite desormais d'afficher des doubles / ou doubles \


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@823 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-12-28 17:16:54 +00:00
xavier
05e0d76e74 Le raccourci clavier pour l'action "Supprimer" n'etait plus reconnu sous Windows.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@822 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-12-28 00:29:35 +00:00
xavier
e36312285c Le raccourci clavier pour l'action "Supprimer" n'etait plus reconnu sous Windows.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@821 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-12-28 00:27:13 +00:00
xavier
e8f0c642bb Corrections sur le calcul des positions des champs de texte dynamiques.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@820 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-12-27 22:46:35 +00:00
xavier
e6b98cb9c6 Modification du Splash Scren pour mieux distinguer la branche 0.3 du trunk.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@819 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-12-27 20:48:19 +00:00
xavier
635c16084a Il est desormais possible de pivoter les textes dynamiques des elements dans l'editeur d'element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@818 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-12-20 01:59:44 +00:00
xavier
10014af3ac Correction du type d'un attribut dans la classe Conductor.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@817 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-12-19 02:12:55 +00:00
xavier
4b1a2882cb Rapatriement dans la branche 0.3 des revisions 797 a 815.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@816 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-12-13 22:28:03 +00:00
xavier
030f82f5c8 Il est desormais possible de pivoter les textes des elements dans l'editeur de schema.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@815 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-12-13 22:12:52 +00:00
xavier
2bc0ab2f3b Correction dans la fonction QET::correctAngle
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@814 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-12-13 21:48:38 +00:00
xavier
dbf3cda58f Creation de la methode QET::correctAngle.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@813 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-12-13 16:43:35 +00:00
xavier
b66f42e2ef Correction du positionnement des champs de texte statiques avec Qt 4.4.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@812 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-12-13 15:10:59 +00:00
xavier
0764e6a4de Correction de la facon dont la zValue des conducteurs est geree.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@811 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-12-07 22:33:32 +00:00
xavier
17a3dcd92b Les points de saisie des segments composant les conducteurs selectionnes sont desormais mis en evidence lorsqu'on passe la souris dessus.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@810 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-12-07 19:24:56 +00:00
xavier
551b4358f0 Desormais, tous les champs de texte (elements, conducteurs, independants) reagissent de la meme facon :
* clic simple : selection
  * double clic : edition


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@809 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-12-06 23:18:47 +00:00
xavier
90cd4700c8 Typo dans un commentaire.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@808 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-12-06 22:48:08 +00:00
xavier
f6d8c0bff7 Mise a jour des traductions en espagnol.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@807 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-12-06 20:09:23 +00:00
jcm
e99192e10e updated pt translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@806 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-12-05 19:32:07 +00:00
jcm
c9b7d125e6 PT translations/all?
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@805 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-12-05 10:10:44 +00:00
xavier
384991bd52 Mise a jour des traductions tcheques, par Pavel.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@804 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-12-04 14:11:26 +00:00
xavier
1de68de4ac Ajout de traductions d'elements et categories en tcheque par Pavel.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@803 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-12-04 14:09:46 +00:00
cfdev
1e6b056a1a + Agrandissement des pts de deplacement des conducteurs lorsqu'on clique dessus.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@802 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-12-04 12:04:42 +00:00
xavier
db62af3694 Mise a jour des traductions.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@801 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-12-03 22:38:36 +00:00
jcm
a760d60c84 updated PT translations+minor corrections
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@800 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-12-01 18:20:54 +00:00
xavier
2489a60176 Rapatriement dans la branche 0.3 des revisions 794 a 797.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@799 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-11-29 22:20:09 +00:00
xavier
5204ffe9ab Il est desormais possible de pivoter les textes independants et les textes des conducteurs.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@798 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-11-29 21:56:48 +00:00
cfdev
9766bbc53f + Presentation du graphique
+ debut de la gestion projet-schema

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@797 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-11-24 16:34:45 +00:00
lituriy
0a9eed9c33 Update russian translation: qt_ru.{qm|ts} and qet_ru.{ts|qm}.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@796 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-11-24 11:01:23 +00:00
xavier
0bb738b40d Le raccourci clavier pour pivoter les elements est desormais la touche espace.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@795 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-11-22 20:22:07 +00:00
xavier
e45fc6e21d Editeur d'elements : il est desormais possible de deplacer les parties selectionnees avec les fleches du clavier.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@794 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-11-22 18:50:30 +00:00
xavier
121bd1f432 Rapatriement dans la branche 0.3 de toutes les modifications effectuees dans le trunk depuis la creation de la branche 0.3.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@793 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-11-22 16:12:22 +00:00
xavier
25d90e4f7d Fin de l'utilisation du mode QGraphicsView::CacheBackground afin de ne pas provoquer un bug de rendu lorsque le RubberBand passe en dehors du sceneRect
cf http://bugreports.qt.nokia.com/browse/QTBUG-4368


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@792 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-11-15 23:19:26 +00:00
cfdev
eb4ad5ab91 Mise a jour du QuickStart_QET_fr
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@791 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-11-10 13:10:39 +00:00
cfdev
5d3a0dee89 Script d installation windows
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@790 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-11-06 08:23:07 +00:00
cfdev
83853fcea6 Fichiers docs
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@789 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-11-05 13:09:18 +00:00
cfdev
5eee00ef38 Creation du modele de document QuickStart
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@788 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-11-05 13:06:48 +00:00
lituriy
6af203e776 * Update russian translation qet_ru.{ts|qm} (typing correction).
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@787 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-11-02 01:04:30 +00:00
lituriy
eabc648ccf * Update russian translation qet_ru.{ts|qm}.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@786 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-11-02 00:47:42 +00:00
xavier
d5a2c8c5a9 Les menus listant les fichiers recemment ouverts affichent desormais des icones.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@785 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-11-01 14:21:32 +00:00
xavier
332c329c4d Correction suite a la revision #782 : l'apercu avant impression ne fonctionnait plus.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@784 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-31 17:18:47 +00:00
xavier
51f2bf4416 L'editeur d'element permet maintenant de coller rapidement le contenu d'un fichier .elmt ou d'un element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@783 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-25 21:45:33 +00:00
xavier
0ad0013286 Correction de la documentation : noms de variables ignores ou non mentionnes
Correction d'un probleme de compilation si les options QET_ALLOW_OVERRIDE_CED_OPTION et/ou QET_ALLOW_OVERRIDE_CD_OPTION n'etaient pas actives.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@782 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-24 20:47:13 +00:00
xavier
54734ed30f Ajout du fichier qt_cs.ts dans qelectrotech.pro
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@781 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-24 16:22:50 +00:00
xavier
97e12efc1e Ajout des fichiers de traduction de Qt en tcheque, par Pavel Fric.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@780 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-24 16:21:35 +00:00
xavier
3dcc11f420 Harmonisation du dialogue "Importer un element" avec le menu Fichier > Ouvrir de l'editeur d'element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@779 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-22 20:52:48 +00:00
cfdev
17745ac8d1 Ajout d'un bouton dans le panel d'element pour importer depuis un fichier
Ajout de l'icone editElement dans la fenetre de propriete d'un element


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@778 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-22 13:53:54 +00:00
xavier
2438fe8c9a Ajout de Pavel Fric dans le dialogue "A propos de"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@777 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-18 23:49:25 +00:00
xavier
5d238b3146 Ajout de traductions tcheques par Pavel Fric.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@776 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-18 18:25:45 +00:00
xavier
3915af59e5 Ajout du fichier qet_cs.ts au fichier .pro.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@775 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-10 23:40:14 +00:00
xavier
6155ebed77 Ajustement de la taille du widget d'edition des proprietes d'un conducteur suite a la revision precedente.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@774 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-10 23:25:20 +00:00
xavier
285f56ea46 Il est desormais possible de poser des conducteurs en pointilles.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@773 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-10 23:10:38 +00:00
lituriy
d5f14b4d75 * Update russian translation CREDIT.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@772 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-10 04:06:01 +00:00
xavier
3ce0cdfca6 Typo dans le fichier CREDIT
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@771 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-09 21:17:27 +00:00
xavier
21fb6d9e40 Traduction des fichiers CREDIT, README et INSTALL par Pavel Fric.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@770 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-09 21:15:54 +00:00
xavier
f820c94929 Ajout de traductions tcheques par Pavel Fric.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@769 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-09 00:04:30 +00:00
xavier
029216ed76 Traduction des fichiers x-qet-* et qelectrotech.desktop par Pavel Fric.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@768 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-08 23:49:23 +00:00
xavier
fd290a4da8 Traduction d'elements par Pavel Fric.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@767 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-08 23:35:54 +00:00
xavier
83c685e44f Ajout de la traduction tcheque de "Imported elements" / "Elements importes".
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@766 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-08 06:14:34 +00:00
xavier
22ebec4dad Correction : le rendu des textes statiques pouvait se faire dans une couleur autre que le noir en fonction de la palette de l'application.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@765 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-07 19:36:28 +00:00
xavier
5c3d7a3f86 Correction mineure : la couleur d'un conducteur n'est plus stockee dans le fichier .qet s'il s'agit de la couleur noire.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@764 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-07 18:10:44 +00:00
lituriy
e73ab64131 * Update russian translation qet_ru.{ts|qm}.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@763 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-07 13:35:54 +00:00
xavier
1928ef4bd0 Mise a jour des traductions
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@762 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-07 13:19:40 +00:00
xavier
cece8d39df Ajout des fichiers de traduction en tcheque.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@761 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-07 12:30:08 +00:00
xavier
2bc457938c Les options d'impression sont desormais configurables.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@760 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-04 02:04:42 +00:00
xavier
b72419181c Le dialogue d'impression presente desormais les memes options que le dialogue d'export.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@759 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-04 01:32:45 +00:00
xavier
3e383237c1 Ajout de la methode Diagram::applyProperties pour appliquer des options de rendu sur un schema.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@758 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-04 01:20:45 +00:00
xavier
10d7577419 Corrections et amleiorations sur le widget ExportProperties :
* stretch et marges en trop
  * modification du titre du cadre
  * emission d'un signal lors de la modification d'un option de rendu
  * ajout d'un mode "Impression", plus generiques, avec moins d'options affichees


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@757 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-03 23:54:07 +00:00
xavier
8b49a0fcef Il est desormais possible de ne pas conserver les couleurs des conducteurs lors de l'export d'un schema.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@756 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-10-03 22:02:14 +00:00
xavier
02446b878c Il est desormais possible de choisir la couleur de chaque conducteur.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@755 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-09-27 15:04:17 +00:00
xavier
c575edbb95 Traductions des fichiers README et INSTALL en espagnol.
Corrections mineures dans ELEMENTS.LICENSE et CREDIT.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@754 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-09-20 14:16:38 +00:00
youssefsan
b0a50e095a Adding credit for Alfredo Carreto. Adding Spanish translation of credit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@753 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-09-19 11:47:37 +00:00
xavier
f22e660e12 Correction : les bords droits et inferieurs des schemas n'etaient pas imprimes a 1px pres.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@752 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-09-13 14:41:40 +00:00
xavier
df124f0e38 Correction : les bords droits et inferieurs des schemas n'etaient pas imprimes a 1px pres.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@751 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-09-13 14:41:14 +00:00
xavier
933f5c0711 Modifications permettant la compilation de QElectroTech sur architecture ARM.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@750 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-09-12 10:23:44 +00:00
xavier
bcdc0138ce Modifications permettant la compilation de QElectroTech sur architecture ARM.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@749 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-09-12 10:17:44 +00:00
xavier
3ea8efbb1e Correction : la taille des textes est de nouveau prise en compte lors du rendu dans l'editeur de schemas.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@748 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-09-01 21:25:21 +00:00
xavier
641cca9369 Correction d'un commentaire.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@747 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-09-01 21:00:28 +00:00
xavier
4607e8ff75 Le rendu et le positionnement des textes statiques sont desormais identiques entre l'editeur d'element et l'editeur de schemas.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@746 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-09-01 20:56:47 +00:00
xavier
a9afeadad5 Correction du bug #26 : QET compile de nouveau avec Qt 4.4
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@745 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-08-31 21:26:08 +00:00
xavier
a15ca782c2 Amelioration du positionnement des textes dans l'editeur
Harmonisation des boundingRect des classes PartText{Field,}


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@744 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-08-25 23:31:31 +00:00
xavier
ae57568e65 Ajout de methodes pour aider au debuggage des champs de texte dans l'editeur
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@743 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-08-25 23:25:28 +00:00
xavier
88380be093 Dialogue d'export : application d'un patch de Sebastien Gouezel pour corriger un bug lors du calcul initial des tailles des schemas.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@742 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-08-20 20:43:51 +00:00
xavier
b7523447f8 Dialogue d'export : application d'un patch de Sebastien Gouezel pour corriger un bug lors du calcul initial des tailles des schemas.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@741 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-08-20 20:39:38 +00:00
xavier
6e2120b826 Creation de la branche 0.3
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@740 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-08-16 16:26:14 +00:00
xavier
f515ccf6bd Mise a jour des traductions.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@739 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-08-16 12:19:46 +00:00
lituriy
5355fa4569 * Update russian translation qet_ru.{ts|qm}.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@738 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-08-16 09:28:50 +00:00
xavier
48dd7b943a Changement du raccourci clavier pour supprimer un objet sous MacOS.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@737 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-08-15 15:20:53 +00:00
xavier
301139c7dd Sous MacOS, integration de l'assistant de creation d'un nouvel element a la fenetre parente.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@736 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-08-15 12:48:45 +00:00
xavier
38c07b7d23 Dans l'assistant de creation d'un nouvel element, le bouton Annuler apparait desormais sous MacOS.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@735 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-08-14 17:50:44 +00:00
xavier
4781e6b35c Il est desormais possible de specifier un widget parent pour les dialogues de la classe ElementDialog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@734 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-08-13 18:30:06 +00:00
xavier
0d304e8614 Correction dans la classe QETTabWidget : QElectroTech compile de nouveau avec Qt4.4
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@733 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-08-13 17:29:32 +00:00
xavier
87090d734b Compression d'un SVG issu du theme Oxygen.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@732 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-08-12 16:57:53 +00:00
xavier
f3ac5ad96f Corrections suite a la revision 730.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@731 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-08-09 19:20:21 +00:00
xavier
d14b99937d Amelioration de l'integration de certains dialogues sous MacOS.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@730 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-08-09 16:43:03 +00:00
xavier
7c29c7a528 Ajout d'une classe QETMessageBox : desormais, sous MacOS, les MessageBox sont integrees a leur fenetre parente.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@729 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-08-09 16:02:14 +00:00
xavier
481aefee09 Seconde application du patch de Sebastien Goueze : il est desormais possible d'exporter un schema vers le presse-papier depuis le dialogue d'export.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@728 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-08-09 13:53:35 +00:00
xavier
9f1d5b8713 Premiere application du patch de Sebastien Gouezel : il est possible de specifier les parametres d'export par defaut au niveau de l'application.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@727 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-08-09 12:51:02 +00:00
youssefsan
eefa0696cf fixing Spanish translations of elements and collections.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@726 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-08-04 16:19:17 +00:00
xavier
aa9daf26ba Correction de la position de la barre d'onglets presentant les schemas sous MacOS.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@725 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-08-01 13:05:39 +00:00
xavier
c8c3fca918 Corrections mineures.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@724 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-07-30 20:48:19 +00:00
xavier
a2964f5364 Correction du bug #24 : Qt 4.5 apportant la fonctionnalite "onglets deplacables", il est necessaire de differencier les methodes appelees entre Qt 4.4 et Qt 4.5.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@723 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-07-30 20:20:17 +00:00
xavier
0adac494c8 Modifications sur les choix des dossiers cibles par defaut lors des operations d'ouverture et d'enregistrement de fichiers.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@722 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-07-13 00:59:46 +00:00
xavier
21ac12f5da Passage de dos2unix sur la collection d'elements afin d'harmoniser les fins de ligne
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@721 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-07-13 00:58:38 +00:00
youssefsan
1f6649c6af Correction de traductions d'elements en espagnol.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@720 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-07-12 13:21:35 +00:00
xavier
87dc6fa4f3 Correction : dans les proprietes d'un element, appuyer sur Echap ou fermer la fenetre ne faisait rien
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@719 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-07-11 22:13:50 +00:00
lituriy
4e66fc20f2 * Update russian translation qet_ru.{ts|qm}.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@718 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-07-08 11:44:48 +00:00
cfdev
9abcca9aef Ajout d'un bouton pour editer un element sans devoir le retrouver dans le panel d'elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@717 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-07-08 09:41:20 +00:00
xavier
5847967f06 Correction du bug #22 : les champs de texte, de part leur superficie sont plus susceptibles de recouvrir les bornes que l'inverse.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@716 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-06-29 18:09:03 +00:00
xavier
d58df2f090 Modification de la version affichee et du splash screen pour le passage en 0.2.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@714 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-06-27 13:25:53 +00:00
xavier
f13981b0ec Enregistrement des schemas d'exemple datant de la version 0.11 au format 0.2.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@713 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-06-27 13:14:16 +00:00
xavier
3d7a5db31c Mise a jour du ChangeLog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@712 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-06-27 10:12:53 +00:00
xavier
3cff472202 Correction : dans l'editeur d'element, la taille par defaut des textes n'etait non pas 9 mais la taille par defaut de la police Qt.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@711 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-06-26 19:59:49 +00:00
xavier
825c38be60 Generalisation de la possibilite de compenser un bug de rendu connu a tous les systemes sauf Windows (car non impacte).
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@710 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-06-23 21:47:53 +00:00
youssefsan
2f4ce120ed Ajout de traductions en espagnol de categories et elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@709 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-06-21 17:45:33 +00:00
youssefsan
6e6fbfa4d7 ajout et correction de traductions en espagnol pour automatisme
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@708 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-06-21 13:16:22 +00:00
xavier
ac105be89a Modification de la version affichee et du splash screen pour le passage en 0.2 RC2.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@706 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-06-20 14:22:17 +00:00
xavier
40ec0cf39e Correction : bug graphique lors de l'utilisation d'embouts sur les lignes horizontales ou verticales.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@705 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-06-20 01:09:10 +00:00
xavier
fb447a7752 Mise a jour des traductions.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@704 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-06-19 19:40:03 +00:00
xavier
a8295b71be Uniformisation des menus entre l'editeur de schemas et l'editeur d'element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@703 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-06-19 19:31:48 +00:00
xavier
1897ecfce7 Amelioration mineure pour le script de lancement Unix.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@702 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-06-18 21:58:30 +00:00
xavier
da410cb37a L'action "Pivoter" est desormais desactivee si aucun element selectionne n'est pivotable.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@701 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-06-16 22:37:15 +00:00
lituriy
e25ac381aa * Fix: Term in russian translation qet_ru.{ts|qm};
* Update: qt_ru.{qm|ts} from http://gitorious.org/+qt-l10n-ru/qt-l10n-ru (it's me);
* Update: russian translation of Elements.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@700 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-06-16 09:35:03 +00:00
xavier
ca9557c6bc Mise a jour du fichier spec.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@699 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-06-13 21:37:30 +00:00
jcm
d72d224b9c Updated Pt Translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@698 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-06-13 16:57:18 +00:00
xavier
b3610e98f1 Modification de la version affichee et du splash screen pour le passage en 0.2 RC1.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@696 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-06-13 15:34:16 +00:00
xavier
ed16e26fe6 Mise a jour du ChangeLog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@695 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-06-13 15:19:16 +00:00
xavier
66e1421ff3 Mise a jour des traductions en espagnol.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@694 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-06-13 14:52:25 +00:00
lituriy
c83d1cf671 Fix: Russian translation application and elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@693 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-06-12 19:43:07 +00:00
lituriy
dd8b0b6002 * Update russian translation qet_ru.{ts|qm}
* Added fr-ru phrasebook.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@692 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-06-01 05:48:09 +00:00
xavier
fa3fc8b5a0 L'editeur d'element affiche desormais un avertissement lors de l'enregistrement d'un element sans borne.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@691 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-06-01 02:05:20 +00:00
lituriy
c1da08ea8a * Update russian translation of Elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@690 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-28 03:09:46 +00:00
lituriy
0583482938 * Update russian translation of Elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@689 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-28 02:12:47 +00:00
xavier
8fb9ad75d7 Passage a la licence CC-BY 3.0 pour les elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@688 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-27 19:28:38 +00:00
lituriy
edc7ea957c Fix: Term in russian translation qet_ru.{ts|qm}.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@687 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-27 11:47:07 +00:00
lituriy
d64cf0db79 * Update russian translation of Elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@686 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-27 11:46:47 +00:00
lituriy
2671f06bb2 * Update russian translation of Elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@685 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-27 03:38:55 +00:00
lituriy
8a1bc7b5b8 * Update russian translation of Elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@684 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-26 04:44:04 +00:00
lituriy
6839d635a4 * Update russian translation qet_ru.{ts|qm};
* Fix CREDIT.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@683 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-25 01:38:37 +00:00
xavier
8702767b00 Mise a jour du fichier qelectrotech.spec, utilise pour le packaging Fedora.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@682 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-24 20:39:00 +00:00
xavier
661820292a Mise a jour des traductions.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@681 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-24 18:25:35 +00:00
xavier
ff9b4e13f9 Ajout d'une option permettant d'utiliser ou non les couleurs systeme.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@680 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-24 17:46:44 +00:00
xavier
8ec9b80d7e Correction dans le script de lancement Windows.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@679 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-24 13:41:34 +00:00
xavier
1a9537cd36 Ajout du fichier ELEMENTS.LICENSE dans le processus d'installation.
Mise a jour du fichier de configuration.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@678 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-23 14:18:54 +00:00
xavier
a90ebe531a Mise a jour du fichier Doxyfile
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@676 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-23 01:51:25 +00:00
xavier
de83cfa9d5 Modification de la version affichee et du splash screen pour le passage en 0.2 beta.
Mise a jour du Changelog.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@675 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-22 22:09:25 +00:00
youssefsan
949f46cf32 Traduction en espagnol des quatre messages restant dans qet_es.ts
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@674 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-22 19:39:32 +00:00
xavier
59eb5f8b4a Corrections mineures dans les fichiers textes accompagnant l'application.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@673 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-22 18:00:35 +00:00
scorpio810
d221666d16 add GenericName es in qelectrotech.desktop
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@672 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-22 14:58:35 +00:00
jcm
62c30b376b Updated PT tranlations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@671 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-22 10:58:07 +00:00
lituriy
71356a770c * Update russian translation qet_ru.{ts|qm}.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@670 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-22 08:14:09 +00:00
xavier
9ebe3688ef Ajout des fichiers de traduction en portugais au processus d'installation.
Ajout de Jose Carlos au dialogue "A propos de QElectrotech".
Mise a jour des autres traductions.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@669 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-22 06:14:11 +00:00
jcm
089ec6da0a Updated PT translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@668 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-22 00:12:50 +00:00
xavier
f8d8a559d4 Ameliorations diverses dans le fichier qelectrotech.pro
Corrections mineures dans les fichiers .desktop.
Mise a jour du ChangeLog.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@667 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-21 18:45:30 +00:00
scorpio810
6961a84e70 change duplicated-key-in-desktop-entry
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@666 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-21 04:50:15 +00:00
scorpio810
b2de63251c remove duplicated-key-in-desktop-entry
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@665 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-21 04:41:33 +00:00
lituriy
6764cbb270 Fix: Term in russian translation qet_ru.{ts|qm}.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@664 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-20 22:34:27 +00:00
xavier
122b39104c Mise a jour des traductions.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@663 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-20 21:38:14 +00:00
xavier
f796eeebe6 Les proprietes des elements affichent desormais la position de l'element dans la grille.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@662 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-20 21:29:17 +00:00
xavier
2ddd1420e3 Correction mineure dans les fichiers xml et desktop
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@661 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-20 18:01:55 +00:00
lituriy
bbfc8ea599 Russian translation: ELEMENTS.LICENSE.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@660 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-20 17:48:03 +00:00
lituriy
c121884267 Russian translation: CREDIT, INSTALL and README.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@659 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-20 16:52:46 +00:00
jcm
b822229f6c pt files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@658 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-20 11:46:29 +00:00
lituriy
1a1024d4bd Russian translation: misc/qelectrotech.xml.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@657 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-20 06:15:19 +00:00
lituriy
32b43e8b7a Russian translation: 5 files: *.{desktop|xml} .
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@656 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-20 03:29:10 +00:00
lituriy
d1c9c4f45d * Update QET Russian translation qet_ru.{ts|qm}.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@655 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-19 21:33:56 +00:00
xavier
87c5007e45 Ajout d'une action "Retrouver dans le panel" dans les proprietes des elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@654 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-19 19:00:37 +00:00
xavier
9f46d81f5c Mise a jour des traductions espagnoles.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@653 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-17 23:44:03 +00:00
xavier
b024580bdb Correction mineure dans les fichiers .elmt : tabulations => espaces
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@652 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-17 16:15:22 +00:00
lituriy
5bb7dde865 * Fix translation of ELEMENTS on Russian.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@651 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-17 15:59:56 +00:00
lituriy
c621ab8b0f * Update translation of ELEMENTS on Russian
(The names of the elements are not translated, but are in accordance with graphic symbol).

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@650 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-17 15:23:49 +00:00
xavier
e76f981939 Traduction en anglais des noms des derniers elements ajoutes.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@649 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-17 14:07:08 +00:00
benoit
a3c2c4d715 Ajout des connecteurs des elements communaute.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@648 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-17 13:55:48 +00:00
xavier
bffd977310 Mise a jour des traductions anglaises, espagnoles et portugaises.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@647 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-17 12:28:10 +00:00
lituriy
65c1387638 * Update QET Russian translation qet_ru.{ts|qm}.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@646 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-17 09:13:37 +00:00
xavier
896c1d3ed7 Harmonisation de la facon d'afficher/editer les proprietes des objets sur les schemas.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@645 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-17 02:13:40 +00:00
xavier
9007c555a6 Mise a jour de l'adresse mail de Yuriy dans le dialogue "A propos de QElectroTech"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@644 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-16 14:06:59 +00:00
jcm
db58dab06e Update Pt Translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@643 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-14 12:07:03 +00:00
jcm
23649dbbdd Updated Pt Translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@642 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-12 12:13:25 +00:00
lituriy
86e5455306 The beginning of translation of ELEMENTS on Russian.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@641 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-11 08:52:22 +00:00
xavier
44f00c2fae End of russian translation.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@640 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-10 20:48:58 +00:00
lituriy
367765190e * UPDATE: QET Russian translation qet_ru.{ts|qm}, untransaled Shortcuts only.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@639 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-10 19:05:16 +00:00
xavier
beaf595a8f Corrections mineures.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@638 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-10 14:13:00 +00:00
xavier
5f25754bfd Mise a jour du dialogue "A propos de QElectroTech"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@637 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-10 14:02:37 +00:00
xavier
daca0f47f3 Changement d'icone dans le dialogue de configuration de l'application.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@636 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-09 22:41:59 +00:00
benoit
a40463cd1a Modification du .pro pour integration MacOS X.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@635 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-09 21:17:44 +00:00
xavier
c3a39e0f4f Correction : typo dans le code.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@634 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-09 20:34:58 +00:00
xavier
dc43d675db Modification des options de compilation : pour les dossiers des traductions et de la collection commune, il est desormais possible de specifier des chemins :
* absolus
  * relatifs (au current working directory)
  * relatifs au dossier contenant le binaire executable
... ou tout simplement de ne pas en specifier


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@633 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-09 19:58:43 +00:00
xavier
8633a15bbe Modification du comportement de l'application : si les variables de compilation QET_LANG_PATH et QET_COMMON_COLLECTION_PATH ne sont pas definies, celle-ci recherche desormais le repertoire des traductions et le repertoire de la collection commune relativement au dossier contenant l'executable.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@632 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-09 18:04:58 +00:00
lituriy
bb4a350603 * UPDATE: QET Russian translation qet_ru.{ts|qm}.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@631 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-09 15:53:22 +00:00
xavier
3811ca902e Ajout des traductions russes dans le processus d'installation.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@630 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-09 15:27:45 +00:00
lituriy
a43835a8f2 * UPDATE: QET Russian translation qet_ru.{ts|qm} - 92%.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@629 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-09 15:18:37 +00:00
lituriy
0f7dea7c6e * UPDATE: QET Russian translation qet_ru.{ts|qm}.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@628 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-09 14:20:06 +00:00
xavier
302f531982 Ajout de la traduction russe de "Elements importes".
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@627 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-09 13:16:18 +00:00
xavier
a6ccd69204 Correction : traductions oubliees.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@626 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-09 12:33:48 +00:00
lituriy
f97eff5ae5 * FIX: QET Russian translation qet_ru.{ts|qm};
* UPDATE: qelectrotech.pro - added qet_ru.ts.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@625 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-09 11:37:15 +00:00
lituriy
20fcdd6c31 * UPDATE: QET Russian translation qet_ru.{ts|qm}.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@624 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-09 10:50:53 +00:00
xavier
a5a83185ae Ajout des fichiers de traduction portugais pour Qt.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@623 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-09 01:07:35 +00:00
jcm
7dcf573f03 Adding the portuguese translation files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@622 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-09 01:02:45 +00:00
xavier
f600c779ef Mise a jour du script permettant de creer les associations de fichiers sous Windows.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@621 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-08 20:32:23 +00:00
xavier
8583c76bde Correction dans le fichier qelectrotech.pro
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@620 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-08 20:28:17 +00:00
xavier
96ecdf7c88 Mise en place des nouvelles icones pour Windows
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@619 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-08 19:52:54 +00:00
lituriy
c054a72ae3 * UPDATE: Russian translation qet_ru.{ts|qm} and qt_ru.{ts|qm}.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@618 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-08 19:12:25 +00:00
xavier
871d89692e Modification d'icones dans le panel d'elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@617 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-08 18:49:59 +00:00
xavier
6373295a4f Ajout des fichiers de traduction russe pour Qt.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@616 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-08 15:09:55 +00:00
lituriy
1f00219b7b * ADD: Russian translation qet_ru.{ts|qm}.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@615 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-08 04:43:50 +00:00
xavier
7c56bd019a Ajout des icones realisees par Nuno Pinheiro.
Modifications des associations types de fichiers / icones en consequence.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@614 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-07 21:14:27 +00:00
xavier
c3e7b0ab82 Correction dans le fichier .pro
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@613 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-06 16:48:37 +00:00
xavier
e5d2067588 Mise a jour des traductions de Qt en francais et espagnol.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@612 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-03 20:21:10 +00:00
xavier
e21046be97 Modifications de la taille de certains elements dans la categorie "Fonctions logiques".
Ajout de nouveaux elements dans cette meme categories.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@611 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-01 19:18:19 +00:00
xavier
ff7dabcdd4 Ajout de l'en-tete de la licence GNU/GPL, oublie dans certains fichiers .cpp.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@610 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-01 16:01:41 +00:00
xavier
1eb284ad7f Ajout d'icones de taille 16x16 pour un meilleur rendu dans les menus.
Suite de la reorganisation des icones.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@609 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-01 15:46:17 +00:00
xavier
af4864778b Reorganisation du dossier contenant les icones et de la facon d'y acceder a travers l'application (creation d'un namespace QET::Icons dedie).
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@608 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-01 14:41:33 +00:00
xavier
b654776f10 Traduction des trois derniers elements non traduits en anglais.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@607 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-05-01 09:17:08 +00:00
xavier
ccb5e5e64f Modification du fichier qelectrotech.pro afin que `make install' sous Unix mette en place le fichier ChangeLog.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@606 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-30 13:31:30 +00:00
xavier
06fb051e23 Ajout d'un fichier ChangeLog decrivant de maniere humaine les changement apportes d'une version a une autre.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@605 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-30 13:07:10 +00:00
xavier
d5fe30de90 Correction : l'application enregistrait les schemas lorsque l'on faisait un copier/coller.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@604 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-28 18:04:29 +00:00
xavier
f683d778ff Remplacement des principales icones par des icones provenant du theme Oxygen.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@603 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-28 14:11:31 +00:00
xavier
b666e37c2d Correction d'un bug lors de la reprise du focus sur un editeur d'element : les actions Annuler et Refaire n'etaient pas activees.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@602 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-26 14:44:58 +00:00
xavier
23bebb3e38 Corrections diverses dans la collection d'elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@601 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-19 18:29:14 +00:00
benoit
b877401055 Mise a jour suite au tri de la collection proposee sur le site web.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@600 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-19 18:07:42 +00:00
xavier
50bb8a047c Modification mineure dans l'ergonomie de l'editeur d'element : desormais, lorsque l'on zoome avec Ctrl+Rollette, le zoom se dirige vers le pointeur de la souris.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@599 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-18 21:13:11 +00:00
xavier
9ae855a9bf Modification du diametre des jonctions entre conducteurs.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@598 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-18 20:20:59 +00:00
xavier
2b9fa513fb Amelioration du rendu dans l'editeur d'element lorsque le zoom est inferieur a 1:1.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@597 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-18 18:54:25 +00:00
xavier
77672472ec Optimisation de la selection apres un copier-coller dans l'editeur d'element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@596 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-18 18:08:54 +00:00
xavier
29ddef0035 Modification des conditions definissant un trajet de conducteur comme etant incoherent.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@595 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-18 17:23:04 +00:00
xavier
f23c1b1d93 Simplification des mecanismes internes de selection sur les schemas.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@594 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-18 15:30:44 +00:00
xavier
4fea5dee44 Amelioration des methodes de selection dans l'editeur d'element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@593 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-18 14:21:08 +00:00
xavier
c3769490f6 Correction mineure du code suite a la revision precedente.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@592 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-16 22:46:01 +00:00
xavier
e48b7116a5 Correction du bug #21 : Une probable regression sur la methode QRectF::contains a partir de Qt 4.5 provoquait une mauvaise detection des points de jonction entre conducteurs sous Windows comme sous X11.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@591 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-16 22:41:20 +00:00
youssefsan
ebca18d563 Ajout de traductions dans qet_es.ts.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@590 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-15 14:38:00 +00:00
youssefsan
992f700943 Ajout de traductions dans qet_es.ts.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@589 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-14 16:11:32 +00:00
benoit
6c94478fc1 Ajout d'un fichier d'exemple convertisseur.qet (non termine).
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@588 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-13 22:04:20 +00:00
xavier
84c900b66a Ameliorations mineures sur les messages de debug, la documentation, et quelques noms de variables.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@586 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-13 01:35:01 +00:00
youssefsan
13ff6b7a5f Traduction de nouvelles chaines dans qet_es.ts.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@585 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-12 19:21:04 +00:00
xavier
70c64000a8 Contournement du bug #2 : les polices ayant une taille inferieure ou egale a 4 se voient desormais attribuer une epaisseur plus fine.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@584 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-12 17:21:19 +00:00
xavier
635e720181 Mise a jour du displayedVersion et du splash screen
Purge des caracteres non-ASCII dans les sources
Mise a jour du fichier de configuration Doxyfile, pour generer la documentation


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@582 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-11 13:09:47 +00:00
youssefsan
be45e7ac10 Traduction de messages dans qet_es.ts
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@581 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-09 18:01:04 +00:00
youssefsan
b06e30edb2 Corrections de traductions en espagnol. Ajout de traductions en espagnol d'elements et de categories. Normalement la traduction d'elements et categories en espagnol devrait etre terminee. Mais il faut relire et corriger.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@580 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-07 19:11:25 +00:00
youssefsan
2c44834ee8 Ajout de traductions en espagnol d'elements et de categories.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@579 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-07 16:02:10 +00:00
youssefsan
e543478110 Ajout de traductions en espagnol d'elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@578 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-07 11:08:01 +00:00
youssefsan
3bd222b04f Ajout de traductions en espagnol d'elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@577 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-06 18:51:19 +00:00
youssefsan
4ec0af7e8a Ajout de traductions en espagnol de categories et elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@576 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-06 16:52:41 +00:00
youssefsan
6de02e3cda Ajout de traductions en espagnol d'elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@575 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-06 11:10:40 +00:00
xavier
9460eab8f0 Corrections dans la traduction anglaise.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@574 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-06 04:00:26 +00:00
xavier
e94ae76b12 Modification mineure dans le menu Fenetres.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@573 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-06 03:56:56 +00:00
youssefsan
09318bdd2e Ajout de traductions en espagnol d'elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@572 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-05 18:28:20 +00:00
xavier
ff9e32a5ac Ajout d'un fichier specifiant explicitement la licence des elements fournis avec QET.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@571 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-05 17:09:55 +00:00
youssefsan
1f64d8ce71 Ajout de traductions en espagnol de categories et d'elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@570 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-05 14:29:53 +00:00
xavier
a75d584da0 Mise a jour des fichiers de traduction
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@569 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-05 13:10:18 +00:00
xavier
5a05cb15cd Les onglets sont desormais le mode d'affichage par defaut des projets.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@568 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-05 12:33:20 +00:00
youssefsan
86bd2daa04 Ajout de traductions en espagnol de categories et d'elements + une correction de traduction en espagnol + une correction de traduction en anglais.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@567 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-05 12:25:55 +00:00
xavier
9a8459db86 Amelioration du rendu graphique lorsque le zoom est inferieur a 1.0.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@566 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-05 11:48:26 +00:00
xavier
2a6992083d Correction d'une regression : les annulations sont de nouveau disponibles pour les champs de texte des elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@565 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-04 21:47:07 +00:00
xavier
020974148b Lors d'un copier-coller, ou lors du chargement d'un fichier, les modifications apportees aux champs de texte ne creaient pas d'objets d'annulation.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@564 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-04 19:09:08 +00:00
xavier
4244f907e4 Amelioration mineure du comportement lors des selections multiples d'elements/conducteurs/textes.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@563 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-04 18:48:15 +00:00
xavier
2da668657d Correction d'une segfault pouvant se produire lors de la fermeture de l'editeur d'element alors qu'une partie est selectionnee.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@562 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-04 18:29:53 +00:00
youssefsan
33344a2376 correction d'une erreur mienne : fr-->es
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@561 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-04 18:29:14 +00:00
youssefsan
de1370d719 Ajouts de traduction en espagnol d'elements et de categories.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@560 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-04 18:22:30 +00:00
xavier
d8f09f625a La liste des fichiers recents n'utilisait pas le separateur de fichier du systeme.
Mise a jour de la classe AboutQET : ajout de Youssef


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@559 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-04 02:17:24 +00:00
xavier
4da7e54d75 Rapatriement de la branche 0.2 dans le trunk
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@558 bfdf4180-ca20-0410-9c96-a3a8aa849046
2009-04-03 19:30:25 +00:00
xavierqet
f84b86e4a4 Typo dans un schema exemple.
Ajout du fichier qelectrotech.xml pour les associations de fichiers


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@441 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-11-01 23:01:06 +00:00
xavierqet
e226860b7a Leger decalage de la position ou apparait le menu contextuel dans le panel d'elements. Ceci evite que la premiere entree du menu contextuel ne soit immediatement activee dans certains cas.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@434 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-10-17 22:05:16 +00:00
xavierqet
91e661ad27 Ajout du manuel UNIX en francais encode en UTF-8
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@398 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-09-06 14:29:28 +00:00
xavierqet
dde38bbd67 Typos dans les manuels UNIX
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@395 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-31 20:06:43 +00:00
xavierqet
03c161f257 Passage de la 0.1 a la 0.11
Modification du Splash Screen en consequence
Mise a jour des credits et instructions d'installation
Les pages de manuel sont desormais compresses au maximum


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@393 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-30 11:41:46 +00:00
xavierqet
120c541ed3 Ajout de schemas exemples.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@392 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-24 13:42:06 +00:00
xavierqet
a4acad7317 Resolution d'un probleme avec l'export XML de coordonnees decimales : le separateur decimal utilise variait selon la locale utilisee.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@391 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-23 19:27:14 +00:00
xavierqet
3e31df6820 Les fichiers recents affichent desormais les fichiers dont le nom vient d'etre defini via Fichier > enregistrer sous
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@390 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-23 18:17:00 +00:00
xavierqet
ce4596124c Les connexions internes sont desormais autorisees pour les contacts de puissance.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@389 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-23 16:03:07 +00:00
xavierqet
1ca68fcddc Modification des dimensions par defaut des schemas.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@388 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-23 15:44:25 +00:00
xavierqet
ae71d0a12d Les ouvertures de fichiers impliquant la creation d'un nouvel editeur de schema sont desormais prises en compte dans la liste des fichiers recents
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@387 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-23 12:54:16 +00:00
xavierqet
30175f43c5 La correction du rendu (pour le bug de decalage au zoom par defaut) est desormais desactivee par defaut.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@386 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-23 10:55:37 +00:00
xavierqet
716ca01824 Typos dans les mans
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@385 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-21 18:15:03 +00:00
xavierqet
1cd7590651 Ajout d'une page de manuel UNIX (en anglais et en francais)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@384 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-20 21:25:53 +00:00
xavierqet
9f8c1b03e8 Petites corrections sur le dialogue d'impression (titre et chemin PDF propose)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@383 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-19 21:25:31 +00:00
xavierqet
eb14050796 Correction d'un bug : apres fermeture d'un schema, le menu Fenetres n'etait pas correctement mis a jour.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@382 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-19 20:35:42 +00:00
xavierqet
3c7c538d7c Ajout d'une description dans le dialogue des options d'impression
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@381 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-18 20:18:18 +00:00
xavierqet
1f712ba103 Ajout d'un script bash facilitant le lancement de QET en utilisant la collection et les fichiers de langue du repertoire de travail
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@380 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-17 21:47:07 +00:00
xavierqet
dde819c278 Lors de l'impression, l'option "Adapter le schema a la page" est desormais cochee par defaut.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@379 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-17 21:21:29 +00:00
xavierqet
147deca55d Ajout de l'option --lang-dir pour redefinir le dossier contenant les fichiers de langue
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@378 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-17 21:08:31 +00:00
xavierqet
bee622e7cc Peaufinage de la plupart des dialogues pour qu'ils n'apparaissent pas dans la barre des taches
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@377 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-17 20:41:37 +00:00
xavierqet
3957baaa6f Adaptation de l'impression pour Qt >= 4.4
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@376 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-17 16:16:44 +00:00
xavierqet
75f689ffa9 Correction des chemins d'installation des .desktop et .xml pour les associations de fichiers sous X11
Mise a jour du fichier de traduction pour la langue anglaise


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@375 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-15 18:00:55 +00:00
xavierqet
601b90ffd4 Mise a jour des traductions
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@374 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-15 14:31:25 +00:00
xavierqet
fc1f573719 Correction d'un bug avec l'option --config-dir=
Correction dans le script d'enregistrement des associations de fichier sous Windows


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@373 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-15 13:50:43 +00:00
xavierqet
5e952533d6 Il est desormais possible d'afficher ou non les entetes des lignes et colonnes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@372 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-15 12:46:22 +00:00
xavierqet
faf504f2d0 Ajout des classes BorderProperties et BorderPropertiesWidget
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@371 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-14 22:51:08 +00:00
xavierqet
7ac471c6f2 Mise a jour des traductions
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@370 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-11 19:24:12 +00:00
xavierqet
15020669d9 Suppression d'avertissements a la compilation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@369 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-10 18:53:31 +00:00
xavierqet
5c9a6edff5 Correction d'un bug lors de l'interpretation de l'attribut height d'un schema
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@368 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-10 16:52:37 +00:00
xavierqet
8d7572090a Mise a jour des fichiers de configuration exemple
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@367 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-10 15:48:42 +00:00
xavierqet
8b3e64a724 Amelioration du comportement du HotspotEditor lorsqu'on le redimensionne
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@366 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-10 15:43:54 +00:00
xavierqet
e0cf69d6bf La hauteur du schema est desormais geree via un systeme de lignes, dont le nombre et la hauteur sont ajustables.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@365 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-10 15:07:59 +00:00
xavierqet
818982272f Nettoyage du trunk : deplacement des sources dans un sous-repertoire
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@364 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-07 19:50:56 +00:00
xavierqet
1a11287dfc Changement du numero de version affiche par le splash screen.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@363 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-03 18:23:26 +00:00
xavierqet
b3a3c87eba Ajout d'un splash screen
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@362 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-02 16:53:42 +00:00
xavierqet
cd57178b11 Correction d'un bug dans l'operator= et le constructeur de copie de la classe QETArguments
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@361 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-08-02 16:24:10 +00:00
xavierqet
7a48bcc228 Corrections de code :
* avertissements a la compilation (teste avec gcc 4.3)
  * inclusions non pertinentes


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@360 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-07-30 12:44:57 +00:00
xavierqet
e8e881ff51 Ajout des "fichiers recents"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@359 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-07-30 11:51:27 +00:00
xavierqet
0272d5ed66 Mise a jour des associations de fichiers sous Windows
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@358 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-07-27 15:48:06 +00:00
xavierqet
da1e965c83 L'application est desormais capable d'ouvrir un fichier element passe en parametre
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@357 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-07-26 15:26:19 +00:00
xavierqet
e26560188f Ajout des associations de fichiers pour X11 (shared-mime-info)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@356 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-07-24 21:18:09 +00:00
xavierqet
c6140bce49 Ajout de fichiers permettant d'automatiser les associations de fichiers sous Windows
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@355 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-07-20 18:03:56 +00:00
xavierqet
7f520f0b8d Modification pour Windows : evite d'initialiser le systray lorsqu'une nouvelle instance est lancee.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@354 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-07-20 12:50:12 +00:00
xavierqet
4364410029 L'application verifie desormais que le fichier n'est pas deja ouvert dans tous les editeurs de schemas.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@353 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-07-20 11:37:31 +00:00
xavierqet
fe4c3f6f7d Import dans le trunk des modifications apportees lors de la revision 335 :
* Affinage du constructeur de la classe QETApp


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@351 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-07-19 17:34:13 +00:00
xavierqet
eae7513eef Lors de l'ouverture d'un fichier en dehors de l'application alors que QET est deja demarre, celui-ci essaye de s'afficher ou d'attirer l'attention de l'utilisateur.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@350 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-07-18 21:05:51 +00:00
xavierqet
158cf97bb3 Correction d'une segfault survenant avec Qt 4.4
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@349 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-07-17 22:57:50 +00:00
xavierqet
429d7e55a2 L'application se lance desormais une seule fois par utilisateur
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@348 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-07-17 19:25:57 +00:00
xavierqet
f4b828a3cd Les classes Conductor et Element heritent desormais de QObject.
Correction du bug #16 : Mauvaise gestion des modifications du texte d'un conducteur



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@346 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-07-09 21:14:30 +00:00
xavierqet
9c6f602439 Les textes des elements, des conducteurs, du cartouche ainsi que les textes independants utilisent desormais tous la meme police.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@345 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-07-09 17:30:52 +00:00
xavierqet
b030058966 Rapatriement dans le trunk d'une correction apportee dans la branche 0.2 :
* [r343] Le cartouche utilise desormais la meme police que les textes des elements


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@344 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-07-08 18:27:07 +00:00
xavierqet
c6fc0ad51b Correction du bug #15 : Mauvais positionnement des champs de texte sur le schema.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@341 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-06-25 11:15:43 +00:00
xavierqet
f9813f1f84 Bugfixes :
* Bug #13 : il manquait un / dans le chemin propose lors de l'impression vers un PDF
  * La classe DiagramView ecrivait sur la sortie d'erreur sans fin de ligne


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@332 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-05-26 17:37:39 +00:00
xavierqet
d7444ae90c Correction pour que QET compile avec gcc-4.3
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@327 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-05-20 20:37:17 +00:00
xavierqet
8c59b8183a Correction du bug #12 : QET provoquait une erreur de segmentation des son demarrage dans un environnement sans systray
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@322 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-05-11 20:05:18 +00:00
4066 changed files with 426260 additions and 31496 deletions

265
CREDIT
View File

@@ -1,23 +1,260 @@
[en]
Thanks to Trolltech for their Qt library ( http://trolltech.com/ ), licensed
under GNU/GPL.
Thanks to Everaldo Coelho for the Crystal SVG icons theme (
http://www.everaldo.com/crystal/ ) licensed under LGPL, and to the KDE
project ( http://www.kde.org/ ).
Thanks to Qt Software for their Qt library ( http://www.qtsoftware.com/ ), licensed under GNU/GPL.
Thanks to Everaldo Coelho for the Crystal SVG icons theme ( http://www.iconfinder.com/iconsets/crystalproject) licensed under LGPL.
Thanks to Nuno Pinheiro for the Oxygen icons theme ( http://www.oxygen-icons.org/ ) licensed under LGPL but also for the QElectroTech-dedicated icons.
Thanks to the KDE project ( http://www.kde.org/ ).
Thanks to Loic for his mathematics-related explanations.
Thanks to Nicolas for the Mac OS X experimentations.
Thanks to Remi Collet for the Fedora packaging.
Thanks to TuxFamily ( http://tuxfamily.org ) for hosting the project.
Thanks to Laurent Trinques for the Debian packaging.
Thanks to `trem' for the Mandriva packaging.
Thanks to TuxFamily ( http://tuxfamily.org/ ) for hosting the project.
Thanks to `Nishiki' for his elements and his support.
Thanks to qtcentre.org for their SingleApplication class.
Thanks to Alfredo Carreto for his Spanish translations and fixing Spanish translations ( http://electronicosmx.comxa.com )
Thanks to 'Dr.Slump' and Sivio for their translations in Italian
Thanks to Jose Carlos Martins for his translations in Portuguese
Thanks to Pavel Fric for his translations in Czech
Thanks to Pawel Smiech for His Polish translations
Thanks to Yuriy Litkevich for his translations into Russian
Thanks to Youssef Ouamalkran for his translations Catatan
Thanks to Gabi Mandoc for his translations in Romanian
Thanks to Markus Budde and Jonas Stein and Noah Braden for his translations into German
Thanks to Mohamed Souabni for his translations into Arabic
Thanks to Uroš Platiše for his translations into Slovenian
Thanks to Antun Marakovic for his translations Croatian
Thanks to Nikos Papadopoylos && Yannis Gyftomitros their Greek translations
Thanks to Markos Chandras for Gentoo packaging
Thanks to David for packaging Slackware
Thanks to Chipsterjulien for packaging Archlinux AUR packages
Thanks to Elbert from the NL for packaging OS/2
Thanks to zloidemon from for packaging FreeBsd (port GCC)
Thanks to Mrbit for ebuild Gentoo packaging.
[fr]
Merci à Trolltech pour la bibliothèque Qt ( http://trolltech.com/ ), sous
licence GNU/GPL.
Merci à Everaldo Coelho pour le thème d'icônes Crystal SVG (
http://www.everaldo.com/crystal/ ) sous licence LGPL, ainsi qu'au projet KDE (
http://www.kde.org/ ).
Merci à Qt Software pour la bibliothèque Qt ( http://www.qtsoftware.com/ ), sous licence GNU/GPL.
Merci à Everaldo Coelho pour le thème d'icônes Crystal SVG ( http://www.iconfinder.com/iconsets/crystalproject ) sous licence LGPL.
Merci à Nuno Pinheiro pour le thème d'icônes Oxygen ( http://www.oxygen-icons.org/ ) sous licence LGPL mais aussi pour les icônes dédiées à QElectroTech
Merci au projet KDE ( http://www.kde.org/ ).
Merci à Loic pour ses explications d'ordre mathématique.
Merci à Nicolas pour les expérimentations Mac OS X.
Merci à Remi Collet pour les paquets Fedora.
Merci à TuxFamily ( http://tuxfamily.org ) pour l'hébergement du projet.
Merci à Laurent Trinques pour les paquets Debian.
Merci à `trem' pour les paquets Mandriva.
Merci à TuxFamily ( http://tuxfamily.org/ ) pour l'hébergement du projet.
Merci à `Nishiki' pour ses éléments et son soutien.
Merci à qtcentre.org pour leur classe SingleApplication.
Merci à Alfredo Carreto pour ses traductions et corrections en espagnol ( http://electronicosmx.comxa.com )
Merci à 'Dr.Slump' et Sivio pour leurs traductions en italien
Merci à Jose Carlos Martins pour ses traductions en portugais
Merci à Pavel Fric pour ses traductions en Tchèque
Merci à Pawel Smiech pour ses traductions en polonais
Merci à Yuriy Litkevich pour ses traductions en russe
Merci à Youssef Ouamalkran pour ses traductions en catatan
Merci à Gabi Mandoc pour ses traductions en Roumain
Merci à Markus Budde et Jonas Stein et Noah Braden pour ses traductions en allemand
Merci à Mohamed Souabni pour ses traductions en arabe
Merci à Uroš Platiše pour ses traductions en Slovene
Merci à Antun Marakovic pour ses traductions Croate
Merci à Nikos Papadopoylos && Yannis Gyftomitros pour leurs traductions en grec
Merci à Markos Chandras pour les paquets Gentoo
Merci à David les paquets Slackware
Merci à Chipsterjulien les paquets Archlinux AUR packages
Merci à Elbert from the NL les paquets OS/2
Merci à Zloidemon from for les paquets (port GCC)
Merci à Mrbit for ebuild les paquets Gentoo
[ru]
Спасибо Qt Software за их библиотеку Qt ( http://www.qtsoftware.com/ ), лицензированную на условиях GNU/GPL.
Спасибо Everaldo Coelho за тему значков Crystal SVG ( http://www.iconfinder.com/iconsets/crystalproject ) лицензированную на условиях LGPL.
Спасибо Nuno Pinheiro за тему значков Oxygen ( http://www.oxygen-icons.org/ ) лицензированную на условиях LGPL, а также за значки связанные с QElectroTech.
Спасибо проекту KDE ( http://www.kde.org/ ).
Спасибо Loic за объяснения связанные с математикой.
Спасибо Remi Collet за пакет для Fedora.
Спасибо Laurent Trinques за пакет для Debian.
Спасибо `trem' за пакет для Mandriva.
Спасибо TuxFamily ( http://tuxfamily.org/ ) за хостинг для проекта.
Спасибо `Nishiki' за элементы и поддержку.
Спасибо qtcentre.org за их класс SingleApplication.
Спасибо Alfredo Carreto за исправления и перевод на испанский ( http://electronicosmx.comxa.com )
Спасибо 'Dr.Slump' за исправления и перевод
[pt]
Agradecimentos a Qt Software pela sua biblioteca Qt ( http://www.qtsoftware.com/ ), licenciada de acordo com a GNU/GPL.
Agradecimentos a Everaldo Coelho pelo tema de ícones Crystal SVG ( http://www.iconfinder.com/iconsets/crystalproject ), licenciado de acordo com a LGPL.
Agradecimentos a Nuno Pinheiro pelo tema de ícones Oxygen e em especial pelos ícones dedicados ao programa QElectroTech ( http://www.oxygen-icons.org/ ), lincenciado de acordo com a LGPL.
Agradecimentos ao projecto KDE ( http://www.kde.org/ ).
Agradecimentos a Loic pelas suas explicações relacionadas com problemas matemáticos.
Agradecimentos a Remi Collet pela criação dos pacotes para Fedora.
Agradecimentos a Laurent Trinques pela criação dos pacotes para Debian.
Agradecimentos a "trem" pela criação dos pacotes para Mandriva.
Agradecimentos a TuxFamily ( http://tuxfamily.org/ ) por albergarem este projecto.
Agradecimentos a "Nishiki" pela criação de elementos e o seu suporte.
Agradecimentos a qtcentre.org pela classe SingleApplication.
Agradecimentos a Alfredo Carreto pela tradução para Espanhol e pela correcção de traduções em Espanhol ( http://electronicosmx.comxa.com ).
Agradecimentos a 'Dr.Slump'pela tradução para italiano
[es]
Agradecimientos a Qt Software por su biblioteca Qt ( http://www.qtsoftware.com/ ), licenciada bajo GNU/GPL.
Agradecimientos a Everaldo Coelho por el tema de icónos Crystal SVG ( http://www.iconfinder.com/iconsets/crystalproject ), licenciado bajo LGPL.
Agradecimientos a Nuno Pinheiro por el tema de icónos Oxygen y especialmente por los icónos dedicados al programa QElectroTech ( http://www.oxygen-icons.org/ ), licenciado bajo LGPL.
Agradecimientos al proyecto KDE ( http://www.kde.org/ ).
Agradecimientos a Loic por sus explicaciones relacionadas con problemas matemáticos.
Agradecimientos a Remi Collet por criación de paquetes para Fedora.
Agradecimientos a Laurent Trinques por la creación de paquetes para Debian.
Agradecimientos a "trem" por creación de paquetes para Mandriva.
Agradecimientos a TuxFamily ( http://tuxfamily.org/ ) por el alojamiento de este proyecto.
Agradecimientos a "Nishiki" por creación de elementos e de su suporte.
Agradecimientos a qtcentre.org por classe SingleApplication.
Agradecimientos a Alfredo Carreto por sus traducciones en español y correcciones de traducción en español ( http://electronicosmx.comxa.com)
Agradecimientos a 'Dr.Slump' por sus traducciones en italiano
[cs]
Díky Qt Software za jejich knihovnu Qt ( http://www.qtsoftware.com/ ), pod licencí GNU/GPL.
Díky Everaldovi Coelho za téma Crystal SVG icons theme ( http://www.iconfinder.com/iconsets/crystalproject ) pod licencí LGPL.
Díky Nunovi Pinheirovi za téma ikon Oxygen ( http://www.oxygen-icons.org/ ) pod licencí LGPL ale také za ikony věnované QElectroTech.
Díky projektu KDE ( http://www.kde.org/ ).
Díky Loicovi za jeho vysvětlení vztahující se k matematice.
Díky Remi Colletovi za balíček pro Fedoru.
Díky Laurentu Trinquesovi za balíček pro Debian.
Díky `trem' za balíček pro Mandrivu.
Díky TuxFamily ( http://tuxfamily.org/ ) za poskytování hostingu pro projekt.
Díky `Nishiki' za jeho prvky a jeho podporu.
Díky qtcentre.org za jejich třídu SingleApplication.
Poděkování Alfredovi Carretovi za jeho španělský překlad a opravy španělského překladu ( http://electronicosmx.comxa.com )
Dìky 'Dr.Slump' za jeho italianský překlad
[pl]
Podziękowania dla Qt Software, za biblioteki Qt (http://www.qtsoftware.com/) na licencji GNU / GPL.
Podziękowania dla Everaldo Coelho, za ikony Crystal SVG ( http://www.iconfinder.com/iconsets/crystalproject) na licencji LGPL.
Podziękowania dla Nun Pinheiro, za ikony Oxygen (http://www.oxygen-icons.org/) na licencji LGPL, a także za ikony przeznaczone do projektu QElectroTech.
Podziękowania dla projektu KDE (http://www.kde.org/).
Podziękowania dla Loic, za pomoc w rozwiązaniu problemów matematycznych.
Podziękowania dla Remi Collet, za pakiety dla Fedory.
Podziękowania dla Laurent Trinquesovi, za pakiety dla Debiana.
Podziękowania dla "trem", za pakiety dla Mandrivy.
Podziękowania dla TuxFamily (http://tuxfamily.org/), za organizację projektu.
Podziękowanie dla "Nishiki", zajego elementy i poparcie.
Podziękowania dla qtcentre.org, za klasę SingleApplication.
Podziękowania dla Alfredo Carreto, za jego tłumaczenie na język hiszpański i korektę ( http://electronicosmx.comxa.com)
[it]
Grazie a Qt Software per le loro librerie Qt (http://www.qtsoftware.com/), licenzate sotto GNU/GPL.
Grazie a Everaldo Coelho per il tema icone Crystal SVG ( http://www.iconfinder.com/iconsets/crystalproject) licenzato sotto LGPL.
Grazie a Nuno Pinheiro per il tema icone Oxygen (http://www.oxygen-icons.org/) licenzato sotto LGPL ma anche per le icone dedicate a QElectroTech.
Grazie al progetto KDE (http://www.kde.org/).
Grazie a Loic per le sue spiegazioni matematiche.
Grazie a Remi Collet per i pacchetti per Fedora.
Grazie a Laurent Trinques per i pacchetti per Debian.
Grazie a `trem' per i pacchetti per Mandriva.
Grazie a TuxFamily (http://tuxfamily.org/) per l'ospitalità al progetto.
Grazie a `Nishiki' per i suoi elementi ed il supporto.
Grazie a qtcentre.org per la loro classe SingleApplication.
Grazie a Alfredo Carreto per le traduzioni e le correzioni in spagnolo (http://electronicosmx.comxa.com).
Grazie a 'Dr.Slump' e 'Silvio' per la traduzione in italiano.
Grazie a Jose Carlos Martins per la traduzione in portoghese.
Grazie a Pavel Fric per la traduzione in ceco.
Grazie a Pawel Smiech per la traduzione in polacco.
Grazie a Yuriy Litkevich per la traduzione in russo .
Grazie a Youssef Ouamalkran per la traduzione in catalano.
Grazie a Gabi Mandoc per la traduzione in rumeno.
Grazie a Markus Budde e Jonas Stein per la traduzione in tedesco.
Grazie a Mohammed Souabni per la traduzione in arabo.
Grazie a Uroš Platiše per la traduzione in sloveno.
Grazie a Antun Marakovic per la traduzione in croato.
Grazie a Nikos Papadopoylos e Yannis Gyftomitros per la traduzione in greco.
Grazie a Markos Chandras per i pacchetti per Gentoo.
[el]
Ευχαριστίες στην Qt Software για την βιβλιοθήκη Qt ( http://www.qtsoftware.com/ ), αδειοδοτημένο ως GNU/GPL.
Ευχαριστίες στον Everaldo Coelho για τα εικονίδια του θέματος Crystal SVG ( http://www.iconfinder.com/iconsets/crystalproject) αδειοδοτημένο ως LGPL.
Ευχαριστίες to Nuno Pinheiro για τα εικονίδια του θέματος Oxygen ( http://www.oxygen-icons.org/ ) αδειοδοτημένο ως LGPL και επίσης για τα εικονίδια ειδικά για το QElectroTech.
Ευχαριστίες στο έργο KDE ( http://www.kde.org/ ).
Ευχαριστίες στον Loic για τις εξηγήσεις σχετικές με μαθηματικά.
Ευχαριστίες στον Remi Collet για τα πακέτα Fedora.
Ευχαριστίες στον Laurent Trinques για τα πακέτα Debian.
Ευχαριστίες στον `trem' για τα πακέτα Mandriva.
Ευχαριστίες στο TuxFamily ( http://tuxfamily.org/ ) για τη φιλοξενία του έργου.
Ευχαριστίες στον `Nishiki' για τα στοιχεία και την υποστήριξη του.
Ευχαριστίες στο qtcentre.org για την κλάση SingleApplication.
Ευχαριστίες στον Alfredo Carreto για τις μεταφράσεις του και για την επισκευή της Ισπανικής μετάφρασης ( http://electronicosmx.comxa.com )
Ευχαριστίες στον 'Dr.Slump' και τον Sivio για τις μεταφράσεις τους στα Ιταλικά
Ευχαριστίες στον Jose Carlos Martins για την μετάφραση στα Πορτογαλικά
Ευχαριστίες στον Pavel Fric Για την μετάφραση στα Τσέχικα
Ευχαριστίες στον Pawel Smiech για την Πολωνική μετάφραση
Ευχαριστίες στον Yuriy Litkevich για τις μεταφράσεις του στα Ρώσικα
Ευχαριστίες στον Youssef Ouamalkran για τις μεταφράσεις του στα Καταλανικά
Ευχαριστίες στον Gabi Mandoc για τις μεταφράσεις του στα Ρουμανικά
Ευχαριστίες στους Markus Budde και Jonas Stein για τις μεταφράσεις τους στα Γερμανικά
Ευχαριστίες στον Mohamed Souabni για τις μεταφράσεις του στα Αραβικά
Ευχαριστίες στον Uroš Platiše για τις μεταφράσεις του στα Σλοβένικα
Ευχαριστίες στον Antun Marakovic για τις μεταφράσεις του στα Κροατικά
Ευχαριστίες στους Νίκο Παπαδόπουλο και Γιάννη Γυφτομήτρο για τις μεταφράσεις τους στα Ελληνικά
Ευχαριστίες στον Markos Chandras για τα πακέτα Gentoo
Ευχαριστίες στον David για τα πακέτα Slackware
Ευχαριστίες στον Chipsterjulien για τα πακέτα Archlinux AUR
Ευχαριστίες στον Elbert για τα πακέτα OS/2
Ευχαριστίες στον zloidemon για τα πακέτα FreeBsd (port GCC)
Ευχαριστίες στον Mrbit για τα πακέτα ebuild για Gentoo.
[nl]
Dank aan Qt Software voor hun Qt library ( http://www.qtsoftware.com/ ) , onder de GNU / GPL licentie .
Dank aan Everaldo Coelho voor de Crystal SVG iconen thema ( http://www.iconfinder.com/iconsets/crystalproject ) gelicenseerd onder LGPL .
Dank aan Nuno Pinheiro voor de Oxygen iconen thema ( http://www.oxygen-icons.org/ ) gelicenseerd onder LGPL maar ook voor de QElectroTech -dedicated iconen.
Dank aan het KDE-project ( http://www.kde.org/ ) .
Dank aan Loic voor zijn wiskunde - gerelateerde verklaringen .
Met dank aan Remi Collet voor de Fedora pakket.
Met dank aan Laurent Trinques voor de Debian pakket.
Dank aan ` tremolo ' voor de Mandriva pakket.
Dank aan TuxFamily ( http://tuxfamily.org/ ) voor het hosten van het project .
Dank aan ` Nishiki ' voor zijn elementen en zijn steun .
Dank aan qtcentre.org voor hun SingleApplication klasse .
Dank aan Alfredo Carreto voor zijn Spaanse vertalingen en tot vaststelling Spaanse vertalingen ( http://electronicosmx.comxa.com )
Dank aan ' Dr.Slump ' en Sivio voor hun vertalingen in het Italiaans
Met dank aan Jose Carlos Martins voor zijn vertalingen in het Portugees
Met dank aan Pavel Fric voor zijn vertalingen in het Tsjechisch
Dank aan Pawel miech voor zijn Poolse vertalingen
Dank aan Yuriy Litkevich voor zijn vertalingen in het Russisch
Dank aan Youssef Ouamalkran voor zijn vertalingen Catatan
Met dank aan Gabi Mandoc voor zijn vertalingen in het Roemeens
Dank aan Markus Budde en Jonas Stein en Noah Braden voor zijn vertalingen in het Duits
Met dank aan Mohamed Souabni voor zijn vertalingen in het Arabisch
Dank aan Uro ? Plati ? E voor zijn vertalingen in het Sloveens
Dank aan Antun Marakovic voor zijn vertalingen Kroatisch
Dank aan Nikos Papadopoylos && Yannis Gyftomitros hun Griekse vertalingen
Dank aan Markos Chandras voor Gentoo pakket
Met dank aan David voor het verpakken van Slackware
Dank aan Chipsterjulien voor het verpakken van Archlinux AUR pakketten
Dank aan Elbert uit de NL voor het pakket van OS/2
Dank aan zloidemon voor het verpakken van FreeBSD ( poort GCC )
Dank aan Mrbit voor ebuild Gentoo pakket.
[be]
Dank aan Qt Software bibliotheek voor Qt ( http://www.qtsoftware.com/ ), onder licentie van GNU/GPL.
Dank aan Everaldo Coelho voor het pictogram thema Crystal SVG ( http://www.iconfinder.com/iconsets/crystalproject )onder licentie van licence LGPL.
Dank aan Nuno Pinheiro voor het pictogram thema Oxygen ( http://www.oxygen-icons.org/ ) onder licentie van LGPL maar ook voor de iconen opgedragen aan QElectroTech
Dank aan project KDE ( http://www.kde.org/ ).
Dank aan Loic voor zijn uitleg van de mathematische orde.
Dank aan Remi Collet voor de pakketten Fedora.
Dank aan Laurent Trinques voor de pakkette Debian.
Dank aan `trem' voor de pakketten Mandriva.
Dank aan TuxFamily ( http://tuxfamily.org/ ) voor het hosten van het project.
Dank aan `Nishiki' voor zijn elementen en ondersteuning.
Dank aan qtcentre.org voor hun SingleApplication klasse.
Dank aan Alfredo Carreto voor zijn vertalingen en correcties in het Spaans ( http://electronicosmx.comxa.com )
Dank aan 'Dr.Slump' en Sivio hun vertaling in het Italiaans
Dank aan Jose Carlos Martins voor zijn vertalingen in het Portugees
Dank aan Pavel Fric voor zijn vertalingen in het Tsjechisch
Dank aan Pawel Smiech voor zijn vertaling in het Pools
Dank aan Yuriy Litkevich voor zijn vertalingen in het Russisch
Dank aan Youssef Ouamalkran voor zijn vertalingen Catatan
Dank aan Gabi Mandoc voor zijn vertalingen in het Roemeens
Dank aan Markus Budde en Jonas Stein et Noah Braden voor hun vertaling in het Duitse
Dank aan Mohamed Souabni voor zijn vertalingen in het Arabisch
Dank aan Uroš Platiše zijn onze vertalingen Sloveense
Dank aan Antun Marakovic voor zijn vertalingen Kroatisch
Dank aan Nikos Papadopoylos en Yannis Gyftomitros hun vertalingen in het Grieks
Dank aan Markos Chandras voor de pakkette Gentoo
Dank aan David voor de pakkette Slackware
Dank aan Chipsterjulien voor de pakkette Archlinux AUR
Dank aan Elbert voor de pakkette OS/2
Dank aan Zloidemon fvoor de pakkette (port GCC)
Dank aan Mrbit van ebuild voor de pakkette Gentoo

231
ChangeLog Normal file
View File

@@ -0,0 +1,231 @@
====== ChangeLog from 0.3 to 0.4 ======
In the official collection, there are now 2298 elements, and 376 catégoris for a total of 2674 files.
* We have removed the flag '-fno-ipa-sra "This settled the compilation problems on Mac OS X and FreeBSD clang.
* The official collection has been redesigned, through the work of Nuri a new structure is in place.
* A menu has been added, allowing you to change the application language.
* we added a summary creation tool.
* Added button "export the nomenclature" transforms data from diagrams to CSV file for spreadsheet.
Arun wrote a detailed manual and quality in English.
* New tools have been added, they can create mechanical connections and draw cabinets, desks, junction boxes, or areas on the schematic (line tool, rectangle, ellipse, polygon type: respect for style dashes).
* An aid in positioning cross, drawing, was added.
* The locked state images and basic forms (basic shapes) is now stored in the project.
* The "control" during the movement of an element, text field disables snapping to the grid, for free positioning.
It is now possible to choose the background folios in white or gray.
* Add supports trackpad gestures (multitouch).
The dates of the cartridges are now using the short system date and date format according to the language detected setting in the OS.
We take advantage of the transition to standard C ++ 11, and a big cleanup in the code was done.
* The undo action or redo the undo stack are now animated graphically.
When the action save, save as, the status bar displays the name and path of the backup job.
Qet is now able to come to load a style sheet (stylesheet) directly from the conf directory.
* A DXF export has been added, the entire project folios can be exported in this format.
* Added reports folio, Cross references.
* Added a variable font size on the text of conductors.
* Added new properties to all conductors at the same potential, even through referrals.
* When several conductors have the same value potential equalization, it is not useful to display on all conductors.
* Added button to activates the automatic connection of the conductors of the element when moving it.
* Numbering rules are now available for the entire project.
Qet detects the Windows version and applies the appropriate graphic style, depending on the version of Windows.
====== ChangeLog from 0.3 rc to 0.3 ======
First, the collection of symbols has made a big step forward, with about 1560 new elements.
There are now symbols for pneumatics, hydraulics, process, solar, cold, etc. Considerable effort has been done to organize the collection in a better way.
We hope that the new organisation is clearer for all. We would like to thank all the contributors who send us symbols.
=====-Element Editor: =====
Considerable work has be done to replace the manual defining zone of the symbol, aka hotspot.And fix bugs, It is now automatic. You do not have to care about it anymore.
Primary colors have been added for the drawing shapes.
A contextual menu (right click) has been added. So, you can now work more quickly with symbols. It is also more user-friendly.
====== ChangeLog from v0.3 rc ======
=====-Element Editor: =====
* Replacing checkboxes with lists of colors.
* Removed the manual hotspot, it is now automatic and you do not have to worry.
Officially Collection: a large classification work on the structure was realized. It should be clear to everyone.
The collection is enriched with 1711 items in 286 categories (ie 1997 files)
=====-Schema Editor:=====
* Added import image, image rotation, image resizing and saving the file in the project.
(Double click on the image called a widget and cursor that reduce or enlarge the selected image.)
NB: Following the "edit image" entry will also be added in the right click menu.
* F5 keyboard shortcut can recharge symbol collections.
Some bugs have been resolved, and the translation status continues to grow.
======ChangeLog from v0.3 beta ======
Two more items for the changelog:
* In the official collection, there are now 1672 elements and 256 categoris for a total of 1928 files. In version 0.3 alpha, there were 1465 elements and 233 categories, while version 0.22 had153 elements and 51 categories.
*Progress in the translation (see http://qelectrotech.org/wiki/doc/translation/stats for current state)
* Functions (edit element and find in panel) have been moved to the context
Here is the changelog, for version 0.3 beta:
* Functions (edit element and find in panel) have been moved to the context menu, that can be accessed with right click. This is more user friendly.
* Refresh of categories when an element is moved.
* DateNow button added in the "Diagram property" dialog.
* Dotted lines can now been added between conductors.
* Rich text can be added to the diagram text fields.
[screenshot]
* HTML WYSIWYG editor for rich text: bold, italic, underlined, font size from 6 to 72 pixels, font colour, etc.
* You can change between the two modes(Selection mode <-> View mode) with the scroll button.
* Symbol editor: focus on the new value for language, languages sorted in alphabetical order.
* Added a widget that reflects the loading of a big project.
* Automated numbering of conductors according to your rules. See note from Joshua http://qelectrotech.org/wiki/doc/autonum
* Added a dialog to automatically rotate the text if the associated conductor is vertical or horizontal. Parameters are saved in qelectrotech.conf
* Added basic colours on the tools for lines and for the filling of the primitives, and also for the style line and point in the element editor.
* Added several protection to prevent from saving an element if one of its primitive is beyond the hotspot.
====== ChangeLog from 0.22 to 0.3a ======
===== Application =====
Elements collection: QElectroTech now provides 1465 elements within 233 categories (0.22 provided 153 elements within 51 categories). Most elements are related to electricity though some relate to chillers, solar, hydraulic and pneumatic engineering.
A new kind of collections appeared to store title block templates; as for elements, there is a distinction between common (system-wide) templates and custom (user-wide) templates.
Translations:
English, Spanish, French, Portuguese and Czech translations have been maintained.
Russian translations have been removed because they are not maintained anymore.
Polish, German, Italian, Arabic and Croatian translations have been added.
Following translation to Arabic, some work was done to improve Right-To-Left languages support.
Elements names are fully translated to English, French, Czech and Polish.
Main windows: added a “What's this?” action.
QElectroTech now handles *.titleblock files.
===== Diagram editor =====
It is now possible to move and rotate all texts on a diagram : element texts, conductor texts and independent texts.
When moving a text related to an electrical element, this element is highlighted.
Texts related to a conductor cannot be moved too far away from it.
It is now possible to create diagrams with more than 100 rows/columns.
Elements panel:
During a drag and drop operation, the hovered item is now expanded after a short time not moving the mouse.
Items are now expanded/collapsed by a double click.
Common, custom and embedded collections of title block templates are displayed within the elements panel.
Elements previews and names are now cached into a SQLite database stored in the user configuration directory, thus speeding up the elements panel (re)loading
The elements panel now displays the folio index before each diagram title.
UI consistency: renamed “Import element” to “Open an element file”, separated this action from those related to the current selection, and ensured elements-related actions are disabled when selecting a project/diagram/title block template.
Freshly integrated elements are now highlighted in the elements panel this behaviour can be disabled though.
When clearing the search field, the panel state is restored to its previous state.
Title blocks are now rendered using templates:
For each diagram, users can choose the template to be used in the diagram properties.
They may also drag and drop it from the elements panel to the diagram.
Title block templates are always integrated within the parent project.
Fixed a bug in the print preview dialog.
Added a F2 shortcut for the widget “Edit the color of the given conductor”.
As elements, diagrams now have a “version” attribute for compatibility purposes.
Better handling of file opening for documents saved with newer versions of QElectroTech.
Diagram loading: removed an optimization that could lead to conductors not being loaded when several terminals share the same coordinates.
Users may now enter visualisation mode by pressing Ctrl and Shift.
Printing: when printing diagrams with no title block, use the space left by the title block.
Added a few status and “What's this?” tips.
Got rid of the green icon used for projects, changed a few other icons.
===== Element editor =====
Both static and dynamic texts can now be rotated
Added “dotted” line style
Added white color for texts
Newly added parts are placed above existing ones.
===== Title block template editor =====
A third kind of editor was implemented so users can create their own title block templates:
It allows users to customize the layout and content of cells that constitute the title block.
Cells can be merged and splitted.
Their width can be fixed, relative to the total width or relative to the remaining widths.
Their height is a simple fixed length.
They contain either a logo (be it in SVG or a usual bitmap format) or some text.
The text value is optionally preceded by a label.
As other texts within QElectroTech, labels and texts can be translated to other languages.
Texts and labels may contain variables (e.g. %company-name); these variables are replaced by real world values once the template is applied to a diagram.
Those real-world values can be set among the diagram properties.
====== Changelog 0.11 -> 0.2 ======
À partir de la version 0.2, QElectroTech est disponible en français, anglais, mais aussi :
* en espagnol, grâce aux traductions de Youssef ;
* en russe, grâce aux traductions de Yuriy ;
* en portugais, grâce aux traductions de José.
L'application utilise désormais le thème d'icônes Oxygen, réalisé par Nuno Pinheiro pour le projet KDE.
===== Notion de fichier projet =====
Un fichier .qet peut désormais contenir zéro, un ou plusieurs schémas électriques. Les éléments composant ces schémas sont embarqués dans le fichier projet au moment où ils sont posés sur un schéma. Le panel d'éléments affiche donc désormais :
* les projets ouverts, avec, sous chaque projet :
* les schémas de ce projet,
* la collection embarquée du projet (catégories et éléments utilisés dans les schémas)
* la collection commune fournie par QET,
* et la collection personnelle de l'utilisateur.
===== Éditeur de schémas =====
* Il est désormais possible de déplacer et copier les catégories et éléments par simple glisser-déposer (drag'n drop) dans le panel d'éléments.
* La collection embarquée est manipulable au même titre que la collection utilisateur. Les éléments inutilisés dans le projet apparaissent sur fond rouge et un dialogue permet de les purger rapidement.
* Chaque projet embarque également (au niveau de ses propriétés) les paramétrages par défaut pour les nouveaux schémas, cartouches et conducteurs.
* Il est possible de changer l'ordre des schémas dans le projet en déplaçant les onglets qui les représente. Dans le champ "Folio" des cartouches, on peut se référer à la position du schéma courant ou au nombre total de schémas dans le projet en écrivant respectivement %id et %total.
* Lors du chargement d'un fichier .qet, si des éléments ne sont pas trouvés, ils sont remplacés par un élément "fantôme", ce qui évite de perdre certaines informations lors de l'enregistrement du fichier.
* Le rendu avec un zoom réduit a été amélioré.
* Enfin, le logiciel gère l'ouverture en lecture seule d'un fichier projet.
==== Impression et export ====
À partir de la version 0.2, QElectroTech :
* propose d'utiliser une imprimante réelle ou bien de générer un document PDF ou PostScript, et ce sous Windows comme sous X11.
* génère un aperçu avant l'impression d'un projet. Cet aperçu permet de choisir les options d'impression mais également les schémas à imprimer ou non.
À noter toutefois une limitation pour les impressions PDF/PS sous Windows : le dialogue de mise en page, permettant de spécifier le format du papier ainsi que ses marges, n'est pas disponible.
Le dialogue "Exporter" (pour générer un fichier image d'un schéma) a également été refait dans l'optique d'un export simultané de tous les schémas du projet.
===== Éditeur d'éléments =====
* Lorsque l'on dessine une ligne dans l'éditeur d'éléments, il est possible de choisir un embout différent pour chaque extrémité, comme par exemple une flèche, un cercle, un carré ou, tout simplement, un bout de ligne normal.
* La forme "Rectangle" a été ajoutée.
* On peut enregistrer un élément en désignant un fichier (= comportement en 0.11) ou bien en choisissant un élément cible dans une liste reprenant l'arborescence du panel d'éléments.
* Si l'on maintient la touche Shift lorsque l'on ajoute une partie (droite, cercle, texte, ...), l'outil en cours est conservé après le dessin. Sinon l'éditeur repasse sur l'outil de sélection.
* La grille a été améliorée : sa densité varie en fonction du zoom ; les points correspondant à ceux de la grille de l'éditeur de schémas sont mis en valeur.
* L'accrochage à la grille (aka "snap to grid", également connu sous le nom de grille magnétique ou encore grille aimantée) a été ajouté. Le dessin s'y accroche désormais avec une précision de 1px. On peut travailler en coordonnées libres en maintenant la touche Ctrl enfoncée durant le dessin.
* Le copier-coller a été implémenté : il est possible de coller :
* avec le bouton du milieu de la souris
* en choisissant une "zone de collage" sur l'élément (Ctrl+Shift+V)
* directement (Ctrl+V) : les parties collées sont placées à côté des parties copiées ; si on recolle les parties, elles sont collées encore un cran à côté, et ce de manière incrémentale.
* Des contrôles sont désormais effectués à l'enregistrement : présence de bornes, respect du cadre, etc.
* Uniformisation des menus par rapport à l'éditeur de schémas
====== Changelog 0.1 -> 0.11 ======
===== Fonctionnalités et interface =====
* L'application est désormais capable d'ouvrir un fichier élément passe en paramètre
* L'application se lance désormais une seule fois par utilisateur
* Lors de l'ouverture d'un fichier en dehors de l'application alors que QET est déjà démarré celui-ci essaye de s'afficher ou d'attirer l'attention de l'utilisateur.
* L'application vérifie que ce fichier n'est pas déjà ouvert dans tous les éditeurs de schémas / éléments.
* Ajout de fichiers permettant d'automatiser les associations de fichiers sous Windows (.bat et .reg) et X11 (.desktop et .xml)
* Ajout de menus "Récemment ouverts" pour accéder aux fichiers récents dans les éditeurs de schémas et éléments.
* Ajout d'un splash screen
* La hauteur du schéma est désormais gérée via un système de lignes, dont le nombre et la hauteur sont ajustables.
* Il est également possible d'afficher ou non les en-têtes des lignes et/ou des colonnes.
* Ajout d'une option --lang-dir
* Ajout d'une description dans le dialogue des options d'impression
* Ajout de pages de manuel Unix (`man') en anglais et en français
===== Corrections de bugs =====
* Bug #12 : QET provoquait une erreur de segmentation dès son démarrage dans un environnement sans systray
* Bug #14 : il manquait un / dans le chemin proposé lors de l'impression vers un PDF
* Bug #15 : Mauvais positionnement des champs de texte sur le schéma
* Bug #16 : Mauvaise gestion des modifications du texte d'un conducteur
* La classe DiagramView écrivait sur la sortie d'erreur sans fin de ligne
* L'option --config-dir était mal prise en compte
* Après fermeture d'un schema, le menu Fenêtres n'était pas correctement mis à jour
* Les textes des éléments, des conducteurs, du cartouche ainsi que les textes indépendants utilisent désormais tous la même police.
* Remise à niveau de l'impression suite au passage à Qt 4.4
===== Code et détails techniques =====
* Corrections pour que QET compile avec gcc-4.3
* Les classes Conductor et Element héritent désormais de QObject (dépendance sur Qt 4.4)
* Affinage du constructeur de la classe QETApp
* Moins d'avertissements à la compilation (testé avec gcc 4.3)
* Moins d'inclusions non pertinentes
* Nettoyage du trunk : déplacement des sources dans un sous-répertoire

1322
Doxyfile

File diff suppressed because it is too large Load Diff

165
ELEMENTS.LICENSE Normal file
View File

@@ -0,0 +1,165 @@
[en]
The elements collection provided along with QElectroTech is provided as is and
without any warranty of fitness for your purpose or working.
The usage, the modification and the integration of the elements into electric
diagrams is allowed without any condition, whatever the final license of the
diagrams is.
If you redistribute all or a part of the QElectroTech collection, with or
without any modification, out of an electric diagram, you must respect the
conditions of the CC-BY license:
This work is licensed under the Creative Commons Attribution 3.0 License.
To view a copy of this license, visit
http://creativecommons.org/licenses/by/3.0/ or send a letter to Creative
Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
[fr]
La collection d'éléments fournie avec QElectroTech est fournie telle quelle et
sans la moindre garantie qu'elle convienne à votre utilisation ou qu'elle
fonctionne.
L'utilisation, la modification et l'intégration des éléments dans des schémas
électriques est autorisée sans condition, quelle que soit la licence finale des
schémas.
Si vous redistribuez tout ou partie de la collection QElectroTech, avec ou sans
modification, en dehors d'un schéma électrique, vous devrez respecter les
conditions de la licence CC-BY :
Cette création est mise à disposition selon le Contrat Paternité 3.0
disponible en ligne http://creativecommons.org/licenses/by/3.0/ ou par
courrier postal à Creative Commons, 171 Second Street, Suite 300, San Francisco,
California 94105, USA.
[ru]
Коллекция элементов, поставляемая вместе с QElectroTech, поставляется "как есть"
и без каких-либо гарантий пригодности для той или иной цели или работы.
Использование, изменение и интеграция элементов в электрическую
схему разрешается без каких-либо условий, безотносительно конечной лицензии на
схему.
Если Вы распространяете всю или часть коллекции QElectroTech, с или без
изменений, отдельно от электрической схемы, Вы должны соблюдать условия лицензии
CC-BY:
Эта работа лицензирована на условиях Creative Commons Attribution 3.0 License.
Чтобы увидеть копию этой лицензии, посетите
http://creativecommons.org/licenses/by/3.0/ или отправте письмо в Creative
Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
(данный перевод, на русский язык, является вольным и выполнен не юристом!)
[pt]
A colecção de elementos fornecida com o programa QElectroTech é fornecida como é
e sem nenhuma garantia da aptidão para o seu uso e sem garantia de que funciona.
É permitido, sem condição alguma, qualquer que seja a licença final, usar,
editar e incluir estes elementos em esquemas eléctricos.
Se você redistribuir uma parte ou toda a colecção de elementos do programa
QElectroTech, tendo editado ou não os elementos, sem ser num esquema eléctrico,
tem de respeitar as condições da licença CC-BY:
Este trabalho está licenciado de acordo com os termos da licença Creative
Commons Attribution 3.0 License.
Para ver uma cópia da licença visite http://creativecommons.org/licenses/by/3.0/
ou envie uma carta para o endereço Creative Commons, 171 Second Street, Suite
300, San Francisco, California, 94105, USA.
[es]
La colección de elementos QElectrotech es distruibida tal cual y sin ninguna
garantía a la conveniencia de su uso y sin garantía de que funciona.
Se permite sin condicione alguna, cualquiera que sea la licencia final, usar,
editar, e incluir estos elementos en esquemas eléctricos.
Si usted redistribuye una parte de la colección o toda la collección de
QElectrotech, con o sin ediciones, fuera de un esquema eléctrico, tiene que
respetar las condiciones de la licencia CC-BY:
Esta obra está bajo una licencia Reconocimiento 3.0 de Creative Commons.
Para ver una copia de esta licencia, visite
http://creativecommons.org/licenses/by/3.0/ o envie una carta a Creative
Commons, 171 Second Street, Suite 300, San Francisco, California 94105, USA.
[ca]
La col·lecció de símbols QElectrotech és distribuïda tal qual i sense cap
garantia d'idoneïtat d'ús ni de funcionament.
Es permet incondicionalment, amb independència de la llicència final, emprar,
editar, i incloure aquests símbols en esquemes elèctrics.
Si vostè redistribueix una part de la col·lecció de QElectrotech o tota ella,
amb condicions o sense, separadament d'un esquema elèctric, haurà de respectar
les condicions de la llicència CC-BY:
Aquesta obra es troba sota una llicència Reconeixement 3.0 de Creative Commons.
Per veure una còpia d'aquesta llicència visiti
http://creativecommons.org/licenses/by/3.0/ o enviï una carta a Creative
Commons, 171 Second Street, Suite 300, San Francisco, California 94105,
[cs]
Sbírka prvků poskytovaná společně s QElectroTechem je poskytována tak, jak je,
bez záruky nebo vhodnosti pro váš účal nebo práci.
Používání, úpravy a začlenění prvků do nákresů elektrických
obvodů se povoluje bez jakýchkoli podmínek, cokoli je konečná licence nákresu.
Pokud rozdáte celou nebo část ze sbírky QElectroTechu, s nebo bez
jakýchkoli úprav, mimo elektrický nákres, musíte brát ohledy na podmínky
licence CC-BY:
tato práce je licencována pod licencí Creative Commons Attribution 3.0 License.
Kopii této licence si můžete prohlédnout, navštivte
http://creativecommons.org/licenses/by/3.0/ nebo pošlete dopis Creative
Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
[pl]
Biblioteka elementów dostarczana wraz z QElectroTech jest w formie "taka jaka jest",
bez żadnych gwarancji przydatności.
Dozwolona jest edycja, modyfikacja i użytkowanie elementów bez żadnych warunków
i bez względu na końcową licencję tworzonych schematów.
W przypadku wykorzystywania całości lub części biblioteki elementów QElectroTech
do innych celów niż tworzenie schematów elektrycznych, należy przestrzegać
warunków licencji CC-BY:
Niniejsza praca jest licencjonowana na zasadach Creative Commons Attribution 3.0 License.
Aby zobaczyć kopię licencji, należy odwiedzić stronę internetową:
http://creativecommons.org/licenses/by/3.0/ lub wysłać list do Creative
Commons, 171 Second Street, Suite 300, San Francisco, Kalifornia 94105, USA.
[it]
La collezione di elementi che si trova in QElectroTech è fornita così com'è
senza alcuna garanzia di usabilità o funzionamento.
L'uso, la modifica e l'integrazione degli elementi negli schemi elettrici
è permessa senza condizioni, qualunque si ala licenza dello schema finale.
Distribuendo tutto o parte della collezione di QElettroTech, con o senza
modifiche, fuori da uno schema elettrico, bisogna rispettare le condizioni
della licenza CC-BY:
Questo lavoro è licenziato sotto la Licenza Creative Commons 3.0.
Per vedere una copia di questa licenza, visitate il sito
http://creativecommons.org/licenses/by/3.0/ o inviate una lettera a Creative
Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
[el]
Η συλλογή στοιχείων που παρέχεται μαζί με το QElectroTech παρέχεται ως έχει και
χωρίς καμία εγγύηση καταλληλότητας για συγκεκριμένο σκοπό ή την εργασία σας.
Η χρήση, η τροποποίηση και η ενσωμάτωση των στοιχείων στα ηλεκτρικά
διαγράμματα επιτρέπεται χωρίς καμία προϋπόθεση, όποια και αν είναι η τελική άδεια
των διαγραμμάτων.
Εάν αναδιανείμετε το σύνολο ή ένα μέρος της συλλογής του QElectroTech, με ή
χωρίς καμία τροποποίηση, έξω από ένα ηλεκτρικό διάγραμμα, θα πρέπει να σεβαστείτε
τους όρους της άδειας CC-BY:
Το έργο αυτό είναι υπό την άδεια Creative Commons Attribution 3.0 License.
Για να δείτε ένα αντίγραφο της άδειας αυτής, επισκεφτείτε το
http://creativecommons.org/licenses/by/3.0/ ή στείλτε μια επιστολή στο Creative
Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
[nl]
De elementen collectie voorzien, samen met QElectroTech wordt geleverd als en
zonder enige garantie van geschiktheid voor uw doel of werk.
Het gebruik, de wijziging en de integratie van de elementen in elektrische
diagrammen wordt toegestaan zonder enige voorwaarden, ongeacht wat de uiteindelijke
vergunning van het diagram is.
Als u alle of een deel van de QElectroTech collectie, met of herdistribueren
zonder enige wijziging, van een elektrisch schema, moet u voldoen aan de
voorwaarden van de CC-BY-licentie:
Dit werk is gelicenseerd onder de Creative Commons Attribution 3.0-licentie.
Om een kopie van deze licentie te bekijken, bezoek
http://creativecommons.org/licenses/by/3.0/ of stuur een brief naar Creative
Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
[be]
De elementen collectie welke samen met QElectroTech wordt geleverd zonder enige garantie
of deze geschikt zijn voor uw doel of de werking.
Het gebruik, wijzigen en integratie van de elementen in uw elektrische
schema's wordt toegestaan zonder enige voorwaarden, ongeacht wat de uiteindelijke
liventie van het schema is.
Als u één of meerdere elementen van de QElectroTech collectie, met of zonder wijzigingen, herdistribuer in een elektrisch schema of zonder schzma , moet u de voorwaarden van de
CC-BY-licentie volgen:
Dit werk is gelicenseerd onder de Creative Commons Attribution 3.0-licentie.
Om een kopie van deze licentie te bekijken, bezoek
http://creativecommons.org/licenses/by/3.0/ of stuur een brief naar Creative
Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.

112
INSTALL
View File

@@ -6,6 +6,7 @@ cupsys-bsd for printing
Howto compile :
$ qmake (qmake-qt4 for Debian-based systems)
$ make
# umask 0022
# make install
[fr]
@@ -16,4 +17,115 @@ cupsys-bsd pour l'impression
Comment compiler :
$ qmake (qmake-qt4 pour les systèmes basés sur Debian)
$ make
# umask 0022
# make install
[ru]
Зависимости:
libQt4 (пакет libqt4*)
cupsys-bsd для печати
Как компилировать?:
$ qmake (qmake-qt4 для систем основанных на Debian)
$ make
# umask 0022
# make install
[pt]
Dependências:
libQt4 (ver pacotes libqt4*)
cupsys-bsd para impressão
Como compilar:
$ qmake (qmake-qt4 para sistemas baseados em Debian)
$ make
# umask 0022
# make install
[es]
Dependencias:
libQt4 (paquetes libqt4*)
cupsys-bsd para imprimir
Cómo compilar:
$ qmake (qmake-qt4 para los sistemas basados en Debian)
$ make
# umask 0022
# make install
[ca]
Dependències:
libQt4 (paquets libqt4*)
cupsys-bsd per imprimir
Com compilar:
$ qmake (qmake-qt4 pels sistemes basats en Debian)
$ make
# umask 0022
# make install
[cs]
Požadavky :
libQt4 (viz balíček libqt4*)
cupsys-bsd kvůli tisku
Jak program sestavit :
$ qmake (qmake-qt4 u systémů založených na Debianu)
$ make
# umask 0022
# make install
[pl]
Zależności:
libQt4 (pakiety libqt4 *)
cupsys-bsd do druku
Sposób kompilacji:
$ qmake (qmake-qt4 dla systemów opartych na Debianie)
$ make
# umask 0022
# make install
[it]
Dipendenze:
libQt4 (vedi pacchetti libqt4*)
cupsys-bsd per la stampa
Come compilare:
$ qmake (qmake-qt4 per sistemi basati su Debian)
$ make
# umask 0022
# make install
[el]
Απαιτήσεις:
libQt4 (δείτε για πακέτα libqt4*)
cupsys-bsd για εκτύπωση
Πως να το μεταγλωττίσετε:
$ qmake (qmake-qt4 για συστήματα βασισμένα σε Debian)
$ make
# umask 0022
# make install
[nl]
vereisten:
libqt4 (zie pakketten libqt4 *)
cupsys-bsd om af te drukken
Hoe te compileren:
$ Qmake (qmake-qt4 voor Debian-gebaseerde systemen)
$ make
# Umask 0022
# Make install
[be]
Vereisten:
libQt4 (pakketten libqt4*)
cupsys-bsd voor het afdrukken
Hoe te compileren :
$ qmake (qmake-qt4 voor systemen op basis van Debian)
$ make
# umask 0022
# make install

44
README
View File

@@ -1,9 +1,43 @@
[en]
QElectroTech is a Qt4 application to design electric diagrams. It uses XML
files for elements and diagrams, and includes both a diagram editor and an
element editor.
QElectroTech is a Qt4 application to design electric diagrams.
It uses XML files for elements and diagrams, and includes both a diagram editor, a element editor, and an titleblock editor.
[fr]
QElectroTech est une application Qt4 pour réaliser des schémas électriques.
QET utilise le format XML pour ses éléments et ses schémas et inclut un
éditeur de schémas ainsi qu'un éditeur d'élément.
QET utilise le format XML pour ses éléments et ses schémas et inclut un éditeur de schémas, un éditeur d'élément, ainsi qu'un editeur de cartouche.
[ru]
QElectroTech - приложение написанное на Qt4 и предназначенное для разработки электрических схем.
Оно использует XML-файлы для элементов и схем, и включает, как редактор схем, так и редактор элементов.
[pt]
QElectroTech é uma aplicação baseada em Qt4 para desenhar esquemas eléctricos.
QET utiliza ficheiros XML para os elementos e para os esquemas e inclui um editor de esquemas e um editor de elementos.
[es]
QElectroTech es una aplicación Qt4 para diseñar esquemas eléctricos.
Utiliza archivos XML para los elementos y esquemas, e incluye un editor de esquemas y un editor de elemento.
[cs]
QElectroTech je aplikací Qt4 určenou pro návrh nákresů elektrických obvodů.
Pro prvky a nákresy používá soubory XML, a zahrnuje v sobě jak editor nákresů, tak editor prvků.
[pl]
QElectroTech to aplikacja napisana w Qt4, przeznaczona do tworzenia schematów elektrycznych.
Wykorzystuje XML do zapisywania plików elementów i projektów. Posiada edytor schematów i elementów.
[it]
QElectroTech è una applicazione fatta in Qt4 per disegnare schemi elettrici.
QET usa il formato XML per i suoi elementi e schemi, includendo anche un editor per gli stessi.
[el]
Το QElectroTech είναι μια εφαρμογή Qt4 για σχεδίαση ηλεκτρικών διαγραμμάτων.
Χρησιμοποιεί αρχεία XML για στοιχεία και διαγράμματα, και περιλαμβάνει επεξεργαστή διαγραμμάτων καθώς και επεξεργαστή στοιχείων.
[nl]
QElectroTech is een Qt4 applicatie om elektrische schema's te ontwerpen.
Het maakt gebruik van XML-bestanden voor elementen en diagrammen, en omvat zowel een diagram bewerker, een element bewerker, en een bloksjabloon bewerker.
[be]
QElectroTech is een QT4 toepassing voor het maken en beheren van elektrische schema's.
QET gebruikt XML voor de elementen en schema's en omvat een schematische editor, itemeditor, en een titel sjabloon editor.

View File

@@ -1,138 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "aboutqet.h"
#include "qet.h"
/**
Constructeur
@param parent Le QWidget parent de la boite de dialogue
*/
AboutQET::AboutQET(QWidget *parent) : QDialog(parent) {
// Titre, taille, comportement...
setWindowTitle(tr("\300 propos de QElectrotech"));
setMinimumWidth(680);
setMinimumHeight(350);
setModal(true);
// Trois onglets
QTabWidget *onglets = new QTabWidget(this);
onglets -> addTab(ongletAPropos(), tr("\300 &propos"));
onglets -> addTab(ongletAuteurs(), tr("A&uteurs"));
onglets -> addTab(ongletLicence(), tr("&Accord de licence"));
// Un bouton pour fermer la boite de dialogue
QDialogButtonBox *boutons = new QDialogButtonBox(QDialogButtonBox::Close);
connect(boutons, SIGNAL(accepted()), this, SLOT(accept()));
connect(boutons, SIGNAL(rejected()), this, SLOT(accept()));
// Le tout dans une disposition verticale
QVBoxLayout *disposition = new QVBoxLayout();
disposition -> addWidget(titre());
disposition -> addWidget(onglets);
disposition -> addWidget(boutons);
setLayout(disposition);
}
/**
Destructeur
*/
AboutQET::~AboutQET() {
}
/**
@return Le titre QElectroTech avec son icone
*/
QWidget *AboutQET::titre() const {
QWidget *icone_et_titre = new QWidget();
// icone
QLabel *icone = new QLabel();
icone -> setPixmap(QIcon(":/ico/qelectrotech.png").pixmap(48, 48));
// label "QElectroTech"
QLabel *titre = new QLabel("<span style=\"font-weight:0;font-size:16pt;\">QElectroTech v" + QET::version + "</span>");
titre -> setTextFormat(Qt::RichText);
// le tout dans une grille
QGridLayout *dispo_horiz = new QGridLayout();
dispo_horiz -> addWidget(icone, 0, 0);
dispo_horiz -> addWidget(titre, 0, 1);
dispo_horiz -> setColumnStretch(0, 1);
dispo_horiz -> setColumnStretch(1, 100);
icone_et_titre -> setLayout(dispo_horiz);
return(icone_et_titre);
}
/**
@return Le widget contenu par l'onglet <20> A propos <20>
*/
QWidget *AboutQET::ongletAPropos() const {
QLabel *apropos = new QLabel(
tr("QElectroTech, une application de r\351alisation de sch\351mas \351lectriques.") +
"<br><br>" +
tr("\251 2006-2008 Les d\351veloppeurs de QElectroTech") +
"<br><br>"
"<a href=\"http://qelectrotech.tuxfamily.org/\">"
"http://qelectrotech.tuxfamily.org/</a>"
);
apropos -> setAlignment(Qt::AlignCenter);
apropos -> setOpenExternalLinks(true);
apropos -> setTextFormat(Qt::RichText);
return(apropos);
}
/**
@return Le widget contenu par l'onglet <20> Auteurs <20>
*/
QWidget *AboutQET::ongletAuteurs() const {
QLabel *auteurs = new QLabel(
"<span style=\"text-decoration: underline;\">" +
tr("Id\351e originale") +
"</span> : Beno\356t Ansieau "
"&lt;<a href=\"mailto:benoit.ansieau@gmail.com\">"
"benoit.ansieau@gmail.com</a>&gt;"
"<br><br>"
"<span style=\"text-decoration: underline;\">" +
tr("Programmation") +
"</span> : Xavier Guerrin "
"&lt;<a href=\"mailto:xavier.guerrin@gmail.com\">"
"xavier.guerrin@gmail.com</a>&gt;"
);
auteurs -> setAlignment(Qt::AlignCenter);
auteurs -> setOpenExternalLinks(true);
auteurs -> setTextFormat(Qt::RichText);
return(auteurs);
}
/**
@return Le widget contenu par l'onglet <20> Accord de Licence <20>
*/
QWidget *AboutQET::ongletLicence() const {
QWidget *licence = new QWidget();
// label
QLabel *titre_licence = new QLabel(tr("Ce programme est sous licence GNU/GPL."));
// texte de la GNU/GPL dans une zone de texte scrollable non editable
QTextEdit *texte_licence = new QTextEdit();
texte_licence -> setPlainText(QET::license());
texte_licence -> setReadOnly(true);
// le tout dans une disposition verticale
QVBoxLayout *dispo_licence = new QVBoxLayout();
dispo_licence -> addWidget(titre_licence);
dispo_licence -> addWidget(texte_licence);
licence -> setLayout(dispo_licence);
return(licence);
}

View File

@@ -1,43 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef ABOUTQET_H
#define ABOUTQET_H
#include <QtGui>
/**
Cette classe represente la boite de dialogue
<09> A propos de QElectroTech <20>
*/
class AboutQET : public QDialog {
Q_OBJECT
// constructeurs, destructeur
public:
AboutQET(QWidget * = 0);
virtual ~AboutQET();
private:
AboutQET(AboutQET &);
// methodes
private:
QWidget *titre() const;
QWidget *ongletAPropos() const;
QWidget *ongletAuteurs() const;
QWidget *ongletLicence() const;
};
#endif

View File

@@ -1,231 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "borderinset.h"
#include "qetapp.h"
/**
Constructeur simple : construit une bordure de 15 colonnes de 50x500 avec
un cartouche de 400x50.
@param parent QObject parent de ce BorderInset
*/
BorderInset::BorderInset(QObject *parent) : QObject(parent) {
nb_columns = qMax(3, QETApp::settings().value("diagrameditor/defaultcols", 15).toInt());
min_nb_columns = 3;
columns_width = QETApp::settings().value("diagrameditor/defaultcolsize", 50.0).toDouble();
columns_height = QETApp::settings().value("diagrameditor/defaultheight", 500.0).toDouble();
min_columns_height = 80.0;
inset_width = nb_columns * columns_width;
inset_height = 50.0;
columns_header_height = 20.0;
display_inset = true;
display_columns = true;
display_border = true;
updateRectangles();
bi_author = QETApp::settings().value("diagrameditor/defaultauthor").toString();
bi_title = QETApp::settings().value("diagrameditor/defaulttitle").toString();
bi_folio = QETApp::settings().value("diagrameditor/defaultfolio").toString();
bi_filename = QETApp::settings().value("diagrameditor/defaultfilename").toString();
QString settings_date = QETApp::settings().value("diagrameditor/defaultdate").toString();
if (settings_date == "now") bi_date = QDate::currentDate();
else if (settings_date.isEmpty() || settings_date == "null") bi_date = QDate();
else bi_date = QDate::fromString(settings_date, "yyyyMMdd");
}
/**
Destructeur - ne fait rien
*/
BorderInset::~BorderInset() {
}
/**
Methode recalculant les rectangles composant le cadre et le cartouche en
fonction des attributs de taille
*/
void BorderInset::updateRectangles() {
// rectangle delimitant le schema
QRectF previous_border = border;
border = QRectF(0, 0, nb_columns * columns_width, columns_height);
if (border != previous_border) emit(borderChanged(previous_border, border));
// rectangles relatifs au cartouche
inset = QRectF(border.bottomLeft().x(), border.bottomLeft().y(), inset_width, inset_height);
inset_author = QRectF(inset.topLeft(), QSizeF(2.0 * inset_width / 9.0, 0.5 * inset_height));
inset_date = QRectF(inset_author.bottomLeft(), inset_author.size());
inset_title = QRectF(inset_author.topRight(), QSizeF(5.0 * inset_width / 9.0, inset_height));
inset_file = QRectF(inset_title.topRight(), inset_author.size());
inset_folio = QRectF(inset_file.bottomLeft(), inset_author.size());
}
/**
Dessine le cadre et le cartouche
@param qp QPainter a utiliser pour dessiner le cadre et le cartouche
@param x Abscisse du cadre
@param y Ordonnee du cadre
*/
void BorderInset::draw(QPainter *qp, qreal x, qreal y) {
// translate tous les rectangles
border .translate(x, y);
inset .translate(x, y);
inset_author.translate(x, y);
inset_date .translate(x, y);
inset_title .translate(x, y);
inset_file .translate(x, y);
inset_folio .translate(x, y);
// prepare le QPainter
qp -> save();
qp -> setPen(Qt::black);
qp -> setBrush(Qt::NoBrush);
// dessine le cadre
if (display_border) qp -> drawRect(border);
// dessine la numerotation des colonnes
if (display_columns) {
qp -> setBrush(Qt::white);
for (int i = 1 ; i <= nb_columns ; ++ i) {
QRectF numbered_rectangle = QRectF(
border.topLeft().x() + ((i - 1) * columns_width),
border.topLeft().y(),
columns_width,
columns_header_height
);
qp -> drawRect(numbered_rectangle);
qp -> drawText(numbered_rectangle, Qt::AlignVCenter | Qt::AlignCenter, QString("%1").arg(i));
}
}
// dessine le cartouche
if (display_inset) {
qp -> setBrush(Qt::white);
qp -> drawRect(inset);
qp -> drawRect(inset_author);
qp -> drawText(inset_author, Qt::AlignVCenter | Qt::AlignLeft, tr(" Auteur : ") + bi_author);
qp -> drawRect(inset_date);
qp -> drawText(inset_date, Qt::AlignVCenter | Qt::AlignLeft, tr(" Date : ") + bi_date.toString("dd/MM/yyyy"));
qp -> drawRect(inset_title);
qp -> drawText(inset_title, Qt::AlignVCenter | Qt::AlignCenter, tr("Titre du document : ") + bi_title);
qp -> drawRect(inset_file);
qp -> drawText(inset_file, Qt::AlignVCenter | Qt::AlignLeft, tr(" Fichier : ") + bi_filename);
qp -> drawRect(inset_folio);
qp -> drawText(inset_folio, Qt::AlignVCenter | Qt::AlignLeft, tr(" Folio : ") + bi_folio);
}
qp -> restore();
// annule la translation des rectangles
border .translate(-x, -y);
inset .translate(-x, -y);
inset_author.translate(-x, -y);
inset_date .translate(-x, -y);
inset_title .translate(-x, -y);
inset_file .translate(-x, -y);
inset_folio .translate(-x, -y);
}
/**
Ajoute une colonne.
*/
void BorderInset::addColumn() {
++ nb_columns;
setInsetWidth(nb_columns * columns_width);
updateRectangles();
}
/**
Enleve une colonne. Il doit rester au moins 3 colonnes.
*/
void BorderInset::removeColumn() {
if (nb_columns == min_nb_columns) return;
-- nb_columns;
setInsetWidth(nb_columns * columns_width);
updateRectangles();
}
/**
Permet de changer le nombre de colonnes.
Si ce nombre de colonnes est inferieur au minimum requis, cette fonction ne
fait rien
@param nb_c nouveau nombre de colonnes
@see minNbColumns()
*/
void BorderInset::setNbColumns(int nb_c) {
if (nb_c < min_nb_columns) return;
nb_columns = nb_c;
setInsetWidth(nb_columns * columns_width);
updateRectangles();
}
/**
Change la largeur des colonnes ; celle-ci doit rester comprise entre 10 et
200px.
*/
void BorderInset::setColumnsWidth(const qreal &new_cw) {
columns_width = qBound(10.0, new_cw, 200.0);
updateRectangles();
}
/**
Change la hauteur des en-tetes contenant les numeros de colonnes. Celle-ci
doit rester comprise entre 5 et 50 px.
*/
void BorderInset::setColumnsHeaderHeight(const qreal &new_chh) {
columns_header_height = qBound(5.0, new_chh, 50.0);
updateRectangles();
}
/**
Change la hauteur des colonnes (et donc du cadre). Cette hauteur doit
rester superieure a la hauteur des en-tetes de colonnes + 20px.
*/
void BorderInset::setColumnsHeight(const qreal &new_ch) {
columns_height = qMax(columns_header_height + min_columns_height, new_ch);
updateRectangles();
}
/**
Change la largeur du cartouche. Cette largeur doit rester comprise entre
100px et la largeur du cartouche
*/
void BorderInset::setInsetWidth(const qreal &new_iw) {
inset_width = qMax(100.0, qMin(nb_columns * columns_width, new_iw));
updateRectangles();
}
/**
Change la hauteur du cartouche. Cette largeur doit rester comprise entre
20px et la hauteur du cartouche.
*/
void BorderInset::setInsetHeight(const qreal &new_ih) {
inset_height = qMax(20.0, qMin(columns_height, new_ih));
updateRectangles();
}
/**
Ajuste la largeur du cartouche de facon a ce que celui-ci soit aussi large
que le schema
*/
void BorderInset::adjustInsetToColumns() {
setInsetWidth(nbColumn() * columnsWidth());
}

View File

@@ -1,182 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef BORDERINSET_H
#define BORDERINSET_H
#include "insetproperties.h"
#include <QObject>
#include <QRectF>
#include <QPainter>
#include <QDate>
/**
Cette classe represente l'ensemble bordure + cartouche qui encadre le
schema electrique.
*/
class BorderInset : public QObject {
Q_OBJECT
// constructeurs, destructeur
public:
BorderInset(QObject * = 0);
virtual ~BorderInset();
private:
BorderInset(const BorderInset &);
// methodes
public:
void draw(QPainter *, qreal = 0.0, qreal = 0.0);
// methodes d'acces en lecture aux dimensions
/// @return le nombre de colonnes du schema
int nbColumn() const { return(nb_columns); }
/// @return la taille des colonnes en pixels
qreal columnsWidth() const { return(columns_width); }
/// @return la hauteur, en pixels, des en-tetes des colonnes
qreal columnsHeaderHeight() const { return(columns_header_height); }
/// @return la hauteur des colonnes, en-tetes inclus
qreal columnsHeight() const { return(columns_height); }
/// @return la largeur de la bordure
qreal borderWidth() const { return(nb_columns * columns_width); }
/// @return la hauteur de la bordure
qreal borderHeight() const { return(columns_height + inset_height); }
/// @return la largeur du cartouche
qreal insetWidth() const { return(inset_width); }
/// @return la hauteur du cartouche
qreal insetHeight() const { return(inset_height); }
/// @return la hauteur minimale acceptee des colonnes
qreal minColumnsHeight() const { return(min_columns_height); }
/// @return le nombre minimum accepte de colonnes
int minNbColumns() const { return(min_nb_columns); }
// methodes d'acces en lecture aux informations du cartouche
/// @return le champ "Auteur" du cartouche
QString author() const { return(bi_author); }
/// @return le champ "Date" du cartouche
QDate date() const { return(bi_date); }
/// @return le champ "Titre" du cartouche
QString title() const { return(bi_title); }
/// @return le champ "Folio" du cartouche
QString folio() const { return(bi_folio); }
/// @return le champ "Fichier" du cartouche
QString fileName() const { return(bi_filename); }
// methodes d'acces en lecture aux options
/// @return true si le cartouche est affiche, false sinon
bool insetIsDisplayed() const { return(display_inset); }
/// @return true si les entetes des colonnes sont affiches, false sinon
bool columnsAreDisplayed() const { return(display_columns); }
/// @return true si la bordure est affichee, false sinon
bool borderIsDisplayed() const { return(display_border); }
// methodes d'acces en ecriture aux dimensions
void addColumn ();
void removeColumn ();
void setNbColumns (int);
void setColumnsWidth (const qreal &);
void setColumnsHeaderHeight(const qreal &);
void setColumnsHeight (const qreal &);
void setInsetWidth (const qreal &);
void setInsetHeight (const qreal &);
void adjustInsetToColumns ();
// methodes d'acces en ecriture aux informations du cartouche
/// @param author le nouveau contenu du champ "Auteur"
void setAuthor (const QString &author) { bi_author = author; }
/// @param date le nouveau contenu du champ "Date"
void setDate (const QDate &date) { bi_date = date; }
/// @param title le nouveau contenu du champ "Titre"
void setTitle (const QString &title) { bi_title = title; }
/// @param folio le nouveau contenu du champ "Folio"
void setFolio (const QString &folio) { bi_folio = folio; }
/// @param filename le nouveau contenu du champ "Fichier"
void setFileName (const QString &filename) { bi_filename = filename; }
/// @return les proprietes du cartouches
InsetProperties exportInset() {
InsetProperties ip;
ip.author = bi_author;
ip.date = bi_date;
ip.title = bi_title;
ip.folio = bi_folio;
ip.filename = bi_filename;
return(ip);
}
/// @param ip les nouvelles proprietes du cartouche
void importInset(const InsetProperties &ip) {
bi_author = ip.author;
bi_date = ip.date;
bi_title = ip.title;
bi_folio = ip.folio;
bi_filename = ip.filename;
}
// methodes d'acces en ecriture aux options
/// @param di true pour afficher le cartouche, false sinon
void displayInset (bool di) { display_inset = di; }
/// @param dc true pour afficher les entetes des colonnes, false sinon
void displayColumns (bool dc) { display_columns = dc; }
/// @param db true pour afficher la bordure du schema, false sinon
void displayBorder (bool db) { display_border = db; }
private:
void updateRectangles();
// signaux
signals:
/**
Signal emis lorsque la bordure change
@param old_border Ancienne bordure
@param new_border Nouvelle bordure
*/
void borderChanged(QRectF old_border, QRectF new_border);
// attributs
private:
// informations du cartouche
QString bi_author;
QDate bi_date;
QString bi_title;
QString bi_folio;
QString bi_filename;
// dimensions du cadre et du cartouche
int nb_columns;
int min_nb_columns;
qreal columns_width;
qreal columns_header_height;
qreal columns_height;
qreal min_columns_height;
qreal inset_width;
qreal inset_height;
// rectangles utilises pour le dessin
QRectF border;
QRectF inset;
QRectF inset_author;
QRectF inset_date;
QRectF inset_title;
QRectF inset_file;
QRectF inset_folio;
// booleens pour les options de dessin
bool display_inset;
bool display_columns;
bool display_border;
};
#endif

File diff suppressed because it is too large Load Diff

View File

@@ -1,141 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef CONDUCTOR_H
#define CONDUCTOR_H
#include <QtGui>
#include "terminal.h"
#include "conductorprofile.h"
#include "conductorproperties.h"
#include "diagramtextitem.h"
class ConductorSegment;
class Element;
typedef QPair<QPointF, Qt::Corner> ConductorBend;
typedef QHash<Qt::Corner, ConductorProfile> ConductorProfilesGroup;
/**
Cette classe represente un conducteur. Un conducteur relie deux bornes d'element.
*/
class Conductor : public QGraphicsPathItem {
// constructeurs, destructeur
public:
Conductor(Terminal *, Terminal *, Element * = 0, QGraphicsScene * = 0);
virtual ~Conductor();
private:
Conductor(const Conductor &);
// attributs
public:
enum { Type = UserType + 1001 };
/// premiere borne a laquelle le fil est rattache
Terminal *terminal1;
/// deuxieme borne a laquelle le fil est rattache
Terminal *terminal2;
// methodes
public:
/**
permet de caster un QGraphicsItem en Conductor avec qgraphicsitem_cast
@return le type de QGraphicsItem
*/
virtual int type() const { return Type; }
void destroy();
/// @return true si ce conducteur est detruit
bool isDestroyed() const { return(destroyed); }
Diagram *diagram() const;
void updateWithNewPos(const QRectF &, const Terminal *, const QPointF &);
void update(const QRectF & = QRectF());
void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *);
QRectF boundingRect() const;
virtual QPainterPath shape() const;
qreal length();
ConductorSegment *middleSegment();
bool containsPoint(const QPointF &) const;
QString text() const;
void setText(const QString &);
static bool valideXml(QDomElement &);
bool fromXml(QDomElement &);
QDomElement toXml(QDomDocument &, QHash<Terminal *, int> &) const;
const QList<ConductorSegment *> segmentsList() const;
void setProperties(const ConductorProperties &);
ConductorProperties properties() const;
void setProfile(const ConductorProfile &, Qt::Corner);
ConductorProfile profile(Qt::Corner) const;
void setProfiles(const ConductorProfilesGroup &);
ConductorProfilesGroup profiles() const;
void readProperties();
protected:
virtual void mousePressEvent(QGraphicsSceneMouseEvent *);
virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *);
virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *);
virtual void hoverMoveEvent(QGraphicsSceneHoverEvent *);
private:
/// caracteristiques du conducteur
ConductorProperties properties_;
/// booleen indiquant si le fil est encore valide
bool destroyed;
/// champ de texte editable pour les conducteurs non unifilaires
DiagramTextItem *text_item;
/// segments composant le conducteur
ConductorSegment *segments;
/// attributs lies aux manipulations a la souris
QPointF press_point;
bool moving_point;
bool moving_segment;
int moved_point;
qreal previous_z_value;
ConductorSegment *moved_segment;
/// booleen indiquant si le conducteur a ete modifie manuellement par l'utilisateur
bool modified_path;
/// booleen indiquant s'il faut sauver le profil courant au plus tot
bool has_to_save_profile;
/// profil du conducteur : "photo" de ce a quoi le conducteur doit ressembler - il y a un profil par type de trajet
ConductorProfilesGroup conductor_profiles;
/// QPen et QBrush utilises pour dessiner les conducteurs
static QPen conductor_pen;
static QBrush conductor_brush;
static QBrush square_brush;
static bool pen_and_brush_initialized;
private:
void segmentsToPath();
void saveProfile(bool = true);
void priv_calculeConductor(const QPointF &, QET::Orientation, const QPointF &, QET::Orientation);
void priv_modifieConductor(const QPointF &, QET::Orientation, const QPointF &, QET::Orientation);
uint nbSegments(QET::ConductorSegmentType = QET::Both) const;
QList<QPointF> segmentsToPoints() const;
QSet<Conductor *> relatedConductors() const;
QList<ConductorBend> bends() const;
QList<QPointF> junctions() const;
void pointsToSegments(QList<QPointF>);
bool hasClickedOn(QPointF, QPointF) const;
void calculateTextItemPosition();
Qt::Corner currentPathType() const;
void deleteSegments();
static int getCoeff(const qreal &, const qreal &);
static int getSign(const qreal &);
QHash<ConductorSegmentProfile *, qreal> shareOffsetBetweenSegments(const qreal &offset, const QList<ConductorSegmentProfile *> &, const qreal & = 0.01) const;
static QPointF extendTerminal(const QPointF &, QET::Orientation, qreal = 9.0);
static qreal conductor_bound(qreal, qreal, qreal, qreal = 0.0);
static qreal conductor_bound(qreal, qreal, bool);
static Qt::Corner movementType(const QPointF &, const QPointF &);
};
#endif

View File

@@ -1,319 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "conductorproperties.h"
/**
Constructeur par defaut
*/
SingleLineProperties::SingleLineProperties() :
hasGround(true),
hasNeutral(true),
phases(1)
{
}
/// Destructeur
SingleLineProperties::~SingleLineProperties() {
}
/**
Definit le nombre de phases (0, 1, 2, ou 3)
@param n Nombre de phases
*/
void SingleLineProperties::setPhasesCount(int n) {
phases = qBound(0, n, 3);
}
/// @return le nombre de phases (0, 1, 2, ou 3)
unsigned short int SingleLineProperties::phasesCount() {
return(phases);
}
/**
Dessine les symboles propres a un conducteur unifilaire
@param painter QPainter a utiliser pour dessiner les symboles
@param direction direction du segment sur lequel les symboles apparaitront
@param rect rectangle englobant le dessin ; utilise pour specifier a la fois la position et la taille du dessin
*/
void SingleLineProperties::draw(QPainter *painter, QET::ConductorSegmentType direction, const QRectF &rect) {
// s'il n'y a rien a dessiner, on retourne immediatement
if (!hasNeutral && !hasGround && !phases) return;
// prepare le QPainter
painter -> save();
QPen pen(painter -> pen());
pen.setCapStyle(Qt::FlatCap);
pen.setJoinStyle(Qt::MiterJoin);
painter -> setPen(pen);
painter -> setRenderHint(QPainter::Antialiasing, true);
uint symbols_count = (hasNeutral ? 1 : 0) + (hasGround ? 1 : 0) + phases;
qreal interleave;
qreal symbol_width;
if (direction == QET::Horizontal) {
interleave = rect.width() / (symbols_count + 1);
symbol_width = rect.width() / 12;
for (uint i = 1 ; i <= symbols_count ; ++ i) {
// dessine le tronc du symbole
QPointF symbol_p1(rect.x() + (i * interleave) + symbol_width, rect.y() + rect.height() * 0.75);
QPointF symbol_p2(rect.x() + (i * interleave) - symbol_width, rect.y() + rect.height() * 0.25);
painter -> drawLine(QLineF(symbol_p1, symbol_p2));
// dessine le reste des symboles terre et neutre
if (hasGround && i == 1) {
drawGround(painter, direction, symbol_p2, symbol_width * 2.0);
} else if (hasNeutral && ((i == 1 && !hasGround) || (i == 2 && hasGround))) {
drawNeutral(painter, direction, symbol_p2, symbol_width * 1.35);
}
}
} else {
interleave = rect.height() / (symbols_count + 1);
symbol_width = rect.height() / 12;
for (uint i = 1 ; i <= symbols_count ; ++ i) {
// dessine le tronc du symbole
QPointF symbol_p2(rect.x() + rect.width() * 0.75, rect.y() + (i * interleave) - symbol_width);
QPointF symbol_p1(rect.x() + rect.width() * 0.25, rect.y() + (i * interleave) + symbol_width);
painter -> drawLine(QLineF(symbol_p1, symbol_p2));
// dessine le reste des symboles terre et neutre
if (hasGround && i == 1) {
drawGround(painter, direction, symbol_p2, symbol_width * 2.0);
} else if (hasNeutral && ((i == 1 && !hasGround) || (i == 2 && hasGround))) {
drawNeutral(painter, direction, symbol_p2, symbol_width * 1.5);
}
}
}
painter -> restore();
}
/**
Dessine le segment correspondant au symbole de la terre sur un conducteur unifilaire
@param painter QPainter a utiliser pour dessiner le segment
@param direction direction du segment sur lequel le symbole apparaitra
@param center centre du segment
@param size taille du segment
*/
void SingleLineProperties::drawGround(QPainter *painter, QET::ConductorSegmentType direction, QPointF center, qreal size) {
painter -> save();
// prepare le QPainter
painter -> setRenderHint(QPainter::Antialiasing, false);
QPen pen2(painter -> pen());
pen2.setCapStyle(Qt::SquareCap);
painter -> setPen(pen2);
// dessine le segment representant la terre
qreal half_size = size / 2.0;
QPointF offset_point(
(direction == QET::Horizontal) ? half_size : 0.0,
(direction == QET::Horizontal) ? 0.0 : half_size
);
painter -> drawLine(
QLineF(
center + offset_point,
center - offset_point
)
);
painter -> restore();
}
/**
Dessine le cercle correspondant au symbole du neutre sur un conducteur unifilaire
@param painter QPainter a utiliser pour dessiner le segment
@param direction direction du segment sur lequel le symbole apparaitra
@param center centre du cercle
@param size diametre du cercle
*/
void SingleLineProperties::drawNeutral(QPainter *painter, QET::ConductorSegmentType, QPointF center, qreal size) {
painter -> save();
// prepare le QPainter
if (painter -> brush() == Qt::NoBrush) painter -> setBrush(Qt::black);
painter -> setPen(Qt::NoPen);
// desine le cercle representant le neutre
painter -> drawEllipse(
QRectF(
center - QPointF(size / 2.0, size / 2.0),
QSizeF(size, size)
)
);
painter -> restore();
}
/**
exporte les parametres du conducteur unifilaire sous formes d'attributs XML
ajoutes a l'element e.
@param d Document XML ; utilise pour ajouter (potentiellement) des elements XML
@param e Element XML auquel seront ajoutes des attributs
*/
void SingleLineProperties::toXml(QDomDocument &, QDomElement &e) const {
e.setAttribute("ground", hasGround ? "true" : "false");
e.setAttribute("neutral", hasNeutral ? "true" : "false");
e.setAttribute("phase", phases);
}
/**
importe les parametres du conducteur unifilaire a partir des attributs XML
de l'element e
@param e Element XML dont les attributs seront lus
*/
void SingleLineProperties::fromXml(QDomElement &e) {
hasGround = e.attribute("ground") == "true";
hasNeutral = e.attribute("neutral") == "true";
setPhasesCount(e.attribute("phase").toInt());
}
/**
exporte les parametres du conducteur sous formes d'attributs XML
ajoutes a l'element e.
@param d Document XML ; utilise pour ajouter (potentiellement) des elements XML
@param e Element XML auquel seront ajoutes des attributs
*/
void ConductorProperties::toXml(QDomDocument &d, QDomElement &e) const {
e.setAttribute("type", typeToString(type));
if (type == Single) {
singleLineProperties.toXml(d, e);
} else if (type == Multi) {
e.setAttribute("num", text);
}
}
/**
importe les parametres du conducteur unifilaire a partir des attributs XML
de l'element e
@param e Element XML dont les attributs seront lus
*/
void ConductorProperties::fromXml(QDomElement &e) {
if (e.attribute("type") == typeToString(Single)) {
// recupere les parametres specifiques a un conducteur unifilaire
singleLineProperties.fromXml(e);
type = Single;
} else if (e.attribute("type") == typeToString(Simple)) {
type = Simple;
} else {
// recupere le champ de texte
text = e.attribute("num");
type = Multi;
}
}
/**
@param settings Parametres a ecrire
@param prefix prefix a ajouter devant les noms des parametres
*/
void ConductorProperties::toSettings(QSettings &settings, const QString &prefix) const {
settings.setValue(prefix + "type", typeToString(type));
settings.setValue(prefix + "text", text);
singleLineProperties.toSettings(settings, prefix);
}
/**
@param settings Parametres a lire
@param prefix prefix a ajouter devant les noms des parametres
*/
void ConductorProperties::fromSettings(QSettings &settings, const QString &prefix) {
QString setting_type = settings.value(prefix + "type", typeToString(Multi)).toString();
if (setting_type == typeToString(Single)) {
type = Single;
} else if (setting_type == typeToString(Simple)) {
type = Simple;
} else {
type = Multi;
}
singleLineProperties.fromSettings(settings, prefix);
text = settings.value(prefix + "text", "_").toString();
}
/**
@param t type du conducteur
*/
QString ConductorProperties::typeToString(ConductorType t) {
switch(t) {
case Simple: return("simple");
case Single: return("single");
case Multi: return("multi");
default: return(QString());
}
}
/**
@param other l'autre ensemble de proprietes avec lequel il faut effectuer la comparaison
@return true si les deux ensembles de proprietes sont identiques, false sinon
*/
int ConductorProperties::operator==(const ConductorProperties &other) {
return(
other.type == type &&\
other.text == text &&\
other.singleLineProperties == singleLineProperties
);
}
/**
@param other l'autre ensemble de proprietes avec lequel il faut effectuer la comparaison
@return true si les deux ensembles de proprietes sont differents, false sinon
*/
int ConductorProperties::operator!=(const ConductorProperties &other) {
return(
other.type != type ||\
other.text != text ||\
other.singleLineProperties != singleLineProperties
);
}
/**
@param other l'autre ensemble de proprietes avec lequel il faut effectuer la comparaison
@return true si les deux ensembles de proprietes sont identiques, false sinon
*/
int SingleLineProperties::operator==(const SingleLineProperties &other) const {
return(
other.hasGround == hasGround &&\
other.hasNeutral == hasNeutral &&\
other.phases == phases
);
}
/**
@param other l'autre ensemble de proprietes avec lequel il faut effectuer la comparaison
@return true si les deux ensembles de proprietes sont differents, false sinon
*/
int SingleLineProperties::operator!=(const SingleLineProperties &other) const {
return(!(other == (*this)));
}
/**
@param settings Parametres a ecrire
@param prefix prefix a ajouter devant les noms des parametres
*/
void SingleLineProperties::toSettings(QSettings &settings, const QString &prefix) const {
settings.setValue(prefix + "hasGround", hasGround);
settings.setValue(prefix + "hasNeutral", hasNeutral);
settings.setValue(prefix + "phases", phases);
}
/**
@param settings Parametres a lire
@param prefix prefix a ajouter devant les noms des parametres
*/
void SingleLineProperties::fromSettings(QSettings &settings, const QString &prefix) {
hasGround = settings.value(prefix + "hasGround", true).toBool();
hasNeutral = settings.value(prefix + "hasNeutral", true).toBool();
phases = settings.value(prefix + "phases", 1).toInt();
}

View File

@@ -1,100 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef CONDUCTOR_PROPERTIES_H
#define CONDUCTOR_PROPERTIES_H
#include "qet.h"
#include <QtGui>
#include <QtXml>
/**
Cette classe represente les proprietes specifiques a un conducteur unifilaire
*/
class SingleLineProperties {
public:
SingleLineProperties();
virtual ~SingleLineProperties();
void setPhasesCount(int);
unsigned short int phasesCount();
void draw(QPainter *, QET::ConductorSegmentType, const QRectF &);
void toXml(QDomDocument &, QDomElement &) const;
void fromXml(QDomElement &);
void toSettings(QSettings &, const QString & = QString()) const;
void fromSettings(QSettings &, const QString & = QString());
/// indique si le conducteur unifilaire doit afficher le symbole terre
bool hasGround;
/// indique si le conducteur unifilaire doit afficher le symbole neutre
bool hasNeutral;
int operator==(const SingleLineProperties &) const;
int operator!=(const SingleLineProperties &) const;
private:
unsigned short int phases;
void drawGround (QPainter *, QET::ConductorSegmentType, QPointF, qreal);
void drawNeutral(QPainter *, QET::ConductorSegmentType, QPointF, qreal);
};
/**
Cette classe represente les proprietes specifiques a un conducteur,
en dehors de ses bornes et de son trajet.
*/
class ConductorProperties {
// constructeurs, destructeur
public:
/**
Constructeur : par defaut, les proprietes font un conducteur
multifilaire dont le texte est "_"
*/
ConductorProperties() : type(Multi), text("_") {
}
/// Destructeur
virtual ~ConductorProperties() {
}
/**
Represente le type d'un conducteur :
* Simple : ni symbole ni champ de texte
* Single : symboles unifilaires, pas de champ de texte
* Multi : champ de texte, pas de symbole
*/
enum ConductorType { Simple, Single, Multi };
// attributs
/// type du conducteur
ConductorType type;
/// texte affiche si le conducteur est multifilaire
QString text;
/// proprietes si le conducteur est unifilaire
SingleLineProperties singleLineProperties;
// methodes
void toXml(QDomDocument &, QDomElement &) const;
void fromXml(QDomElement &);
void toSettings(QSettings &, const QString & = QString()) const;
void fromSettings(QSettings &, const QString & = QString());
static QString typeToString(ConductorType);
// operateurs
int operator==(const ConductorProperties &);
int operator!=(const ConductorProperties &);
};
#endif

View File

@@ -1,210 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "conductorpropertieswidget.h"
#include "conductor.h"
/**
Constructeur
@param parent QWidget parent
*/
ConductorPropertiesWidget::ConductorPropertiesWidget(QWidget *parent) :
QWidget(parent)
{
buildInterface();
}
/**
Constructeur
@param parent QWidget parent
@param cp Proprietes a editer
*/
ConductorPropertiesWidget::ConductorPropertiesWidget(const ConductorProperties &cp, QWidget *parent) :
QWidget(parent)
{
buildInterface();
setConductorProperties(cp);
}
/// construit l'interface du widget
void ConductorPropertiesWidget::buildInterface() {
setMinimumSize(380, 280);
QVBoxLayout *main_layout = new QVBoxLayout(this);
QGroupBox *groupbox = new QGroupBox(tr("Type de conducteur"));
main_layout -> addWidget(groupbox);
QVBoxLayout *groupbox_layout = new QVBoxLayout();
groupbox -> setLayout(groupbox_layout);
simple = new QRadioButton(tr("Simple"));
multiline = new QRadioButton(tr("Multifilaire"));
QHBoxLayout *multiline_layout = new QHBoxLayout();
QLabel *text = new QLabel(tr("Texte :"));
text_field = new QLineEdit();
multiline_layout -> addWidget(text);
multiline_layout -> addWidget(text_field);
singleline = new QRadioButton(tr("Unifilaire"));
QHBoxLayout *singleline_layout3 = new QHBoxLayout();
phase_checkbox = new QCheckBox(tr("phase"));
phase_checkbox -> setIcon(QIcon(":/ico/phase.png"));
phase_slider = new QSlider(Qt::Horizontal);
phase_slider -> setRange(1, 3);
phase_spinbox = new QSpinBox();
phase_spinbox -> setRange(1, 3);
singleline_layout3 -> addWidget(phase_checkbox);
singleline_layout3 -> addWidget(phase_slider);
singleline_layout3 -> addWidget(phase_spinbox);
QVBoxLayout *singleline_layout2 = new QVBoxLayout();
ground_checkbox = new QCheckBox(tr("terre"));
ground_checkbox -> setIcon(QIcon(":/ico/ground.png"));
neutral_checkbox = new QCheckBox(tr("neutre"));
neutral_checkbox -> setIcon(QIcon(":/ico/neutral.png"));
singleline_layout2 -> addWidget(ground_checkbox);
singleline_layout2 -> addWidget(neutral_checkbox);
singleline_layout2 -> addLayout(singleline_layout3);
QHBoxLayout *singleline_layout1 = new QHBoxLayout();
preview = new QLabel();
preview -> setFixedSize(96, 96);
singleline_layout1 -> addWidget(preview);
singleline_layout1 -> addLayout(singleline_layout2);
groupbox_layout -> addWidget(simple);
groupbox_layout -> addWidget(multiline);
groupbox_layout -> addLayout(multiline_layout);
groupbox_layout -> addWidget(singleline);
groupbox_layout -> addLayout(singleline_layout1);
radio_buttons = new QButtonGroup(this);
radio_buttons -> addButton(simple, ConductorProperties::Simple);
radio_buttons -> addButton(multiline, ConductorProperties::Multi);
radio_buttons -> addButton(singleline, ConductorProperties::Single);
buildConnections();
setConductorType(ConductorProperties::Multi);
}
/// Met en place les connexions signaux/slots
void ConductorPropertiesWidget::buildConnections() {
connect(phase_slider, SIGNAL(valueChanged(int)), phase_spinbox, SLOT(setValue(int)));
connect(phase_spinbox, SIGNAL(valueChanged(int)), phase_slider, SLOT(setValue(int)));
connect(ground_checkbox, SIGNAL(toggled(bool)), this, SLOT(updateConfig()));
connect(neutral_checkbox, SIGNAL(toggled(bool)), this, SLOT(updateConfig()));
connect(phase_checkbox, SIGNAL(toggled(bool)), this, SLOT(updateConfig()));
connect(phase_slider, SIGNAL(valueChanged(int)), this, SLOT(updateConfig()));
connect(radio_buttons, SIGNAL(buttonClicked(int)), this, SLOT(updateConfig()));
connect(text_field, SIGNAL(textChanged(const QString &)), this, SLOT(updateConfig()));
}
/// Enleve les connexions signaux/slots
void ConductorPropertiesWidget::destroyConnections() {
disconnect(phase_slider, SIGNAL(valueChanged(int)), phase_spinbox, SLOT(setValue(int)));
disconnect(phase_spinbox, SIGNAL(valueChanged(int)), phase_slider, SLOT(setValue(int)));
disconnect(ground_checkbox, SIGNAL(toggled(bool)), this, SLOT(updateConfig()));
disconnect(neutral_checkbox, SIGNAL(toggled(bool)), this, SLOT(updateConfig()));
disconnect(phase_checkbox, SIGNAL(toggled(bool)), this, SLOT(updateConfig()));
disconnect(phase_slider, SIGNAL(valueChanged(int)), this, SLOT(updateConfig()));
disconnect(radio_buttons, SIGNAL(buttonClicked(int)), this, SLOT(updateConfig()));
disconnect(text_field, SIGNAL(textChanged(const QString &)), this, SLOT(updateConfig()));
}
/// Destructeur
ConductorPropertiesWidget::~ConductorPropertiesWidget() {
}
/// Met a jour les proprietes
void ConductorPropertiesWidget::updateConfig() {
properties_.type = static_cast<ConductorProperties::ConductorType>(radio_buttons -> checkedId());
properties_.text = text_field -> text();
properties_.singleLineProperties.hasGround = ground_checkbox -> isChecked();
properties_.singleLineProperties.hasNeutral = neutral_checkbox -> isChecked();
properties_.singleLineProperties.setPhasesCount(phase_checkbox -> isChecked() ? phase_spinbox -> value() : 0);
updateDisplay();
}
/// Met a jour l'affichage des proprietes
void ConductorPropertiesWidget::updateDisplay() {
destroyConnections();
setConductorType(properties_.type);
text_field -> setText(properties_.text);
ground_checkbox -> setChecked(properties_.singleLineProperties.hasGround);
neutral_checkbox -> setChecked(properties_.singleLineProperties.hasNeutral);
phase_spinbox -> setValue(properties_.singleLineProperties.phasesCount());
phase_slider -> setValue(properties_.singleLineProperties.phasesCount());
phase_checkbox -> setChecked(properties_.singleLineProperties.phasesCount());
buildConnections();
updatePreview();
}
/// Met a jour la previsualisation des attributs unifilaires
void ConductorPropertiesWidget::updatePreview() {
const QRect pixmap_rect(0, 0, 96, 96);
QPixmap pixmap(pixmap_rect.width(), pixmap_rect.height());
QPainter painter;
painter.begin(&pixmap);
painter.eraseRect(pixmap_rect);
painter.drawRect(pixmap_rect.adjusted(0,0,-1,-1));
painter.drawLine(QLineF(0, pixmap_rect.height() / 2, pixmap_rect.width(), pixmap_rect.height() / 2));
properties_.singleLineProperties.draw(&painter, QET::Horizontal, pixmap_rect);
painter.end();
preview -> setPixmap(pixmap);
}
/**
Passe le widget en mode simple, unifilaire ou multifilaire
@param t le type de conducteur
*/
void ConductorPropertiesWidget::setConductorType(ConductorProperties::ConductorType t) {
// widgets lies au simple
simple -> setChecked(t == ConductorProperties::Simple);
// widgets lies au mode multifilaire
multiline -> setChecked(t == ConductorProperties::Multi);
text_field -> setEnabled(t == ConductorProperties::Multi);
// widgets lies au mode unifilaire
bool sl = (t == ConductorProperties::Single);
singleline -> setChecked(sl);
preview -> setEnabled(sl);
phase_checkbox -> setEnabled(sl);
phase_slider -> setEnabled(sl);
phase_spinbox -> setEnabled(sl);
ground_checkbox -> setEnabled(sl);
neutral_checkbox -> setEnabled(sl);
}
/// @param p les nouvelles proprietes
void ConductorPropertiesWidget::setConductorProperties(const ConductorProperties &p) {
properties_ = p;
updateDisplay();
}
/// @return les proprietes editees
ConductorProperties ConductorPropertiesWidget::conductorProperties() const {
return(properties_);
}

View File

@@ -1,73 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef CONDUCTOR_PROPERTIES_WIDGET_H
#define CONDUCTOR_PROPERTIES_WIDGET_H
#include "conductor.h"
#include <QtGui>
/**
Ce widget permet a l utilisateur d'editer les proprietes d'un conducteur.
Par proprietes, on entend non pas le trajet effectue par le conducteur mais
les options supplementaires : symboles unifilaires, presence ou non d'un
champ de texte, contenu de ce champ de texte, etc.
*/
class ConductorPropertiesWidget : public QWidget {
Q_OBJECT
// constructeurs, destructeur
public:
ConductorPropertiesWidget(QWidget * = 0);
ConductorPropertiesWidget(const ConductorProperties &, QWidget * = 0);
virtual ~ConductorPropertiesWidget();
private:
ConductorPropertiesWidget(const ConductorPropertiesWidget &);
// methodes
public:
void setConductorProperties(const ConductorProperties &);
ConductorProperties conductorProperties() const;
private:
void setConductorType(ConductorProperties::ConductorType);
public slots:
void updatePreview();
void updateConfig();
void updateDisplay();
// attributs prives
private:
QButtonGroup *radio_buttons;
QRadioButton *simple;
QRadioButton *multiline;
QLineEdit *text_field;
QRadioButton *singleline;
QCheckBox *phase_checkbox;
QSlider *phase_slider;
QSpinBox *phase_spinbox;
QCheckBox *ground_checkbox;
QCheckBox *neutral_checkbox;
QLabel *preview;
ConductorProperties properties_;
// methodes privees
void buildInterface();
void buildConnections();
void destroyConnections();
};
#endif

View File

@@ -1,61 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef CONDUCTOR_SEGMENT_PROFILE_H
#define CONDUCTOR_SEGMENT_PROFILE_H
#include <QtCore>
#include "conductorsegment.h"
/**
Cette classe contient le profil (= les caracteristiques essentielles) d'un
segment de conducteur.
*/
class ConductorSegmentProfile {
// constructeurs, destructeur
public:
/**
Constructeur
@param l longueur du segment
@param ori true si le segment est horizontal, false s'il est vertical
*/
ConductorSegmentProfile(qreal l, bool ori = true) :
length(l),
isHorizontal(ori)
{
}
/**
Constructeur
@param segment ConductorSegment dont il faut extraire le profil
*/
ConductorSegmentProfile(ConductorSegment *segment) :
length(segment -> length()),
isHorizontal(segment -> isHorizontal())
{
}
/// Destructeur
virtual ~ConductorSegmentProfile() {
}
// attributs
public:
/// longueur du segment
qreal length;
/// orientation du segment
bool isHorizontal;
};
#endif

View File

@@ -1,105 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "configdialog.h"
#include "qetapp.h"
/**
Constructeur
@param parent QWidget parent
*/
ConfigDialog::ConfigDialog(QWidget *parent) : QDialog(parent) {
setWindowTitle(tr("Configurer QElectroTech"));
// liste des pages
pages_list = new QListWidget();
pages_list -> setViewMode(QListView::IconMode);
pages_list -> setIconSize(QSize(48, 48));
pages_list -> setMovement(QListView::Static);
pages_list -> setMinimumWidth(135);
pages_list -> setMaximumWidth(135);
pages_list -> setSpacing(4);
// pages
pages_widget = new QStackedWidget();
addPage(new NewDiagramPage());
buildPagesList();
// boutons
buttons = new QDialogButtonBox(QDialogButtonBox::Ok|QDialogButtonBox::Cancel);
// layouts
QHBoxLayout *hlayout1 = new QHBoxLayout();
hlayout1 -> addWidget(pages_list);
hlayout1 -> addWidget(pages_widget);
QVBoxLayout *vlayout1 = new QVBoxLayout();
vlayout1 -> addLayout(hlayout1);
vlayout1 -> addWidget(buttons);
setLayout(vlayout1);
// connexion signaux / slots
connect(buttons, SIGNAL(accepted()), this, SLOT(applyConf()));
connect(buttons, SIGNAL(rejected()), this, SLOT(reject()));
connect(pages_list, SIGNAL(currentItemChanged(QListWidgetItem *, QListWidgetItem *)), this, SLOT(changePage(QListWidgetItem *, QListWidgetItem*)));
}
/// Destructeur
ConfigDialog::~ConfigDialog() {
}
/**
Gere les changements de page dans le dialogue de configuration
*/
void ConfigDialog::changePage(QListWidgetItem *current, QListWidgetItem *previous) {
if (!current) current = previous;
pages_widget -> setCurrentIndex(pages_list -> row(current));
}
/**
Construit la liste des pages sur la gauche
*/
void ConfigDialog::buildPagesList() {
pages_list -> clear();
foreach(ConfigPage *page, pages) {
QListWidgetItem *new_button = new QListWidgetItem(pages_list);
new_button -> setIcon(page -> icon());
new_button -> setText(page -> title());
new_button -> setTextAlignment(Qt::AlignHCenter);
new_button -> setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
}
}
/**
Applique la configuration de toutes les pages
*/
void ConfigDialog::applyConf() {
foreach(ConfigPage *page, pages) {
page -> applyConf();
}
accept();
}
/**
Ajoute une page au dialogue de configuration
*/
void ConfigDialog::addPage(ConfigPage *page) {
if (!page || pages.contains(page)) return;
pages << page;
pages_widget -> addWidget(page);
}

View File

@@ -1,136 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "configpages.h"
#include "qetapp.h"
/**
Constructeur
@param parent QWidget parent
*/
NewDiagramPage::NewDiagramPage(QWidget *parent) : ConfigPage(parent) {
// acces a la configuration de QElectroTech
QSettings &settings = QETApp::settings();
// recupere les dimensions du schema
int columns_count_value = settings.value("diagrameditor/defaultcols", 15).toInt();
int columns_width_value = qRound(settings.value("diagrameditor/defaultcolsize", 50.0).toDouble());
int columns_height_value = qRound(settings.value("diagrameditor/defaultheight", 500.0).toDouble());
QVBoxLayout *vlayout1 = new QVBoxLayout();
QLabel *title = new QLabel(tr("Nouveau sch\351ma"));
vlayout1 -> addWidget(title);
QFrame *horiz_line = new QFrame();
horiz_line -> setFrameShape(QFrame::HLine);
vlayout1 -> addWidget(horiz_line);
QHBoxLayout *hlayout1 = new QHBoxLayout();
QVBoxLayout *vlayout2 = new QVBoxLayout();
QGroupBox *diagram_size_box = new QGroupBox(tr("Dimensions du sch\351ma"));
diagram_size_box -> setMinimumWidth(300);
QGridLayout *diagram_size_box_layout = new QGridLayout(diagram_size_box);
QLabel *ds1 = new QLabel(tr("Colonnes :"));
columns_count = new QSpinBox(diagram_size_box);
columns_count -> setMinimum(3); /// @todo methode statique pour recuperer ca
columns_count -> setValue(columns_count_value);
columns_width = new QSpinBox(diagram_size_box);
columns_width -> setMinimum(1);
columns_width -> setSingleStep(10);
columns_width -> setValue(columns_width_value);
columns_width -> setPrefix(tr("\327"));
columns_width -> setSuffix(tr("px"));
QLabel *ds2 = new QLabel(tr("Hauteur :"));
columns_height = new QSpinBox(diagram_size_box);
columns_height -> setRange(80, 10000); /// @todo methode statique pour recuperer ca
columns_height -> setSingleStep(80);
columns_height -> setValue(columns_height_value);
diagram_size_box_layout -> addWidget(ds1, 0, 0);
diagram_size_box_layout -> addWidget(columns_count, 0, 1);
diagram_size_box_layout -> addWidget(columns_width, 0, 2);
diagram_size_box_layout -> addWidget(ds2, 1, 0);
diagram_size_box_layout -> addWidget(columns_height, 1, 1);
ipw = new InsetPropertiesWidget(QETDiagramEditor::defaultInsetProperties(), true, this);
// proprietes par defaut des conducteurs
ConductorProperties cp;
cp.fromSettings(settings, "diagrameditor/defaultconductor");
cpw = new ConductorPropertiesWidget(cp);
vlayout2 -> addWidget(diagram_size_box);
vlayout2 -> addWidget(ipw);
hlayout1 -> addLayout(vlayout2);
hlayout1 -> addWidget(cpw);
vlayout1 -> addLayout(hlayout1);
vlayout1 -> addStretch(1);
hlayout1 -> setAlignment(cpw, Qt::AlignTop);
setLayout(vlayout1);
}
/// Destructeur
NewDiagramPage::~NewDiagramPage() {
}
/**
Applique la configuration de cette page
*/
void NewDiagramPage::applyConf() {
QSettings &settings = QETApp::settings();
// dimensions des nouveaux schemas
settings.setValue("diagrameditor/defaultcols", columns_count -> value());
settings.setValue("diagrameditor/defaultcolsize", columns_width -> value());
settings.setValue("diagrameditor/defaultheight", columns_height -> value());
// proprietes du cartouche
InsetProperties inset = ipw-> insetProperties();
settings.setValue("diagrameditor/defaulttitle", inset.title);
settings.setValue("diagrameditor/defaultauthor", inset.author);
settings.setValue("diagrameditor/defaultfilename", inset.filename);
settings.setValue("diagrameditor/defaultfolio", inset.folio);
QString date_setting_value;
if (inset.useDate == InsetProperties::UseDateValue) {
if (inset.date.isNull()) date_setting_value = "null";
else date_setting_value = inset.date.toString("yyyyMMdd");
} else {
date_setting_value = "now";
}
settings.setValue("diagrameditor/defaultdate", date_setting_value);
// proprietes par defaut des conducteurs
cpw -> conductorProperties().toSettings(settings, "diagrameditor/defaultconductor");
}
/// @return l'icone de cette page
QIcon NewDiagramPage::icon() const {
return(QIcon(":/ico/conf_new_diagram.png"));
}
/// @return le titre de cette page
QString NewDiagramPage::title() const {
return(tr("Nouveau sch\351ma"));
}

View File

@@ -1,72 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef CONFIG_PAGES_H
#define CONFIG_PAGES_H
#include <QtGui>
#include "conductorpropertieswidget.h"
#include "insetpropertieswidget.h"
/**
Cette classe abstraite contient les methodes que toutes les pages de
configuration doivent implementer.
*/
class ConfigPage : public QWidget {
Q_OBJECT
public:
/**
Constructeur
@param parent QWidget parent
*/
ConfigPage(QWidget *parent) : QWidget(parent) {};
/// Destructeur
virtual ~ConfigPage() {};
/// Applique la configuration saisie par l'utilisateur dans la page de configuration
virtual void applyConf() = 0;
/// @return le titre de la page de configuration
virtual QString title() const = 0;
/// @return l'icone de la page de configuration
virtual QIcon icon() const = 0;
};
/**
Cette classe represente la page de configuration des nouveaux schemas.
*/
class NewDiagramPage : public ConfigPage {
Q_OBJECT
// constructeurs, destructeur
public:
NewDiagramPage(QWidget * = 0);
virtual ~NewDiagramPage();
private:
NewDiagramPage(const NewDiagramPage &);
// methodes
public:
void applyConf();
QString title() const;
QIcon icon() const;
// attributs
public:
QSpinBox *columns_count; ///< Widget d'edition du nombre par defaut de colonnes
QSpinBox *columns_width; ///< Widget d'edition de la largeur par defaut des colonnes
QSpinBox *columns_height; ///< Widget d'edition de la hauteur par defaut des colonnes
InsetPropertiesWidget *ipw; ///< Widget d'edition des proprietes par defaut du cartouche
ConductorPropertiesWidget *cpw; ///< Widget d'edition des proprietes par defaut des conducteurs
};
#endif

View File

@@ -1,566 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "customelement.h"
#include "elementtextitem.h"
#include "diagram.h"
#include "qetapp.h"
#include <iostream>
/**
Constructeur de la classe ElementPerso. Permet d'instancier un element
utilisable comme un element fixe a la difference que l'element perso lit
sa description (noms, dessin, comportement) dans un fichier XML a fournir
en parametre.
@param nom_fichier Le chemin du fichier XML decrivant l'element
@param qgi Le QGraphicsItem parent de cet element
@param s Le Schema affichant cet element
@param etat Un pointeur facultatif vers un entier. La valeur de cet entier
sera changee de maniere a refleter le deroulement de l'instanciation :
- 0 : L'instanciation a reussi
- 1 : Le fichier n'existe pas
- 2 : Le fichier n'a pu etre ouvert
- 3 : Le fichier n'est pas un document XML
- 4 : Le document XML n'a pas une "definition" comme racine
- 5 : Les attributs de la definition ne sont pas presents et / ou valides
- 6 : La definition est vide
- 7 : L'analyse d'un element XML decrivant une partie du dessin de l'element a echoue
- 8 : Aucune partie du dessin n'a pu etre chargee
*/
CustomElement::CustomElement(QString &nom_fichier, QGraphicsItem *qgi, Diagram *s, int *etat) : FixedElement(qgi, s) {
nomfichier = nom_fichier;
// pessimisme inside : par defaut, ca foire
elmt_etat = -1;
// le fichier doit exister
QFileInfo infos_file(nomfichier);
if (!infos_file.exists() || !infos_file.isFile()) {
if (etat != NULL) *etat = 1;
elmt_etat = 1;
return;
}
// le fichier doit etre lisible
QFile fichier(nomfichier);
if (!fichier.open(QIODevice::ReadOnly)) {
if (etat != NULL) *etat = 2;
elmt_etat = 2;
return;
}
// le fichier doit etre un document XML
QDomDocument document_xml;
if (!document_xml.setContent(&fichier)) {
if (etat != NULL) *etat = 3;
elmt_etat = 3;
return;
}
// la racine est supposee etre une definition d'element
QDomElement racine = document_xml.documentElement();
if (racine.tagName() != "definition" || racine.attribute("type") != "element") {
if (etat != NULL) *etat = 4;
elmt_etat = 4;
return;
}
// verifie basiquement que la version actuelle est capable de lire ce fichier
if (racine.hasAttribute("version")) {
bool conv_ok;
qreal element_version = racine.attribute("version").toDouble(&conv_ok);
if (conv_ok && QET::version.toDouble() < element_version) {
std::cerr << qPrintable(
QObject::tr("Avertissement : l'\351l\351ment ") + nom_fichier
+ QObject::tr(" a \351t\351 enregistr\351 avec une version"
" ult\351rieure de QElectroTech.")
);
}
}
// ces attributs doivent etre presents et valides
int w, h, hot_x, hot_y;
if (
!QET::attributeIsAnInteger(racine, QString("width"), &w) ||\
!QET::attributeIsAnInteger(racine, QString("height"), &h) ||\
!QET::attributeIsAnInteger(racine, QString("hotspot_x"), &hot_x) ||\
!QET::attributeIsAnInteger(racine, QString("hotspot_y"), &hot_y) ||\
!validOrientationAttribute(racine)
) {
if (etat != NULL) *etat = 5;
elmt_etat = 5;
return;
}
// on peut d'ores et deja specifier la taille et le hotspot
setSize(w, h);
setHotspot(QPoint(hot_x, hot_y));
setInternalConnections(racine.attribute("ic") == "true");
// la definition est supposee avoir des enfants
if (racine.firstChild().isNull()) {
if (etat != NULL) *etat = 6;
elmt_etat = 6;
return;
}
// initialisation du QPainter (pour dessiner l'element)
QPainter qp;
qp.begin(&dessin);
QPen t;
t.setColor(Qt::black);
t.setWidthF(1.0);
t.setJoinStyle(Qt::BevelJoin);
qp.setPen(t);
// extrait les noms de la definition XML
names.fromXml(racine);
setToolTip(nom());
// parcours des enfants de la definition : parties du dessin
int nb_elements_parses = 0;
for (QDomNode node = racine.firstChild() ; !node.isNull() ; node = node.nextSibling()) {
QDomElement elmts = node.toElement();
if (elmts.isNull()) continue;
if (elmts.tagName() == "description") {
// gestion de la description graphique de l'element
// = parcours des differentes parties du dessin
for (QDomNode n = node.firstChild() ; !n.isNull() ; n = n.nextSibling()) {
QDomElement qde = n.toElement();
if (qde.isNull()) continue;
if (parseElement(qde, qp)) ++ nb_elements_parses;
else {
if (etat != NULL) *etat = 7;
elmt_etat = 7;
return;
}
}
}
}
// fin du dessin
qp.end();
// il doit y avoir au moins un element charge
if (!nb_elements_parses) {
if (etat != NULL) *etat = 8;
elmt_etat = 8;
return;
}
// fermeture du fichier
fichier.close();
if (etat != NULL) *etat = 0;
elmt_etat = 0;
}
/**
Destructeur
*/
CustomElement::~CustomElement() {
}
/// @return la liste des bornes de cet element
QList<Terminal *> CustomElement::terminals() const {
return(list_terminals);
}
/// @return la liste des conducteurs rattaches a cet element
QList<Conductor *> CustomElement::conductors() const {
QList<Conductor *> conductors;
foreach(Terminal *t, list_terminals) conductors << t -> conductors();
return(conductors);
}
/**
@return Le nombre de bornes que l'element possede
*/
int CustomElement::nbTerminals() const {
return(list_terminals.size());
}
/**
Dessine le composant sur le Diagram
@param qp Le QPainter a utiliser pour dessiner l'element
@param options Les options graphiques
*/
void CustomElement::paint(QPainter *qp, const QStyleOptionGraphicsItem *) {
dessin.play(qp);
}
/**
Analyse et prend en compte un element XML decrivant une partie du dessin
de l'element perso. Si l'analyse reussit, la partie est ajoutee au dessin.
Cette partie peut etre une borne, une ligne, une ellipse, un cercle, un arc
de cercle ou un polygone. Cette methode renvoie false si l'analyse
d'une de ces formes echoue. Si l'analyse reussit ou dans le cas d'une forme
inconnue, cette methode renvoie true. A l'exception des bornes, toutes les
formes peuvent avoir un attribut style. @see setPainterStyle
@param e L'element XML a analyser
@param qp Le QPainter a utiliser pour dessiner l'element perso
@param s Le schema sur lequel sera affiche l'element perso
@return true si l'analyse reussit, false sinon
*/
bool CustomElement::parseElement(QDomElement &e, QPainter &qp) {
if (e.tagName() == "terminal") return(parseTerminal(e));
else if (e.tagName() == "line") return(parseLine(e, qp));
else if (e.tagName() == "ellipse") return(parseEllipse(e, qp));
else if (e.tagName() == "circle") return(parseCircle(e, qp));
else if (e.tagName() == "arc") return(parseArc(e, qp));
else if (e.tagName() == "polygon") return(parsePolygon(e, qp));
else if (e.tagName() == "text") return(parseText(e, qp));
else if (e.tagName() == "input") return(parseInput(e));
else return(true); // on n'est pas chiant, on ignore l'element inconnu
}
/**
Analyse un element XML suppose representer une ligne. Si l'analyse
reussit, la ligne est ajoutee au dessin.
La ligne est definie par les attributs suivants :
- x1, y1 : reels, coordonnees d'une extremite de la ligne
- x2, y2 : reels, coordonnees de l'autre extremite de la ligne
@param e L'element XML a analyser
@param qp Le QPainter a utiliser pour dessiner l'element perso
@return true si l'analyse reussit, false sinon
*/
bool CustomElement::parseLine(QDomElement &e, QPainter &qp) {
// verifie la presence et la validite des attributs obligatoires
double x1, y1, x2, y2;
if (!QET::attributeIsAReal(e, QString("x1"), &x1)) return(false);
if (!QET::attributeIsAReal(e, QString("y1"), &y1)) return(false);
if (!QET::attributeIsAReal(e, QString("x2"), &x2)) return(false);
if (!QET::attributeIsAReal(e, QString("y2"), &y2)) return(false);
qp.save();
setPainterStyle(e, qp);
qp.drawLine(QLineF(x1, y1, x2, y2));
qp.restore();
return(true);
}
/**
Analyse un element XML suppose representer un cercle. Si l'analyse
reussit, le cercle est ajoute au dessin.
Le cercle est defini par les attributs suivants :
- x : abscisse du coin superieur gauche de la quadrature du cercle
- y : ordonnee du coin superieur gauche de la quadrature du cercle
- diameter : diametre du cercle
@param e L'element XML a analyser
@param qp Le QPainter a utiliser pour dessiner l'element perso
@return true si l'analyse reussit, false sinon
@todo utiliser des attributs plus coherents : x et y = centre, rayon = vrai rayon
*/
bool CustomElement::parseCircle(QDomElement &e, QPainter &qp) {
// verifie la presence des attributs obligatoires
double cercle_x, cercle_y, cercle_r;
if (!QET::attributeIsAReal(e, QString("x"), &cercle_x)) return(false);
if (!QET::attributeIsAReal(e, QString("y"), &cercle_y)) return(false);
if (!QET::attributeIsAReal(e, QString("diameter"), &cercle_r)) return(false);
qp.save();
setPainterStyle(e, qp);
qp.drawEllipse(QRectF(cercle_x, cercle_y, cercle_r, cercle_r));
qp.restore();
return(true);
}
/**
Analyse un element XML suppose representer une ellipse. Si l'analyse
reussit, l'ellipse est ajoutee au dessin.
L'ellipse est definie par les attributs suivants :
- x : abscisse du coin superieur gauche du rectangle dans lequel s'inscrit l'ellipse
- y : ordonnee du coin superieur gauche du rectangle dans lequel s'inscrit l'ellipse
- width : dimension de la diagonale horizontale de l'ellipse
- height : dimension de la diagonale verticale de l'ellipse
@param e L'element XML a analyser
@param qp Le QPainter a utiliser pour dessiner l'element perso
@return true si l'analyse reussit, false sinon
@todo utiliser des attributs plus coherents : x et y = centre
*/
bool CustomElement::parseEllipse(QDomElement &e, QPainter &qp) {
// verifie la presence des attributs obligatoires
double ellipse_x, ellipse_y, ellipse_l, ellipse_h;
if (!QET::attributeIsAReal(e, QString("x"), &ellipse_x)) return(false);
if (!QET::attributeIsAReal(e, QString("y"), &ellipse_y)) return(false);
if (!QET::attributeIsAReal(e, QString("width"), &ellipse_l)) return(false);
if (!QET::attributeIsAReal(e, QString("height"), &ellipse_h)) return(false);
qp.save();
setPainterStyle(e, qp);
qp.drawEllipse(QRectF(ellipse_x, ellipse_y, ellipse_l, ellipse_h));
qp.restore();
return(true);
}
/**
Analyse un element XML suppose representer un arc de cercle. Si l'analyse
reussit, l'arc de cercle est ajoute au dessin.
L'arc de cercle est defini par les quatres parametres d'une ellipse (en fait
l'ellipse dans laquelle s'inscrit l'arc de cercle) auxquels s'ajoutent les
attributs suivants :
- start : angle de depart : l'angle "0 degre" est a trois heures
- angle : etendue (en degres) de l'arc de cercle ; une valeur positive
va dans le sens contraire des aiguilles d'une montre
@param e L'element XML a analyser
@param qp Le QPainter a utiliser pour dessiner l'element perso
@return true si l'analyse reussit, false sinon
*/
bool CustomElement::parseArc(QDomElement &e, QPainter &qp) {
// verifie la presence des attributs obligatoires
double arc_x, arc_y, arc_l, arc_h, arc_s, arc_a;
if (!QET::attributeIsAReal(e, QString("x"), &arc_x)) return(false);
if (!QET::attributeIsAReal(e, QString("y"), &arc_y)) return(false);
if (!QET::attributeIsAReal(e, QString("width"), &arc_l)) return(false);
if (!QET::attributeIsAReal(e, QString("height"), &arc_h)) return(false);
if (!QET::attributeIsAReal(e, QString("start"), &arc_s)) return(false);
if (!QET::attributeIsAReal(e, QString("angle"), &arc_a)) return(false);
qp.save();
setPainterStyle(e, qp);
qp.drawArc(QRectF(arc_x, arc_y, arc_l, arc_h), (int)(arc_s * 16), (int)(arc_a * 16));
qp.restore();
return(true);
}
/**
Analyse un element XML suppose representer un polygone. Si l'analyse
reussit, le polygone est ajoute au dessin.
Le polygone est defini par une serie d'attributs x1, x2, ..., xn et autant
d'attributs y1, y2, ..., yn representant les coordonnees des differents
points du polygone.
Il est possible d'obtenir un polygone non ferme en utilisant closed="false"
@param e L'element XML a analyser
@param qp Le QPainter a utiliser pour dessiner l'element perso
@return true si l'analyse reussit, false sinon
*/
bool CustomElement::parsePolygon(QDomElement &e, QPainter &qp) {
int i = 1;
while(true) {
if (QET::attributeIsAReal(e, QString("x%1").arg(i)) && QET::attributeIsAReal(e, QString("y%1").arg(i))) ++ i;
else break;
}
if (i < 3) return(false);
QPointF points[i-1];
for (int j = 1 ; j < i ; ++ j) {
points[j-1] = QPointF(
e.attribute(QString("x%1").arg(j)).toDouble(),
e.attribute(QString("y%1").arg(j)).toDouble()
);
}
qp.save();
setPainterStyle(e, qp);
if (e.attribute("closed") == "false") qp.drawPolyline(points, i-1);
else qp.drawPolygon(points, i-1);
qp.restore();
return(true);
}
/**
Analyse un element XML suppose representer un texte. Si l'analyse
reussit, le texte est ajoute au dessin.
Le texte est defini par une position, une chaine de caracteres et une
taille.
@param e L'element XML a analyser
@param qp Le QPainter a utiliser pour dessiner l'element perso
@return true si l'analyse reussit, false sinon
*/
bool CustomElement::parseText(QDomElement &e, QPainter &qp) {
qreal pos_x, pos_y;
int size;
if (
!QET::attributeIsAReal(e, "x", &pos_x) ||\
!QET::attributeIsAReal(e, "y", &pos_y) ||\
!QET::attributeIsAnInteger(e, "size", &size) ||\
!e.hasAttribute("text")
) return(false);
qp.save();
setPainterStyle(e, qp);
qp.setFont(QFont(QString(QETApp::diagramTextsFont()), size));
qp.drawText(QPointF(pos_x, pos_y), e.attribute("text"));
qp.restore();
return(true);
}
/**
Analyse un element XML suppose representer un champ de texte editable par
l'utilisateur. Si l'analyse reussit, le champ est ajoute au dessin.
Le texte est defini par :
- une position
- une chaine de caracteres facultative utilisee comme valeur par defaut
- une taille
- le fait de subir les rotations de l'element ou non
@param e L'element XML a analyser
@param s Le schema sur lequel l'element perso sera affiche
@return true si l'analyse reussit, false sinon
*/
bool CustomElement::parseInput(QDomElement &e) {
qreal pos_x, pos_y;
int size;
if (
!QET::attributeIsAReal(e, "x", &pos_x) ||\
!QET::attributeIsAReal(e, "y", &pos_y) ||\
!QET::attributeIsAnInteger(e, "size", &size)
) return(false);
ElementTextItem *eti = new ElementTextItem(e.attribute("text"), this);
eti -> setFont(QFont(QETApp::diagramTextsFont(), size));
eti -> setPos(pos_x, pos_y);
eti -> setOriginalPos(QPointF(pos_x, pos_y));
if (e.attribute("rotate") == "true") eti -> setFollowParentRotations(true);
return(true);
}
/**
Analyse un element XML suppose representer une borne. Si l'analyse
reussit, la borne est ajoutee a l'element.
Une borne est definie par les attributs suivants :
- x, y : coordonnees de la borne
- orientation : orientation de la borne = Nord (n), Sud (s), Est (e) ou Ouest (w)
@param e L'element XML a analyser
@param s Le schema sur lequel l'element perso sera affiche
@return true si l'analyse reussit, false sinon
*/
bool CustomElement::parseTerminal(QDomElement &e) {
// verifie la presence et la validite des attributs obligatoires
double terminalx, terminaly;
QET::Orientation terminalo;
if (!QET::attributeIsAReal(e, QString("x"), &terminalx)) return(false);
if (!QET::attributeIsAReal(e, QString("y"), &terminaly)) return(false);
if (!e.hasAttribute("orientation")) return(false);
if (e.attribute("orientation") == "n") terminalo = QET::North;
else if (e.attribute("orientation") == "s") terminalo = QET::South;
else if (e.attribute("orientation") == "e") terminalo = QET::East;
else if (e.attribute("orientation") == "w") terminalo = QET::West;
else return(false);
list_terminals << new Terminal(terminalx, terminaly, terminalo, this, qobject_cast<Diagram *>(scene()));
return(true);
}
/**
Active / desactive l'antialiasing sur un QPainter
@param qp Le QPainter a modifier
@param aa Booleen a true pour activer l'antialiasing, a false pour le desactiver
*/
void CustomElement::setQPainterAntiAliasing(QPainter &qp, bool aa) {
qp.setRenderHint(QPainter::Antialiasing, aa);
qp.setRenderHint(QPainter::TextAntialiasing, aa);
qp.setRenderHint(QPainter::SmoothPixmapTransform, aa);
}
/**
Verifie si l'attribut "orientation" de l'element XML e correspond bien a la
syntaxe decrivant les orientations possibles pour un element.
Cette syntaxe comprend exactement 4 lettres :
- une pour le Nord
- une pour l'Est
- une pour le Sud
- une pour l'Ouest
Pour chaque orientation, on indique si elle est :
- l'orientation par defaut : d
- une orientation autorisee : y
- une orientation interdire : n
Exemple : "dnny" represente un element par defaut oriente vers le nord et qui
peut etre oriente vers l'ouest mais pas vers le sud ou vers l'est.
@param e Element XML
@return true si l'attribut "orientation" est valide, false sinon
*/
bool CustomElement::validOrientationAttribute(QDomElement &e) {
return(ori.fromString(e.attribute("orientation")));
}
/**
Applique les parametres de style definis dans l'attribut "style" de
l'element XML e au QPainter qp
Les styles possibles sont :
- line-style : style du trait
- dashed : trait en pointilles
- normal : trait plein [par defaut]
- line-weight : epaiseur du trait
- thin : trait fin
- normal : trait d'epaisseur 1 [par defaut]
- filling : remplissage de la forme
- white : remplissage blanc
- black : remplissage noir
- none : pas de remplissage [par defaut]
- color : couleur du trait et du texte
- white : trait noir [par defaut]
- black : trait blanc
Les autres valeurs ne sont pas prises en compte.
@param e L'element XML a parser
@param qp Le QPainter a modifier en fonction des styles
*/
void CustomElement::setPainterStyle(QDomElement &e, QPainter &qp) {
// recupere le QPen et la QBrush du QPainter
QPen pen = qp.pen();
QBrush brush = qp.brush();
// attributs par defaut
pen.setJoinStyle(Qt::BevelJoin);
pen.setCapStyle(Qt::SquareCap);
pen.setColor(Qt::black);
pen.setStyle(Qt::SolidLine);
pen.setWidthF(1.0);
brush.setStyle(Qt::NoBrush);
// recupere la liste des couples style / valeur
QStringList styles = e.attribute("style").split(";", QString::SkipEmptyParts);
// agit sur le QPen et la QBrush en fonction des valeurs rencontrees
QRegExp rx("^\\s*([a-z-]+)\\s*:\\s*([a-z-]+)\\s*$");
foreach (QString style, styles) {
if (rx.exactMatch(style)) {
QString style_name = rx.cap(1);
QString style_value = rx.cap(2);
if (style_name == "line-style") {
if (style_value == "dashed") pen.setStyle(Qt::DashLine);
else if (style_value == "normal") pen.setStyle(Qt::SolidLine);
} else if (style_name == "line-weight") {
if (style_value == "thin") pen.setWidth(0);
else if (style_value == "normal") pen.setWidthF(1.0);
else if (style_value == "none") pen.setColor(QColor(0, 0, 0, 0));
} else if (style_name == "filling") {
if (style_value == "white") {
brush.setStyle(Qt::SolidPattern);
brush.setColor(Qt::white);
} else if (style_value == "black") {
brush.setStyle(Qt::SolidPattern);
brush.setColor(Qt::black);
} else if (style_value == "none") {
brush.setStyle(Qt::NoBrush);
}
} else if (style_name == "color") {
if (style_value == "black") {
pen.setColor(QColor(0, 0, 0, pen.color().alpha()));
} else if (style_value == "white") {
pen.setColor(QColor(255, 255, 255, pen.color().alpha()));
}
}
}
}
// affectation du QPen et de la QBrush modifies au QPainter
qp.setPen(pen);
qp.setBrush(brush);
// mise en place (ou non) de l'antialiasing
setQPainterAntiAliasing(qp, e.attribute("antialias") == "true");
}

View File

@@ -1,124 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef ELEMENTPERSO_H
#define ELEMENTPERSO_H
#include "fixedelement.h"
#include <QtGui>
#include "nameslist.h"
class CustomElementPart;
/**
Cette classe represente un element electrique. Elle est utilisable
comme un element fixe. La difference est que l'element perso lit
sa description (noms, dessin, comportement) dans un fichier XML a fournir
en parametre.
*/
class CustomElement : public FixedElement {
// constructeurs, destructeur
public:
CustomElement(QString &, QGraphicsItem * = 0, Diagram * = 0, int * = NULL);
virtual ~CustomElement();
friend class CustomElementPart;
private:
CustomElement(const CustomElement &);
// attributs
private:
int elmt_etat; // contient le code d'erreur si l'instanciation a echoue ou 0 si l'instanciation s'est bien passe
NamesList names;
QString nomfichier;
QPicture dessin;
QList<Terminal *> list_terminals;
// methodes
public:
virtual QList<Terminal *> terminals() const;
virtual QList<Conductor *> conductors() const;
virtual int nbTerminals() const;
virtual void paint(QPainter *, const QStyleOptionGraphicsItem *);
QString typeId() const;
QString fichier() const;
bool isNull() const;
int etat() const;
QString nom() const;
private:
bool parseElement(QDomElement &, QPainter &);
bool parseLine(QDomElement &, QPainter &);
bool parseEllipse(QDomElement &, QPainter &);
bool parseCircle(QDomElement &, QPainter &);
bool parseArc(QDomElement &, QPainter &);
bool parsePolygon(QDomElement &, QPainter &);
bool parseText(QDomElement &, QPainter &);
bool parseInput(QDomElement &);
bool parseTerminal(QDomElement &);
void setQPainterAntiAliasing(QPainter &, bool);
bool validOrientationAttribute(QDomElement &);
void setPainterStyle(QDomElement &, QPainter &);
};
/**
@return L'ID du type de l'element ; pour un CustomElement, cela revient au
nom du fichier
@see fichier()
*/
inline QString CustomElement::typeId() const {
return(nomfichier);
}
/**
@return L'adresse du fichier contenant la description XML de cet element
*/
inline QString CustomElement::fichier() const {
return(nomfichier);
}
/**
@return true si cet element est nul, c'est-a-dire si le chargement de sa
description XML a echoue
*/
inline bool CustomElement::isNull() const {
return(elmt_etat != 0);
}
/**
@return Un entier representant l'etat de l'element :
- 0 : L'instanciation a reussi
- 1 : Le fichier n'existe pas
- 2 : Le fichier n'a pu etre ouvert
- 3 : Le fichier n'est pas un document XML
- 4 : Le document XML n'a pas une "definition" comme racine
- 5 : Les attributs de la definition ne sont pas presents et / ou valides
- 6 : La definition est vide
- 7 : L'analyse d'un element XML decrivant une partie du dessin de l'element a echoue
- 8 : Aucune partie du dessin n'a pu etre chargee
*/
inline int CustomElement::etat() const {
return(elmt_etat);
}
/**
@return Le nom de l'element
*/
inline QString CustomElement::nom() const {
return(names.name(QFileInfo(nomfichier).baseName()));
}
#endif

View File

@@ -0,0 +1,23 @@
Type = UserType + ???
###DIAGRAM EDITOR###
Element + 1000
Conductor + 1001
Terminal + 1002
ElementTextItem + 1003
DiagramTextItem + 1004
IndependentTextItem + 1005
ConductorTextItem + 1006
DiagramImageItem + 1007
QetShapItem + 1008
crossRefItem + 1009
ElementPrimitiveDecorator + 2200
###ELEMENT EDITOR###
part arc + 1101
part ellipse + 1103
part Line + 1104
part polygon + 1105
part terminal + 1106
part text + 1107
part text field + 1108
part rectangle + 1109

View File

@@ -1,648 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include <math.h>
#include "qetapp.h"
#include "conductor.h"
#include "customelement.h"
#include "diagram.h"
#include "exportdialog.h"
#include "diagramcommands.h"
#include "diagramcontent.h"
const int Diagram::xGrid = 10;
const int Diagram::yGrid = 10;
const qreal Diagram::margin = 5.0;
/**
Constructeur
@param parent Le QObject parent du schema
*/
Diagram::Diagram(QObject *parent) :
QGraphicsScene(parent),
draw_grid(true),
use_border(true),
moved_elements_fetched(false),
qgi_manager(this),
draw_terminals(true)
{
setBackgroundBrush(Qt::white);
conductor_setter = new QGraphicsLineItem(0, 0);
conductor_setter -> setZValue(1000000);
QPen t;
t.setColor(Qt::black);
t.setWidthF(1.5);
t.setStyle(Qt::DashLine);
conductor_setter -> setPen(t);
conductor_setter -> setLine(QLineF(QPointF(0.0, 0.0), QPointF(0.0, 0.0)));
connect(this, SIGNAL(selectionChanged()), this, SLOT(slot_checkSelectionEmptinessChange()));
// lit les caracteristiques des conducteurs par defaut dans la configuration
defaultConductorProperties.fromSettings(QETApp::settings(), "diagrameditor/defaultconductor");
}
/**
Destructeur
*/
Diagram::~Diagram() {
if (conductor_setter -> scene()) removeItem(conductor_setter);
delete conductor_setter;
}
/**
Dessine l'arriere-plan du schema, cad la grille.
@param p Le QPainter a utiliser pour dessiner
@param r Le rectangle de la zone a dessiner
*/
void Diagram::drawBackground(QPainter *p, const QRectF &r) {
p -> save();
// desactive tout antialiasing, sauf pour le texte
p -> setRenderHint(QPainter::Antialiasing, false);
p -> setRenderHint(QPainter::TextAntialiasing, true);
p -> setRenderHint(QPainter::SmoothPixmapTransform, false);
// dessine un fond blanc
p -> setPen(Qt::NoPen);
p -> setBrush(Qt::white);
p -> drawRect(r);
if (draw_grid) {
// dessine les points de la grille
p -> setPen(Qt::black);
p -> setBrush(Qt::NoBrush);
qreal limite_x = r.x() + r.width();
qreal limite_y = r.y() + r.height();
int g_x = (int)ceil(r.x());
while (g_x % xGrid) ++ g_x;
int g_y = (int)ceil(r.y());
while (g_y % yGrid) ++ g_y;
for (int gx = g_x ; gx < limite_x ; gx += xGrid) {
for (int gy = g_y ; gy < limite_y ; gy += yGrid) {
p -> drawPoint(gx, gy);
}
}
}
if (use_border) border_and_inset.draw(p, margin, margin);
p -> restore();
}
/**
Gere les enfoncements de touches du clavier
@param e QKeyEvent decrivant l'evenement clavier
*/
void Diagram::keyPressEvent(QKeyEvent *e) {
QPointF movement;
switch(e -> key()) {
case Qt::Key_Left: movement = QPointF(-xGrid, 0.0); break;
case Qt::Key_Right: movement = QPointF(+xGrid, 0.0); break;
case Qt::Key_Up: movement = QPointF(0.0, -yGrid); break;
case Qt::Key_Down: movement = QPointF(0.0, +yGrid); break;
}
if (!movement.isNull() && !focusItem()) {
moveElements(movement);
}
QGraphicsScene::keyPressEvent(e);
}
/**
Gere les relachements de touches du clavier
@param e QKeyEvent decrivant l'evenement clavier
*/
void Diagram::keyReleaseEvent(QKeyEvent *e) {
// detecte le relachement d'une touche de direction ( = deplacement d'elements)
if (
(e -> key() == Qt::Key_Left || e -> key() == Qt::Key_Right ||\
e -> key() == Qt::Key_Up || e -> key() == Qt::Key_Down) &&\
!current_movement.isNull() && !e -> isAutoRepeat()
) {
// cree un objet d'annulation pour le mouvement qui vient de se finir
undoStack().push(new MoveElementsCommand(this, selectedContent(), current_movement));
invalidateMovedElements();
current_movement = QPointF();
}
QGraphicsScene::keyReleaseEvent(e);
}
/**
Exporte le schema vers une image
@return Une QImage representant le schema
*/
bool Diagram::toPaintDevice(QPaintDevice &pix, int width, int height, Qt::AspectRatioMode aspectRatioMode) {
// determine la zone source = contenu du schema + marges
QRectF source_area;
if (!use_border) {
source_area = itemsBoundingRect();
source_area.translate(-margin, -margin);
source_area.setWidth (source_area.width () + 2.0 * margin);
source_area.setHeight(source_area.height() + 2.0 * margin);
} else {
source_area = QRectF(
0.0,
0.0,
border_and_inset.borderWidth () + 2.0 * margin,
border_and_inset.borderHeight() + 2.0 * margin
);
}
// si les dimensions ne sont pas precisees, l'image est exportee a l'echelle 1:1
QSize image_size = (width == -1 && height == -1) ? source_area.size().toSize() : QSize(width, height);
// prepare le rendu
QPainter p;
if (!p.begin(&pix)) return(false);
// rendu antialiase
p.setRenderHint(QPainter::Antialiasing, true);
p.setRenderHint(QPainter::TextAntialiasing, true);
p.setRenderHint(QPainter::SmoothPixmapTransform, true);
// deselectionne tous les elements
QList<QGraphicsItem *> selected_elmts = selectedItems();
foreach (QGraphicsItem *qgi, selected_elmts) qgi -> setSelected(false);
// effectue le rendu lui-meme
render(&p, QRect(QPoint(0, 0), image_size), source_area, aspectRatioMode);
p.end();
// restaure les elements selectionnes
foreach (QGraphicsItem *qgi, selected_elmts) qgi -> setSelected(true);
return(true);
}
/**
Permet de connaitre les dimensions qu'aura l'image generee par la methode toImage()
@return La taille de l'image generee par toImage()
*/
QSize Diagram::imageSize() const {
// determine la zone source = contenu du schema + marges
qreal image_width, image_height;
if (!use_border) {
QRectF items_rect = itemsBoundingRect();
image_width = items_rect.width();
image_height = items_rect.height();
} else {
image_width = border_and_inset.borderWidth();
image_height = border_and_inset.borderHeight();
}
image_width += 2.0 * margin;
image_height += 2.0 * margin;
// renvoie la taille de la zone source
return(QSizeF(image_width, image_height).toSize());
}
/**
Exporte tout ou partie du schema
@param diagram Booleen (a vrai par defaut) indiquant si le XML genere doit
representer tout le schema ou seulement les elements selectionnes
@return Un Document XML (QDomDocument)
*/
QDomDocument Diagram::toXml(bool diagram) {
// document
QDomDocument document;
// racine de l'arbre XML
QDomElement racine = document.createElement("diagram");
// proprietes du schema
if (diagram) {
if (!border_and_inset.author().isNull()) racine.setAttribute("author", border_and_inset.author());
if (!border_and_inset.date().isNull()) racine.setAttribute("date", border_and_inset.date().toString("yyyyMMdd"));
if (!border_and_inset.title().isNull()) racine.setAttribute("title", border_and_inset.title());
if (!border_and_inset.fileName().isNull()) racine.setAttribute("filename", border_and_inset.fileName());
if (!border_and_inset.folio().isNull()) racine.setAttribute("folio", border_and_inset.folio());
racine.setAttribute("cols", border_and_inset.nbColumn());
racine.setAttribute("colsize", border_and_inset.columnsWidth());
racine.setAttribute("height", border_and_inset.columnsHeight());
// type de conducteur par defaut
QDomElement default_conductor = document.createElement("defaultconductor");
defaultConductorProperties.toXml(document, default_conductor);
racine.appendChild(default_conductor);
}
document.appendChild(racine);
// si le schema ne contient pas d'element (et donc pas de conducteurs), on retourne de suite le document XML
if (items().isEmpty()) return(document);
// creation de trois listes : une qui contient les elements, une qui contient les conducteurs, une qui contient les champs de texte
QList<Element *> list_elements;
QList<Conductor *> list_conductors;
QList<DiagramTextItem *> list_texts;
// Determine les elements a <20> XMLiser <20>
foreach(QGraphicsItem *qgi, items()) {
if (Element *elmt = qgraphicsitem_cast<Element *>(qgi)) {
if (diagram) list_elements << elmt;
else if (elmt -> isSelected()) list_elements << elmt;
} else if (Conductor *f = qgraphicsitem_cast<Conductor *>(qgi)) {
if (diagram) list_conductors << f;
// lorsqu'on n'exporte pas tout le diagram, il faut retirer les conducteurs non selectionnes
// et pour l'instant, les conducteurs non selectionnes sont les conducteurs dont un des elements n'est pas relie
else if (f -> terminal1 -> parentItem() -> isSelected() && f -> terminal2 -> parentItem() -> isSelected()) list_conductors << f;
} else if (DiagramTextItem *dti = qgraphicsitem_cast<DiagramTextItem *>(qgi)) {
if (!dti -> parentItem()) {
if (diagram) list_texts << dti;
else if (dti -> isSelected()) list_texts << dti;
}
}
}
// table de correspondance entre les adresses des bornes et leurs ids
QHash<Terminal *, int> table_adr_id;
// enregistrement des elements
if (!list_elements.isEmpty()) {
QDomElement elements = document.createElement("elements");
foreach(Element *elmt, list_elements) {
elements.appendChild(elmt -> toXml(document, table_adr_id));
}
racine.appendChild(elements);
}
// enregistrement des conducteurs
if (!list_conductors.isEmpty()) {
QDomElement conductors = document.createElement("conductors");
foreach(Conductor *cond, list_conductors) {
conductors.appendChild(cond -> toXml(document, table_adr_id));
}
racine.appendChild(conductors);
}
// enregistrement des champs de texte
if (!list_texts.isEmpty()) {
QDomElement inputs = document.createElement("inputs");
foreach(DiagramTextItem *dti, list_texts) {
inputs.appendChild(dti -> toXml(document));
}
racine.appendChild(inputs);
}
// on retourne le document XML ainsi genere
return(document);
}
/**
Importe le diagram decrit dans un document XML. Si une position est
precisee, les elements importes sont positionnes de maniere a ce que le
coin superieur gauche du plus petit rectangle pouvant les entourant tous
(le bounding rect) soit a cette position.
@param document Le document XML a analyser
@param position La position du diagram importe
@param consider_informations Si vrai, les informations complementaires
(auteur, titre, ...) seront prises en compte
@param content_ptr si ce pointeur vers un DiagramContentn'est pas NULL, il
sera rempli avec le contenu ajoute au schema par le fromXml
@return true si l'import a reussi, false sinon
*/
bool Diagram::fromXml(QDomDocument &document, QPointF position, bool consider_informations, DiagramContent *content_ptr) {
QDomElement root = document.documentElement();
// le premier element doit etre un schema
if (root.tagName() != "diagram") return(false);
// lecture des attributs de ce schema
if (consider_informations) {
border_and_inset.setAuthor(root.attribute("author"));
border_and_inset.setTitle(root.attribute("title"));
border_and_inset.setDate(QDate::fromString(root.attribute("date"), "yyyyMMdd"));
border_and_inset.setFileName(root.attribute("filename"));
border_and_inset.setFolio(root.attribute("folio"));
bool ok;
// nombre de colonnes
int nb_cols = root.attribute("cols").toInt(&ok);
if (ok) border_and_inset.setNbColumns(nb_cols);
// taille des colonnes
double col_size = root.attribute("colsize").toDouble(&ok);
if (ok) border_and_inset.setColumnsWidth(col_size);
// hauteur du schema
double height = root.attribute("height").toDouble(&ok);
if (ok) border_and_inset.setColumnsHeight(height);
border_and_inset.adjustInsetToColumns();
// repere le permier element "defaultconductor"
for (QDomNode node = root.firstChild() ; !node.isNull() ; node = node.nextSibling()) {
QDomElement elmts = node.toElement();
if(elmts.isNull() || elmts.tagName() != "defaultconductor") continue;
defaultConductorProperties.fromXml(elmts);
break;
}
}
// si la racine n'a pas d'enfant : le chargement est fini (schema vide)
if (root.firstChild().isNull()) return(true);
// chargement de tous les elements du fichier XML
QList<Element *> added_elements;
QHash<int, Terminal *> table_adr_id;
foreach (QDomElement e, QET::findInDomElement(root, "elements", "element")) {
if (!Element::valideXml(e)) continue;
// cree un element dont le type correspond a l'id type
QString type_id = e.attribute("type");
QString chemin_fichier = QETApp::realPath(type_id);
CustomElement *nvel_elmt = new CustomElement(chemin_fichier);
if (nvel_elmt -> isNull()) {
QString debug_message = QString("Le chargement de la description de l'element %1 a echoue avec le code d'erreur %2").arg(chemin_fichier).arg(nvel_elmt -> etat());
delete nvel_elmt;
qDebug(debug_message.toLatin1().data());
continue;
}
// charge les caracteristiques de l'element
if (nvel_elmt -> fromXml(e, table_adr_id)) {
// ajout de l'element au schema et a la liste des elements ajoutes
addItem(nvel_elmt);
added_elements << nvel_elmt;
} else {
delete nvel_elmt;
qDebug("Le chargement des parametres d'un element a echoue");
}
}
// chargement de tous les textes du fichiers XML
QList<DiagramTextItem *> added_texts;
foreach (QDomElement f, QET::findInDomElement(root, "inputs", "input")) {
DiagramTextItem *dti = new DiagramTextItem(0, this);
dti -> fromXml(f);
added_texts << dti;
}
// gere la translation des nouveaux elements et texte si celle-ci est demandee
if (position != QPointF()) {
// determine quel est le coin superieur gauche du rectangle entourant les elements ajoutes
qreal minimum_x = 0, minimum_y = 0;
bool init = false;
QList<QGraphicsItem *> added_items;
foreach (Element *added_element, added_elements) added_items << added_element;
foreach (DiagramTextItem *added_text, added_texts) added_items << added_text;
foreach (QGraphicsItem *item, added_items) {
QPointF csg = item -> mapToScene(item -> boundingRect()).boundingRect().topLeft();
qreal px = csg.x();
qreal py = csg.y();
if (!init) {
minimum_x = px;
minimum_y = py;
init = true;
} else {
if (px < minimum_x) minimum_x = px;
if (py < minimum_y) minimum_y = py;
}
}
qreal diff_x = position.x() - minimum_x;
qreal diff_y = position.y() - minimum_y;
foreach (Element *added_element, added_elements) {
added_element -> setPos(added_element -> pos().x() + diff_x, added_element -> pos().y() + diff_y);
}
foreach (DiagramTextItem *added_text, added_texts) {
added_text -> setPos(added_text -> pos().x() + diff_x, added_text -> pos().y() + diff_y);
}
}
// chargement de tous les Conducteurs du fichier XML
QList<Conductor *> added_conductors;
foreach (QDomElement f, QET::findInDomElement(root, "conductors", "conductor")) {
if (!Conductor::valideXml(f)) continue;
// verifie que les bornes que le conducteur relie sont connues
int id_p1 = f.attribute("terminal1").toInt();
int id_p2 = f.attribute("terminal2").toInt();
if (table_adr_id.contains(id_p1) && table_adr_id.contains(id_p2)) {
// pose le conducteur... si c'est possible
Terminal *p1 = table_adr_id.value(id_p1);
Terminal *p2 = table_adr_id.value(id_p2);
if (p1 != p2) {
bool can_add_conductor = true;
bool cia = ((Element *)p2 -> parentItem()) -> internalConnections();
if (!cia) {
foreach(QGraphicsItem *item, p2 -> parentItem() -> children()) {
if (item == p1) can_add_conductor = false;
}
}
if (can_add_conductor) {
Conductor *c = new Conductor(table_adr_id.value(id_p1), table_adr_id.value(id_p2), 0, this);
c -> fromXml(f);
added_conductors << c;
}
}
} else qDebug() << "Le chargement du conductor" << id_p1 << id_p2 << "a echoue";
}
// remplissage des listes facultatives
if (content_ptr != NULL) {
content_ptr -> elements = added_elements;
content_ptr -> conductorsToMove = added_conductors;
content_ptr -> textFields = added_texts;
}
return(true);
}
/**
Verifie si la selection est passe d'un etat ou elle est vide a un etat ou
elle ne l'est pas, et inversement. Si c'est le cas, le signal
EmptinessChanged() est emis.
*/
void Diagram::slot_checkSelectionEmptinessChange() {
static bool selection_was_empty = true;
bool selection_is_empty = selectedItems().isEmpty();
if (selection_was_empty != selection_is_empty) {
emit(selectionEmptinessChanged());
selection_was_empty = selection_is_empty;
}
}
/**
@return Le rectangle (coordonnees par rapport a la scene) delimitant le bord du schema
*/
QRectF Diagram::border() const {
return(
QRectF(
margin,
margin,
border_and_inset.borderWidth(),
border_and_inset.borderHeight()
)
);
}
/// oublie la liste des elements et conducteurs en mouvement
void Diagram::invalidateMovedElements() {
if (!moved_elements_fetched) return;
moved_elements_fetched = false;
elements_to_move.clear();
conductors_to_move.clear();
conductors_to_update.clear();
texts_to_move.clear();
}
/// reconstruit la liste des elements et conducteurs en mouvement
void Diagram::fetchMovedElements() {
// recupere les elements deplaces
foreach (QGraphicsItem *item, selectedItems()) {
if (Element *elmt = qgraphicsitem_cast<Element *>(item)) {
elements_to_move << elmt;
} else if (DiagramTextItem *t = qgraphicsitem_cast<DiagramTextItem *>(item)) {
if (!t -> parentItem()) texts_to_move << t;
}
}
// pour chaque element deplace, determine les conducteurs qui seront modifies
foreach(Element *elmt, elements_to_move) {
foreach(Terminal *terminal, elmt -> terminals()) {
foreach(Conductor *conductor, terminal -> conductors()) {
Terminal *other_terminal;
if (conductor -> terminal1 == terminal) {
other_terminal = conductor -> terminal2;
} else {
other_terminal = conductor -> terminal1;
}
// si les deux elements du conducteur sont deplaces
if (elements_to_move.contains(static_cast<Element *>(other_terminal -> parentItem()))) {
conductors_to_move << conductor;
} else {
conductors_to_update.insert(conductor, terminal);
}
}
}
}
moved_elements_fetched = true;
}
/**
Deplace les elements, conducteurs et textes selectionnes en gerant au
mieux les conducteurs (seuls les conducteurs dont un seul des elements
est deplace sont recalcules, les autres sont deplaces).
@param diff Translation a effectuer
@param dontmove QGraphicsItem (optionnel) a ne pas deplacer ; note : ce
parametre ne concerne que les elements et les champs de texte.
*/
void Diagram::moveElements(const QPointF &diff, QGraphicsItem *dontmove) {
// inutile de deplacer les autres elements s'il n'y a pas eu de mouvement concret
if (diff.isNull()) return;
current_movement += diff;
// deplace les elements selectionnes
foreach(Element *element, elementsToMove()) {
if (dontmove != NULL && element == dontmove) continue;
element -> setPos(element -> pos() + diff);
}
// deplace certains conducteurs
foreach(Conductor *conductor, conductorsToMove()) {
conductor -> setPos(conductor -> pos() + diff);
}
// recalcule les autres conducteurs
const QHash<Conductor *, Terminal *> &conductors_modify = conductorsToUpdate();
foreach(Conductor *conductor, conductors_modify.keys()) {
conductor -> updateWithNewPos(QRectF(), conductors_modify[conductor], conductors_modify[conductor] -> amarrageConductor());
}
// deplace les champs de texte
foreach(DiagramTextItem *dti, textsToMove()) {
if (dontmove != NULL && dti == dontmove) continue;
dti -> setPos(dti -> pos() + diff);
}
}
/**
Definit s'il faut afficher ou non les bornes
@param dt true pour afficher les bornes, false sinon
*/
void Diagram::setDrawTerminals(bool dt) {
foreach(QGraphicsItem *qgi, items()) {
if (Terminal *t = qgraphicsitem_cast<Terminal *>(qgi)) {
t -> setVisible(dt);
}
}
}
/**
@return la liste des conducteurs selectionnes sur le schema
*/
QSet<Conductor *> Diagram::selectedConductors() const {
QSet<Conductor *> conductors_set;
foreach(QGraphicsItem *qgi, selectedItems()) {
if (Conductor *c = qgraphicsitem_cast<Conductor *>(qgi)) {
conductors_set << c;
}
}
return(conductors_set);
}
/// @return true si le presse-papier semble contenir un schema
bool Diagram::clipboardMayContainDiagram() {
QString clipboard_text = QApplication::clipboard() -> text().trimmed();
bool may_be_diagram = clipboard_text.startsWith("<diagram") && clipboard_text.endsWith("</diagram>");
return(may_be_diagram);
}
/**
@return Le contenu du schema. Les conducteurs sont tous places dans
conductorsToMove.
*/
DiagramContent Diagram::content() const {
DiagramContent dc;
foreach(QGraphicsItem *qgi, items()) {
if (Element *e = qgraphicsitem_cast<Element *>(qgi)) {
dc.elements << e;
} else if (DiagramTextItem *dti = qgraphicsitem_cast<DiagramTextItem *>(qgi)) {
dc.textFields << dti;
} else if (Conductor *c = qgraphicsitem_cast<Conductor *>(qgi)) {
dc.conductorsToMove << c;
}
}
return(dc);
}
/**
@return le contenu selectionne du schema.
*/
DiagramContent Diagram::selectedContent() {
invalidateMovedElements();
DiagramContent dc;
dc.elements = elementsToMove().toList();
dc.textFields = textsToMove().toList();
dc.conductorsToMove = conductorsToMove().toList();
dc.conductorsToUpdate = conductorsToUpdate();
// recupere les conducteurs selectionnes isoles (= non deplacables mais supprimables)
foreach(QGraphicsItem *qgi, items()) {
if (Conductor *c = qgraphicsitem_cast<Conductor *>(qgi)) {
if (
c -> isSelected() &&\
!c -> terminal1 -> parentItem() -> isSelected() &&\
!c -> terminal2 -> parentItem() -> isSelected()
) {
dc.otherConductors << c;
}
}
}
invalidateMovedElements();
return(dc);
}

266
diagram.h
View File

@@ -1,266 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SCHEMA_H
#define SCHEMA_H
#include <QtGui>
#include <QtXml>
#include "qetdiagrameditor.h"
#include "borderinset.h"
#include "qgimanager.h"
#include "conductorproperties.h"
class Element;
class Terminal;
class Conductor;
class DiagramTextItem;
class DiagramContent;
/**
Cette classe represente un schema electrique.
Elle gere les differents elements et conducteurs qui le composent
et en effectue le rendu graphique.
*/
class Diagram : public QGraphicsScene {
Q_OBJECT
// constructeurs, destructeur
public:
Diagram(QObject * = 0);
virtual ~Diagram();
private:
Diagram(const Diagram &diagram);
// attributs
public:
/**
Represente les options possibles pour l'affichage du schema :
* EmptyBorder : N'afficher que la bordure
* Inset : Afficher le cartouche
* Columns : Afficher les colonnes
*/
enum BorderOptions { EmptyBorder, Inset, Columns };
/// Proprietes par defaut des nouveaux conducteurs
ConductorProperties defaultConductorProperties;
/// Dimensions et cartouches du schema
BorderInset border_and_inset;
/// Mouvement en cours lors d'un deplacement d'elements et conducteurs
QPointF current_movement;
/// taille de la grille en abscisse
static const int xGrid;
/// taille de la grille en ordonnee
static const int yGrid;
/// marge autour du schema
static const qreal margin;
private:
QGraphicsLineItem *conductor_setter;
bool draw_grid;
bool use_border;
bool moved_elements_fetched;
QSet<Element *> elements_to_move;
QSet<Conductor *> conductors_to_move;
QHash<Conductor *, Terminal *> conductors_to_update;
QSet<DiagramTextItem *> texts_to_move;
QGIManager qgi_manager;
QUndoStack undo_stack;
bool draw_terminals;
// methodes
protected:
virtual void drawBackground(QPainter *, const QRectF &);
virtual void keyPressEvent(QKeyEvent *);
virtual void keyReleaseEvent(QKeyEvent *);
public:
static bool clipboardMayContainDiagram();
// fonctions relatives a la pose de conducteurs
void setConductor(bool);
void setConductorStart (QPointF);
void setConductorStop(QPointF);
// fonctions relatives a l'import / export XML
QDomDocument toXml(bool = true);
bool fromXml(QDomDocument &, QPointF = QPointF(), bool = true, DiagramContent * = NULL);
// fonctions relatives aux options graphiques
void setDisplayGrid(bool);
bool displayGrid();
void setUseBorder(bool);
bool useBorder();
void setBorderOptions(BorderOptions);
BorderOptions borderOptions();
bool drawTerminals() const;
void setDrawTerminals(bool);
QRectF border() const;
bool toPaintDevice(QPaintDevice &, int = -1, int = -1, Qt::AspectRatioMode = Qt::KeepAspectRatio);
QSize imageSize() const;
void invalidateMovedElements();
void fetchMovedElements();
const QSet<Element *> &elementsToMove();
const QSet<Conductor *> &conductorsToMove();
const QHash<Conductor *, Terminal *> &conductorsToUpdate();
const QSet<DiagramTextItem *> &textsToMove();
QSet<Conductor *> selectedConductors() const;
DiagramContent content() const;
DiagramContent selectedContent();
void moveElements(const QPointF &, QGraphicsItem * = NULL);
QUndoStack &undoStack();
QGIManager &qgiManager();
private slots:
void slot_checkSelectionEmptinessChange();
signals:
/**
Ce signal est emis lorsque la selection passe de l'etat rempli (par un
nombre quelconque d'elements et conducteurs) a l'etat vide et
vice-versa.
*/
void selectionEmptinessChanged();
};
/**
Permet d'ajouter ou enlever le <20> poseur de conducteur <20>, c'est-a-dire la
droite en pointilles qui apparait lorsqu'on pose un conducteur entre deux
bornes.
@param pf true pour ajouter le poseur de conducteur, false pour l'enlever
*/
inline void Diagram::setConductor(bool pf) {
if (pf) {
if (!conductor_setter -> scene()) addItem(conductor_setter);
} else {
if (conductor_setter -> scene()) removeItem(conductor_setter);
}
}
/**
Specifie les coordonnees du point de depart du poseur de conducteur
@param d Le nouveau point de depart du poseur de conducteur
*/
inline void Diagram::setConductorStart(QPointF d) {
conductor_setter -> setLine(QLineF(d, conductor_setter -> line().p2()));
}
/**
Specifie les coordonnees du point d'arrivee du poseur de conducteur
@param a Le nouveau point d'arrivee du poseur de conducteur
*/
inline void Diagram::setConductorStop(QPointF a) {
conductor_setter -> setLine(QLineF(conductor_setter -> line().p1(), a));
}
/**
Permet de specifier si la grille du schema doit etre dessinee ou non
@param dg true pour afficher la grille, false pour ne pas l'afficher
*/
inline void Diagram::setDisplayGrid(bool dg) {
draw_grid = dg;
}
/**
Permet de savoir si la grille du schema est dessinee ou non
@return true si la grille est affichee , false sinon
*/
inline bool Diagram::displayGrid() {
return(draw_grid);
}
/**
Permet de specifier si le cadre du schema doit etre pris en compte pour
determiner le contour du schema.
@param ub true pour prendre le schema en compte, false sinon
*/
inline void Diagram::setUseBorder(bool ub) {
use_border = ub;
}
/**
Permet de savoir si le cadre du schema est pris en compte pour
determiner le contour du schema.
*/
inline bool Diagram::useBorder() {
return(use_border);
}
/**
Permet de definir les options du cadre, des colonnes et du cartouche.
@param bo Un OU binaire entre les options possibles
@see BorderOptions
*/
inline void Diagram::setBorderOptions(Diagram::BorderOptions bo) {
border_and_inset.displayBorder(!(bo & EmptyBorder));
border_and_inset.displayColumns(bo & Columns);
border_and_inset.displayInset(bo & Inset);
}
/**
Permet de savoir les options du cadre, des colonnes et du cartouche.
@return Un OU binaire entre les options possibles
@see BorderOptions
*/
inline Diagram::BorderOptions Diagram::borderOptions() {
BorderOptions retour = EmptyBorder;
if (border_and_inset.insetIsDisplayed()) retour = (BorderOptions)(retour|Inset);
if (border_and_inset.columnsAreDisplayed()) retour = (BorderOptions)(retour|Columns);
return(retour);
}
/// @return la liste des elements a deplacer
inline const QSet<Element *> &Diagram::elementsToMove() {
if (!moved_elements_fetched) fetchMovedElements();
return(elements_to_move);
}
/// @return la liste des conducteurs a deplacer
inline const QSet<Conductor *> &Diagram::conductorsToMove() {
if (!moved_elements_fetched) fetchMovedElements();
return(conductors_to_move);
}
/// @return la liste des conducteurs a modifier (typiquement les conducteurs dont seul un element est deplace)
inline const QHash<Conductor *, Terminal *> &Diagram::conductorsToUpdate() {
if (!moved_elements_fetched) fetchMovedElements();
return(conductors_to_update);
}
/// @return la liste des textes a deplacer
inline const QSet<DiagramTextItem *> &Diagram::textsToMove() {
if (!moved_elements_fetched) fetchMovedElements();
return(texts_to_move);
}
/// @return la pile d'annulations de ce schema
inline QUndoStack &Diagram::undoStack() {
return(undo_stack);
}
/// @return le egstionnaire de QGraphicsItem de ce schema
inline QGIManager &Diagram::qgiManager() {
return(qgi_manager);
}
/// @return true si les bornes sont affichees, false sinon
inline bool Diagram::drawTerminals() const {
return(draw_terminals);
}
#endif

View File

@@ -1,625 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "diagramcommands.h"
#include "element.h"
#include "conductor.h"
#include "diagram.h"
#include "qgimanager.h"
/**
Constructeur
@param d Schema auquel on ajoute un element
@param elmt Element ajoute
@param p Position a laquelle l'element est ajoute
@param parent QUndoCommand parent
*/
AddElementCommand::AddElementCommand(
Diagram *d,
Element *elmt,
const QPointF &p,
QUndoCommand *parent
) :
QUndoCommand(QObject::tr("ajouter 1 ") + elmt -> nom(), parent),
element(elmt),
diagram(d),
position(p)
{
diagram -> qgiManager().manage(element);
}
/// Destructeur
AddElementCommand::~AddElementCommand() {
diagram -> qgiManager().release(element);
}
/// Annule l'ajout
void AddElementCommand::undo() {
diagram -> removeItem(element);
}
/// Refait l'ajout
void AddElementCommand::redo() {
diagram -> addItem(element);
element -> setPos(position);
element -> setFlags(QGraphicsItem::ItemIsMovable | QGraphicsItem::ItemIsSelectable);
}
/**
Constructeur
@param dia Schema auquel on ajoute du texte
@param text Texte ajoute
@param pos Position a laquelle le texte est ajoute
@param parent QUndoCommand parent
*/
AddTextCommand::AddTextCommand(Diagram *dia, DiagramTextItem *text, const QPointF &pos, QUndoCommand *parent) :
QUndoCommand(QObject::tr("Ajouter un champ de texte"), parent),
textitem(text),
diagram(dia),
position(pos)
{
diagram -> qgiManager().manage(textitem);
}
/// Destructeur
AddTextCommand::~AddTextCommand() {
diagram -> qgiManager().release(textitem);
}
/// Annule l'ajout
void AddTextCommand::undo() {
diagram -> removeItem(textitem);
}
/// Refait l'ajour
void AddTextCommand::redo() {
diagram -> addItem(textitem);
textitem -> setPos(position);
}
/**
Constructeur
@param d Schema auquel on ajoute un conducteur
@param c Conducteur ajoute
@param parent QUndoCommand parent
*/
AddConductorCommand::AddConductorCommand(
Diagram *d,
Conductor *c,
QUndoCommand *parent
) :
QUndoCommand(QObject::tr("ajouter un conducteur"), parent),
conductor(c),
diagram(d)
{
diagram -> qgiManager().manage(conductor);
}
/// Destructeur
AddConductorCommand::~AddConductorCommand() {
diagram -> qgiManager().release(conductor);
}
/// Annule l'ajout
void AddConductorCommand::undo() {
// detache le conducteur sans le detruire
conductor -> terminal1 -> removeConductor(conductor);
conductor -> terminal2 -> removeConductor(conductor);
diagram -> removeItem(conductor);
}
/// Refait l'ajout
void AddConductorCommand::redo() {
diagram -> addItem(conductor);
}
/**
Constructeur
@param dia Schema dont on supprime des elements et conducteurs
@param content Contenu supprime
@param parent QUndoCommand parent
*/
DeleteElementsCommand::DeleteElementsCommand(
Diagram *dia,
const DiagramContent &content,
QUndoCommand *parent
) :
QUndoCommand(parent),
removed_content(content),
diagram(dia)
{
setText(QObject::tr("supprimer ") + removed_content.sentence(DiagramContent::All));
diagram -> qgiManager().manage(removed_content.items(DiagramContent::All));
}
/// Destructeur
DeleteElementsCommand::~DeleteElementsCommand() {
diagram -> qgiManager().release(removed_content.items(DiagramContent::All));
}
/// annule les suppressions
void DeleteElementsCommand::undo() {
// remet les elements
foreach(Element *e, removed_content.elements) {
diagram -> addItem(e);
}
// remet les conducteurs
foreach(Conductor *c, removed_content.conductors(DiagramContent::AnyConductor)) {
diagram -> addItem(c);
c -> terminal1 -> addConductor(c);
c -> terminal2 -> addConductor(c);
}
// remet les textes
foreach(DiagramTextItem *t, removed_content.textFields) {
diagram -> addItem(t);
}
}
/// refait les suppressions
void DeleteElementsCommand::redo() {
// enleve les conducteurs
foreach(Conductor *c, removed_content.conductors(DiagramContent::AnyConductor)) {
c -> terminal1 -> removeConductor(c);
c -> terminal2 -> removeConductor(c);
diagram -> removeItem(c);
}
// enleve les elements
foreach(Element *e, removed_content.elements) {
diagram -> removeItem(e);
}
// enleve les textes
foreach(DiagramTextItem *t, removed_content.textFields) {
diagram -> removeItem(t);
}
}
/**
Constructeur
@param dia Schema sur lequel on colle les elements et conducteurs
@param c Contenu a coller sur le schema
@param parent QUndoCommand parent
*/
PasteDiagramCommand::PasteDiagramCommand(
Diagram *dia,
const DiagramContent &c,
QUndoCommand *parent
) :
QUndoCommand(parent),
content(c),
diagram(dia),
filter(DiagramContent::Elements|DiagramContent::TextFields|DiagramContent::ConductorsToMove),
first_redo(true)
{
setText(QObject::tr("coller ") + content.sentence(filter));
diagram -> qgiManager().manage(content.items(filter));
}
/// Destructeur
PasteDiagramCommand::~PasteDiagramCommand() {
diagram -> qgiManager().release(content.items(filter));
}
/// annule le coller
void PasteDiagramCommand::undo() {
// enleve les conducteurs
foreach(Conductor *c, content.conductorsToMove) {
c -> terminal1 -> removeConductor(c);
c -> terminal2 -> removeConductor(c);
diagram -> removeItem(c);
}
// enleve les elements
foreach(Element *e, content.elements) diagram -> removeItem(e);
// enleve les textes
foreach(DiagramTextItem *t, content.textFields) diagram -> removeItem(t);
}
/// refait le coller
void PasteDiagramCommand::redo() {
if (first_redo) first_redo = false;
else {
// pose les elements
foreach(Element *e, content.elements) diagram -> addItem(e);
// pose les conducteurs
foreach(Conductor *c, content.conductorsToMove) {
diagram -> addItem(c);
c -> terminal1 -> addConductor(c);
c -> terminal2 -> addConductor(c);
}
// pose les textes
foreach(DiagramTextItem *t, content.textFields) diagram -> addItem(t);
}
foreach(Element *e, content.elements) e -> setSelected(true);
foreach(Conductor *c, content.conductorsToMove) c -> setSelected(true);
foreach(DiagramTextItem *t, content.textFields) t -> setSelected(true);
}
/**
Constructeur
@param dia Schema dont on coupe des elements et conducteurs
@param content Contenu coupe
@param parent QUndoCommand parent
*/
CutDiagramCommand::CutDiagramCommand(
Diagram *dia,
const DiagramContent &content,
QUndoCommand *parent
) :
DeleteElementsCommand(dia, content, parent)
{
setText(QObject::tr("couper ") + content.sentence(DiagramContent::All));
}
/// Destructeur
CutDiagramCommand::~CutDiagramCommand() {
}
/**
Constructeur
@param dia Schema sur lequel on deplace des elements
@param diagram_content Contenu a deplacer
@param m translation subie par les elements
@param parent QUndoCommand parent
*/
MoveElementsCommand::MoveElementsCommand(
Diagram *dia,
const DiagramContent &diagram_content,
const QPointF &m,
QUndoCommand *parent
) :
QUndoCommand(parent),
diagram(dia),
content_to_move(diagram_content),
movement(m),
first_redo(true)
{
setText(QObject::tr("d\351placer ") + content_to_move.sentence(DiagramContent::Elements|DiagramContent::TextFields|DiagramContent::ConductorsToUpdate|DiagramContent::ConductorsToMove));
}
/// Destructeur
MoveElementsCommand::~MoveElementsCommand() {
}
/// annule le deplacement
void MoveElementsCommand::undo() {
move(-movement);
}
/// refait le deplacement
void MoveElementsCommand::redo() {
if (first_redo) first_redo = false;
else move(movement);
}
/**
deplace les elements et conducteurs
@param actual_movement translation a effectuer sur les elements et conducteurs
*/
void MoveElementsCommand::move(const QPointF &actual_movement) {
// deplace les elements
foreach(Element *element, content_to_move.elements) {
element -> setPos(element -> pos() + actual_movement);
}
// deplace certains conducteurs
foreach(Conductor *conductor, content_to_move.conductorsToMove) {
conductor -> setPos(conductor -> pos() + actual_movement);
}
// recalcule les autres conducteurs
foreach(Conductor *conductor, content_to_move.conductorsToUpdate.keys()) {
conductor -> updateWithNewPos(
QRectF(),
content_to_move.conductorsToUpdate[conductor],
content_to_move.conductorsToUpdate[conductor] -> amarrageConductor()
);
}
// deplace les textes
foreach(DiagramTextItem *text, content_to_move.textFields) {
text -> setPos(text -> pos() + actual_movement);
}
}
/**
Constructeur
@param dti Champ de texte modifie
@param before texte avant
@param after texte apres
@param parent QUndoCommand parent
*/
ChangeDiagramTextCommand::ChangeDiagramTextCommand(
DiagramTextItem *dti,
const QString &before,
const QString &after,
QUndoCommand *parent
) :
QUndoCommand(QObject::tr("modifier le texte"), parent),
text_item(dti),
text_before(before),
text_after(after),
first_redo(true)
{
}
/// destructeur
ChangeDiagramTextCommand::~ChangeDiagramTextCommand() {
}
/// annule la modification de texte
void ChangeDiagramTextCommand::undo() {
text_item -> setPlainText(text_before);
text_item -> previous_text = text_before;
}
/// refait la modification de texte
void ChangeDiagramTextCommand::redo() {
if (first_redo) first_redo = false;
else {
text_item -> setPlainText(text_after);
text_item -> previous_text = text_after;
}
}
/**
Constructeur
@param elements Elements a pivoter associes a leur orientation d'origine
@param parent QUndoCommand parent
*/
RotateElementsCommand::RotateElementsCommand(const QHash<Element *, QET::Orientation> &elements, QUndoCommand *parent) :
QUndoCommand(QObject::tr("pivoter ") + QET::ElementsAndConductorsSentence(elements.count(), 0), parent),
elements_to_rotate(elements)
{
}
/// Destructeur
RotateElementsCommand::~RotateElementsCommand() {
}
/// defait le pivotement
void RotateElementsCommand::undo() {
foreach(Element *e, elements_to_rotate.keys()) {
e -> setOrientation(elements_to_rotate[e]);
}
}
/// refait le pivotement
void RotateElementsCommand::redo() {
foreach(Element *e, elements_to_rotate.keys()) {
e -> setOrientation(e -> orientation().next());
e -> update();
}
}
/**
Constructeur
@param c Conducteur modifie
@param old_p ancien profil du conducteur
@param new_p nouveau profil du conducteur
@param path_t Trajectoire du trajet modifie
@param parent QUndoCommand parent
*/
ChangeConductorCommand::ChangeConductorCommand(
Conductor *c,
const ConductorProfile &old_p,
const ConductorProfile &new_p,
Qt::Corner path_t,
QUndoCommand *parent
) :
QUndoCommand(QObject::tr("modifier un conducteur"), parent),
conductor(c),
old_profile(old_p),
new_profile(new_p),
path_type(path_t),
first_redo(true)
{
}
/// Destructeur
ChangeConductorCommand::~ChangeConductorCommand() {
}
/// Annule la modification du conducteur
void ChangeConductorCommand::undo() {
conductor -> setProfile(old_profile, path_type);
}
/// Refait la modification du conducteur
void ChangeConductorCommand::redo() {
if (first_redo) first_redo = false;
else conductor -> setProfile(new_profile, path_type);
}
/**
Constructeur
@param cp Conducteurs reinitialises, associes a leur ancien profil
@param parent QUndoCommand parent
*/
ResetConductorCommand::ResetConductorCommand(
const QHash<Conductor *, ConductorProfilesGroup> &cp,
QUndoCommand *parent
) :
QUndoCommand(QObject::tr("R\351initialiser ") + QET::ElementsAndConductorsSentence(0, cp.count()), parent),
conductors_profiles(cp)
{
}
/// Destructeur
ResetConductorCommand::~ResetConductorCommand() {
}
/// Annule la reinitialisation des conducteurs
void ResetConductorCommand::undo() {
foreach(Conductor *c, conductors_profiles.keys()) {
c -> setProfiles(conductors_profiles[c]);
}
}
/// Refait la reinitialisation des conducteurs
void ResetConductorCommand::redo() {
foreach(Conductor *c, conductors_profiles.keys()) {
c -> setProfiles(ConductorProfilesGroup());
}
}
/**
Constructeur
@param d Schema dont on modifie le cartouche
@param old_ip Anciennes proprietes du cartouche
@param new_ip Nouvelles proprietes du cartouche
@param parent QUndoCommand parent
*/
ChangeInsetCommand::ChangeInsetCommand(
Diagram *d,
const InsetProperties &old_ip,
const InsetProperties &new_ip,
QUndoCommand *parent
) :
QUndoCommand(QObject::tr("modifier le cartouche"), parent),
diagram(d),
old_inset(old_ip),
new_inset(new_ip)
{
}
/// Destructeur
ChangeInsetCommand::~ChangeInsetCommand() {
}
/// Annule la modification de cartouche
void ChangeInsetCommand::undo() {
diagram -> border_and_inset.importInset(old_inset);
diagram -> invalidate(diagram -> border());
}
/// Refait la modification de cartouche
void ChangeInsetCommand::redo() {
diagram -> border_and_inset.importInset(new_inset);
diagram -> invalidate(diagram -> border());
}
/**
Constructeur
@param dia Schema modifie
@param parent QUndoCommand parent
*/
ChangeBorderCommand::ChangeBorderCommand(Diagram *dia, QUndoCommand *parent) :
QUndoCommand(QObject::tr("modifier les dimensions du sch\351ma"), parent),
diagram(dia),
columnsCountDifference(0),
columnsHeightDifference(0.0),
columnsWidthDifference(0.0),
headersHeightDifference(0.0)
{
}
/// Destructeur
ChangeBorderCommand::~ChangeBorderCommand() {
}
/**
Applique les changements au schema
@param coeff comme les changements s'expriment sous forme de nombres dont
il suffit d'inverser le signe pour les annuler, ces valeurs sont ici
multipliees par le coefficient passe en parametre avant d'etre appliquees.
Pour resumer : 1 pour refaire, -1 pour annuler.
*/
void ChangeBorderCommand::applyChanges(int coeff) {
// reference vers l'objet border_and_inset du schema
BorderInset &border = diagram -> border_and_inset;
if (columnsCountDifference) {
border.setNbColumns(border.nbColumn() + (columnsCountDifference * coeff));
}
if (columnsHeightDifference) {
border.setColumnsHeight(border.columnsHeight() + (columnsHeightDifference * coeff));
}
if (columnsWidthDifference) {
border.setColumnsWidth(border.columnsWidth() + (columnsWidthDifference * coeff));
}
if (headersHeightDifference) {
border.setColumnsHeaderHeight(border.columnsHeaderHeight() + (headersHeightDifference * coeff));
}
border.adjustInsetToColumns();
}
/// Annule les changements apportes au schema
void ChangeBorderCommand::undo() {
applyChanges(-1);
}
/// Refait les changements apportes au schema
void ChangeBorderCommand::redo() {
applyChanges(1);
}
/**
Constructeur
@param c Le conducteur dont on modifie les proprietes
@param parent QUndoCommand parent
*/
ChangeConductorPropertiesCommand::ChangeConductorPropertiesCommand(Conductor *c, QUndoCommand *parent) :
QUndoCommand(QObject::tr("modifier les propri\351t\351s d'un conducteur"), parent),
conductor(c),
old_settings_set(false),
new_settings_set(false)
{
}
/// Destructeur
ChangeConductorPropertiesCommand::~ChangeConductorPropertiesCommand() {
}
/// definit l'ancienne configuration
void ChangeConductorPropertiesCommand::setOldSettings(const ConductorProperties &properties) {
old_properties = properties;
old_settings_set = true;
}
/// definit la nouvelle configuration
void ChangeConductorPropertiesCommand::setNewSettings(const ConductorProperties &properties) {
new_properties = properties;
new_settings_set = true;
}
/**
Annule les changements - Attention : les anciens et nouveaux parametres
doivent avoir ete definis a l'aide de setNewSettings et setOldSettings
*/
void ChangeConductorPropertiesCommand::undo() {
if (old_settings_set && new_settings_set) {
conductor -> setProperties(old_properties);
conductor -> update();
}
}
/**
Refait les changements - Attention : les anciens et nouveaux parametres
doivent avoir ete definis a l'aide de setNewSettings et setOldSettings
*/
void ChangeConductorPropertiesCommand::redo() {
if (old_settings_set && new_settings_set) {
conductor -> setProperties(new_properties);
conductor -> update();
}
}

View File

@@ -1,394 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef DIAGRAM_COMMANDS_H
#define DIAGRAM_COMMANDS_H
#include "qet.h"
#include "diagram.h"
#include "diagramcontent.h"
#include "diagramtextitem.h"
#include "conductor.h"
#include "conductorproperties.h"
#include <QtGui>
/**
Cette classe represente l'action d'ajouter un element au schema
*/
class AddElementCommand : public QUndoCommand {
// constructeurs, destructeur
public:
AddElementCommand(Diagram *, Element *, const QPointF &, QUndoCommand * = 0);
virtual ~AddElementCommand();
private:
AddElementCommand(const AddElementCommand &);
// methodes
public:
virtual void undo();
virtual void redo();
// attributs
private:
/// element ajoute
Element *element;
/// schema sur lequel on ajoute l'element
Diagram *diagram;
/// position de l'element sur le schema
QPointF position;
};
/**
Cette classe represente l'action d'ajouter du texte au schema
*/
class AddTextCommand : public QUndoCommand {
// constructeurs, destructeur
public:
AddTextCommand(Diagram *, DiagramTextItem *, const QPointF &, QUndoCommand * = 0);
virtual ~AddTextCommand();
private:
AddTextCommand(const AddTextCommand &);
// methodes
public:
virtual void undo();
virtual void redo();
// attributs
private:
/// texte ajoute
DiagramTextItem *textitem;
/// schema sur lequel on ajoute le texte
Diagram *diagram;
/// position du texte sur le schema
QPointF position;
};
/**
Cette classe represente l'action d'ajouter un conducteur au schema
*/
class AddConductorCommand : public QUndoCommand {
// constructeurs, destructeur
public:
AddConductorCommand(Diagram *, Conductor *, QUndoCommand * = 0);
virtual ~AddConductorCommand();
private:
AddConductorCommand(const AddConductorCommand &);
// methodes
public:
virtual void undo();
virtual void redo();
// attributs
private:
/// conducteur ajoute
Conductor *conductor;
/// schema auquel on ajoute le conducteur
Diagram *diagram;
};
/**
Cette classe represente l'action de supprimer des elements et / ou
conducteurs d'un schema
*/
class DeleteElementsCommand : public QUndoCommand {
// constructeurs, destructeur
public:
DeleteElementsCommand(Diagram *, const DiagramContent &, QUndoCommand * = 0);
virtual ~DeleteElementsCommand();
private:
DeleteElementsCommand(const DeleteElementsCommand &);
// methodes
public:
virtual void undo();
virtual void redo();
// attributs
private:
/// contenu enleve
DiagramContent removed_content;
/// schema dont on supprime des elements et conducteurs
Diagram *diagram;
};
/**
Cette classe represente l'action de coller quelque chose sur un schema
*/
class PasteDiagramCommand : public QUndoCommand {
// constructeurs, destructeur
public:
PasteDiagramCommand(Diagram *, const DiagramContent &, QUndoCommand * = 0);
virtual ~PasteDiagramCommand();
private:
PasteDiagramCommand(const PasteDiagramCommand &);
// methodes
public:
virtual void undo();
virtual void redo();
// attributs
private:
/// contenu ajoute
DiagramContent content;
/// schema sur lequel on colle les elements et conducteurs
Diagram *diagram;
/// entien pour filtrer le contenu du schema
int filter;
/// booleen pour empecher le premier appel a redo
bool first_redo;
};
/**
Cette classe represente l'action de supprimer des elements et / ou
conducteurs d'un schema
*/
class CutDiagramCommand : public DeleteElementsCommand {
// constructeurs, destructeur
public:
CutDiagramCommand(Diagram *, const DiagramContent &, QUndoCommand * = 0);
virtual ~CutDiagramCommand();
private:
CutDiagramCommand(const CutDiagramCommand &);
};
/**
Cette classe represente l'action de deplacer des elements et des
conducteurs sur un schema
*/
class MoveElementsCommand : public QUndoCommand {
// constructeurs, destructeur
public:
MoveElementsCommand(Diagram *, const DiagramContent &, const QPointF &m, QUndoCommand * = 0);
virtual ~MoveElementsCommand();
private:
MoveElementsCommand(const MoveElementsCommand &);
// methodes
public:
virtual void undo();
virtual void redo();
virtual void move(const QPointF &);
// attributs
private:
/// schema sur lequel on deplace les elements
Diagram *diagram;
/// contenu a deplacer
DiagramContent content_to_move;
/// mouvement effectue
QPointF movement;
/// booleen pour ne pas executer le premier redo()
bool first_redo;
};
/**
Cette classe represente la modification d'un champ de texte
*/
class ChangeDiagramTextCommand : public QUndoCommand {
// constructeurs, destructeur
public:
ChangeDiagramTextCommand(DiagramTextItem *, const QString &before, const QString &after, QUndoCommand * = 0);
virtual ~ChangeDiagramTextCommand();
private:
ChangeDiagramTextCommand(const ChangeDiagramTextCommand &);
// methodes
public:
virtual void undo();
virtual void redo();
// attributs
private:
/// DiagramTextItem modifie
DiagramTextItem *text_item;
/// texte avant changement
QString text_before;
/// texte apres changement
QString text_after;
/// booleen pour ne pas executer le premier redo()
bool first_redo;
};
/**
Cette classe represente l'action de pivoter plusieurs elements
*/
class RotateElementsCommand : public QUndoCommand {
// constructeurs, destructeur
public:
RotateElementsCommand(const QHash<Element *, QET::Orientation> &elements, QUndoCommand * = 0);
virtual ~RotateElementsCommand();
private:
RotateElementsCommand(const RotateElementsCommand &);
// methodes
public:
virtual void undo();
virtual void redo();
// attributs
private:
/// elements pivotes associes a leur ancienne orientation
QHash<Element *, QET::Orientation> elements_to_rotate;
};
/**
Cette classe represente l'action de modifier un conducteur
*/
class ChangeConductorCommand : public QUndoCommand {
// constructeurs, destructeur
public:
ChangeConductorCommand(Conductor *, const ConductorProfile &, const ConductorProfile &, Qt::Corner, QUndoCommand * = 0);
virtual ~ChangeConductorCommand();
private:
ChangeConductorCommand(const ChangeConductorCommand &);
// methodes
public:
virtual void undo();
virtual void redo();
// attributs
private:
/// conducteur modifie
Conductor *conductor;
/// profil avant changement
ConductorProfile old_profile;
/// profil apres changement
ConductorProfile new_profile;
/// Type de trajet
Qt::Corner path_type;
/// booleen pour ne pas executer le premier redo()
bool first_redo;
};
/**
Cette classe represente l'action de reinitialiser des conducteurs
*/
class ResetConductorCommand : public QUndoCommand {
// constructeurs, destructeur
public:
ResetConductorCommand(const QHash<Conductor *, ConductorProfilesGroup> &, QUndoCommand * = 0);
virtual ~ResetConductorCommand();
private:
ResetConductorCommand(const ResetConductorCommand &);
// methodes
public:
virtual void undo();
virtual void redo();
// attributs
private:
/// conducteurs reinitialises associes a leur ancien profil
QHash<Conductor *, ConductorProfilesGroup> conductors_profiles;
};
/**
Cette classe represente l'action de modifier les informations du cartouche d'un schema
*/
class ChangeInsetCommand : public QUndoCommand {
// constructeurs, destructeur
public:
ChangeInsetCommand(Diagram *, const InsetProperties &, const InsetProperties &, QUndoCommand * = 0);
virtual ~ChangeInsetCommand();
private:
ChangeInsetCommand(const ChangeInsetCommand &);
// methodes
public:
virtual void undo();
virtual void redo();
// attributs
private:
/// schema modifie
Diagram *diagram;
/// proprietes avant changement
InsetProperties old_inset;
/// proprietes apres changement
InsetProperties new_inset;
};
/**
Cette classe represente l'action de modifier :
-le nombre de colonnes d'un schema
-la hauteur des colonnes
-la largeur des colonnes
-la hauteur des en-tetes des colonnes
*/
class ChangeBorderCommand : public QUndoCommand {
// constructeurs, destructeur
public:
ChangeBorderCommand(Diagram *, QUndoCommand * = 0);
virtual ~ChangeBorderCommand();
private:
ChangeBorderCommand(const ChangeBorderCommand &);
// methodes
public:
virtual void undo();
virtual void redo();
private:
virtual void applyChanges(int = 1);
// attributs
private:
/// schema modifie
Diagram *diagram;
public:
/// nombre de colonnes ajoutees / enlevees
int columnsCountDifference;
/// delta pour la hauteur des colonnes
qreal columnsHeightDifference;
/// delta pour la largeur des colonnes
qreal columnsWidthDifference;
/// delta pour la hauteur des entetes des colonnes
qreal headersHeightDifference;
};
/**
Cette classe represente l'action de modifier les proprietes d'un conducteur
*/
class ChangeConductorPropertiesCommand : public QUndoCommand {
// constructeurs, destructeur
public:
ChangeConductorPropertiesCommand(Conductor *, QUndoCommand * = 0);
virtual ~ChangeConductorPropertiesCommand();
private:
ChangeConductorPropertiesCommand(const ChangeConductorPropertiesCommand &);
// methodes
public:
virtual void undo();
virtual void redo();
virtual void setOldSettings(const ConductorProperties &);
virtual void setNewSettings(const ConductorProperties &);
// attributs
private:
/// conducteur modifie
Conductor *conductor;
/// anciennes proprietes
ConductorProperties old_properties;
/// nouvelles proprietes
ConductorProperties new_properties;
/// booleens indiquant si les proprietes ont ete definies ou non
bool old_settings_set;
bool new_settings_set;
};
#endif

View File

@@ -1,130 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "diagramcontent.h"
#include <QGraphicsItem>
#include "element.h"
#include "diagramtextitem.h"
#include "conductor.h"
/**
Constructeur par defaut. Ne contient rien.
*/
DiagramContent::DiagramContent() {
}
/**
Constructeur de copie.
*/
DiagramContent::DiagramContent(const DiagramContent &other) :
elements(other.elements),
textFields(other.textFields),
conductorsToUpdate(other.conductorsToUpdate),
conductorsToMove(other.conductorsToMove),
otherConductors(other.otherConductors)
{
}
/**
Constructeur
*/
DiagramContent::~DiagramContent() {
}
/**
@param filter Types de conducteurs desires
@return tous les conducteurs
*/
QList<Conductor *> DiagramContent::conductors(int filter) const {
QList<Conductor *> result;
if (filter & ConductorsToMove) result += conductorsToMove;
if (filter & ConductorsToUpdate) result += conductorsToUpdate.keys();
if (filter & OtherConductors) result += otherConductors;
return(result);
}
/**
Vide le conteneur
*/
void DiagramContent::clear() {
elements.clear();
textFields.clear();
conductorsToUpdate.clear();
conductorsToMove.clear();
otherConductors.clear();
}
/**
@param filter Types desires
@return la liste des items formant le contenu du schema
*/
QList<QGraphicsItem *> DiagramContent::items(int filter) const {
QList<QGraphicsItem *> items_list;
foreach(QGraphicsItem *qgi, conductors(filter)) items_list << qgi;
if (filter & Elements) foreach(QGraphicsItem *qgi, elements) items_list << qgi;
if (filter & TextFields) foreach(QGraphicsItem *qgi, textFields) items_list << qgi;
return(items_list);
}
/**
@param filter Types desires
@return le nombre d'items formant le contenu du schema
*/
int DiagramContent::count(int filter) const {
int count = 0;
if (filter & Elements) count += elements.count();
if (filter & TextFields) count += textFields.count();
if (filter & ConductorsToMove) count += conductorsToMove.count();
if (filter & ConductorsToUpdate) count += conductorsToUpdate.count();
if (filter & OtherConductors) count += otherConductors.count();
return(count);
}
/**
Permet de composer rapidement la proposition "x elements, y conducteurs et
z champs de texte".
@param filter Types desires
@return la proposition decrivant le contenu.
*/
QString DiagramContent::sentence(int filter) const {
int elements_count = (filter & Elements) ? elements.count() : 0;
int conductors_count = conductors(filter).count();
int textfields_count = (filter & TextFields) ? textFields.count() : 0;
return(
QET::ElementsAndConductorsSentence(
elements_count,
conductors_count,
textfields_count
)
);
}
/**
Permet de debugger un contenu de schema
@param d Object QDebug a utiliser pour l'affichage des informations de debug
@param c Contenu de schema a debugger
*/
QDebug &operator<<(QDebug d, DiagramContent &c) {
d << "DiagramContent {" << "\n";
d << " elements :" << c.elements << "\n";
d << " conductorsToUpdate :" << c.conductorsToUpdate.keys() << "\n";
d << " conductorsToMove :" << c.conductorsToMove << "\n";
d << " otherConductors :" << c.otherConductors << "\n";
d << "}";
return(d.space());
}

View File

@@ -1,70 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef DIAGRAM_CONTENT_H
#define DIAGRAM_CONTENT_H
#include <QtGui>
class Conductor;
class Element;
class Terminal;
class DiagramTextItem;
/**
Cette classe est un conteneur pour passer facilement le contenu d'un schema
a une fonction. Il permet d'acceder rapidement aux differents types de
composants que l'on peut trouver sur un schema, comme les elements, les
champs de texte, les conducteurs (a deplacer ou a mettre a jour, en cas de
deplacements), etc.
A noter que ce container ne contient pas systematiquement l'integralite
d'un schema. Il peut n'en contenir qu'une partie, typiquement les
composants selectionnes.
*/
class DiagramContent {
public:
DiagramContent();
DiagramContent(const DiagramContent &);
~DiagramContent();
/// Permet de filtrer facilement les differentes parties d'un schema
enum Filter {
Elements = 1,
TextFields = 2,
ConductorsToMove = 4,
ConductorsToUpdate = 8,
OtherConductors = 16,
AnyConductor = 28,
All = 31
};
/// Elements de texte du schema
QList<Element *> elements;
/// Champs de texte du schema
QList<DiagramTextItem *> textFields;
/// Conducteurs a mettre a jour du schema
QHash<Conductor *, Terminal *> conductorsToUpdate;
/// Conducteurs a deplacer du schema
QList<Conductor *> conductorsToMove;
/// Conducteurs isoles (ni a deplacer, ni a mettre a jour)
QList<Conductor *> otherConductors;
QList<Conductor *> conductors(int = AnyConductor) const;
QList<QGraphicsItem *> items(int = All) const;
QString sentence(int = All) const;
int count(int = All) const;
void clear();
};
QDebug &operator<<(QDebug, DiagramContent &);
#endif

View File

@@ -1,302 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "diagramprintdialog.h"
#include <math.h>
/**
Constructeur
@param dia Schema a imprimer
@param printer Imprimante a utiliser
@param parent Widget parent du dialogue
*/
DiagramPrintDialog::DiagramPrintDialog(Diagram *dia, QWidget *parent) :
QWidget(parent),
diagram(dia),
dialog(0)
{
// initialise l'imprimante
printer = new QPrinter();
}
/**
Destructeur
*/
DiagramPrintDialog::~DiagramPrintDialog() {
delete dialog;
delete printer;
}
/**
Definit le nom du PDF si l'utilisateur choisit une sortie vers un PDF
*/
void DiagramPrintDialog::setPDFName(const QString &name) {
pdf_name = name;
}
/**
@return le nom du PDF
*/
QString DiagramPrintDialog::PDFName() const {
return(pdf_name);
}
/**
Execute le dialogue d'impression
*/
void DiagramPrintDialog::exec() {
// affichage du dialogue d'impression standard
QPrintDialog print_dialog(printer);
print_dialog.setEnabledOptions(QAbstractPrintDialog::PrintToFile);
#ifndef Q_OS_WIN32
if (!pdf_name.isEmpty()) printer -> setOutputFileName(pdf_name);
#endif
if (print_dialog.exec() == QDialog::Rejected) return;
/*
Apres l'execution de ce premier dialogue, on connait le format papier a
utiliser, son orientation et on est sur que tout cela est supporte par
l'imprimante.
On peut donc en deduire le nombre de pages a imprimer
*/
// affichage d'un second dialogue, non standard, pour connaitre les pages a imprimer
buildDialog();
if (dialog -> exec() == QDialog::Rejected) return;
// effectue l'impression en elle-meme
print();
}
/**
@param fullPage true pour utiliser toute la feuille dans le calcul
@return Le nombre de pages necessaires pour imprimer le schema
avec l'orientation et le format papier utilise dans l'imprimante en cours.
*/
int DiagramPrintDialog::pagesCount(bool fullpage) const {
return(horizontalPagesCount(fullpage) * verticalPagesCount(fullpage));
}
/**
@param fullPage true pour utiliser toute la feuille dans le calcul
@return La largeur du "poster" en nombre de pages pour imprimer le schema
avec l'orientation et le format papier utilise dans l'imprimante en cours.
*/
int DiagramPrintDialog::horizontalPagesCount(bool fullpage) const {
// note : pageRect et Paper Rect tiennent compte de l'orientation du papier
QRect printable_area = fullpage ? printer -> paperRect() : printer -> pageRect();
QRect diagram_rect = diagram -> border().toRect();
int h_pages_count = int(ceil(qreal(diagram_rect.width()) / qreal(printable_area.width())));
return(h_pages_count);
}
/**
@param fullPage true pour utiliser toute la feuille dans le calcul
@return La largeur du "poster" en nombre de pages pour imprimer le schema
avec l'orientation et le format papier utilise dans l'imprimante en cours.
*/
int DiagramPrintDialog::verticalPagesCount(bool fullpage) const {
// note : pageRect et Paper Rect tiennent compte de l'orientation du papier
QRect printable_area = fullpage ? printer -> paperRect() : printer -> pageRect();
QRect diagram_rect = diagram -> border().toRect();
int v_pages_count = int(ceil(qreal(diagram_rect.height()) / qreal(printable_area.height())));
return(v_pages_count);
}
/**
Construit un dialogue non standard pour demander les pages a imprimer a l'utilisateur
*/
void DiagramPrintDialog::buildDialog() {
dialog = new QDialog();
dialog -> setWindowTitle(tr("Options d'impression"));
options_label = new QLabel();
use_full_page = new QCheckBox(tr("Utiliser toute la feuille"));
fit_diagram_to_page = new QCheckBox(tr("Adapter le sch\351ma \340 la page"));
range_from_label = new QLabel(tr("Plage de "));
start_page = new QSpinBox();
to_label = new QLabel(tr(" \340 "));
end_page = new QSpinBox();
buttons = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
QHBoxLayout *pages_layout = new QHBoxLayout();
pages_layout -> addWidget(range_from_label);
pages_layout -> addWidget(start_page);
pages_layout -> addWidget(to_label);
pages_layout -> addWidget(end_page);
QVBoxLayout *dialog_layout = new QVBoxLayout(dialog);
dialog_layout -> addWidget(options_label);
dialog_layout -> addWidget(use_full_page);
dialog_layout -> addWidget(fit_diagram_to_page);
dialog_layout -> addLayout(pages_layout);
dialog_layout -> addStretch();
dialog_layout -> addWidget(buttons);
connect(use_full_page, SIGNAL(stateChanged(int)), this, SLOT(updateDialog()));
connect(fit_diagram_to_page, SIGNAL(stateChanged(int)), this, SLOT(updateDialog()));
connect(start_page, SIGNAL(valueChanged(int)), this, SLOT(checkStartPage()));
connect(end_page, SIGNAL(valueChanged(int)), this, SLOT(checkEndPage()));
connect(buttons, SIGNAL(accepted()), dialog, SLOT(accept()));
connect(buttons, SIGNAL(rejected()), dialog, SLOT(reject()));
updateDialog();
}
/**
Assure la coherence du dialogue
*/
void DiagramPrintDialog::updateDialog() {
int pages_count;
// si on adapte le schema a la page, alors il n'y a qu'une page a imprimer
if (fit_diagram_to_page -> isChecked()) {
pages_count = 1;
} else {
pages_count = pagesCount(use_full_page -> isChecked());
}
options_label -> setText(tr("Nombre total de pages : ") + QString("%1").arg(pages_count));
setPagesRangeVisible(pages_count > 1);
start_page -> setRange(1, pages_count);
end_page -> setRange(1, pages_count);
end_page -> setValue(pages_count);
}
/**
S'assure que la premiere page ne soit pas superieure a la derniere page
*/
void DiagramPrintDialog::checkStartPage() {
if (start_page -> value() > end_page -> value()) {
start_page -> blockSignals(true);
start_page -> setValue(end_page -> value());
start_page -> blockSignals(false);
}
}
/**
S'assure que la derniere page ne soit pas inferieure a la premiere page
*/
void DiagramPrintDialog::checkEndPage() {
if (end_page -> value() < start_page -> value()) {
end_page -> blockSignals(true);
end_page -> setValue(start_page -> value());
end_page -> blockSignals(false);
}
}
/**
@param visible true pour afficher les pages, false sinon
*/
void DiagramPrintDialog::setPagesRangeVisible(bool visible) {
range_from_label -> setVisible(visible);
start_page -> setVisible(visible);
to_label -> setVisible(visible);
end_page -> setVisible(visible);
}
/**
Effectue l'impression elle-meme
*/
void DiagramPrintDialog::print() {
// recupere les informations collectees dans le second dialogue
bool full_page = use_full_page -> isChecked();
bool fit_page = fit_diagram_to_page -> isChecked();
int first_page = start_page -> value();
int last_page = end_page -> value();
// parametre l'imprimante
printer -> setFullPage(full_page);
// QPainter utiliser pour effectuer le rendu
QPainter qp(printer);
// impression physique (!= fichier PDF)
if (printer -> outputFileName().isEmpty()) {
// lorsqu'on imprime en paysage sur imprimante reelle, il faut pivoter soi-meme le rendu
if (printer -> orientation() == QPrinter::Landscape) {
qp.rotate(90.0);
qp.translate(0.0, -printer -> pageRect().height());
}
}
diagram -> setDisplayGrid(false);
diagram -> setDrawTerminals(false);
if (fit_page) {
// impression adaptee sur une seule page
diagram -> render(&qp, QRectF(), diagram -> border(), Qt::KeepAspectRatio);
} else {
// impression sur une ou plusieurs pages
QRect diagram_rect = diagram -> border().toRect();
QRect printed_area = full_page ? printer -> paperRect() : printer -> pageRect();
int used_width = printed_area.width();
int used_height = printed_area.height();
int h_pages_count = horizontalPagesCount(full_page);
int v_pages_count = verticalPagesCount(full_page);
QVector< QVector< QRect > > pages_grid;
// le schema est imprime sur une matrice de feuilles
// parcourt les lignes de la matrice
int y_offset = 0;
for (int i = 0 ; i < v_pages_count ; ++ i) {
pages_grid << QVector< QRect >();
// parcourt les feuilles de la ligne
int x_offset = 0;
for (int j = 0 ; j < h_pages_count ; ++ j) {
pages_grid.last() << QRect(
QPoint(x_offset, y_offset),
QSize(
qMin(used_width, diagram_rect.width() - x_offset),
qMin(used_height, diagram_rect.height() - y_offset)
)
);
x_offset += used_width;
}
y_offset += used_height;
}
// ne retient que les pages a imprimer
QVector<QRect> pages_to_print;
for (int i = 0 ; i < v_pages_count ; ++ i) {
for (int j = 0 ; j < h_pages_count ; ++ j) {
int page_number = (i * h_pages_count) + j + 1;
if (page_number >= first_page && page_number <= last_page) {
pages_to_print << pages_grid.at(i).at(j);
}
}
}
// parcourt les pages pour impression
for (int i = 0 ; i < pages_to_print.count() ; ++ i) {
QRect current_rect(pages_to_print.at(i));
diagram -> render(
&qp,
QRect(QPoint(0,0), current_rect.size()),
current_rect.translated(diagram_rect.topLeft()),
Qt::KeepAspectRatio
);
if (i != pages_to_print.count() - 1) {
printer -> newPage();
}
}
}
diagram -> setDrawTerminals(true);
diagram -> setDisplayGrid(true);
}

View File

@@ -1,71 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef DIAGRAM_PRINT_DIALOG_H
#define DIAGRAM_PRINT_DIALOG_H
#include <QtGui>
#include "diagram.h"
/**
Cette classe represente le dialogue de configuration de l'impression d'un
schema electrique.
Elle se charge egalement de l'impression elle-meme
*/
class DiagramPrintDialog : public QWidget {
Q_OBJECT
// Constructeurs, destructeur
public:
DiagramPrintDialog(Diagram *, QWidget * = 0);
virtual ~DiagramPrintDialog();
private:
DiagramPrintDialog(const DiagramPrintDialog &);
// methodes
public:
void setPDFName(const QString &);
QString PDFName() const;
int pagesCount(bool = false) const;
int horizontalPagesCount(bool = false) const;
int verticalPagesCount(bool = false) const;
void exec();
private:
void buildDialog();
void print();
private slots:
void updateDialog();
void checkStartPage();
void checkEndPage();
void setPagesRangeVisible(bool);
// attributs
private:
Diagram *diagram;
QPrinter *printer;
QString pdf_name;
QDialog *dialog;
QLabel *options_label;
QLabel *range_from_label;
QLabel *to_label;
QCheckBox *use_full_page;
QCheckBox *fit_diagram_to_page;
QSpinBox *start_page;
QSpinBox *end_page;
QDialogButtonBox *buttons;
};
#endif

View File

@@ -1,200 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "diagramtextitem.h"
#include "diagramcommands.h"
/**
Constructeur
@param parent Le QGraphicsItem parent du champ de texte
@param scene La scene a laquelle appartient le champ de texte
*/
DiagramTextItem::DiagramTextItem(QGraphicsItem *parent, QGraphicsScene *scene) :
QGraphicsTextItem(parent, scene)
{
setDefaultTextColor(Qt::black);
setFlags(QGraphicsItem::ItemIsSelectable|QGraphicsItem::ItemIsMovable);
connect(this, SIGNAL(lostFocus()), this, SLOT(setNonFocusable()));
}
/**
Constructeur
@param parent Le QGraphicsItem parent du champ de texte
@param scene La scene a laquelle appartient le champ de texte
@param text Le texte affiche par le champ de texte
*/
DiagramTextItem::DiagramTextItem(const QString &text, QGraphicsItem *parent, QGraphicsScene *scene) :
QGraphicsTextItem(text, parent, scene),
previous_text(text)
{
setDefaultTextColor(Qt::black);
setFlags(QGraphicsItem::ItemIsSelectable|QGraphicsItem::ItemIsMovable);
connect(this, SIGNAL(lostFocus()), this, SLOT(setNonFocusable()));
}
/// Destructeur
DiagramTextItem::~DiagramTextItem() {
}
/// @return le Diagram auquel ce texte appartient, ou 0 si ce texte est independant
Diagram *DiagramTextItem::diagram() const {
return(qobject_cast<Diagram *>(scene()));
}
/**
gere la perte de focus du champ de texte
*/
void DiagramTextItem::focusOutEvent(QFocusEvent *e) {
QGraphicsTextItem::focusOutEvent(e);
// si le texte a ete modifie
if (toPlainText() != previous_text) {
if (Diagram *dia = diagram()) {
dia -> undoStack().push(new ChangeDiagramTextCommand(this, previous_text, toPlainText()));
previous_text = toPlainText();
}
}
// deselectionne le texte
QTextCursor cursor = textCursor();
cursor.clearSelection();
setTextCursor(cursor);
if (flags() & QGraphicsItem::ItemIsMovable) {
// hack a la con pour etre re-entrant
setTextInteractionFlags(Qt::NoTextInteraction);
QTimer::singleShot(0, this, SIGNAL(lostFocus()));
}
}
/**
Permet de lire le texte a mettre dans le champ a partir d'un element XML.
Cette methode se base sur la position du champ pour assigner ou non la
valeur a ce champ.
@param e L'element XML representant le champ de texte
*/
void DiagramTextItem::fromXml(const QDomElement &e) {
setPos(e.attribute("x").toDouble(), e.attribute("y").toDouble());
setPlainText(e.attribute("text"));
previous_text = e.attribute("text");
}
/**
@param document Le document XML a utiliser
@return L'element XML representant ce champ de texte
*/
QDomElement DiagramTextItem::toXml(QDomDocument &document) const {
QDomElement result = document.createElement("input");
result.setAttribute("x", pos().x());
result.setAttribute("y", pos().y());
result.setAttribute("text", toPlainText());
return(result);
}
/**
Gere les double-clics sur ce champ de texte.
@param event un QGraphicsSceneMouseEvent decrivant le double-clic
*/
void DiagramTextItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event) {
if (flags() & QGraphicsItem::ItemIsMovable && !(textInteractionFlags() & Qt::TextEditable)) {
// rend le champ de texte editable
setTextInteractionFlags(Qt::TextEditorInteraction);
// simule un clic simple, ce qui edite le champ de texte
QGraphicsSceneMouseEvent *mouseEvent = new QGraphicsSceneMouseEvent(QEvent::GraphicsSceneMousePress);
mouseEvent -> setAccepted(true);
mouseEvent -> setPos(event -> pos());
mouseEvent -> setScenePos(event -> scenePos());
mouseEvent -> setScreenPos(event -> screenPos());
mouseEvent -> setButtonDownPos(Qt::LeftButton, event -> buttonDownPos(Qt::LeftButton));
mouseEvent -> setButtonDownScreenPos(Qt::LeftButton, event -> buttonDownScreenPos(Qt::LeftButton));
mouseEvent -> setButtonDownScenePos(Qt::LeftButton, event -> buttonDownScenePos(Qt::LeftButton));
mouseEvent -> setWidget(event -> widget());
QGraphicsTextItem::mousePressEvent(mouseEvent);
delete mouseEvent;
} else {
QGraphicsTextItem::mouseDoubleClickEvent(event);
}
}
/**
Gere les mouvements de souris lies au champ de texte
*/
void DiagramTextItem::mouseMoveEvent(QGraphicsSceneMouseEvent *e) {
if (textInteractionFlags() & Qt::TextEditable) {
QGraphicsTextItem::mouseMoveEvent(e);
} else if ((flags() & QGraphicsItem::ItemIsMovable) && (e -> buttons() & Qt::LeftButton)) {
QPointF oldPos = pos();
setPos(mapToParent(e -> pos()) - matrix().map(e -> buttonDownPos(Qt::LeftButton)));
if (Diagram *diagram_ptr = diagram()) {
diagram_ptr -> moveElements(pos() - oldPos, this);
}
} else e -> ignore();
}
/**
Gere le relachement de souris
Cette methode a ete reimplementee pour tenir a jour la liste des elements
et conducteurs a deplacer au niveau du schema.
*/
void DiagramTextItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *e) {
if (Diagram *diagram_ptr = diagram()) {
if ((flags() & QGraphicsItem::ItemIsMovable) && (!diagram_ptr -> current_movement.isNull())) {
diagram_ptr -> undoStack().push(
new MoveElementsCommand(
diagram_ptr,
diagram_ptr -> selectedContent(),
diagram_ptr -> current_movement
)
);
diagram_ptr -> current_movement = QPointF();
}
diagram_ptr -> invalidateMovedElements();
}
QGraphicsTextItem::mouseReleaseEvent(e);
}
/**
Change la position du champ de texte en veillant a ce qu'il
reste sur la grille du schema auquel il appartient.
@param p Nouvelles coordonnees de l'element
*/
void DiagramTextItem::setPos(const QPointF &p) {
if (p == pos()) return;
// pas la peine de positionner sur la grille si l'element n'est pas sur un Diagram
if (scene()) {
// arrondit l'abscisse a 10 px pres
int p_x = qRound(p.x() / (Diagram::xGrid * 1.0)) * Diagram::xGrid;
// arrondit l'ordonnee a 10 px pres
int p_y = qRound(p.y() / (Diagram::yGrid * 1.0)) * Diagram::yGrid;
QGraphicsTextItem::setPos(p_x, p_y);
} else QGraphicsTextItem::setPos(p);
}
/**
Change la position du champ de texte en veillant a ce que l'il
reste sur la grille du schema auquel il appartient.
@param x Nouvelle abscisse de l'element
@param y Nouvelle ordonnee de l'element
*/
void DiagramTextItem::setPos(qreal x, qreal y) {
setPos(QPointF(x, y));
}
/// Rend le champ de texte non focusable
void DiagramTextItem::setNonFocusable() {
setFlag(QGraphicsTextItem::ItemIsFocusable, false);
}

View File

@@ -1,67 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef DIAGRAM_TEXT_ITEM_H
#define DIAGRAM_TEXT_ITEM_H
#include <QtGui>
#include "diagram.h"
/**
Cette classe represente un champ de texte editable sur le schema.
*/
class DiagramTextItem : public QGraphicsTextItem {
Q_OBJECT
// constructeurs, destructeur
public:
DiagramTextItem(QGraphicsItem * = 0, QGraphicsScene * = 0);
DiagramTextItem(const QString &, QGraphicsItem * = 0, QGraphicsScene * = 0);
virtual ~DiagramTextItem();
// attributs
public:
enum { Type = UserType + 1004 };
/// Texte precedent
QString previous_text;
// methodes
public:
/**
Cette methode permet d'utiliser qgraphicsitem_cast sur cet objet
@return le type de QGraphicsItem
*/
virtual int type() const { return Type; }
Diagram *diagram() const;
virtual void fromXml(const QDomElement &);
virtual QDomElement toXml(QDomDocument &) const;
virtual void setPos(const QPointF &);
virtual void setPos(qreal, qreal);
protected:
virtual void focusOutEvent(QFocusEvent *);
virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *);
virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *);
virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *);
// signaux
signals:
/// signal emis lorsque le champ de texte perd le focus
void lostFocus();
// slots
public slots:
void setNonFocusable();
};
#endif

View File

@@ -1,950 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "diagramview.h"
#include "diagram.h"
#include "customelement.h"
#include "exportdialog.h"
#include "diagramprintdialog.h"
#include "conductor.h"
#include "diagramcommands.h"
#include "conductorpropertieswidget.h"
#include "insetpropertieswidget.h"
/**
Constructeur
@param parent Le QWidegt parent de cette vue de schema
*/
DiagramView::DiagramView(QWidget *parent) : QGraphicsView(parent), is_adding_text(false) {
setInteractive(true);
setCacheMode(QGraphicsView::CacheBackground);
setOptimizationFlags(QGraphicsView::DontSavePainterState|QGraphicsView::DontAdjustForAntialiasing);
// active l'antialiasing
setRenderHint(QPainter::Antialiasing, true);
setRenderHint(QPainter::TextAntialiasing, true);
setRenderHint(QPainter::SmoothPixmapTransform, true);
setScene(scene = new Diagram(this));
scene -> undoStack().setClean();
setDragMode(RubberBandDrag);
setAcceptDrops(true);
setWindowIcon(QIcon(":/ico/qet-16.png"));
setTransformationAnchor(QGraphicsView::AnchorUnderMouse);
setResizeAnchor(QGraphicsView::AnchorUnderMouse);
setAlignment(Qt::AlignLeft | Qt::AlignTop);
adjustSceneRect();
updateWindowTitle();
context_menu = new QMenu(this);
paste_here = new QAction(QIcon(":/ico/paste.png"), tr("Coller ici"), this);
connect(paste_here, SIGNAL(triggered()), this, SLOT(pasteHere()));
connect(scene, SIGNAL(selectionEmptinessChanged()), this, SIGNAL(selectionChanged()));
connect(&(scene -> border_and_inset), SIGNAL(borderChanged(QRectF, QRectF)), this, SLOT(adjustSceneRect()));
connect(&(scene -> undoStack()), SIGNAL(cleanChanged(bool)), this, SLOT(updateWindowTitle()));
}
/**
Destructeur
*/
DiagramView::~DiagramView() {
}
/**
appelle la methode select sur tous les elements de la liste d'elements
*/
void DiagramView::selectAll() {
if (scene -> items().isEmpty()) return;
QPainterPath path;
path.addRect(scene -> itemsBoundingRect());
scene -> setSelectionArea(path);
}
/**
appelle la methode deselect sur tous les elements de la liste d'elements
*/
void DiagramView::selectNothing() {
if (scene -> items().isEmpty()) return;
scene -> clearSelection();
}
/**
Inverse l'etat de selection de tous les elements de la liste d'elements
*/
void DiagramView::selectInvert() {
if (scene -> items().isEmpty()) return;
foreach (QGraphicsItem *item, scene -> items()) item -> setSelected(!item -> isSelected());
}
/**
Supprime les composants selectionnes
*/
void DiagramView::deleteSelection() {
DiagramContent removed_content = scene -> selectedContent();
scene -> clearSelection();
scene -> undoStack().push(new DeleteElementsCommand(scene, removed_content));
adjustSceneRect();
}
/**
Pivote les composants selectionnes
*/
void DiagramView::rotateSelection() {
QHash<Element *, QET::Orientation> elements_to_rotate;
foreach (QGraphicsItem *item, scene -> selectedItems()) {
if (Element *e = qgraphicsitem_cast<Element *>(item)) {
elements_to_rotate.insert(e, e -> orientation().current());
}
}
if (elements_to_rotate.isEmpty()) return;
scene -> undoStack().push(new RotateElementsCommand(elements_to_rotate));
}
/**
accepte ou refuse le drag'n drop en fonction du type de donnees entrant
@param e le QDragEnterEvent correspondant au drag'n drop tente
*/
void DiagramView::dragEnterEvent(QDragEnterEvent *e) {
if (e -> mimeData() -> hasFormat("text/plain")) e -> acceptProposedAction();
else e-> ignore();
}
/**
gere les dragleaveevent
@param e le QDragEnterEvent correspondant au drag'n drop sortant
*/
void DiagramView::dragLeaveEvent(QDragLeaveEvent *) {
}
/**
accepte ou refuse le drag'n drop en fonction du type de donnees entrant
@param e le QDragMoveEvent correspondant au drag'n drop tente
*/
void DiagramView::dragMoveEvent(QDragMoveEvent *e) {
if (e -> mimeData() -> hasFormat("text/plain")) e -> acceptProposedAction();
else e-> ignore();
}
/**
gere les depots (drop) acceptes sur le Diagram
@param e le QDropEvent correspondant au drag'n drop effectue
*/
void DiagramView::dropEvent(QDropEvent *e) {
QString fichier = e -> mimeData() -> text();
int etat;
Element *el = new CustomElement(fichier, 0, 0, &etat);
if (etat) delete el;
else {
diagram() -> undoStack().push(new AddElementCommand(diagram(), el, mapToScene(e -> pos())));
adjustSceneRect();
}
}
/**
Passe le Diagram en mode visualisation
*/
void DiagramView::setVisualisationMode() {
setDragMode(ScrollHandDrag);
setInteractive(false);
emit(modeChanged());
}
/**
Passe le Diagram en mode Selection
*/
void DiagramView::setSelectionMode() {
setDragMode(RubberBandDrag);
setInteractive(true);
emit(modeChanged());
}
/**
Agrandit le schema (+33% = inverse des -25 % de zoomMoins())
*/
void DiagramView::zoomIn() {
scale(4.0/3.0, 4.0/3.0);
adjustGridToZoom();
}
/**
Retrecit le schema (-25% = inverse des +33 % de zoomPlus())
*/
void DiagramView::zoomOut() {
scale(0.75, 0.75);
adjustGridToZoom();
}
/**
Agrandit ou rectrecit le schema de facon a ce que tous les elements du
schema soient visibles a l'ecran. S'il n'y a aucun element sur le schema,
le zoom est reinitialise
*/
void DiagramView::zoomFit() {
adjustSceneRect();
fitInView(sceneRect(), Qt::KeepAspectRatio);
adjustGridToZoom();
}
/**
Reinitialise le zoom
*/
void DiagramView::zoomReset() {
resetMatrix();
adjustGridToZoom();
}
/**
copie les elements selectionnes du schema dans le presse-papier puis les supprime
*/
void DiagramView::cut() {
copy();
DiagramContent cut_content = scene -> selectedContent();
scene -> clearSelection();
scene -> undoStack().push(new CutDiagramCommand(scene, cut_content));
}
/**
copie les elements selectionnes du schema dans le presse-papier
*/
void DiagramView::copy() {
QClipboard *presse_papier = QApplication::clipboard();
QString contenu_presse_papier = scene -> toXml(false).toString(4);
if (presse_papier -> supportsSelection()) presse_papier -> setText(contenu_presse_papier, QClipboard::Selection);
presse_papier -> setText(contenu_presse_papier);
}
/**
Importe les elements contenus dans le presse-papier dans le schema
@param pos coin superieur gauche (en coordonnees de la scene) du rectangle
englobant le contenu colle
@param clipboard_mode Type de presse-papier a prendre en compte
*/
void DiagramView::paste(const QPointF &pos, QClipboard::Mode clipboard_mode) {
QString texte_presse_papier = QApplication::clipboard() -> text(clipboard_mode);
if ((texte_presse_papier).isEmpty()) return;
QDomDocument document_xml;
if (!document_xml.setContent(texte_presse_papier)) return;
// objet pour recuperer le contenu ajoute au schema par le coller
DiagramContent content_pasted;
scene -> fromXml(document_xml, pos, false, &content_pasted);
// si quelque chose a effectivement ete ajoute au schema, on cree un objet d'annulation
if (content_pasted.count()) {
scene -> clearSelection();
scene -> undoStack().push(new PasteDiagramCommand(scene, content_pasted));
adjustSceneRect();
}
}
/// Colle le contenu du presse-papier sur le schema a la position de la souris
void DiagramView::pasteHere() {
paste(mapToScene(paste_here_pos));
}
/**
gere les clics et plus particulierement le clic du milieu (= coller pour X11)
*/
void DiagramView::mousePressEvent(QMouseEvent *e) {
if (e -> buttons() == Qt::MidButton) {
paste(mapToScene(e -> pos()), QClipboard::Selection);
} else {
if (is_adding_text && e -> buttons() == Qt::LeftButton) {
DiagramTextItem *dti = new DiagramTextItem();
dti -> setPlainText("_");
dti -> previous_text = "_";
scene -> undoStack().push(new AddTextCommand(scene, dti, e -> pos()));
adjustSceneRect();
is_adding_text = false;
emit(textAdded(false));
}
QGraphicsView::mousePressEvent(e);
}
}
/**
Ouvre un fichier *.qet dans cette DiagramView
@param n_fichier Nom du fichier a ouvrir
@param erreur Si le pointeur est specifie, cet entier est mis a 0 en cas de reussite de l'ouverture, 1 si le fichier n'existe pas, 2 si le fichier n'est pas lisible, 3 si le fichier n'est pas un element XML, 4 si l'ouverture du fichier a echoue pour une autre raison (c'est pas ca qui manque ^^)
@return true si l'ouverture a reussi, false sinon
*/
bool DiagramView::open(QString n_fichier, int *erreur) {
// verifie l'existence du fichier
if (!QFileInfo(n_fichier).exists()) {
if (erreur != NULL) *erreur = 1;
return(false);
}
// ouvre le fichier
QFile fichier(n_fichier);
if (!fichier.open(QIODevice::ReadOnly)) {
if (erreur != NULL) *erreur = 2;
return(false);
}
// lit son contenu dans un QDomDocument
QDomDocument document;
if (!document.setContent(&fichier)) {
if (erreur != NULL) *erreur = 3;
fichier.close();
return(false);
}
fichier.close();
/**
La notion de projet (ensemble de documents [schemas, nomenclatures,
...] et d'elements) n'est pas encore geree.
Toutefois, pour gerer au mieux la transition de la 0.1 a la 0.2,
les schemas enregistres (element XML "diagram") sont integres dans un
pseudo projet (element XML "project").
S'il y a plusieurs schemas dans un projet, tous les schemas seront
ouverts comme etant des fichiers separes
*/
// repere les schemas dans le fichier
QDomElement root = document.documentElement();
// cas 1 : l'element racine est un "diagram" : un seul schema, pas de probleme
if (root.tagName() == "diagram") {
// construit le schema a partir du QDomDocument
QDomDocument &doc = document;
if (scene -> fromXml(doc)) {
if (erreur != NULL) *erreur = 0;
file_name = n_fichier;
scene -> undoStack().setClean();
updateWindowTitle();
return(true);
} else {
if (erreur != NULL) *erreur = 4;
return(false);
}
// cas 2 : l'element racine est un "project"
} else if (root.tagName() == "project") {
// verifie basiquement que la version actuelle est capable de lire ce fichier
if (root.hasAttribute("version")) {
bool conv_ok;
qreal diagram_version = root.attribute("version").toDouble(&conv_ok);
if (conv_ok && QET::version.toDouble() < diagram_version) {
QMessageBox::warning(
0,
tr("Avertissement"),
tr("Ce document semble avoir \351t\351 enregistr\351 avec une "
"version ult\351rieure de QElectroTech. Il est possible que "
"l'ouverture de tout ou partie de ce document \351choue.")
);
}
}
// compte le nombre de schemas dans le projet
QList<QDomElement> diagrams;
QDomNodeList diagram_nodes = root.elementsByTagName("diagram");
for (uint i = 0 ; i < diagram_nodes.length() ; ++ i) {
if (diagram_nodes.at(i).isElement()) {
diagrams << diagram_nodes.at(i).toElement();
}
}
// il n'y aucun schema la-dedans
if (!diagrams.count()) {
if (erreur != NULL) *erreur = 4;
return(false);
} else {
bool keep_doc_name = diagrams.count() == 1;
bool current_dv_loaded = false;
for (int i = 0 ; i < diagrams.count() ; ++ i) {
// cree un QDomDocument representant le schema
QDomDocument diagram_doc;
diagram_doc.appendChild(diagram_doc.importNode(diagrams[i], true));
// charge le premier schema valide et cree de nouveau DiagramView pour les suivants
if (!current_dv_loaded) {
if (scene -> fromXml(diagram_doc)) {
if (keep_doc_name) file_name = n_fichier;
scene -> undoStack().setClean();
updateWindowTitle();
current_dv_loaded = true;
}
} else {
DiagramView *new_dv = new DiagramView(parentWidget());
if (new_dv -> scene -> fromXml(diagram_doc)) {
if (keep_doc_name) new_dv -> file_name = n_fichier;
new_dv -> scene -> undoStack().setClean();
new_dv -> updateWindowTitle();
diagramEditor() -> addDiagramView(new_dv);
} else {
delete(new_dv);
}
}
}
return(true);
}
} else {
if (erreur != NULL) *erreur = 4;
return(false);
}
}
/**
Gere la fermeture du schema.
@param event Le QCloseEvent decrivant l'evenement
*/
void DiagramView::closeEvent(QCloseEvent *event) {
bool retour;
// si le schema est modifie
if (!isWindowModified()) {
retour = true;
} else {
// demande d'abord a l'utilisateur s'il veut enregistrer le schema en cours
QMessageBox::StandardButton reponse = QMessageBox::question(
this,
tr("Enregistrer le sch\351ma en cours ?"),
tr("Voulez-vous enregistrer le sch\351ma ") + windowTitle() + tr(" ?"),
QMessageBox::Yes|QMessageBox::No|QMessageBox::Cancel,
QMessageBox::Cancel
);
switch(reponse) {
case QMessageBox::Cancel: retour = false; break; // l'utilisateur annule : echec de la fermeture
case QMessageBox::Yes: retour = save(); break; // l'utilisateur dit oui : la reussite depend de l'enregistrement
default: retour = true; // l'utilisateur dit non ou ferme le dialogue: c'est reussi
}
}
if (retour) {
event -> accept();
delete this;
} else event -> ignore();
}
/**
Methode enregistrant le schema dans le dernier nom de fichier connu.
Si aucun nom de fichier n'est connu, cette methode appelle la methode saveAs
@return true si l'enregistrement a reussi, false sinon
*/
bool DiagramView::save() {
if (file_name.isEmpty()) return(saveAs());
else return(saveDiagramToFile(file_name));
}
/**
Cette methode demande un nom de fichier a l'utilisateur pour enregistrer le schema
Si aucun nom n'est entre, elle renvoie faux.
Si le nom ne se termine pas par l'extension .qet, celle-ci est ajoutee.
Si l'enregistrement reussit, le nom du fichier est conserve et la fonction renvoie true.
Sinon, faux est renvoye.
@return true si l'enregistrement a reussi, false sinon
*/
bool DiagramView::saveAs() {
// demande un nom de fichier a l'utilisateur pour enregistrer le schema
QString n_fichier = QFileDialog::getSaveFileName(
this,
tr("Enregistrer sous"),
(file_name.isEmpty() ? QDir::homePath() : QDir(file_name)).absolutePath(),
tr("Sch\351ma QElectroTech (*.qet)")
);
// si aucun nom n'est entre, renvoie faux.
if (n_fichier.isEmpty()) return(false);
// si le nom ne se termine pas par l'extension .qet, celle-ci est ajoutee
if (!n_fichier.endsWith(".qet", Qt::CaseInsensitive)) n_fichier += ".qet";
// tente d'enregistrer le fichier
bool resultat_enregistrement = saveDiagramToFile(n_fichier);
// si l'enregistrement reussit, le nom du fichier est conserve
if (resultat_enregistrement) {
file_name = n_fichier;
updateWindowTitle();
}
// retourne un booleen representatif de la reussite de l'enregistrement
return(resultat_enregistrement);
}
/**
Gere les actions liees a la rollette de la souris
@param e QWheelEvent decrivant l'evenement rollette
*/
void DiagramView::wheelEvent(QWheelEvent *e) {
// si la touche Ctrl est enfoncee, on zoome / dezoome
if (e -> modifiers() & Qt::ControlModifier) {
if (e -> delta() > 0) {
zoomIn();
} else {
zoomOut();
}
} else {
QAbstractScrollArea::wheelEvent(e);
}
}
/**
Methode privee gerant l'enregistrement du fichier XML. S'il n'est pas possible
d'ecrire dans le fichier, cette fonction affiche un message d'erreur et renvoie false.
Autrement, elle renvoie true.
@param n_fichier Nom du fichier dans lequel l'arbre XML doit etre ecrit
@return true si l'enregistrement a reussi, false sinon
*/
bool DiagramView::saveDiagramToFile(QString &n_fichier) {
QFile fichier(n_fichier);
if (!fichier.open(QIODevice::WriteOnly | QIODevice::Text)) {
QMessageBox::warning(this, tr("Erreur"), tr("Impossible d'ecrire dans ce fichier"));
return(false);
}
QTextStream out(&fichier);
out.setCodec("UTF-8");
// l'export XML du schema est encapsule dans un pseudo-projet
QDomDocument final_document;
QDomElement project_root = final_document.createElement("project");
project_root.setAttribute("version", QET::version);
project_root.appendChild(final_document.importNode(scene -> toXml().documentElement(), true));
final_document.appendChild(project_root);
out << final_document.toString(4);
fichier.close();
scene -> undoStack().setClean();
return(true);
}
/**
Exporte le schema.
*/
void DiagramView::dialogExport() {
ExportDialog ed(scene, this);
ed.exec();
}
/**
Imprime le schema.
*/
void DiagramView::dialogPrint() {
// determine un nom possible pour le pdf
QString pdf_file_name;
if (!file_name.isEmpty()) {
pdf_file_name = file_name;
pdf_file_name.replace(QRegExp("\\.qet$", Qt::CaseInsensitive), "");
} else {
pdf_file_name = QDir::homePath() + tr("schema");
}
pdf_file_name += ".pdf";
DiagramPrintDialog print_dialog(scene, this);
print_dialog.setPDFName(pdf_file_name);
print_dialog.exec();
}
/**
Edite les informations du schema.
*/
void DiagramView::dialogEditInfos() {
// recupere le cartouche du schema
InsetProperties inset = scene -> border_and_inset.exportInset();
// recupere les dimensions du schema
int columns_count_value = scene -> border_and_inset.nbColumn();
int columns_width_value = qRound(scene -> border_and_inset.columnsWidth());
int columns_height_value = qRound(scene -> border_and_inset.columnsHeight());
// construit le dialogue
QDialog popup;
popup.setMinimumWidth(400);
popup.setWindowTitle(tr("Propri\351t\351s du sch\351ma"));
QGroupBox *diagram_size_box = new QGroupBox(tr("Dimensions du sch\351ma"), &popup);
QGridLayout diagram_size_box_layout(diagram_size_box);
QLabel *ds1 = new QLabel(tr("Colonnes :"));
QSpinBox *columns_count = new QSpinBox(diagram_size_box);
columns_count -> setMinimum(scene -> border_and_inset.minNbColumns());
columns_count -> setValue(columns_count_value);
QSpinBox *columns_width = new QSpinBox(diagram_size_box);
columns_width -> setMinimum(1);
columns_width -> setSingleStep(10);
columns_width -> setValue(columns_width_value);
columns_width -> setPrefix(tr("\327"));
columns_width -> setSuffix(tr("px"));
QLabel *ds2 = new QLabel(tr("Hauteur :"));
QSpinBox *columns_height = new QSpinBox(diagram_size_box);
columns_height -> setRange(qRound(scene -> border_and_inset.minColumnsHeight()), 10000);
columns_height -> setSingleStep(80);
columns_height -> setValue(columns_height_value);
diagram_size_box_layout.addWidget(ds1, 0, 0);
diagram_size_box_layout.addWidget(columns_count, 0, 1);
diagram_size_box_layout.addWidget(columns_width, 0, 2);
diagram_size_box_layout.addWidget(ds2, 1, 0);
diagram_size_box_layout.addWidget(columns_height, 1, 1);
diagram_size_box_layout.setColumnStretch(0, 1);
diagram_size_box_layout.setColumnStretch(1, 1);
diagram_size_box_layout.setColumnStretch(2, 1);
diagram_size_box_layout.setColumnStretch(3, 500);
InsetPropertiesWidget *inset_infos = new InsetPropertiesWidget(inset, false, &popup);
// boutons
QDialogButtonBox boutons(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
connect(&boutons, SIGNAL(accepted()), &popup, SLOT(accept()));
connect(&boutons, SIGNAL(rejected()), &popup, SLOT(reject()));
// ajout dans une disposition verticale
QVBoxLayout layout_v(&popup);
layout_v.addWidget(diagram_size_box);
layout_v.addWidget(inset_infos);
layout_v.addStretch();
layout_v.addWidget(&boutons);
// si le dialogue est accepte
if (popup.exec() == QDialog::Accepted) {
InsetProperties new_inset = inset_infos -> insetProperties();
// s'il y a des modifications au cartouche
if (new_inset != inset) {
scene -> undoStack().push(new ChangeInsetCommand(scene, inset, new_inset));
}
// s'il y a des modifications aux dimensions du schema
if (
columns_count_value != columns_count -> value() ||\
columns_width_value != columns_width -> value() ||\
columns_height_value != columns_height -> value()
) {
ChangeBorderCommand *cbc = new ChangeBorderCommand(scene);
cbc -> columnsCountDifference = columns_count -> value() - columns_count_value;
cbc -> columnsWidthDifference = columns_width -> value() - columns_width_value;
cbc -> columnsHeightDifference = columns_height -> value() - columns_height_value;
scene -> undoStack().push(cbc);
}
}
}
/**
@return true s'il y a des elements selectionnes sur le schema, false sinon
*/
bool DiagramView::hasSelectedItems() {
return(scene -> selectedItems().size() > 0);
}
/**
Ajoute une colonne au schema.
*/
void DiagramView::addColumn() {
ChangeBorderCommand *cbc = new ChangeBorderCommand(scene);
cbc -> columnsCountDifference = 1;
scene -> undoStack().push(cbc);
}
/**
Enleve une colonne au schema.
*/
void DiagramView::removeColumn() {
ChangeBorderCommand *cbc = new ChangeBorderCommand(scene);
cbc -> columnsCountDifference = -1;
scene -> undoStack().push(cbc);
}
/**
Agrandit le schema en hauteur
*/
void DiagramView::expand() {
ChangeBorderCommand *cbc = new ChangeBorderCommand(scene);
cbc -> columnsHeightDifference = 80.0;
scene -> undoStack().push(cbc);
}
/**
Retrecit le schema en hauteur
*/
void DiagramView::shrink() {
ChangeBorderCommand *cbc = new ChangeBorderCommand(scene);
cbc -> columnsHeightDifference = -80.0;
scene -> undoStack().push(cbc);
}
/**
Ajuste le sceneRect (zone du schema visualisee par le DiagramView) afin que
celui inclut a la fois les elements dans et en dehors du cadre et le cadre
lui-meme.
*/
void DiagramView::adjustSceneRect() {
QRectF old_scene_rect = sceneRect();
// rectangle delimitant l'ensemble des elements
QRectF elements_bounding_rect = scene -> itemsBoundingRect();
// rectangle contenant le cadre = colonnes + cartouche
QRectF border_bounding_rect = scene -> border().adjusted(-Diagram::margin, -Diagram::margin, Diagram::margin, Diagram::margin);
// ajuste la sceneRect
QRectF new_scene_rect = elements_bounding_rect.united(border_bounding_rect);
setSceneRect(new_scene_rect);
// met a jour la scene
scene -> update(old_scene_rect.united(new_scene_rect));
}
/**
Met a jour le titre du widget
*/
void DiagramView::updateWindowTitle() {
QString window_title;
if (file_name.isNull()) window_title += tr("nouveau sch\351ma");
else window_title += file_name;
window_title += "[*]";
setWindowTitle(window_title);
setWindowModified(!(scene -> undoStack().isClean()));
}
/**
Active ou desactive le dessin de grille selon la quantite de pixels affichee
*/
void DiagramView::adjustGridToZoom() {
QRectF viewed_scene = viewedSceneRect();
scene -> setDisplayGrid(viewed_scene.width() < 2000 || viewed_scene.height() < 2000);
}
/**
@return le rectangle du schema (classe Diagram) visualise par ce DiagramView
*/
QRectF DiagramView::viewedSceneRect() const {
// recupere la taille du widget viewport
QSize viewport_size = viewport() -> size();
// recupere la transformation viewport -> scene
QTransform view_to_scene = viewportTransform().inverted();
// mappe le coin superieur gauche et le coin inferieur droit de la viewport sur la scene
QPointF scene_left_top = view_to_scene.map(QPointF(0.0, 0.0));
QPointF scene_right_bottom = view_to_scene.map(QPointF(viewport_size.width(), viewport_size.height()));
// en deduit le rectangle visualise par la scene
return(QRectF(scene_left_top, scene_right_bottom));
}
/**
Affiche un dialogue permettant d'editer le conducteur selectionne.
Ne fait rien s'il y a 0 ou plusieurs conducteurs selectionnes.
*/
void DiagramView::editConductor() {
QList<Conductor *> selected_conductors(scene -> selectedConductors().toList());
// on ne peut editer qu'un conducteur a la fois
if (selected_conductors.count() != 1) return;
Conductor *edited_conductor = selected_conductors.first();
editConductor(edited_conductor);
}
/**
Edite le conducteur passe en parametre
@param edited_conductor Conducteur a editer
*/
void DiagramView::editConductor(Conductor *edited_conductor) {
if (!edited_conductor) return;
// initialise l'editeur de proprietes pour le conducteur
ConductorProperties old_properties = edited_conductor -> properties();
ConductorPropertiesWidget *cpw = new ConductorPropertiesWidget(old_properties);
// l'insere dans un dialogue
QDialog conductor_dialog;
conductor_dialog.setWindowTitle(tr("\311diter les propri\351t\351s d'un conducteur"));
QVBoxLayout *dialog_layout = new QVBoxLayout(&conductor_dialog);
dialog_layout -> addWidget(cpw);
dialog_layout -> addStretch();
QDialogButtonBox *dbb = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
dialog_layout -> addWidget(dbb);
connect(dbb, SIGNAL(accepted()), &conductor_dialog, SLOT(accept()));
connect(dbb, SIGNAL(rejected()), &conductor_dialog, SLOT(reject()));
// execute le dialogue et met a jour le conducteur
if (conductor_dialog.exec() == QDialog::Accepted) {
// recupere les nouvelles proprietes
ConductorProperties new_properties = cpw -> conductorProperties();
if (new_properties != old_properties) {
// initialise l'objet UndoCommand correspondant
ChangeConductorPropertiesCommand *ccpc = new ChangeConductorPropertiesCommand(edited_conductor);
ccpc -> setOldSettings(old_properties);
ccpc -> setNewSettings(new_properties);
diagram() -> undoStack().push(ccpc);
}
}
}
/**
Reinitialise le profil des conducteurs selectionnes
*/
void DiagramView::resetConductors() {
// recupere les conducteurs selectionnes
QSet<Conductor *> selected_conductors = scene -> selectedConductors();
// repere les conducteurs modifies (= profil non nul)
QHash<Conductor *, ConductorProfilesGroup> conductors_and_profiles;
foreach(Conductor *conductor, selected_conductors) {
ConductorProfilesGroup profile = conductor -> profiles();
if (
!profile[Qt::TopLeftCorner].isNull() ||\
!profile[Qt::TopRightCorner].isNull() ||\
!profile[Qt::BottomLeftCorner].isNull() ||\
!profile[Qt::BottomRightCorner].isNull()
) {
conductors_and_profiles.insert(conductor, profile);
}
}
if (conductors_and_profiles.isEmpty()) return;
scene -> undoStack().push(new ResetConductorCommand(conductors_and_profiles));
}
/**
Lance un dialogue permettant de modifier les proprietes par defaut des
futurs nouveaux conducteurs
*/
void DiagramView::editDefaultConductorProperties() {
// initialise l'editeur de proprietes pour le conducteur
ConductorPropertiesWidget *cpw = new ConductorPropertiesWidget(scene -> defaultConductorProperties);
// l'insere dans un dialogue
QDialog conductor_dialog;
conductor_dialog.setWindowTitle(tr("\311diter les propri\351t\351s par d\351faut des conducteurs"));
QVBoxLayout *dialog_layout = new QVBoxLayout(&conductor_dialog);
dialog_layout -> addWidget(cpw);
QDialogButtonBox *dbb = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
dialog_layout -> addWidget(dbb);
connect(dbb, SIGNAL(accepted()), &conductor_dialog, SLOT(accept()));
connect(dbb, SIGNAL(rejected()), &conductor_dialog, SLOT(reject()));
// execute le dialogue et met a jour le conducteur
if (conductor_dialog.exec() == QDialog::Accepted) {
scene -> defaultConductorProperties = cpw -> conductorProperties();
}
}
/**
Gere les evenements de la DiagramView
@param e Evenement
*/
bool DiagramView::event(QEvent *e) {
// fait en sorte que les raccourcis clavier arrivent prioritairement sur la
// vue plutot que de remonter vers les QMenu / QAction
if (e -> type() == QEvent::ShortcutOverride && scene -> focusItem()) {
e -> accept();
return(true);
}
return(QGraphicsView::event(e));
}
/**
Passe le DiagramView en mode "ajout de texte". Un clic cree alors un
nouveau champ de texte.
*/
void DiagramView::addText() {
is_adding_text = true;
}
/**
Gere le menu contextuel
@param e Evenement decrivant la demande de menu contextuel
*/
void DiagramView::contextMenuEvent(QContextMenuEvent *e) {
if (QGraphicsItem *qgi = scene -> itemAt(mapToScene(e -> pos()))) {
if (!qgi -> isSelected()) scene -> clearSelection();
qgi -> setSelected(true);
}
if (QETDiagramEditor *qde = diagramEditor()) {
context_menu -> clear();
if (scene -> selectedItems().isEmpty()) {
paste_here_pos = e -> pos();
paste_here -> setEnabled(Diagram::clipboardMayContainDiagram());
context_menu -> addAction(paste_here);
context_menu -> addSeparator();
context_menu -> addAction(qde -> infos_diagram);
context_menu -> addAction(qde -> add_column);
context_menu -> addAction(qde -> remove_column);
context_menu -> addAction(qde -> expand_diagram);
context_menu -> addAction(qde -> shrink_diagram);
} else {
context_menu -> addAction(qde -> cut);
context_menu -> addAction(qde -> copy);
context_menu -> addSeparator();
context_menu -> addAction(qde -> delete_selection);
context_menu -> addAction(qde -> rotate_selection);
context_menu -> addSeparator();
context_menu -> addAction(qde -> conductor_prop);
context_menu -> addAction(qde -> conductor_reset);
}
// affiche le menu contextuel
context_menu -> popup(e -> globalPos());
}
e -> accept();
}
/// @return l'editeur de schemas parent ou 0
QETDiagramEditor *DiagramView::diagramEditor() const {
// remonte la hierarchie des widgets
QWidget *w = const_cast<DiagramView *>(this);
while (w -> parentWidget() && !w -> isWindow()) {
w = w -> parentWidget();
}
// la fenetre est supposee etre un QETDiagramEditor
return(qobject_cast<QETDiagramEditor *>(w));
}
/**
Gere les double-clics sur le schema
*/
void DiagramView::mouseDoubleClickEvent(QMouseEvent *e) {
BorderInset &bi = scene -> border_and_inset;
// recupere le rectangle corespondant au cartouche
QRectF inset_rect(
Diagram::margin,
Diagram::margin + bi.columnsHeight(),
bi.insetWidth(),
bi.insetHeight()
);
// recupere le rectangle correspondant aux en-tetes des colonnes
QRectF columns_rect(
Diagram::margin,
Diagram::margin,
bi.borderWidth(),
bi.columnsHeaderHeight()
);
// coordonnees du clic par rapport au schema
QPointF click_pos = viewportTransform().inverted().map(e -> pos());
// detecte le double-clic sur le cartouche ou les colonnes
if (QGraphicsItem *qgi = itemAt(e -> pos())) {
if (Conductor *c = qgraphicsitem_cast<Conductor *>(qgi)) {
editConductor(c);
} else {
QGraphicsView::mouseDoubleClickEvent(e);
}
} else if (inset_rect.contains(click_pos) || columns_rect.contains(click_pos)) {
// edite les proprietes du schema
dialogEditInfos();
} else {
QGraphicsView::mouseDoubleClickEvent(e);
}
}

View File

@@ -1,118 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef DIAGRAMVIEW_H
#define DIAGRAMVIEW_H
#include <QtGui>
class Diagram;
class QETDiagramEditor;
class Conductor;
/**
Classe representant graphiquement un schema electrique
*/
class DiagramView : public QGraphicsView {
Q_OBJECT
// constructeurs, destructeur
public:
DiagramView(QWidget * = 0);
virtual ~DiagramView();
private:
DiagramView(const DiagramView &);
// attributs
public:
/// Nom de fichier du schema edite
QString file_name;
private:
Diagram *scene;
QMenu *context_menu;
QAction *paste_here;
QPoint paste_here_pos;
bool is_adding_text;
// methodes
public:
bool open(QString, int * = NULL);
void closeEvent(QCloseEvent *);
bool save();
bool saveAs();
void dialogExport();
void dialogEditInfos();
void dialogPrint();
void addColumn();
void removeColumn();
void expand();
void shrink();
/// @return Le schema visualise par ce DiagramView
Diagram *diagram() { return(scene); }
QETDiagramEditor *diagramEditor() const;
bool hasSelectedItems();
void addText();
protected:
virtual void mouseDoubleClickEvent(QMouseEvent *);
virtual void contextMenuEvent(QContextMenuEvent *);
virtual void wheelEvent(QWheelEvent *);
virtual bool event(QEvent *);
private:
bool saveDiagramToFile(QString &);
void mousePressEvent(QMouseEvent *);
void dragEnterEvent(QDragEnterEvent *);
void dragLeaveEvent(QDragLeaveEvent *);
void dragMoveEvent(QDragMoveEvent *);
void dropEvent(QDropEvent *);
QRectF viewedSceneRect() const;
signals:
/// Signal emis lorsque la selection change
void selectionChanged();
/// Signal emis lorsque le mode de selection change
void modeChanged();
/// Signal emis lorsqu'un texte a ete pose
void textAdded(bool);
public slots:
void selectNothing();
void selectAll();
void selectInvert();
void deleteSelection();
void rotateSelection();
void setVisualisationMode();
void setSelectionMode();
void zoomIn();
void zoomOut();
void zoomFit();
void zoomReset();
void cut();
void copy();
void paste(const QPointF & = QPointF(), QClipboard::Mode = QClipboard::Clipboard);
void pasteHere();
void adjustSceneRect();
void updateWindowTitle();
void editConductor();
void editConductor(Conductor *);
void resetConductors();
void editDefaultConductorProperties();
private slots:
void adjustGridToZoom();
};
#endif

BIN
docs/QuickStart_QET_fr.odt Normal file

Binary file not shown.

BIN
docs/QuickStart_QET_fr.pdf Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
docs/pictures/Labels.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
docs/pictures/connect.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

BIN
docs/pictures/main.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
docs/quickstart.0.02doc.odt Normal file

Binary file not shown.

View File

@@ -1,128 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "arceditor.h"
#include "partarc.h"
/**
Constructeur
@param editor L'editeur d'element concerne
@param arc L'arc a editer
@param parent le Widget parent
*/
ArcEditor::ArcEditor(QETElementEditor *editor, PartArc *arc, QWidget *parent) : ElementItemEditor(editor, parent) {
part = arc;
x = new QLineEdit();
y = new QLineEdit();
h = new QLineEdit();
v = new QLineEdit();
start_angle = new QSpinBox();
angle = new QSpinBox();
start_angle -> setRange(-360, 360);
angle -> setRange(-360, 360);
x -> setValidator(new QDoubleValidator(x));
y -> setValidator(new QDoubleValidator(y));
h -> setValidator(new QDoubleValidator(h));
v -> setValidator(new QDoubleValidator(v));
QGridLayout *grid = new QGridLayout(this);
grid -> addWidget(new QLabel(tr("Centre : ")), 0, 0);
grid -> addWidget(new QLabel("x"), 1, 0);
grid -> addWidget(x, 1, 1);
grid -> addWidget(new QLabel("y"), 1, 2);
grid -> addWidget(y, 1, 3);
grid -> addWidget(new QLabel(tr("Diam\350tres : ")), 2, 0);
grid -> addWidget(new QLabel(tr("horizontal :")), 3, 0);
grid -> addWidget(h, 3, 1);
grid -> addWidget(new QLabel(tr("vertical :")), 4, 0);
grid -> addWidget(v, 4, 1);
grid -> addWidget(new QLabel(tr("Angle de d\351part :")), 5, 0);
grid -> addWidget(start_angle, 5, 1);
grid -> addWidget(new QLabel(tr("Angle :")), 6, 0);
grid -> addWidget(angle, 6, 1);
updateForm();
activeConnections(true);
}
/// Destructeur
ArcEditor::~ArcEditor() {
}
/**
Met a jour l'arc a partir a partir des donnees du formulaire
*/
void ArcEditor::updateArc() {
part -> setProperty("x", x -> text().toDouble());
part -> setProperty("y", y -> text().toDouble());
part -> setProperty("diameter_h", h -> text().toDouble());
part -> setProperty("diameter_v", v -> text().toDouble());
part -> setStartAngle(-start_angle -> value() + 90);
part -> setAngle(-angle -> value());
}
/// Met a jour l'abscisse du centre de l'arc et cree un objet d'annulation
void ArcEditor::updateArcX() { addChangePartCommand(tr("abscisse"), part, "x", x -> text().toDouble()); }
/// Met a jour l'ordonnee du centre de l'arc et cree un objet d'annulation
void ArcEditor::updateArcY() { addChangePartCommand(tr("ordonn\351e"), part, "y", y -> text().toDouble()); }
/// Met a jour le diametre horizontal de l'arc et cree un objet d'annulation
void ArcEditor::updateArcH() { addChangePartCommand(tr("diam\350tre horizontal"), part, "diameter_h", h -> text().toDouble()); }
/// Met a jour le diametre vertical de l'arc et cree un objet d'annulation
void ArcEditor::updateArcV() { addChangePartCommand(tr("diam\350tre vertical"), part, "diameter_v", v -> text().toDouble()); }
/// Met a jour l'angle de depart de l'arc et cree un objet d'annulation
void ArcEditor::updateArcS() { addChangePartCommand(tr("angle de d\351part"), part, "start_angle", -start_angle -> value() + 90); }
/// Met a jour l'etendue de l'arc et cree un objet d'annulation
void ArcEditor::updateArcA() { addChangePartCommand(tr("angle"), part, "angle", -angle -> value()); }
/**
Met a jour le formulaire d'edition
*/
void ArcEditor::updateForm() {
activeConnections(false);
x -> setText(part -> property("x").toString());
y -> setText(part -> property("y").toString());
h -> setText(part -> property("diameter_h").toString());
v -> setText(part -> property("diameter_v").toString());
start_angle -> setValue(-part -> startAngle() + 90);
angle -> setValue(-part -> angle());
activeConnections(true);
}
/**
Active ou desactive les connexionx signaux/slots entre les widgets internes.
@param active true pour activer les connexions, false pour les desactiver
*/
void ArcEditor::activeConnections(bool active) {
if (active) {
connect(x, SIGNAL(editingFinished()), this, SLOT(updateArcX()));
connect(y, SIGNAL(editingFinished()), this, SLOT(updateArcY()));
connect(h, SIGNAL(editingFinished()), this, SLOT(updateArcH()));
connect(v, SIGNAL(editingFinished()), this, SLOT(updateArcV()));
connect(start_angle, SIGNAL(editingFinished()), this, SLOT(updateArcS()));
connect(angle, SIGNAL(editingFinished()), this, SLOT(updateArcA()));
} else {
disconnect(x, SIGNAL(editingFinished()), this, SLOT(updateArcX()));
disconnect(y, SIGNAL(editingFinished()), this, SLOT(updateArcY()));
disconnect(h, SIGNAL(editingFinished()), this, SLOT(updateArcH()));
disconnect(v, SIGNAL(editingFinished()), this, SLOT(updateArcV()));
disconnect(start_angle, SIGNAL(editingFinished()), this, SLOT(updateArcS()));
disconnect(angle, SIGNAL(editingFinished()), this, SLOT(updateArcA()));
}
}

View File

@@ -1,56 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef ARC_EDITOR_H
#define ARC_EDITOR_H
#include <QtGui>
#include "elementitemeditor.h"
class PartArc;
/**
Cette classe represente le widget d'edition d'un arc dans l'editeur
d'element.
*/
class ArcEditor : public ElementItemEditor {
Q_OBJECT
//constructeurs, destructeur
public:
ArcEditor(QETElementEditor *, PartArc *, QWidget * = 0);
~ArcEditor();
private:
ArcEditor(const ArcEditor &);
// attributs
private:
PartArc *part;
QLineEdit *x, *y, *h, *v;
QSpinBox *angle, *start_angle;
// methodes
public slots:
void updateArc();
void updateArcX();
void updateArcY();
void updateArcH();
void updateArcV();
void updateArcS();
void updateArcA();
void updateForm();
private:
void activeConnections(bool);
};
#endif

View File

@@ -1,99 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "circleeditor.h"
#include "partcircle.h"
/**
Constructeur
@param editor L'editeur d'element concerne
@param circle Le cercle a editer
@param parent le Widget parent
*/
CircleEditor::CircleEditor(QETElementEditor *editor, PartCircle *circle, QWidget *parent) : ElementItemEditor(editor, parent) {
part = circle;
x = new QLineEdit();
y = new QLineEdit();
r = new QLineEdit();
x -> setValidator(new QDoubleValidator(x));
y -> setValidator(new QDoubleValidator(y));
r -> setValidator(new QDoubleValidator(r));
QGridLayout *grid = new QGridLayout(this);
grid -> addWidget(new QLabel(tr("Centre : ")), 0, 0);
grid -> addWidget(new QLabel("x"), 1, 0);
grid -> addWidget(x, 1, 1);
grid -> addWidget(new QLabel("y"), 1, 2);
grid -> addWidget(y, 1, 3);
grid -> addWidget(new QLabel(tr("Diam\350tre : ")), 2, 0);
grid -> addWidget(r, 2, 1);
activeConnections(true);
updateForm();
}
/// Destructeur
CircleEditor::~CircleEditor() {
}
/**
met a jour le cercle a partir des donnees du formulaire
*/
void CircleEditor::updateCircle() {
part -> setProperty("x", x -> text().toDouble());
part -> setProperty("y", y -> text().toDouble());
part -> setProperty("diameter", r -> text().toDouble());
}
/// Met a jour l'abscisse du cercle et cree un objet d'annulation
void CircleEditor::updateCircleX() { addChangePartCommand(tr("abscisse"), part, "x", x -> text().toDouble()); }
/// Met a jour l'ordonnee du cercle et cree un objet d'annulation
void CircleEditor::updateCircleY() { addChangePartCommand(tr("ordonn\351e"), part, "y", y -> text().toDouble()); }
/// Met a jour le diametre du cercle et cree un objet d'annulation
void CircleEditor::updateCircleD() { addChangePartCommand(tr("diam\350tre"), part, "diameter", r -> text().toDouble()); }
/**
Met a jour le formulaire d'edition
*/
void CircleEditor::updateForm() {
activeConnections(false);
x -> setText(part -> property("x").toString());
y -> setText(part -> property("y").toString());
r -> setText(part -> property("diameter").toString());
activeConnections(true);
}
/**
Active ou desactive les connexionx signaux/slots entre les widgets internes.
@param active true pour activer les connexions, false pour les desactiver
*/
void CircleEditor::activeConnections(bool active) {
if (active) {
connect(x, SIGNAL(editingFinished()), this, SLOT(updateCircleX()));
connect(y, SIGNAL(editingFinished()), this, SLOT(updateCircleY()));
connect(r, SIGNAL(editingFinished()), this, SLOT(updateCircleD()));
} else {
disconnect(x, SIGNAL(editingFinished()), this, SLOT(updateCircleX()));
disconnect(y, SIGNAL(editingFinished()), this, SLOT(updateCircleY()));
disconnect(r, SIGNAL(editingFinished()), this, SLOT(updateCircleD()));
}
}

View File

@@ -1,53 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef CIRCLE_EDITOR_H
#define CIRCLE_EDITOR_H
#include <QtGui>
#include "elementitemeditor.h"
class PartCircle;
/**
Cette classe represente un editeur de cercle.
Elle permet d'editer a travers une interface graphique les
proprietes d'une cercle composant le dessin d'un element.
*/
class CircleEditor : public ElementItemEditor {
Q_OBJECT
// Constructeurs, destructeur
public:
CircleEditor(QETElementEditor *, PartCircle *, QWidget * = 0);
virtual ~CircleEditor();
private:
CircleEditor(const CircleEditor &);
// attributs
private:
PartCircle *part;
QLineEdit *x, *y, *r;
// methodes
public slots:
void updateCircle();
void updateCircleX();
void updateCircleY();
void updateCircleD();
void updateForm();
private:
void activeConnections(bool);
};
#endif

View File

@@ -1,208 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "customelementgraphicpart.h"
/**
Ecrit les attributs de style dans un element XML
@param qde L'element XML a modifier
*/
void CustomElementGraphicPart::stylesToXml(QDomElement &qde) const {
QString css_like_styles;
css_like_styles += "line-style:";
if (_linestyle == DashedStyle) css_like_styles += "dashed";
else if (_linestyle == NormalStyle) css_like_styles += "normal";
css_like_styles += ";line-weight:";
if (_lineweight == NoneWeight) css_like_styles += "none";
else if (_lineweight == ThinWeight) css_like_styles += "thin";
else if (_lineweight == NormalWeight) css_like_styles += "normal";
css_like_styles += ";filling:";
if (_filling == NoneFilling) css_like_styles += "none";
else if (_filling == BlackFilling) css_like_styles += "black";
else if (_filling == WhiteFilling) css_like_styles += "white";
css_like_styles += ";color:";
if (_color == WhiteColor) css_like_styles += "white";
else if (_color == BlackColor) css_like_styles += "black";
qde.setAttribute("style", css_like_styles);
qde.setAttribute("antialias", _antialiased ? "true" : "false");
}
/**
Lit les attributs de style depuis un element XML
@param qde L'element XML a analyser
*/
void CustomElementGraphicPart::stylesFromXml(const QDomElement &qde) {
resetStyles();
// recupere la liste des couples style / valeur
QStringList styles = qde.attribute("style").split(";", QString::SkipEmptyParts);
// analyse chaque couple
QRegExp rx("^\\s*([a-z-]+)\\s*:\\s*([a-z-]+)\\s*$");
foreach (QString style, styles) {
if (!rx.exactMatch(style)) continue;
QString style_name = rx.cap(1);
QString style_value = rx.cap(2);
if (style_name == "line-style") {
if (style_value == "dashed") _linestyle = DashedStyle;
else if (style_value == "normal") _linestyle = NormalStyle;
// il n'y a pas de else car les valeurs non conformes sont ignorees (idem par la suite)
} else if (style_name == "line-weight") {
if (style_value == "thin") _lineweight = ThinWeight;
else if (style_value == "normal") _lineweight = NormalWeight;
else if (style_value == "none") _lineweight = NoneWeight;
} else if (style_name == "filling") {
if (style_value == "white") _filling = WhiteFilling;
else if (style_value == "black") _filling = BlackFilling;
else if (style_value == "none") _filling = NoneFilling;
} else if (style_name == "color") {
if (style_value == "black") _color = BlackColor;
else if (style_value == "white") _color = WhiteColor;
}
}
// recupere l'antialiasing
_antialiased = qde.attribute("antialias") == "true";
// met a jour l'editeur de style
style_editor -> updateForm();
}
/**
Remet les styles par defaut
*/
void CustomElementGraphicPart::resetStyles() {
_linestyle = NormalStyle;
_lineweight = NormalWeight;
_filling = NoneFilling;
_color = BlackColor;
_antialiased = false;
}
/**
Applique les styles a un Qpainter
@param painter QPainter a modifier
*/
void CustomElementGraphicPart::applyStylesToQPainter(QPainter &painter) const {
// recupere le QPen et la QBrush du QPainter
QPen pen = painter.pen();
QBrush brush = painter.brush();
// applique le style de trait
if (_linestyle == DashedStyle) pen.setStyle(Qt::DashLine);
else if (_linestyle == NormalStyle) pen.setStyle(Qt::SolidLine);
// applique l'epaisseur de trait
if (_lineweight == NoneWeight) pen.setColor(QColor(0, 0, 0, 0));
else if (_lineweight == ThinWeight) pen.setWidth(0);
else if (_lineweight == NormalWeight) pen.setWidthF(1.0);
// applique le remplissage
if (_filling == NoneFilling) {
brush.setStyle(Qt::NoBrush);
} else if (_filling == BlackFilling) {
brush.setStyle(Qt::SolidPattern);
brush.setColor(Qt::black);
} else if (_filling == WhiteFilling) {
brush.setStyle(Qt::SolidPattern);
brush.setColor(Qt::white);
}
// applique la couleur de trait
if (_color == WhiteColor) pen.setColor(QColor(255, 255, 255, pen.color().alpha()));
else if (_color == BlackColor) pen.setColor(QColor( 0, 0, 0, pen.color().alpha()));
// applique l'antialiasing
painter.setRenderHint(QPainter::Antialiasing, _antialiased);
painter.setRenderHint(QPainter::TextAntialiasing, _antialiased);
painter.setRenderHint(QPainter::SmoothPixmapTransform, _antialiased);
painter.setPen(pen);
painter.setBrush(brush);
}
/**
@return Le widget permettant d'editer les styles
*/
QWidget *CustomElementGraphicPart::elementInformations() {
return(style_editor);
}
/**
Specifie la valeur d'une propriete de style donnee.
@param property propriete a modifier. Valeurs acceptees :
* line-style : type de trait (@see LineStyle)
* line-weight : epaisseur du traut (@see LineWeight)
* filling : couleur de remplissage (@see Color)
* color : couleur du trait (@see Color)
* antialias : utiliser l'antialiasing ou non (booleen)
@param value Valeur a attribuer a la propriete
*/
void CustomElementGraphicPart::setProperty(const QString &property, const QVariant &value) {
bool change_made = false;
if (property == "line-style") {
setLineStyle(static_cast<LineStyle>(value.toInt()));
change_made = true;
} else if (property == "line-weight") {
setLineWeight(static_cast<LineWeight>(value.toInt()));
change_made = true;
} else if (property == "filling") {
setFilling(static_cast<Filling>(value.toInt()));
change_made = true;
} else if (property == "color") {
setColor(static_cast<Color>(value.toInt()));
change_made = true;
} else if (property == "antialias") {
setAntialiased(value.toBool());
change_made = true;
}
if (change_made) {
style_editor -> updateForm();
}
}
/**
Permet d'acceder a la valeur d'une propriete de style donnee.
@param property propriete lue. Valeurs acceptees :
* line-style : type de trait (@see LineStyle)
* line-weight : epaisseur du traut (@see LineWeight)
* filling : couleur de remplissage (@see Color)
* color : couleur du trait (@see Color)
* antialias : utiliser l'antialiasing ou non (booleen)
@return La valeur de la propriete property
*/
QVariant CustomElementGraphicPart::property(const QString &property) {
if (property == "line-style") {
return(lineStyle());
} else if (property == "line-weight") {
return(lineWeight());
} else if (property == "filling") {
return(filling());
} else if (property == "color") {
return(color());
} else if (property == "antialias") {
return(antialiased());
}
return(QVariant());
}

View File

@@ -1,192 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef CUSTOM_ELEMENT_GRAPHIC_PART_H
#define CUSTOM_ELEMENT_GRAPHIC_PART_H
#include <QPainter>
#include "customelementpart.h"
#include "styleeditor.h"
class QETElementEditor;
typedef CustomElementGraphicPart CEGP;
/**
Cette classe represente une partie graphique d'element
Elle encapsule des methodes afin de gerer les attributs de style communs
a la plupart des parties d'elements
*/
class CustomElementGraphicPart : public CustomElementPart {
public:
/// Qualifie le style de ligne utilise pour dessiner la partie
enum LineStyle {
NormalStyle, ///< Ligne pleine
DashedStyle ///< Ligne pointillee
};
/// Qualifie l'epaisseur de ligne utilisee pour dessiner la partie
enum LineWeight {
NormalWeight, ///< Ligne normale
ThinWeight, ///< Ligne fine
NoneWeight ///< Ligne invisible
};
/// Qualifie la couleur utilisee pour remplir la partie
enum Filling {
NoneFilling, ///< Remplissage transparent
BlackFilling, ///< Remplissage en noir
WhiteFilling ///< Remplissage en blanc
};
/// Qualifie la couleur de ligne utilisee pour dessiner la partie
enum Color {
BlackColor, ///< Ligne noire
WhiteColor ///< Ligne blanche
};
// constructeurs, destructeur
public:
/**
Constructeur
@param editor Editeur d'element auquel cette partie est rattachee
*/
CustomElementGraphicPart(QETElementEditor *editor) :
CustomElementPart(editor),
_linestyle(NormalStyle),
_lineweight(NormalWeight),
_filling(NoneFilling),
_color(BlackColor),
_antialiased(false)
{
style_editor = new StyleEditor(elementEditor(), this);
};
/// Destructeur
virtual ~CustomElementGraphicPart() {
delete style_editor;
};
// attributs
private:
LineStyle _linestyle;
LineWeight _lineweight;
Filling _filling ;
Color _color;
bool _antialiased;
protected:
/// Widget d'edition des styles de cette partie graphique
StyleEditor *style_editor;
//methodes
public:
void setLineStyle(LineStyle);
void setLineWeight(LineWeight);
void setFilling(Filling);
void setColor(Color);
void setAntialiased(bool);
LineStyle lineStyle() const;
LineWeight lineWeight() const;
Filling filling() const;
Color color() const;
bool antialiased() const;
QWidget *elementInformations();
void setProperty(const QString &, const QVariant &);
QVariant property(const QString &);
protected:
void stylesToXml(QDomElement &) const;
void stylesFromXml(const QDomElement &);
void resetStyles();
void applyStylesToQPainter(QPainter &) const;
};
/**
Change le style de trait
@param ls Le nouveau style de trait
*/
inline void CustomElementGraphicPart::setLineStyle(LineStyle ls) {
_linestyle = ls;
}
/**
Change l'epaisseur de trait
@param lw La nouvelle epaisseur de trait
*/
inline void CustomElementGraphicPart::setLineWeight(LineWeight lw) {
_lineweight = lw;
}
/**
Change la couleur de remplissage
@param f La nouvelle couleur de remplissage
*/
inline void CustomElementGraphicPart::setFilling(Filling f) {
_filling = f;
}
/**
Change la couleur de trait
@param c La nouvelle couleur de trait
*/
inline void CustomElementGraphicPart::setColor(Color c) {
_color = c;
}
/**
@return Le style de trait
*/
inline CustomElementGraphicPart::LineStyle CustomElementGraphicPart::lineStyle() const {
return(_linestyle);
}
/**
@return L'epaisseur de trait
*/
inline CustomElementGraphicPart::LineWeight CustomElementGraphicPart::lineWeight() const {
return(_lineweight);
}
/**
@return La couleur de remplissage
*/
inline CustomElementGraphicPart::Filling CustomElementGraphicPart::filling() const {
return(_filling);
}
/**
@return La couleur de trait
*/
inline CustomElementGraphicPart::Color CustomElementGraphicPart::color() const {
return(_color);
}
/**
Definit si la partie doit etre antialiasee ou non
@param aa True pour activer l'antialiasing, false pour le desactiver
*/
inline void CustomElementGraphicPart::setAntialiased(bool aa) {
_antialiased = aa;
}
/**
@return true si la partie est antialiasee, false sinon
*/
inline bool CustomElementGraphicPart::antialiased() const {
return(_antialiased);
}
#endif

View File

@@ -1,35 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "customelementpart.h"
#include "customelement.h"
#include "qetelementeditor.h"
/// @return le QETElementEditor auquel cet editeur appartient
QETElementEditor *CustomElementPart::elementEditor() const {
return(element_editor);
}
/// @return l'ElementScene contenant les parties editees par cet editeur
ElementScene *CustomElementPart::elementScene() const {
return(element_editor -> elementScene());
}
/// @return la QUndoStack a utiliser pour les annulations
QUndoStack &CustomElementPart::undoStack() const {
return(elementScene() -> undoStack());
}

View File

@@ -1,87 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef CUSTOM_ELEMENT_PART_H
#define CUSTOM_ELEMENT_PART_H
#include <QtGui>
#include <QtXml>
#include <QImage>
class CustomElement;
class QETElementEditor;
class ElementScene;
/**
Cette classe abstraite represente une partie de la representation graphique
d'un element de schema electrique. Les attributs et methodes qu'elle
encapsule ne sont pas integres directement dans la classe CustomElement
afin de ne pas alourdir celle-ci. Il est en effet inutile pour cette classe
de retenir sa conception graphique autrement que sous la forme d'une
QImage.
*/
class CustomElementPart {
// constructeurs, destructeur
public:
/**
Constructeur
@param editor Editeur d'element auquel cette partie est rattachee
*/
CustomElementPart(QETElementEditor *editor) : element_editor(editor) {}
/// Destructeur
virtual ~CustomElementPart() {}
private:
CustomElementPart(const CustomElementPart &);
// attributs
private:
QETElementEditor *element_editor;
// methodes
public:
/**
Charge la partie depuis un element XML sense le decrire
*/
virtual void fromXml(const QDomElement &) = 0;
/**
Enregistre la partie dans un document XML
*/
virtual const QDomElement toXml(QDomDocument &) const = 0;
/// @return un widget suppose decrire et/ou permettre de modifier la partie
virtual QWidget *elementInformations() = 0;
/**
Permet de modifier une des proprietes de la partie
*/
virtual void setProperty(const QString &, const QVariant &) = 0;
/**
Permet de lire une des proprietes de la partie
*/
virtual QVariant property(const QString &) = 0;
/**
@return true si la partie n'est pas pertinente, false sinon
Typiquement, une partie non pertinente n'est pas conservee lors de
l'enregistrement de l'element.
*/
virtual bool isUseless() const = 0;
/// @return un pointeur vers l'editeur d'element parent
virtual QETElementEditor *elementEditor() const;
/// @return un pointeur vers la scene d'edition parente
virtual ElementScene *elementScene() const;
/// @return la pile d'annulations a utiliser
virtual QUndoStack &undoStack() const;
/// @return le nom de la partie
virtual QString name() const = 0;
};
#endif

View File

@@ -1,504 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "editorcommands.h"
/*** DeletePartsCommand ***/
/**
Constructeur
@param scene ElementScene concernee
@param parts Liste des parties supprimees
@param parent QUndoCommand parent
*/
DeletePartsCommand::DeletePartsCommand(
ElementScene *scene,
const QList<QGraphicsItem *> parts,
QUndoCommand *parent
) :
QUndoCommand(QObject::tr("suppression"), parent),
deleted_parts(parts),
editor_scene(scene)
{
foreach(QGraphicsItem *qgi, deleted_parts) {
editor_scene -> qgiManager().manage(qgi);
}
}
/// Destructeur : detruit egalement les parties supprimees
DeletePartsCommand::~DeletePartsCommand() {
foreach(QGraphicsItem *qgi, deleted_parts) {
editor_scene -> qgiManager().release(qgi);
}
}
/// Restaure les parties supprimees
void DeletePartsCommand::undo() {
foreach(QGraphicsItem *qgi, deleted_parts) {
editor_scene -> addItem(qgi);
}
}
/// Supprime les parties
void DeletePartsCommand::redo() {
foreach(QGraphicsItem *qgi, deleted_parts) {
editor_scene -> removeItem(qgi);
}
}
/*** MovePartsCommand ***/
/**
Constructeur
@param m Mouvement sous forme de QPointF
@param scene ElementScene concernee
@param parts Liste des parties deplacees
@param parent QUndoCommand parent
*/
MovePartsCommand::MovePartsCommand(
const QPointF &m,
ElementScene *scene,
const QList<QGraphicsItem *> parts,
QUndoCommand *parent
) :
QUndoCommand(QObject::tr("d\351placement"), parent),
movement(m),
first_redo(true)
{
moved_parts = parts;
editor_scene = scene;
}
/// Destructeur
MovePartsCommand::~MovePartsCommand() {
}
/// Annule le deplacement
void MovePartsCommand::undo() {
foreach(QGraphicsItem *qgi, moved_parts) qgi -> moveBy(-movement.x(), -movement.y());
}
/// Refait le deplacement
void MovePartsCommand::redo() {
// le premier appel a redo, lors de la construction de l'objet, ne doit pas se faire
if (first_redo) {
first_redo = false;
return;
}
foreach(QGraphicsItem *qgi, moved_parts) qgi -> moveBy(movement.x(), movement.y());
}
/*** AddPartCommand ***/
/**
Constructeur
@param name Nom de la partie ajoutee
@param scene ElementScene concernee
@param p partie ajoutee
@param parent QUndoCommand parent
*/
AddPartCommand::AddPartCommand(
const QString &name,
ElementScene *scene,
QGraphicsItem *p,
QUndoCommand *parent
) :
QUndoCommand(QObject::tr("ajout ") + name, parent),
part(p),
editor_scene(scene),
first_redo(true)
{
editor_scene -> qgiManager().manage(part);
}
/// Destructeur
AddPartCommand::~AddPartCommand() {
editor_scene -> qgiManager().release(part);
}
/// Annule l'ajout
void AddPartCommand::undo() {
editor_scene -> removeItem(part);
}
/// Refait l'ajout
void AddPartCommand::redo() {
// le premier appel a redo, lors de la construction de l'objet, ne doit pas se faire
if (first_redo) {
editor_scene -> clearSelection();
part -> setSelected(true);
first_redo = false;
return;
}
editor_scene -> addItem(part);
}
/**
Constructeur
@param name nom de la propriete modifiee
@param part partie modifiee
@param prop propriete modifiee
@param old_v ancienne valeur
@param new_v nouvelle valeur
@param parent qUndoCommand parent
*/
ChangePartCommand::ChangePartCommand(
const QString &name,
CustomElementPart *part,
const QString &prop,
const QVariant &old_v,
const QVariant &new_v,
QUndoCommand *parent
) :
QUndoCommand(QObject::tr("modification ") + name, parent),
cep(part),
property(prop),
old_value(old_v),
new_value(new_v)
{
}
/// Destructeur
ChangePartCommand::~ChangePartCommand() {
}
/// Annule le changement
void ChangePartCommand::undo() {
cep -> setProperty(property, old_value);
}
/// Refait le changement
void ChangePartCommand::redo() {
cep -> setProperty(property, new_value);
}
/**
Constructeur
@param p Polygone edite
@param o_points points avant le changement
@param n_points points apres le changement
@param parent QUndoCommand parent
*/
ChangePolygonPointsCommand::ChangePolygonPointsCommand(
PartPolygon *p,
const QVector<QPointF> &o_points,
const QVector<QPointF> &n_points,
QUndoCommand *parent
) :
QUndoCommand(QObject::tr("modification points polygone"), parent),
polygon(p),
old_points(o_points),
new_points(n_points)
{
}
/// Destructeur
ChangePolygonPointsCommand::~ChangePolygonPointsCommand() {
}
/// Annule le changement
void ChangePolygonPointsCommand::undo() {
polygon -> setPolygon(old_points);
}
/// Refait le changement
void ChangePolygonPointsCommand::redo() {
polygon -> setPolygon(new_points);
}
/**
Constructeur
@param element_scene Element edite
@param size_1 Dimensions de l'element avant le changement
@param size_2 Dimensions de l'element apres le changement
@param hotspot_1 Point de saisie de l'element avant le changement
@param hotspot_2 Point de saisie de l'element apres le changement
@param o Eventuel decalage a appliquer aux parties de l'element edite
@param parent QUndoCommand parent
*/
ChangeHotspotCommand::ChangeHotspotCommand(
ElementScene *element_scene,
const QSize &size_1,
const QSize &size_2,
const QPoint &hotspot_1,
const QPoint &hotspot_2,
const QPoint &o,
QUndoCommand *parent
) :
QUndoCommand(QObject::tr("modification dimensions/hotspot"), parent),
element(element_scene),
size_before(size_1),
size_after(size_2),
hotspot_before(hotspot_1),
hotspot_after(hotspot_2),
offset(o)
{
}
/// Destructeur
ChangeHotspotCommand::~ChangeHotspotCommand() {
}
/// Annule le changement
void ChangeHotspotCommand::undo() {
QRectF sc(element -> sceneContent());
element -> setWidth(size_before.width());
element -> setHeight(size_before.height());
element -> setHotspot(hotspot_before);
if (!offset.isNull()) applyOffset(-offset);
element -> update(element -> sceneContent().unite(sc));
}
/// Refait le changement
void ChangeHotspotCommand::redo() {
QRectF sc(element -> sceneContent());
element -> setWidth(size_after.width());
element -> setHeight(size_after.height());
element -> setHotspot(hotspot_after);
if (!offset.isNull()) applyOffset(offset);
element -> update(element -> sceneContent().unite(sc));
}
/**
Applique une translation aux parties de l'element edite
@param o Translation a appliquer
*/
void ChangeHotspotCommand::applyOffset(const QPointF &o) {
foreach(QGraphicsItem *qgi, element -> items()) {
qgi -> translate(o.x(), o.y());
}
}
/**
Constructeur
@param element_scene Element edite
@param before Listes des noms avant changement
@param after Listes des noms apres changement
@param parent QUndoCommand parent
*/
ChangeNamesCommand::ChangeNamesCommand(
ElementScene *element_scene,
const NamesList &before,
const NamesList &after,
QUndoCommand *parent
) :
QUndoCommand(QObject::tr("modification noms"), parent),
names_before(before),
names_after(after),
element(element_scene)
{
}
/// Destructeur
ChangeNamesCommand::~ChangeNamesCommand() {
}
/// Annule le changement
void ChangeNamesCommand::undo() {
element -> setNames(names_before);
}
/// Refait le changement
void ChangeNamesCommand::redo() {
element -> setNames(names_after);
}
/**
Constructeur
@param element_scene Element edite
@param before Orientations avant changement
@param after Orientations apres changement
@param parent QUndoCommand parent
*/
ChangeOrientationsCommand::ChangeOrientationsCommand(
ElementScene *element_scene,
const OrientationSet &before,
const OrientationSet &after,
QUndoCommand *parent
) :
QUndoCommand(QObject::tr("modification orientations"), parent),
ori_before(before),
ori_after(after),
element(element_scene)
{
}
/// Destructeur
ChangeOrientationsCommand::~ChangeOrientationsCommand() {
}
/// Annule le changement
void ChangeOrientationsCommand::undo() {
element -> setOrientations(ori_before);
}
/// Refait le changement
void ChangeOrientationsCommand::redo() {
element -> setOrientations(ori_after);
}
/**
Constructeur
@param elmt ElementScene concernee
@param o Option decrivant le type de traitement applique aux zValues des parties de l'element
@param parent QUndoCommand parent
*/
ChangeZValueCommand::ChangeZValueCommand(
ElementScene *elmt,
ChangeZValueCommand::Option o,
QUndoCommand *parent
) :
QUndoCommand(parent),
element(elmt),
option(o)
{
// recupere les parties de l'elements, sauf les bornes
QList<QGraphicsItem *> items_list = element -> zItems();
// prend un snapshot des zValues
foreach(QGraphicsItem *qgi, items_list) undo_hash.insert(qgi, qgi -> zValue());
// choisit le nom en fonction du traitement
if (option == BringForward) {
setText(QObject::tr("amener au premier plan"));
applyBringForward(items_list);
} else if (option == Raise) {
setText(QObject::tr("rapprocher"));
applyRaise(items_list);
} else if (option == Lower) {
setText(QObject::tr("\351loigner"));
applyLower(items_list);
} else if (option == SendBackward) {
setText(QObject::tr("envoyer au fond"));
applySendBackward(items_list);
}
}
/// Destructeur
ChangeZValueCommand::~ChangeZValueCommand() {
}
/// Annule les changements de zValue
void ChangeZValueCommand::undo() {
foreach(QGraphicsItem *qgi, undo_hash.keys()) qgi -> setZValue(undo_hash[qgi]);
}
/// Refait les changements de zValue
void ChangeZValueCommand::redo() {
foreach(QGraphicsItem *qgi, redo_hash.keys()) qgi -> setZValue(redo_hash[qgi]);
}
/**
Amene les elements selectionnes au premier plan
@param items_list Liste des elements (selectionnes et non selectionnes)
*/
void ChangeZValueCommand::applyBringForward(const QList<QGraphicsItem *> &items_list) {
QList<QGraphicsItem *> non_selected_items = items_list;
QList<QGraphicsItem *> selected_items;
foreach(QGraphicsItem *qgi, non_selected_items) {
if (qgi -> isSelected()) {
selected_items << qgi;
non_selected_items.removeAt(non_selected_items.indexOf(qgi));
}
}
int z = 1;
foreach(QGraphicsItem *qgi, non_selected_items) redo_hash.insert(qgi, z ++);
foreach(QGraphicsItem *qgi, selected_items) redo_hash.insert(qgi, z ++);
}
/**
Remonte les elements selectionnes d'un plan
@param items_list Liste des elements (selectionnes et non selectionnes)
*/
void ChangeZValueCommand::applyRaise(const QList<QGraphicsItem *> &items_list) {
QList<QGraphicsItem *> my_items_list = items_list;
for (int i = my_items_list.count() - 2 ; i >= 0 ; -- i) {
if (my_items_list[i] -> isSelected()) {
if (!my_items_list[i +1] -> isSelected()) {
my_items_list.swap(i, i + 1);
}
}
}
int z = 1;
foreach(QGraphicsItem *qgi, my_items_list) redo_hash.insert(qgi, z ++);
}
/**
Descend les elements selectionnes d'un plan
@param items_list Liste des elements (selectionnes et non selectionnes)
*/
void ChangeZValueCommand::applyLower(const QList<QGraphicsItem *> &items_list) {
QList<QGraphicsItem *> my_items_list = items_list;
for (int i = 1 ; i < my_items_list.count() ; ++ i) {
if (my_items_list[i] -> isSelected()) {
if (!my_items_list[i - 1] -> isSelected()) {
my_items_list.swap(i, i - 1);
}
}
}
int z = 1;
foreach(QGraphicsItem *qgi, my_items_list) redo_hash.insert(qgi, z ++);
}
/**
Envoie les elements selectionnes au fond
@param items_list Liste des elements (selectionnes et non selectionnes)
*/
void ChangeZValueCommand::applySendBackward(const QList<QGraphicsItem *> &items_list) {
QList<QGraphicsItem *> non_selected_items = items_list;
QList<QGraphicsItem *> selected_items;
foreach(QGraphicsItem *qgi, non_selected_items) {
if (qgi -> isSelected()) {
selected_items << qgi;
non_selected_items.removeAt(non_selected_items.indexOf(qgi));
}
}
int z = 1;
foreach(QGraphicsItem *qgi, selected_items) redo_hash.insert(qgi, z ++);
foreach(QGraphicsItem *qgi, non_selected_items) redo_hash.insert(qgi, z ++);
}
/**
Constructeur
@param elmt ElementScene concernee
@param allow true pour que les connexions internes soient acceptees, false sinon
@param parent QUndoCommand parent
*/
AllowInternalConnectionsCommand::AllowInternalConnectionsCommand(ElementScene *elmt, bool allow, QUndoCommand *parent) :
QUndoCommand(QObject::tr("modification connexions internes"), parent),
element(elmt),
ic(allow)
{
}
/// Destructeur
AllowInternalConnectionsCommand::~AllowInternalConnectionsCommand() {
}
/// Annule le changement d'autorisation pour les connexions internes
void AllowInternalConnectionsCommand::undo() {
element -> setInternalConnections(!ic);
}
/// Refait le changement d'autorisation pour les connexions internes
void AllowInternalConnectionsCommand::redo() {
element -> setInternalConnections(ic);
}

View File

@@ -1,311 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef EDITOR_COMMANDS_H
#define EDITOR_COMMANDS_H
#include "customelementpart.h"
#include "partpolygon.h"
#include "elementscene.h"
#include "qgimanager.h"
#include <QtGui>
/**
Cette classe represente l'action de supprimer une ou plusieurs
parties lors de l'edition d'un element
*/
class DeletePartsCommand : public QUndoCommand {
// constructeurs, destructeur
public:
DeletePartsCommand(ElementScene *, const QList<QGraphicsItem *>, QUndoCommand * = 0);
virtual ~DeletePartsCommand();
private:
DeletePartsCommand(const DeletePartsCommand &);
// methodes
public:
virtual void undo();
virtual void redo();
// attributs
private:
/// Liste des parties supprimees
QList<QGraphicsItem *> deleted_parts;
/// scene sur laquelle se produisent les actions
ElementScene *editor_scene;
};
/**
Cette classe represente l'action de deplacer une ou plusieurs
parties lors de l'edition d'un element
*/
class MovePartsCommand : public QUndoCommand {
// constructeurs, destructeur
public:
MovePartsCommand(const QPointF &, ElementScene *, const QList<QGraphicsItem *>, QUndoCommand * = 0);
virtual ~MovePartsCommand();
private:
MovePartsCommand(const MovePartsCommand &);
// methodes
public:
virtual void undo();
virtual void redo();
// attributs
private:
/// Liste des parties supprimees
QList<QGraphicsItem *> moved_parts;
/// scene sur laquelle se produisent les actions
ElementScene *editor_scene;
/// translation appliquee
QPointF movement;
/// booleen pour eviter d'appeler redo() lors de la construction de l'objet
bool first_redo;
};
/**
Cette classe represente l'action d'ajouter une partie lors de l'edition
d'un element
*/
class AddPartCommand : public QUndoCommand {
// constructeurs, destructeur
public:
AddPartCommand(const QString &, ElementScene *, QGraphicsItem *, QUndoCommand * = 0);
virtual ~AddPartCommand();
private:
AddPartCommand(const AddPartCommand &);
// methodes
public:
virtual void undo();
virtual void redo();
// attributs
private:
/// Liste des parties supprimees
QGraphicsItem *part;
/// scene sur laquelle se produisent les actions
ElementScene *editor_scene;
/// booleen pour eviter d'appeler redo() lors de la construction de l'objet
bool first_redo;
};
/**
Cette classe represente l'action de modifier une propriete d'une partie
lors de l'edition d'un element
*/
class ChangePartCommand : public QUndoCommand {
// constructeurs, destructeur
public:
ChangePartCommand(const QString &, CustomElementPart *, const QString &, const QVariant &, const QVariant &, QUndoCommand * = 0);
virtual ~ChangePartCommand();
private:
ChangePartCommand(const ChangePartCommand &);
// methodes
public:
virtual void undo();
virtual void redo();
// attributs
private:
/// Partie modifiee
CustomElementPart *cep;
/// Propriete modifiee
QString property;
/// ancienne valeur
QVariant old_value;
/// nouvelle valeur
QVariant new_value;
};
/**
Cette classe represente l'action de modifier les points composants un polygone
*/
class ChangePolygonPointsCommand : public QUndoCommand {
// constructeurs, destructeur
public:
ChangePolygonPointsCommand(PartPolygon *, const QVector<QPointF> &, const QVector<QPointF> &, QUndoCommand * = 0);
virtual ~ChangePolygonPointsCommand();
private:
ChangePolygonPointsCommand(const ChangePolygonPointsCommand &);
// methodes
public:
virtual void undo();
virtual void redo();
// attributs
/// Polygone modifie
PartPolygon *polygon;
/// anciens points
QVector<QPointF> old_points;
/// nouveaux points
QVector<QPointF> new_points;
};
/**
Cette classe represente l'action de modifier les dimensions et le point de saisie d'un element
*/
class ChangeHotspotCommand : public QUndoCommand {
// constructeurs, destructeur
public:
ChangeHotspotCommand(ElementScene *, const QSize &, const QSize &, const QPoint &, const QPoint &, const QPoint & = QPoint(), QUndoCommand * = 0);
virtual ~ChangeHotspotCommand();
private:
ChangeHotspotCommand(const ChangeHotspotCommand &);
// methodes
public:
virtual void undo();
virtual void redo();
private:
void applyOffset(const QPointF &);
// attributs
/// Element edite auquel il faut appliquer les modifications
ElementScene *element;
/// dimensions avant l'action
QSize size_before;
/// dimensions apres l'action
QSize size_after;
/// point de saisie avant l'action
QPoint hotspot_before;
/// point de saisie apres l'action
QPoint hotspot_after;
/// decalage a appliquer aux elements
QPoint offset;
};
/**
Cette classe represente l'action de changer les noms d'un element
*/
class ChangeNamesCommand : public QUndoCommand {
// constructeurs, destructeur
public:
ChangeNamesCommand(ElementScene *, const NamesList &, const NamesList &, QUndoCommand * = 0);
virtual ~ChangeNamesCommand();
private:
ChangeNamesCommand(const ChangeNamesCommand &);
// methodes
public:
virtual void undo();
virtual void redo();
// attributs
private:
/// Liste des noms avant changement
NamesList names_before;
/// Liste des noms apres changement
NamesList names_after;
/// Element edite auquel il faut appliquer les modifications
ElementScene *element;
};
/**
Cette classe represente l'action de changer les noms d'un element
*/
class ChangeOrientationsCommand : public QUndoCommand {
// constructeurs, destructeur
public:
ChangeOrientationsCommand(ElementScene *, const OrientationSet &, const OrientationSet &, QUndoCommand * = 0);
virtual ~ChangeOrientationsCommand();
private:
ChangeOrientationsCommand(const ChangeOrientationsCommand &);
// methodes
public:
virtual void undo();
virtual void redo();
// attributs
private:
/// Orientations avant changement
OrientationSet ori_before;
/// Orientations apres changement
OrientationSet ori_after;
/// Element edite auquel il faut appliquer les modifications
ElementScene *element;
};
/**
Cette classe represente l'action de changer les noms d'un element
*/
class ChangeZValueCommand : public QUndoCommand {
// constructeurs, destructeur
public:
/// Qualifie le type de changement de zValue
enum Option {
BringForward, ///< Amene la partie a l'avant-plan ; elle a alors la plus haute zValue
Raise, ///< Amene la partie un plan au-dessus ; la zValue de la partie est incrementee
Lower, ///< Envoie la partie un plan en-dessous ; la zValue de la partie est decrementee
SendBackward ///< Envoie la partie a l'arriere-plan ; elle a alors la plus faible zValue
};
ChangeZValueCommand(ElementScene *, Option, QUndoCommand * = 0);
virtual ~ChangeZValueCommand();
private:
ChangeZValueCommand(const ChangeZValueCommand &);
// methodes
public:
virtual void undo();
virtual void redo();
private:
void applyBringForward(const QList<QGraphicsItem *> &);
void applyRaise(const QList<QGraphicsItem *> &);
void applyLower(const QList<QGraphicsItem *> &);
void applySendBackward(const QList<QGraphicsItem *> &);
// attributs
private:
/// zValues avant changement
QHash<QGraphicsItem *, qreal> undo_hash;
/// zValues apres changement
QHash<QGraphicsItem *, qreal> redo_hash;
/// Element edite auquel il faut appliquer les modifications
ElementScene *element;
/// type de traitement
Option option;
};
/**
Cette classe represente l'action d'autoriser ou non les connexions
internes pour un element.
*/
class AllowInternalConnectionsCommand : public QUndoCommand {
// constructeurs, destructeur
public:
AllowInternalConnectionsCommand(ElementScene *, bool, QUndoCommand * = 0);
virtual ~AllowInternalConnectionsCommand();
private:
AllowInternalConnectionsCommand(const AllowInternalConnectionsCommand &);
// methodes
public:
virtual void undo();
virtual void redo();
// attributs
private:
/// Element edite auquel il faut appliquer les modifications
ElementScene *element;
/// autorisation des connexions internes apres modification
bool ic;
};
#endif

View File

@@ -1,78 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "elementitemeditor.h"
#include "qetelementeditor.h"
#include "editorcommands.h"
/**
Constructeur
@param editor QETElementEditor auquel cet editeur appartient
@param parent QWidget parent de cet editeur
*/
ElementItemEditor::ElementItemEditor(QETElementEditor *editor, QWidget *parent) :
QWidget(parent),
element_editor(editor)
{
}
/// @return le QETElementEditor auquel cet editeur appartient
QETElementEditor *ElementItemEditor::elementEditor() const {
return(element_editor);
}
/// @return l'ElementScene contenant les parties editees par cet editeur
ElementScene *ElementItemEditor::elementScene() const {
return(element_editor -> elementScene());
}
/// @return la QUndoStack a utiliser pour les annulations
QUndoStack &ElementItemEditor::undoStack() const {
return(elementScene() -> undoStack());
}
/**
Ajoute une ChangePartCommand a l'UndoStack. L'ancienne valeur sera
automatiquement recuperee.
@param desc nom de la propriete modifiee
@param part partie modifiee
@param prop propriete modifiee
@param new_v nouvelle valeur
*/
void ElementItemEditor::addChangePartCommand(const QString &desc, CustomElementPart *part, const QString &prop, const QVariant &new_v) {
QVariant old_v = part -> property(prop);
if (old_v == new_v) return;
undoStack().push(
new ChangePartCommand(
desc + " " + element_type_name,
part,
prop,
old_v,
new_v
)
);
}
/// @return Le nom du type d'element edite
QString ElementItemEditor::elementTypeName() const {
return(element_type_name);
}
/// @param name Nom du type d'element edite
void ElementItemEditor::setElementTypeName(const QString &name) {
element_type_name = name;
}

View File

@@ -1,53 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef ELEMENT_ITEM_EDITOR_H
#define ELEMENT_ITEM_EDITOR_H
#include <QtGui>
class QETElementEditor;
class ElementScene;
class CustomElementPart;
/**
Cette classe est la classe de base pour les editeurs de aprties dans
l'editeur d'element. Elle fournit des methodes pour acceder facilement
a l'editeur, a la pile d'annulation, a la scene d'edition ou encore pour
ajouter facilement une annulation de type ChangePartCommand.
*/
class ElementItemEditor : public QWidget {
Q_OBJECT
// constructeurs, destructeur
public:
ElementItemEditor(QETElementEditor *, QWidget * = 0);
virtual ~ElementItemEditor() {};
private:
ElementItemEditor(const ElementItemEditor &);
// methodes
public:
virtual QETElementEditor *elementEditor() const;
virtual ElementScene *elementScene() const;
virtual QUndoStack &undoStack() const;
virtual void addChangePartCommand(const QString &, CustomElementPart *, const QString &, const QVariant &);
virtual QString elementTypeName() const;
virtual void setElementTypeName(const QString &);
// attributs
private:
QETElementEditor *element_editor;
QString element_type_name;
};
#endif

View File

@@ -1,732 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "elementscene.h"
#include "qetelementeditor.h"
#include <cmath>
#include "partline.h"
#include "partellipse.h"
#include "partcircle.h"
#include "partpolygon.h"
#include "partterminal.h"
#include "parttext.h"
#include "parttextfield.h"
#include "partarc.h"
#include "hotspoteditor.h"
#include "editorcommands.h"
const int ElementScene::xGrid = 10;
const int ElementScene::yGrid = 10;
/**
Constructeur
@param editor L'editeur d'element concerne
@param parent le Widget parent
*/
ElementScene::ElementScene(QETElementEditor *editor, QObject *parent) :
QGraphicsScene(parent),
_width(3),
_height(7),
_hotspot(15, 35),
internal_connections(false),
qgi_manager(this),
element_editor(editor)
{
current_polygon = NULL;
undo_stack.setClean();
}
/// Destructeur
ElementScene::~ElementScene() {
}
/**
Passe la scene en mode "selection et deplacement de parties"
*/
void ElementScene::slot_move() {
behavior = Normal;
}
/**
Passe la scene en mode "ajout de ligne"
*/
void ElementScene::slot_addLine() {
behavior = Line;
}
/**
Passe la scene en mode "ajout de cercle"
*/
void ElementScene::slot_addCircle() {
behavior = Circle;
}
/**
Passe la scene en mode "ajout d'ellipse"
*/
void ElementScene::slot_addEllipse() {
behavior = Ellipse;
}
/**
Passe la scene en mode "ajout de polygone"
*/
void ElementScene::slot_addPolygon() {
behavior = Polygon;
}
/**
Passe la scene en mode "ajout de texte statique"
*/
void ElementScene::slot_addText() {
behavior = Text;
}
/**
Passe la scene en mode "ajout de borne"
*/
void ElementScene::slot_addTerminal() {
behavior = Terminal;
}
/**
Passe la scene en mode "ajout d'arc de cercle"
*/
void ElementScene::slot_addArc() {
behavior = Arc;
}
/**
Passe la scene en mode "ajout de champ de texte"
*/
void ElementScene::slot_addTextField() {
behavior = TextField;
}
/**
Gere les mouvements de la souris
@param e objet decrivant l'evenement
*/
void ElementScene::mouseMoveEvent(QGraphicsSceneMouseEvent *e) {
if (behavior != Polygon && current_polygon != NULL) current_polygon = NULL;
QRectF temp_rect;
qreal radius;
QPointF temp_point;
QPolygonF temp_polygon;
if (e -> buttons() & Qt::LeftButton) {
switch(behavior) {
case Line:
current_line -> setLine(QLineF(current_line -> line().p1(), e -> scenePos()));
break;
case Ellipse:
temp_rect = current_ellipse -> rect();
temp_rect.setBottomRight(e -> scenePos());
current_ellipse -> setRect(temp_rect);
break;
case Arc:
temp_rect = current_arc -> rect();
temp_rect.setBottomRight(e -> scenePos());
current_arc -> setRect(temp_rect);
break;
case Circle:
temp_rect = current_circle -> rect();
temp_point = e -> scenePos() - current_circle -> mapToScene(temp_rect.center());
radius = sqrt(pow(temp_point.x(), 2) + pow(temp_point.y(), 2));
temp_rect = QRectF(
temp_rect.center() - QPointF(radius, radius),
QSizeF(2.0 * radius, 2.0 * radius)
);
current_circle -> setRect(temp_rect);
break;
case Polygon:
if (current_polygon == NULL) break;
temp_polygon = current_polygon -> polygon();
temp_polygon.pop_back();
temp_polygon << e -> scenePos();
current_polygon -> setPolygon(temp_polygon);
break;
case Normal:
default:
QGraphicsScene::mouseMoveEvent(e);
}
} else if (behavior == Polygon && current_polygon != NULL) {
temp_polygon = current_polygon -> polygon();
temp_polygon.pop_back();
temp_polygon << e -> scenePos();
current_polygon -> setPolygon(temp_polygon);
} else QGraphicsScene::mouseMoveEvent(e);
}
/**
Gere les appuis sur les boutons de la souris
@param e objet decrivant l'evenement
*/
void ElementScene::mousePressEvent(QGraphicsSceneMouseEvent *e) {
if (behavior != Polygon && current_polygon != NULL) current_polygon = NULL;
QPolygonF temp_polygon;
if (e -> button() & Qt::LeftButton) {
switch(behavior) {
case Line:
current_line = new PartLine(element_editor, 0, this);
current_line -> setLine(QLineF(e -> scenePos(), e -> scenePos()));
break;
case Ellipse:
current_ellipse = new PartEllipse(element_editor, 0, this);
current_ellipse -> setRect(QRectF(e -> scenePos(), QSizeF(0.0, 0.0)));
current_ellipse -> setProperty("antialias", true);
break;
case Arc:
current_arc = new PartArc(element_editor, 0, this);
current_arc -> setRect(QRectF(e -> scenePos(), QSizeF(0.0, 0.0)));
current_arc -> setProperty("antialias", true);
break;
case Circle:
current_circle = new PartCircle(element_editor, 0, this);
current_circle -> setRect(QRectF(e -> scenePos(), QSizeF(0.0, 0.0)));
current_circle -> setProperty("antialias", true);
break;
case Polygon:
if (current_polygon == NULL) {
current_polygon = new PartPolygon(element_editor, 0, this);
temp_polygon = QPolygonF(0);
} else temp_polygon = current_polygon -> polygon();
// au debut, on insere deux points
if (!temp_polygon.count()) temp_polygon << e -> scenePos();
temp_polygon << e -> scenePos();
current_polygon -> setPolygon(temp_polygon);
break;
case Normal:
default:
QGraphicsScene::mousePressEvent(e);
if (!selectedItems().isEmpty()) fsi_pos = selectedItems().first() -> scenePos();
}
} else QGraphicsScene::mousePressEvent(e);
}
/**
Gere les relachements de boutons de la souris
@param e objet decrivant l'evenement
*/
void ElementScene::mouseReleaseEvent(QGraphicsSceneMouseEvent *e) {
PartTerminal *terminal;
PartText *text;
PartTextField *textfield;
if (behavior != Polygon && current_polygon != NULL) current_polygon = NULL;
if (e -> button() & Qt::LeftButton) {
switch(behavior) {
case Line:
if (qgiManager().manages(current_line)) break;
undo_stack.push(new AddPartCommand(tr("ligne"), this, current_line));
emit(partsAdded());
break;
case Ellipse:
if (qgiManager().manages(current_ellipse)) break;
current_ellipse -> setRect(current_ellipse -> rect().normalized());
undo_stack.push(new AddPartCommand(tr("ellipse"), this, current_ellipse));
emit(partsAdded());
break;
case Arc:
if (qgiManager().manages(current_arc)) break;
current_arc-> setRect(current_arc -> rect().normalized());
undo_stack.push(new AddPartCommand(tr("arc"), this, current_arc));
emit(partsAdded());
break;
case Circle:
if (qgiManager().manages(current_circle)) break;
current_circle -> setRect(current_circle -> rect().normalized());
undo_stack.push(new AddPartCommand(tr("cercle"), this, current_circle));
emit(partsAdded());
break;
case Terminal:
terminal = new PartTerminal(element_editor, 0, this);
terminal -> setPos(e -> scenePos());
undo_stack.push(new AddPartCommand(tr("borne"), this, terminal));
emit(partsAdded());
break;
case Text:
text = new PartText(element_editor, 0, this);
text -> setPos(e -> scenePos());
undo_stack.push(new AddPartCommand(tr("texte"), this, text));
emit(partsAdded());
break;
case TextField:
textfield = new PartTextField(element_editor, 0, this);
textfield -> setPos(e -> scenePos());
undo_stack.push(new AddPartCommand(tr("champ de texte"), this, textfield));
emit(partsAdded());
break;
case Normal:
default:
QGraphicsScene::mouseReleaseEvent(e);
// detecte les deplacements de parties
if (!selectedItems().isEmpty()) {
QPointF movement = selectedItems().first() -> scenePos() - fsi_pos;
if (!movement.isNull()) {
undo_stack.push(new MovePartsCommand(movement, this, selectedItems()));
}
}
}
} else if (e -> button() & Qt::RightButton) {
if (behavior == Polygon && current_polygon != NULL) {
behavior = Normal;
undo_stack.push(new AddPartCommand(tr("polygone"), this, current_polygon));
current_polygon = NULL;
emit(partsAdded());
emit(needNormalMode());
} else QGraphicsScene::mouseReleaseEvent(e);
} else QGraphicsScene::mouseReleaseEvent(e);
}
/**
Dessine l'arriere-plan de l'editeur, cad la grille.
@param p Le QPainter a utiliser pour dessiner
@param r Le rectangle de la zone a dessiner
*/
void ElementScene::drawBackground(QPainter *p, const QRectF &r) {
p -> save();
// desactive tout antialiasing, sauf pour le texte
p -> setRenderHint(QPainter::Antialiasing, false);
p -> setRenderHint(QPainter::TextAntialiasing, true);
p -> setRenderHint(QPainter::SmoothPixmapTransform, false);
// dessine un fond blanc
p -> setPen(Qt::NoPen);
p -> setBrush(Qt::white);
p -> drawRect(r);
// encadre la zone dessinable de l'element
QRectF drawable_area(-_hotspot.x(), -_hotspot.y(), width(), height());
p -> setPen(Qt::black);
p -> setBrush(Qt::NoBrush);
p -> drawRect(drawable_area);
if (r.width() < 2500 && r.height() < 2500) {
// dessine les points de la grille
p -> setPen(Qt::black);
p -> setBrush(Qt::NoBrush);
qreal limite_x = r.x() + r.width();
qreal limite_y = r.y() + r.height();
int g_x = (int)ceil(r.x());
while (g_x % xGrid) ++ g_x;
int g_y = (int)ceil(r.y());
while (g_y % yGrid) ++ g_y;
for (int gx = g_x ; gx < limite_x ; gx += xGrid) {
for (int gy = g_y ; gy < limite_y ; gy += yGrid) {
p -> drawPoint(gx, gy);
}
}
}
p -> restore();
}
/**
Dessine l'arriere-plan de l'editeur, cad l'indicateur de hotspot.
@param p Le QPainter a utiliser pour dessiner
@param r Le rectangle de la zone a dessiner
*/
void ElementScene::drawForeground(QPainter *p, const QRectF &) {
p -> save();
// desactive tout antialiasing, sauf pour le texte
p -> setRenderHint(QPainter::Antialiasing, false);
p -> setRenderHint(QPainter::TextAntialiasing, true);
p -> setRenderHint(QPainter::SmoothPixmapTransform, false);
p -> setPen(Qt::red);
p -> setBrush(Qt::NoBrush);
p -> drawLine(QLineF(0.0, -_hotspot.y(), 0.0, height() - _hotspot.y()));
p -> drawLine(QLineF(-_hotspot.x(), 0.0, width() - _hotspot.x(), 0.0));
p -> restore();
}
/**
Exporte l'element en XML
@return un document XML decrivant l'element
*/
const QDomDocument ElementScene::toXml() const {
// document XML
QDomDocument xml_document;
// racine du document XML
QDomElement root = xml_document.createElement("definition");
root.setAttribute("type", "element");
root.setAttribute("width", QString("%1").arg(_width * 10));
root.setAttribute("height", QString("%1").arg(_height * 10));
root.setAttribute("hotspot_x", QString("%1").arg(_hotspot.x()));
root.setAttribute("hotspot_y", QString("%1").arg(_hotspot.y()));
root.setAttribute("orientation", ori.toString());
root.setAttribute("version", QET::version);
if (internal_connections) root.setAttribute("ic", "true");
// noms de l'element
root.appendChild(_names.toXml(xml_document));
QDomElement description = xml_document.createElement("description");
// description de l'element
foreach(QGraphicsItem *qgi, zItems(true)) {
if (CustomElementPart *ce = dynamic_cast<CustomElementPart *>(qgi)) {
if (ce -> isUseless()) continue;
description.appendChild(ce -> toXml(xml_document));
}
}
root.appendChild(description);
xml_document.appendChild(root);
return(xml_document);
}
/**
Lit un element depuis un document XML
@param xml_document un document XML decrivant l'element
*/
void ElementScene::fromXml(const QDomDocument &xml_document) {
QString error_message;
bool state = true;
// la racine est supposee etre une definition d'element
QDomElement root = xml_document.documentElement();
if (root.tagName() != "definition" || root.attribute("type") != "element") {
state = false;
error_message = tr("Ce document XML n'est pas une definition d'\351l\351ment.");
}
// dimensions et hotspot
if (state) {
// ces attributs doivent etre presents et valides
int w, h, hot_x, hot_y;
if (
!QET::attributeIsAnInteger(root, QString("width"), &w) ||\
!QET::attributeIsAnInteger(root, QString("height"), &h) ||\
!QET::attributeIsAnInteger(root, QString("hotspot_x"), &hot_x) ||\
!QET::attributeIsAnInteger(root, QString("hotspot_y"), &hot_y)
) {
state = false;
error_message = tr("Les dimensions ou le point de saisie ne sont pas valides.");
} else {
setWidth(w);
setHeight(h);
setHotspot(QPoint(hot_x, hot_y));
}
}
// orientations et connexions internes
if (state) {
internal_connections = (root.attribute("ic") == "true");
if (!ori.fromString(root.attribute("orientation"))) {
state = false;
error_message = tr("Les orientations ne sont pas valides.");
}
}
// extrait les noms de la definition XML
if (state) {
_names.fromXml(root);
}
// parcours des enfants de la definition : parties de l'element
if (state) {
for (QDomNode node = root.firstChild() ; !node.isNull() ; node = node.nextSibling()) {
QDomElement elmts = node.toElement();
if (elmts.isNull()) continue;
if (elmts.tagName() == "description") {
// gestion de la description graphique de l'element
// = parcours des differentes parties du dessin
int z = 1;
for (QDomNode n = node.firstChild() ; !n.isNull() ; n = n.nextSibling()) {
QDomElement qde = n.toElement();
if (qde.isNull()) continue;
CustomElementPart *cep;
if (qde.tagName() == "line") cep = new PartLine (element_editor, 0, this);
else if (qde.tagName() == "ellipse") cep = new PartEllipse (element_editor, 0, this);
else if (qde.tagName() == "circle") cep = new PartCircle (element_editor, 0, this);
else if (qde.tagName() == "polygon") cep = new PartPolygon (element_editor, 0, this);
else if (qde.tagName() == "terminal") cep = new PartTerminal (element_editor, 0, this);
else if (qde.tagName() == "text") cep = new PartText (element_editor, 0, this);
else if (qde.tagName() == "input") cep = new PartTextField(element_editor, 0, this);
else if (qde.tagName() == "arc") cep = new PartArc (element_editor, 0, this);
else continue;
if (QGraphicsItem *qgi = dynamic_cast<QGraphicsItem *>(cep)) qgi -> setZValue(z++);
cep -> fromXml(qde);
}
}
}
}
}
/**
@return un rectangle englobant toutes les parties ainsi que le
"bounding rect" de l'element
*/
QRectF ElementScene::sceneContent() const {
return(itemsBoundingRect().unite(QRectF(-_hotspot, QSizeF(width(), height()))));
}
/**
@return la pile d'annulations de cet editeur d'element
*/
QUndoStack &ElementScene::undoStack() {
return(undo_stack);
}
/**
@return le gestionnaire de QGraphicsItem de cet editeur d'element
*/
QGIManager &ElementScene::qgiManager() {
return(qgi_manager);
}
/**
Selectionne tout
*/
void ElementScene::slot_selectAll() {
foreach(QGraphicsItem *qgi, items()) qgi -> setSelected(true);
}
/**
Deselectionne tout
*/
void ElementScene::slot_deselectAll() {
clearSelection();
}
/**
Inverse la selection
*/
void ElementScene::slot_invertSelection() {
foreach(QGraphicsItem *qgi, items()) qgi -> setSelected(!qgi -> isSelected());
}
/**
Supprime les elements selectionnes
*/
void ElementScene::slot_delete() {
// verifie qu'il y a qqc de selectionne
QList<QGraphicsItem *> selected_items = selectedItems();
if (selected_items.isEmpty()) return;
// efface tout ce qui est selectionne
undo_stack.push(new DeletePartsCommand(this, selected_items));
emit(partsRemoved());
}
/**
Lance un dialogue pour editer les dimensions et le point de saisie
(hotspot) de l'element.
*/
void ElementScene::slot_editSizeHotSpot() {
// cree un dialogue
QDialog dialog_sh;
dialog_sh.setModal(true);
dialog_sh.setMinimumSize(400, 230);
dialog_sh.setWindowTitle(tr("\311diter la taille et le point de saisie"));
QVBoxLayout *dialog_layout = new QVBoxLayout(&dialog_sh);
// ajoute un HotspotEditor au dialogue
HotspotEditor *hotspot_editor = new HotspotEditor();
hotspot_editor -> setElementWidth(static_cast<uint>(width() / 10));
hotspot_editor -> setElementHeight(static_cast<uint>(height() / 10));
hotspot_editor -> setHotspot(hotspot());
hotspot_editor -> setOldHotspot(hotspot());
hotspot_editor -> setPartsRect(itemsBoundingRect());
hotspot_editor -> setPartsRectEnabled(true);
dialog_layout -> addWidget(hotspot_editor);
// ajoute deux boutons au dialogue
QDialogButtonBox *dialog_buttons = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
dialog_layout -> addWidget(dialog_buttons);
connect(dialog_buttons, SIGNAL(accepted()), &dialog_sh, SLOT(accept()));
connect(dialog_buttons, SIGNAL(rejected()), &dialog_sh, SLOT(reject()));
// lance le dialogue
if (dialog_sh.exec() != QDialog::Accepted) return;
QSize new_size(hotspot_editor -> elementSize());
QSize old_size(width(), height());
QPoint new_hotspot(hotspot_editor -> hotspot());
QPoint old_hotspot(_hotspot);
if (new_size != old_size || new_hotspot != old_hotspot) {
undo_stack.push(new ChangeHotspotCommand(this, old_size, new_size, old_hotspot, new_hotspot, hotspot_editor -> offsetParts()));
}
}
/**
Lance un dialogue pour editer les noms de cete element
*/
void ElementScene::slot_editOrientations() {
// cree un dialogue
QDialog dialog_ori;
dialog_ori.setModal(true);
dialog_ori.setMinimumSize(400, 260);
dialog_ori.setWindowTitle(tr("\311diter les orientations"));
QVBoxLayout *dialog_layout = new QVBoxLayout(&dialog_ori);
// ajoute un champ explicatif au dialogue
QLabel *information_label = new QLabel(tr("L'orientation par d\351faut est l'orientation dans laquelle s'effectue la cr\351ation de l'\351l\351ment."));
information_label -> setAlignment(Qt::AlignJustify | Qt::AlignVCenter);
information_label -> setWordWrap(true);
dialog_layout -> addWidget(information_label);
// ajoute un OrientationSetWidget au dialogue
OrientationSetWidget *ori_widget = new OrientationSetWidget();
ori_widget -> setOrientationSet(ori);
dialog_layout -> addWidget(ori_widget);
// ajoute une case a cocher pour les connexions internes
QCheckBox *ic_checkbox = new QCheckBox(tr("Autoriser les connexions internes"));
ic_checkbox -> setChecked(internal_connections);
dialog_layout -> addWidget(ic_checkbox);
dialog_layout -> addStretch();
// ajoute deux boutons au dialogue
QDialogButtonBox *dialog_buttons = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
dialog_layout -> addWidget(dialog_buttons);
connect(dialog_buttons, SIGNAL(accepted()), &dialog_ori, SLOT(accept()));
connect(dialog_buttons, SIGNAL(rejected()), &dialog_ori, SLOT(reject()));
// lance le dialogue
if (dialog_ori.exec() == QDialog::Accepted) {
OrientationSet new_ori = ori_widget -> orientationSet();
if (new_ori != ori) {
undoStack().push(new ChangeOrientationsCommand(this, ori, new_ori));
}
if (ic_checkbox -> isChecked() != internal_connections) {
undoStack().push(new AllowInternalConnectionsCommand(this, ic_checkbox -> isChecked()));
}
}
}
/**
Lance un dialogue pour editer les noms de cet element
*/
void ElementScene::slot_editNames() {
// cree un dialogue
QDialog dialog;
dialog.setModal(true);
dialog.setMinimumSize(400, 330);
dialog.setWindowTitle(tr("\311diter les noms"));
QVBoxLayout *dialog_layout = new QVBoxLayout(&dialog);
// ajoute un champ explicatif au dialogue
QLabel *information_label = new QLabel(tr("Vous pouvez sp\351cifier le nom de l'\351l\351ment dans plusieurs langues."));
information_label -> setAlignment(Qt::AlignJustify | Qt::AlignVCenter);
information_label -> setWordWrap(true);
dialog_layout -> addWidget(information_label);
// ajoute un NamesListWidget au dialogue
NamesListWidget *names_widget = new NamesListWidget();
names_widget -> setNames(_names);
dialog_layout -> addWidget(names_widget);
// ajoute deux boutons au dialogue
QDialogButtonBox *dialog_buttons = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
dialog_layout -> addWidget(dialog_buttons);
connect(dialog_buttons, SIGNAL(accepted()), names_widget, SLOT(check()));
connect(names_widget, SIGNAL(inputChecked()), &dialog, SLOT(accept()));
connect(dialog_buttons, SIGNAL(rejected()), &dialog, SLOT(reject()));
// lance le dialogue
if (dialog.exec() == QDialog::Accepted) {
NamesList new_names(names_widget -> names());
if (new_names != _names) undoStack().push(new ChangeNamesCommand(this, _names, new_names));
}
}
/**
Amene les elements selectionnes au premier plan
*/
void ElementScene::slot_bringForward() {
undoStack().push(new ChangeZValueCommand(this, ChangeZValueCommand::BringForward));
emit(partsZValueChanged());
}
/**
Remonte les elements selectionnes d'un plan
*/
void ElementScene::slot_raise() {
undoStack().push(new ChangeZValueCommand(this, ChangeZValueCommand::Raise));
emit(partsZValueChanged());
}
/**
Descend les elements selectionnes d'un plan
*/
void ElementScene::slot_lower() {
undoStack().push(new ChangeZValueCommand(this, ChangeZValueCommand::Lower));
emit(partsZValueChanged());
}
/**
Envoie les elements selectionnes au fond
*/
void ElementScene::slot_sendBackward() {
undoStack().push(new ChangeZValueCommand(this, ChangeZValueCommand::SendBackward));
emit(partsZValueChanged());
}
/**
@param include_terminals true pour inclure les bornes, false sinon
@return les parties de l'element ordonnes par zValue croissante
*/
QList<QGraphicsItem *> ElementScene::zItems(bool include_terminals) const {
// recupere les elements
QList<QGraphicsItem *> all_items_list(items());
// enleve les bornes
QList<QGraphicsItem *> terminals;
foreach(QGraphicsItem *qgi, all_items_list) {
if (qgraphicsitem_cast<PartTerminal *>(qgi)) {
all_items_list.removeAt(all_items_list.indexOf(qgi));
terminals << qgi;
}
}
// ordonne les parties par leur zValue
QMultiMap<qreal, QGraphicsItem *> mm;
foreach(QGraphicsItem *qgi, all_items_list) mm.insert(qgi -> zValue(), qgi);
all_items_list.clear();
QMapIterator<qreal, QGraphicsItem *> i(mm);
while (i.hasNext()) {
i.next();
all_items_list << i.value();
}
// rajoute eventuellement les bornes
if (include_terminals) all_items_list += terminals;
return(all_items_list);
}
/**
Supprime les parties de l'element et les objets d'annulations.
Les autres caracteristiques sont conservees.
*/
void ElementScene::reset() {
// supprime les objets d'annulation
undoStack().clear();
// enleve les elements de la scene
foreach (QGraphicsItem *qgi, items()) {
removeItem(qgi);
qgiManager().release(qgi);
}
}

View File

@@ -1,238 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef ELEMENT_SCENE_H
#define ELEMENT_SCENE_H
#include <QtGui>
#include <QtXml>
#include "nameslistwidget.h"
#include "orientationsetwidget.h"
#include "qgimanager.h"
class QETElementEditor;
class PartLine;
class PartEllipse;
class PartCircle;
class PartPolygon;
class PartArc;
/**
Cette classe est le canevas permettant l'edition d'un element electrique.
Elle regroupe les differentes parties composant le dessin de l'element mais
egalement les informations complementaires : dimensions, orientations,
noms.
*/
class ElementScene : public QGraphicsScene {
Q_OBJECT
// enum
enum Behavior { Normal, Line, Circle, Ellipse, Polygon, Text, Terminal, Arc, TextField };
// constructeurs, destructeur
public:
ElementScene(QETElementEditor *, QObject * = 0);
virtual ~ElementScene();
private:
ElementScene(const ElementScene &);
// attributs
public:
static const int xGrid; ///< Taille horizontale de la grille
static const int yGrid; ///< Taille verticale de la grille
private:
/// longueur de l'element en dizaines de pixels
uint _width;
/// hauteur de l'element en dizaines de pixels
uint _height;
/// position du point de saisie
QPoint _hotspot;
/// Liste des noms de l'element
NamesList _names;
/// Liste des orientations de l'element
OrientationSet ori;
/// booleen indiquant si les bornes de l'element peuvent etre reliees a des bornes de ce meme element
bool internal_connections;
/// Gestionnaire de QGraphicsItem
QGIManager qgi_manager;
/// Pile des actions annulables
QUndoStack undo_stack;
/// Position du premier item selectionne (utilise pour annuler les deplacements)
QPointF fsi_pos;
/// Variables relatives a la gestion du dessin des parties sur la scene
Behavior behavior;
PartLine *current_line;
PartEllipse *current_ellipse;
PartCircle *current_circle;
PartPolygon *current_polygon;
PartArc *current_arc;
QETElementEditor *element_editor;
// methodes
public:
void setWidth(const uint &);
uint width() const;
void setHeight(const uint &);
uint height() const;
void setHotspot(const QPoint &);
QPoint hotspot() const;
void setNames(const NamesList &);
NamesList names() const;
OrientationSet orientations();
void setOrientations(const OrientationSet &);
bool internalConnections();
void setInternalConnections(bool);
virtual const QDomDocument toXml() const;
virtual void fromXml(const QDomDocument &);
virtual void reset();
virtual QList<QGraphicsItem *> zItems(bool = false) const;
QRectF sceneContent() const;
QUndoStack &undoStack();
QGIManager &qgiManager();
protected:
virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *);
virtual void mousePressEvent(QGraphicsSceneMouseEvent *);
virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *);
virtual void drawBackground(QPainter *, const QRectF &);
virtual void drawForeground(QPainter *, const QRectF &);
public slots:
void slot_move();
void slot_addLine();
void slot_addCircle();
void slot_addEllipse();
void slot_addPolygon();
void slot_addText();
void slot_addArc();
void slot_addTerminal();
void slot_addTextField();
void slot_selectAll();
void slot_deselectAll();
void slot_invertSelection();
void slot_delete();
void slot_editSizeHotSpot();
void slot_editNames();
void slot_editOrientations();
void slot_bringForward();
void slot_raise();
void slot_lower();
void slot_sendBackward();
signals:
/**
Signal emis lorsque la scene exige que l'editeur d'element repasse
en mode normal
*/
void needNormalMode();
/// Signal emis lorsqu'une ou plusieurs parties sont ajoutees
void partsAdded();
/// Signal emis lorsqu'une ou plusieurs parties sont enlevees
void partsRemoved();
/// Signal emis lorsque la zValue d'une ou plusieurs parties change
void partsZValueChanged();
};
/**
@param wid Nouvelle largeur de l'element edite
*/
inline void ElementScene::setWidth(const uint &wid) {
_width = wid;
while (_width % 10) ++ _width;
_width /= 10;
}
/**
@return la largeur de l'element edite
*/
inline uint ElementScene::width() const {
return(_width * 10);
}
/**
@param hei Nouvelle hauteur de l'element edite
*/
inline void ElementScene::setHeight(const uint &hei) {
_height = hei;
while (_height % 10) ++ _height;
_height /= 10;
}
/**
@return la largeur de l'element edite
*/
inline uint ElementScene::height() const {
return(_height * 10);
}
/**
@param hs Nouveau point de saisie de l'element edite
*/
inline void ElementScene::setHotspot(const QPoint &hs) {
_hotspot = hs;
}
/**
@return le point de saisie de l'element edite
*/
inline QPoint ElementScene::hotspot() const {
return(_hotspot);
}
/**
@param nameslist Nouvel ensemble de noms de l'element edite
*/
inline void ElementScene::setNames(const NamesList &nameslist) {
_names = nameslist;
}
/**
@return l'ensemble de noms de l'element edite
*/
inline NamesList ElementScene::names() const {
return(_names);
}
/**
@return l'ensemble d'orientations de l'element edite
*/
inline OrientationSet ElementScene::orientations() {
return(ori);
}
/**
@param orientation_set Nouvel ensemble d'orientations de l'element edite
*/
inline void ElementScene::setOrientations(const OrientationSet &orientation_set) {
ori = orientation_set;
}
/**
@return true si les connexions internes sont acceptees, false sinon
*/
inline bool ElementScene::internalConnections() {
return(internal_connections);
}
/**
@param ic true pour que les connexions internes soient acceptees, false sinon
*/
inline void ElementScene::setInternalConnections(bool ic) {
internal_connections = ic;
}
#endif

View File

@@ -1,128 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "elementview.h"
/**
Constructeur
@param scene ElementScene visualisee par cette ElementView
@param parent QWidget parent de cette ElementView
*/
ElementView::ElementView(ElementScene *scene, QWidget *parent) :
QGraphicsView(scene, parent),
scene_(scene)
{
setInteractive(true);
setAlignment(Qt::AlignHCenter | Qt::AlignVCenter);
setResizeAnchor(QGraphicsView::AnchorUnderMouse);
zoomReset();
}
/// Destructeur
ElementView::~ElementView() {
}
/// @return l'ElementScene visualisee par cette ElementView
ElementScene *ElementView::scene() const {
return(scene_);
}
/**
Definit l'ElementScene visualisee par cette ElementView
@param s l'ElementScene visualisee par cette ElementView
*/
void ElementView::setScene(ElementScene *s) {
QGraphicsView::setScene(s);
scene_ = s;
}
/**
Gere les evenements envoyes a la vue.
Methode reimplentee pour gerer le conflit de raccourcis avec Suppr
(supprimer une partie ou supprimer le caractere suivant)
@param e evenement a gerer
*/
bool ElementView::event(QEvent *e) {
if (e -> type() == QEvent::ShortcutOverride && scene_ -> focusItem()) {
e -> accept();
return(true);
}
return(QGraphicsView::event(e));
}
/**
Agrandit le schema (+33% = inverse des -25 % de zoomMoins())
*/
void ElementView::zoomIn() {
scale(4.0/3.0, 4.0/3.0);
}
/**
Retrecit le schema (-25% = inverse des +33 % de zoomPlus())
*/
void ElementView::zoomOut() {
scale(0.75, 0.75);
}
/**
Agrandit ou rectrecit le schema de facon a ce que tous les elements du
schema soient visibles a l'ecran. S'il n'y a aucun element sur le schema,
le zoom est reinitialise
*/
void ElementView::zoomFit() {
adjustSceneRect();
fitInView(sceneRect(), Qt::KeepAspectRatio);
}
/**
Reinitialise le zoom
*/
void ElementView::zoomReset() {
resetMatrix();
scale(4.0, 4.0);
}
/**
Ajuste le sceneRect (zone du schema visualisee par l'ElementView) afin que
celui inclut a la fois les parties dans et en dehors du cadre et le cadre
lui-meme.
*/
void ElementView::adjustSceneRect() {
QRectF old_scene_rect = scene_ -> sceneRect();
QRectF new_scene_rect = scene_ -> sceneContent();
setSceneRect(new_scene_rect);
// met a jour la scene
scene_ -> update(old_scene_rect.united(new_scene_rect));
}
/**
Gere les actions liees a la rollette de la souris
@param e QWheelEvent decrivant l'evenement rollette
*/
void ElementView::wheelEvent(QWheelEvent *e) {
// si la touche Ctrl est enfoncee, on zoome / dezoome
if (e -> modifiers() & Qt::ControlModifier) {
if (e -> delta() > 0) {
zoomIn();
} else {
zoomOut();
}
} else {
QAbstractScrollArea::wheelEvent(e);
}
}

View File

@@ -1,56 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef ELEMENT_VIEW_H
#define ELEMENT_VIEW_H
#include <QGraphicsView>
#include "elementscene.h"
/**
Cette classe represente un widget permettant de visualiser une
ElementScene, c'est-a-dire la classe d'edition des elements.
*/
class ElementView : public QGraphicsView {
Q_OBJECT
// constructeurs, destructeur
public:
ElementView(ElementScene *, QWidget * = 0);
virtual ~ElementView();
private:
ElementView(const ElementView &);
// methodes
public:
ElementScene *scene() const;
void setScene(ElementScene *);
protected:
bool event(QEvent *);
void wheelEvent(QWheelEvent *);
// slots
public slots:
void zoomIn();
void zoomOut();
void zoomFit();
void zoomReset();
void adjustSceneRect();
//attributs
private:
ElementScene *scene_;
};
#endif

View File

@@ -1,108 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "ellipseeditor.h"
#include "partellipse.h"
/**
Constructeur
@param editor L'editeur d'element concerne
@param ellipse L'ellipse a editer
@param parent le Widget parent
*/
EllipseEditor::EllipseEditor(QETElementEditor *editor, PartEllipse *ellipse, QWidget *parent) : ElementItemEditor(editor, parent) {
part = ellipse;
x = new QLineEdit();
y = new QLineEdit();
h = new QLineEdit();
v = new QLineEdit();
x -> setValidator(new QDoubleValidator(x));
y -> setValidator(new QDoubleValidator(y));
h -> setValidator(new QDoubleValidator(h));
v -> setValidator(new QDoubleValidator(v));
QGridLayout *grid = new QGridLayout(this);
grid -> addWidget(new QLabel(tr("Centre : ")), 0, 0);
grid -> addWidget(new QLabel("x"), 1, 0);
grid -> addWidget(x, 1, 1);
grid -> addWidget(new QLabel("y"), 1, 2);
grid -> addWidget(y, 1, 3);
grid -> addWidget(new QLabel(tr("Diam\350tres : ")), 2, 0);
grid -> addWidget(new QLabel(tr("horizontal :")), 3, 0);
grid -> addWidget(h, 3, 1);
grid -> addWidget(new QLabel(tr("vertical :")), 4, 0);
grid -> addWidget(v, 4, 1);
activeConnections(true);
updateForm();
}
/// Destructeur
EllipseEditor::~EllipseEditor() {
}
/**
Met a jour l'ellipse a partir des donnees du formulaire
*/
void EllipseEditor::updateEllipse() {
part -> setProperty("x", x -> text().toDouble());
part -> setProperty("y", x -> text().toDouble());
part -> setProperty("diameter_h", x -> text().toDouble());
part -> setProperty("diameter_v", x -> text().toDouble());
}
/// Met a jour l'abscisse du centre de l'ellipse et cree un objet d'annulation
void EllipseEditor::updateEllipseX() { addChangePartCommand(tr("abscisse"), part, "x", x -> text().toDouble()); }
/// Met a jour l'ordonnee du centre de l'ellipse et cree un objet d'annulation
void EllipseEditor::updateEllipseY() { addChangePartCommand(tr("ordonn\351e"), part, "y", y -> text().toDouble()); }
/// Met a jour le diametre horizontal de l'ellipse et cree un objet d'annulation
void EllipseEditor::updateEllipseH() { addChangePartCommand(tr("diam\350tre horizontal"), part, "diameter_h", h -> text().toDouble()); }
/// Met a jour le diametre vertical de l'ellipse et cree un objet d'annulation
void EllipseEditor::updateEllipseV() { addChangePartCommand(tr("diam\350tre vertical"), part, "diameter_v", v -> text().toDouble()); }
/**
Met a jour le formulaire d'edition
*/
void EllipseEditor::updateForm() {
activeConnections(false);
x -> setText(part -> property("x").toString());
y -> setText(part -> property("y").toString());
h -> setText(part -> property("diameter_h").toString());
v -> setText(part -> property("diameter_v").toString());
activeConnections(true);
}
/**
Active ou desactive les connexionx signaux/slots entre les widgets internes.
@param active true pour activer les connexions, false pour les desactiver
*/
void EllipseEditor::activeConnections(bool active) {
if (active) {
connect(x, SIGNAL(editingFinished()), this, SLOT(updateEllipseX()));
connect(y, SIGNAL(editingFinished()), this, SLOT(updateEllipseY()));
connect(h, SIGNAL(editingFinished()), this, SLOT(updateEllipseH()));
connect(v, SIGNAL(editingFinished()), this, SLOT(updateEllipseV()));
} else {
disconnect(x, SIGNAL(editingFinished()), this, SLOT(updateEllipseX()));
disconnect(y, SIGNAL(editingFinished()), this, SLOT(updateEllipseY()));
disconnect(h, SIGNAL(editingFinished()), this, SLOT(updateEllipseH()));
disconnect(v, SIGNAL(editingFinished()), this, SLOT(updateEllipseV()));
}
}

View File

@@ -1,53 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef ELLIPSE_EDITOR_H
#define ELLIPSE_EDITOR_H
#include <QtGui>
#include "elementitemeditor.h"
class PartEllipse;
/**
Cette classe represente le widget d'edition d'une ellipse dans l'editeur
d'element.
*/
class EllipseEditor : public ElementItemEditor {
Q_OBJECT
//constructeurs, destructeur
public:
EllipseEditor(QETElementEditor *, PartEllipse *, QWidget * = 0);
~EllipseEditor();
private:
EllipseEditor(const EllipseEditor &);
// attributs
private:
PartEllipse *part;
QLineEdit *x, *y, *h, *v;
// methodes
public slots:
void updateEllipse();
void updateEllipseX();
void updateEllipseY();
void updateEllipseH();
void updateEllipseV();
void updateForm();
private:
void activeConnections(bool);
};
#endif

View File

@@ -1,115 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "lineeditor.h"
#include "partline.h"
/**
Constructeur
@param editor L'editeur d'element concerne
@param line La ligne a editer
@param parent le Widget parent
*/
LineEditor::LineEditor(QETElementEditor *editor, PartLine *line, QWidget *parent) : ElementItemEditor(editor, parent) {
part = line;
x1 = new QLineEdit();
y1 = new QLineEdit();
x2 = new QLineEdit();
y2 = new QLineEdit();
x1 -> setValidator(new QDoubleValidator(x1));
y1 -> setValidator(new QDoubleValidator(y1));
x2 -> setValidator(new QDoubleValidator(x2));
y2 -> setValidator(new QDoubleValidator(y2));
QGridLayout *grid = new QGridLayout(this);
grid -> addWidget(new QLabel("x1"), 0, 0);
grid -> addWidget(x1, 0, 1);
grid -> addWidget(new QLabel("y1"), 0, 2);
grid -> addWidget(y1, 0, 3);
grid -> addWidget(new QLabel("x2"), 1, 0);
grid -> addWidget(x2, 1, 1);
grid -> addWidget(new QLabel("y2"), 1, 2);
grid -> addWidget(y2, 1, 3);
updateForm();
}
/// Destructeur
LineEditor::~LineEditor() {
}
/**
Met a jour la ligne a partir des donnees du formulaire
*/
void LineEditor::updateLine() {
part -> setLine(
QLineF(
part -> mapFromScene(
x1 -> text().toDouble(),
y1 -> text().toDouble()
),
part -> mapFromScene(
x2 -> text().toDouble(),
y2 -> text().toDouble()
)
)
);
}
/// Met a jour l'abscisse du premier point de la ligne et cree un objet d'annulation
void LineEditor::updateLineX1() { addChangePartCommand(tr("abscisse point 1"), part, "x1", x1 -> text().toDouble()); }
/// Met a jour l'ordonnee du premier point de la ligne et cree un objet d'annulation
void LineEditor::updateLineY1() { addChangePartCommand(tr("ordonn\351e point 1"), part, "y1", y1 -> text().toDouble()); }
/// Met a jour l'abscisse du second point de la ligne et cree un objet d'annulation
void LineEditor::updateLineX2() { addChangePartCommand(tr("abscisse point 2"), part, "x2", x2 -> text().toDouble()); }
/// Met a jour l'ordonnee du second point de la ligne et cree un objet d'annulation
void LineEditor::updateLineY2() { addChangePartCommand(tr("ordonn\351e point 2"), part, "y2", y2 -> text().toDouble()); }
/**
Met a jour le formulaire d'edition
*/
void LineEditor::updateForm() {
activeConnections(false);
QPointF p1(part -> sceneP1());
QPointF p2(part -> sceneP2());
x1 -> setText(QString("%1").arg(p1.x()));
y1 -> setText(QString("%1").arg(p1.y()));
x2 -> setText(QString("%1").arg(p2.x()));
y2 -> setText(QString("%1").arg(p2.y()));
activeConnections(true);
}
/**
Active ou desactive les connexionx signaux/slots entre les widgets internes.
@param active true pour activer les connexions, false pour les desactiver
*/
void LineEditor::activeConnections(bool active) {
if (active) {
connect(x1, SIGNAL(editingFinished()), this, SLOT(updateLineX1()));
connect(y1, SIGNAL(editingFinished()), this, SLOT(updateLineY1()));
connect(x2, SIGNAL(editingFinished()), this, SLOT(updateLineX2()));
connect(y2, SIGNAL(editingFinished()), this, SLOT(updateLineY2()));
} else {
connect(x1, SIGNAL(editingFinished()), this, SLOT(updateLineX1()));
connect(y1, SIGNAL(editingFinished()), this, SLOT(updateLineY1()));
connect(x2, SIGNAL(editingFinished()), this, SLOT(updateLineX2()));
connect(y2, SIGNAL(editingFinished()), this, SLOT(updateLineY2()));
}
}

View File

@@ -1,53 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef LINE_EDITOR_H
#define LINE_EDITOR_H
#include <QtGui>
#include "elementitemeditor.h"
class PartLine;
/**
Cette classe represente le widget d'edition d'une ligne dans l'editeur
d'element.
*/
class LineEditor : public ElementItemEditor {
Q_OBJECT
//constructeurs, destructeur
public:
LineEditor(QETElementEditor *, PartLine *, QWidget * = 0);
~LineEditor();
private:
LineEditor(const LineEditor &);
// attributs
private:
PartLine *part;
QLineEdit *x1, *y1, *x2, *y2;
// methodes
public slots:
void updateLine();
void updateLineX1();
void updateLineY1();
void updateLineX2();
void updateLineY2();
void updateForm();
private:
void activeConnections(bool);
};
#endif

View File

@@ -1,263 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "partarc.h"
#include "arceditor.h"
/**
Constructeur
@param editor L'editeur d'element concerne
@param parent Le QGraphicsItem parent de cet arc
@param scene La scene sur laquelle figure cet arc
*/
PartArc::PartArc(QETElementEditor *editor, QGraphicsItem *parent, QGraphicsScene *scene) :
QGraphicsEllipseItem(parent, scene),
CustomElementGraphicPart(editor),
_angle(-90),
start_angle(0)
{
setFlags(QGraphicsItem::ItemIsMovable | QGraphicsItem::ItemIsSelectable);
setAcceptedMouseButtons(Qt::LeftButton);
informations = new ArcEditor(elementEditor(), this);
informations -> setElementTypeName(name());
style_editor -> appendWidget(informations);
style_editor -> setElementTypeName(name());
}
/// Destructeur
PartArc::~PartArc() {
}
/**
Dessine l'arc de cercle
@param painter QPainter a utiliser pour rendre le dessin
@param options Options pour affiner le rendu
@param widget Widget sur lequel le rendu est effectue
*/
void PartArc::paint(QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *) {
applyStylesToQPainter(*painter);
// enleve systematiquement la couleur de fond
painter -> setBrush(Qt::NoBrush);
QPen t = painter -> pen();
if (isSelected()) {
// dessine l'ellipse en noir
painter -> drawEllipse(rect());
// dessine l'arc en rouge
t.setColor(Qt::red);
painter -> setPen(t);
}
painter -> drawArc(rect(), start_angle * 16, _angle * 16);
if (isSelected()) {
// dessine la croix au centre de l'ellipse
painter -> setRenderHint(QPainter::Antialiasing, false);
painter -> setPen((painter -> brush().color() == QColor(Qt::black) && painter -> brush().isOpaque()) ? Qt::yellow : Qt::blue);
QPointF center = rect().center();
painter -> drawLine(QLineF(center.x() - 2.0, center.y(), center.x() + 2.0, center.y()));
painter -> drawLine(QLineF(center.x(), center.y() - 2.0, center.x(), center.y() + 2.0));
}
}
/**
Exporte l'arc de cercle en XML
@param xml_document Document XML a utiliser pour creer l'element XML
@return un element XML decrivant l'arc de cercle
*/
const QDomElement PartArc::toXml(QDomDocument &xml_document) const {
QDomElement xml_element = xml_document.createElement("arc");
QPointF top_left(sceneTopLeft());
xml_element.setAttribute("x", top_left.x());
xml_element.setAttribute("y", top_left.y());
xml_element.setAttribute("width", rect().width());
xml_element.setAttribute("height", rect().height());
xml_element.setAttribute("start", start_angle);
xml_element.setAttribute("angle", _angle);
stylesToXml(xml_element);
return(xml_element);
}
/**
Importe les proprietes d'un arc de cercle depuis un element XML
@param qde Element XML a lire
*/
void PartArc::fromXml(const QDomElement &qde) {
stylesFromXml(qde);
setRect(
QRectF(
mapFromScene(
qde.attribute("x", "0").toDouble(),
qde.attribute("y", "0").toDouble()
),
QSizeF(
qde.attribute("width", "0").toDouble(),
qde.attribute("height", "0").toDouble()
)
)
);
setStartAngle(qde.attribute("start", "0").toInt());
setAngle(qde.attribute("angle", "-90").toInt());
}
/**
@return le coin superieur gauche du rectangle dans lequel s'inscrit
l'ellipse dont fait partie cet arc, dans les coordonnees de la scene.
*/
QPointF PartArc::sceneTopLeft() const {
return(mapToScene(rect().topLeft()));
}
/**
Specifie la valeur d'une propriete donnee de l'arc
@param property propriete a modifier. Valeurs acceptees :
* x : abscisse du centre de l'ellipse dont fait partie l'arc
* y : ordonnee du centre de l'ellipse dont fait partie l'arc
* diameter_h : diametre horizontal de l'ellipse dont fait partie l'arc
* diameter_v : diametre vertical de l'ellipse dont fait partie l'arc
* start_angle : angle de depart
* angle : taille de l'arc de cercle
@param value Valeur a attribuer a la propriete
*/
void PartArc::setProperty(const QString &property, const QVariant &value) {
CustomElementGraphicPart::setProperty(property, value);
if (!value.canConvert(QVariant::Double)) return;
if (property == "x") {
QRectF current_rect = rect();
QPointF current_pos = mapToScene(current_rect.center());
setRect(current_rect.translated(value.toDouble() - current_pos.x(), 0.0));
} else if (property == "y") {
QRectF current_rect = rect();
QPointF current_pos = mapToScene(current_rect.center());
setRect(current_rect.translated(0.0, value.toDouble() - current_pos.y()));
} else if (property == "diameter_h") {
qreal new_width = qAbs(value.toDouble());
QRectF current_rect = rect();
current_rect.translate((new_width - current_rect.width()) / -2.0, 0.0);
current_rect.setWidth(new_width);
setRect(current_rect);
} else if (property == "diameter_v") {
qreal new_height = qAbs(value.toDouble());
QRectF current_rect = rect();
current_rect.translate(0.0, (new_height - current_rect.height()) / -2.0);
current_rect.setHeight(new_height);
setRect(current_rect);
} else if (property == "start_angle") {
setStartAngle(value.toInt() );
} else if (property == "angle") {
setAngle(value.toInt());
}
}
/**
Permet d'acceder a la valeur d'une propriete donnee de l'arc de cercle
@param property propriete lue. Valeurs acceptees :
* x : abscisse du centre de l'ellipse dont fait partie l'arc
* y : ordonnee du centre de l'ellipse dont fait partie l'arc
* diameter_h : diametre horizontal de l'ellipse dont fait partie l'arc
* diameter_v : diametre vertical de l'ellipse dont fait partie l'arc
* start_angle : angle de depart
* angle : taille de l'arc de cercle
@return La valeur de la propriete property
*/
QVariant PartArc::property(const QString &property) {
// appelle la methode property de CustomElementGraphicpart pour les styles
QVariant style_property = CustomElementGraphicPart::property(property);
if (style_property != QVariant()) return(style_property);
if (property == "x") {
return(mapToScene(rect().center()).x());
} else if (property == "y") {
return(mapToScene(rect().center()).y());
} else if (property == "diameter_h") {
return(rect().width());
} else if (property == "diameter_v") {
return(rect().height());
} else if (property == "start_angle") {
return(start_angle);
} else if (property == "angle") {
return(_angle);
}
return(QVariant());
}
/**
Gere les changements intervenant sur cette partie
@param change Type de changement
@param value Valeur numerique relative au changement
*/
QVariant PartArc::itemChange(GraphicsItemChange change, const QVariant &value) {
if (scene()) {
if (change == QGraphicsItem::ItemPositionChange || change == QGraphicsItem::ItemSelectedChange) {
informations -> updateForm();
}
}
return(QGraphicsEllipseItem::itemChange(change, value));
}
/**
Permet de modifier l'etendue de l'arc de cercle.
Il s'agit d'un angle, exprime en degres.
Si l'angle est positif, l'arc s'etendra dans le sens des aiguilles d'une
montre.
@param a la nouvelle taille de l'arc de cercle
*/
void PartArc::setAngle(int a) {
_angle = a;
}
/**
Permet de modifier la position de depart de l'arc de cercle.
Il s'agit d'un angle, exprime en degres.
l'angle "0 degre" est situe a "3 heures".
@param a la nouvelle taille de l'arc de cercle
*/
void PartArc::setStartAngle(int a) {
start_angle = a;
}
/**
@return l'etendue de l'arc de cercle
*/
int PartArc::angle() const {
return(_angle);
}
/**
@return la position de depart de l'arc de cercle
*/
int PartArc::startAngle() const {
return(start_angle);
}
/**
@return true si cette partie n'est pas pertinente et ne merite pas d'etre
conservee / enregistree.
Un arc est pertinent des lors que ses dimensions et son etendue ne sont
pas nulles.
*/
bool PartArc::isUseless() const {
return(rect().isNull() || !angle());
}
/**
@return le rectangle delimitant cette partie.
*/
QRectF PartArc::boundingRect() const {
qreal adjust = 1.5;
QRectF r(QGraphicsEllipseItem::boundingRect().normalized());
r.adjust(-adjust, -adjust, adjust, adjust);
return(r);
}

View File

@@ -1,67 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef PART_ARC_H
#define PART_ARC_H
#include <QtGui>
#include "customelementgraphicpart.h"
class ArcEditor;
/**
Cette classe represente un arc pouvant etre utilise pour composer le
dessin d'un element dans l'editeur d'element.
*/
class PartArc : public QGraphicsEllipseItem, public CustomElementGraphicPart {
// constructeurs, destructeur
public:
PartArc(QETElementEditor *, QGraphicsItem * = 0, QGraphicsScene * = 0);
virtual ~PartArc();
private:
PartArc(const PartArc &);
// attributs
private:
ArcEditor *informations;
int _angle;
int start_angle;
// methodes
public:
enum { Type = UserType + 1101 };
/**
permet de caster un QGraphicsItem en PartArc avec qgraphicsitem_cast
@return le type de QGraphicsItem
*/
virtual int type() const { return Type; }
virtual void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget * = 0);
virtual QString name() const { return(QObject::tr("arc")); }
virtual const QDomElement toXml(QDomDocument &) const;
virtual void fromXml(const QDomElement &);
virtual QPointF sceneTopLeft() const;
virtual QRectF boundingRect() const;
virtual void setAngle(int);
virtual void setStartAngle(int);
virtual int angle() const;
virtual int startAngle() const;
virtual void setProperty(const QString &, const QVariant &);
virtual QVariant property(const QString &);
virtual bool isUseless() const;
protected:
QVariant itemChange(GraphicsItemChange, const QVariant &);
};
#endif

View File

@@ -1,199 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "partcircle.h"
#include "circleeditor.h"
/**
Constructeur
@param editor L'editeur d'element concerne
@param parent Le QGraphicsItem parent de ce cercle
@param scene La scene sur laquelle figure ce cercle
*/
PartCircle::PartCircle(QETElementEditor *editor, QGraphicsItem *parent, QGraphicsScene *scene) : QGraphicsEllipseItem(parent, scene), CustomElementGraphicPart(editor) {
setFlags(QGraphicsItem::ItemIsMovable | QGraphicsItem::ItemIsSelectable);
setAcceptedMouseButtons(Qt::LeftButton);
informations = new CircleEditor(elementEditor(), this);
informations -> setElementTypeName(name());
style_editor -> appendWidget(informations);
style_editor -> setElementTypeName(name());
}
/// Destructeur
PartCircle::~PartCircle() {
}
/**
Dessine le cercle
@param painter QPainter a utiliser pour rendre le dessin
@param options Options pour affiner le rendu
@param widget Widget sur lequel le rendu est effectue
*/
void PartCircle::paint(QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *) {
applyStylesToQPainter(*painter);
QPen t = painter -> pen();
if (isSelected()) {
t.setColor(Qt::red);
painter -> setPen(t);
}
painter -> drawEllipse(rect());
if (isSelected()) {
painter -> setRenderHint(QPainter::Antialiasing, false);
painter -> setPen((painter -> brush().color() == QColor(Qt::black) && painter -> brush().isOpaque()) ? Qt::yellow : Qt::blue);
QPointF center = rect().center();
painter -> drawLine(QLineF(center.x() - 2.0, center.y(), center.x() + 2.0, center.y()));
painter -> drawLine(QLineF(center.x(), center.y() - 2.0, center.x(), center.y() + 2.0));
}
}
/**
Exporte le cercle en XML
@param xml_document Document XML a utiliser pour creer l'element XML
@return un element XML decrivant le cercle
*/
const QDomElement PartCircle::toXml(QDomDocument &xml_document) const {
QDomElement xml_element = xml_document.createElement("circle");
QPointF top_left(sceneTopLeft());
xml_element.setAttribute("x", top_left.x());
xml_element.setAttribute("y", top_left.y());
xml_element.setAttribute("diameter", rect().width());
stylesToXml(xml_element);
return(xml_element);
}
/**
Importe les proprietes d'un cercle depuis un element XML
@param qde Element XML a lire
*/
void PartCircle::fromXml(const QDomElement &qde) {
stylesFromXml(qde);
qreal diameter = qde.attribute("diameter", "0").toDouble();
setRect(
QRectF(
mapFromScene(
qde.attribute("x", "0").toDouble(),
qde.attribute("y", "0").toDouble()
),
QSizeF(
diameter,
diameter
)
)
);
}
/**
Specifie la valeur d'une propriete donnee du cercle
@param property propriete a modifier. Valeurs acceptees :
* x : abscisse du centre du cercle
* y : ordonnee du centre du cercle
* diameter : diametre du cercle
@param value Valeur a attribuer a la propriete
*/
void PartCircle::setProperty(const QString &property, const QVariant &value) {
CustomElementGraphicPart::setProperty(property, value);
if (!value.canConvert(QVariant::Double)) return;
if (property == "x") {
QRectF current_rect = rect();
QPointF current_pos = mapToScene(current_rect.center());
setRect(current_rect.translated(value.toDouble() - current_pos.x(), 0.0));
} else if (property == "y") {
QRectF current_rect = rect();
QPointF current_pos = mapToScene(current_rect.center());
setRect(current_rect.translated(0.0, value.toDouble() - current_pos.y()));
} else if (property == "diameter") {
QRectF current_rect = rect();
qreal new_diameter = qAbs(value.toDouble());
current_rect.translate(
(new_diameter - current_rect.width()) / -2.0,
(new_diameter - current_rect.height()) / -2.0
);
current_rect.setSize(QSizeF(new_diameter, new_diameter));
setRect(current_rect);
}
}
/**
Permet d'acceder a la valeur d'une propriete de style donnee.
@param property propriete lue. Valeurs acceptees :
* x : abscisse du centre du cercle
* y : ordonnee du centre du cercle
* diameter : diametre du cercle
@return La valeur de la propriete property
*/
QVariant PartCircle::property(const QString &property) {
// appelle la methode property de CustomElementGraphicpart pour les styles
QVariant style_property = CustomElementGraphicPart::property(property);
if (style_property != QVariant()) return(style_property);
if (property == "x") {
return(mapToScene(rect().center()).x());
} else if (property == "y") {
return(mapToScene(rect().center()).y());
} else if (property == "diameter") {
return(rect().width());
}
return(QVariant());
}
/**
Gere les changements intervenant sur cette partie
@param change Type de changement
@param value Valeur numerique relative au changement
*/
QVariant PartCircle::itemChange(GraphicsItemChange change, const QVariant &value) {
if (scene()) {
if (change == QGraphicsItem::ItemPositionChange || change == QGraphicsItem::ItemSelectedChange) {
informations -> updateForm();
}
}
return(QGraphicsEllipseItem::itemChange(change, value));
}
/**
@return le coin superieur gauche du rectangle dans lequel s'inscrit
le cercle, dans les coordonnees de la scene.
*/
QPointF PartCircle::sceneTopLeft() const {
return(mapToScene(rect().topLeft()));
}
/**
@return le centre du cercle, dans les coordonnees de la scene.
*/
QPointF PartCircle::sceneCenter() const {
return(mapToScene(rect().center()));
}
/**
@return le rectangle delimitant cette partie.
*/
QRectF PartCircle::boundingRect() const {
qreal adjust = 1.5;
QRectF r(QGraphicsEllipseItem::boundingRect());
r.adjust(-adjust, -adjust, adjust, adjust);
return(r);
}
/**
@return true si cette partie n'est pas pertinente et ne merite pas d'etre
conservee / enregistree.
Un cercle est pertinent des lors que son rayon n'est pas nul
*/
bool PartCircle::isUseless() const {
return(rect().isNull());
}

View File

@@ -1,62 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef PART_CIRCLE_H
#define PART_CIRCLE_H
#include <QtGui>
#include "customelementgraphicpart.h"
class CircleEditor;
/**
Cette classe represente un cercle pouvant etre utilise pour composer le
dessin d'un element dans l'editeur d'element.
*/
class PartCircle : public QGraphicsEllipseItem, public CustomElementGraphicPart {
// constructeurs, destructeur
public:
PartCircle(QETElementEditor *, QGraphicsItem * = 0, QGraphicsScene * = 0);
virtual ~PartCircle();
private:
PartCircle(const PartCircle &);
// attributs
private:
CircleEditor *informations;
// methodes
public:
enum { Type = UserType + 1102 };
/**
permet de caster un QGraphicsItem en PartCircle avec qgraphicsitem_cast
@return le type de QGraphicsItem
*/
virtual int type() const { return Type; }
virtual void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget * = 0);
virtual QString name() const { return(QObject::tr("cercle")); }
virtual const QDomElement toXml(QDomDocument &) const;
virtual void fromXml(const QDomElement &);
virtual QPointF sceneTopLeft() const;
virtual QRectF boundingRect() const;
QPointF sceneCenter() const;
virtual void setProperty(const QString &, const QVariant &);
virtual QVariant property(const QString &);
virtual bool isUseless() const;
protected:
QVariant itemChange(GraphicsItemChange, const QVariant &);
};
#endif

View File

@@ -1,199 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "partellipse.h"
#include "ellipseeditor.h"
/**
Constructeur
@param editor L'editeur d'element concerne
@param parent Le QGraphicsItem parent de cette ellipse
@param scene La scene sur laquelle figure cette ellipse
*/
PartEllipse::PartEllipse(QETElementEditor *editor, QGraphicsItem *parent, QGraphicsScene *scene) : QGraphicsEllipseItem(parent, scene), CustomElementGraphicPart(editor) {
setFlags(QGraphicsItem::ItemIsMovable | QGraphicsItem::ItemIsSelectable);
setAcceptedMouseButtons(Qt::LeftButton);
informations = new EllipseEditor(elementEditor(), this);
informations -> setElementTypeName(name());
style_editor -> appendWidget(informations);
style_editor -> setElementTypeName(name());
}
/// Destructeur
PartEllipse::~PartEllipse() {
}
/**
Dessine l'ellipse
@param painter QPainter a utiliser pour rendre le dessin
@param options Options pour affiner le rendu
@param widget Widget sur lequel le rendu est effectue
*/
void PartEllipse::paint(QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *) {
applyStylesToQPainter(*painter);
QPen t = painter -> pen();
if (isSelected()) {
t.setColor(Qt::red);
painter -> setPen(t);
}
painter -> drawEllipse(rect());
if (isSelected()) {
painter -> setRenderHint(QPainter::Antialiasing, false);
painter -> setPen((painter -> brush().color() == QColor(Qt::black) && painter -> brush().isOpaque()) ? Qt::yellow : Qt::blue);
QPointF center = rect().center();
painter -> drawLine(QLineF(center.x() - 2.0, center.y(), center.x() + 2.0, center.y()));
painter -> drawLine(QLineF(center.x(), center.y() - 2.0, center.x(), center.y() + 2.0));
}
}
/**
Exporte l'ellipse en XML
@param xml_document Document XML a utiliser pour creer l'element XML
@return un element XML decrivant l'ellipse
*/
const QDomElement PartEllipse::toXml(QDomDocument &xml_document) const {
QDomElement xml_element = xml_document.createElement("ellipse");
QPointF top_left(sceneTopLeft());
xml_element.setAttribute("x", top_left.x());
xml_element.setAttribute("y", top_left.y());
xml_element.setAttribute("width", rect().width());
xml_element.setAttribute("height", rect().height());
stylesToXml(xml_element);
return(xml_element);
}
/**
Importe les proprietes d'une ellipse depuis un element XML
@param qde Element XML a lire
*/
void PartEllipse::fromXml(const QDomElement &qde) {
stylesFromXml(qde);
setRect(
QRectF(
mapFromScene(
qde.attribute("x", "0").toDouble(),
qde.attribute("y", "0").toDouble()
),
QSizeF(
qde.attribute("width", "0").toDouble(),
qde.attribute("height", "0").toDouble()
)
)
);
}
/**
Specifie la valeur d'une propriete donnee de l'ellipse
@param property propriete a modifier. Valeurs acceptees :
* x : abscisse du centre de l'ellipse
* y : ordonnee du centre de l'ellipse
* diameter_h : diametre horizontal de l'ellipse
* diameter_v : diametre vertical de l'ellipse
@param value Valeur a attribuer a la propriete
*/
void PartEllipse::setProperty(const QString &property, const QVariant &value) {
CustomElementGraphicPart::setProperty(property, value);
if (!value.canConvert(QVariant::Double)) return;
if (property == "x") {
QRectF current_rect = rect();
QPointF current_pos = mapToScene(current_rect.center());
setRect(current_rect.translated(value.toDouble() - current_pos.x(), 0.0));
} else if (property == "y") {
QRectF current_rect = rect();
QPointF current_pos = mapToScene(current_rect.center());
setRect(current_rect.translated(0.0, value.toDouble() - current_pos.y()));
} else if (property == "diameter_h") {
qreal new_width = qAbs(value.toDouble());
QRectF current_rect = rect();
current_rect.translate((new_width - current_rect.width()) / -2.0, 0.0);
current_rect.setWidth(new_width);
setRect(current_rect);
} else if (property == "diameter_v") {
qreal new_height = qAbs(value.toDouble());
QRectF current_rect = rect();
current_rect.translate(0.0, (new_height - current_rect.height()) / -2.0);
current_rect.setHeight(new_height);
setRect(current_rect);
}
}
/**
Permet d'acceder a la valeur d'une propriete donnee de l'ellipse
@param property propriete lue. Valeurs acceptees :
* x : abscisse du centre de l'ellipse
* y : ordonnee du centre de l'ellipse
* diameter_h : diametre horizontal de l'ellipse
* diameter_v : diametre vertical de l'ellipse
@return La valeur de la propriete property
*/
QVariant PartEllipse::property(const QString &property) {
// appelle la methode property de CustomElementGraphicpart pour les styles
QVariant style_property = CustomElementGraphicPart::property(property);
if (style_property != QVariant()) return(style_property);
if (property == "x") {
return(mapToScene(rect().center()).x());
} else if (property == "y") {
return(mapToScene(rect().center()).y());
} else if (property == "diameter_h") {
return(rect().width());
} else if (property == "diameter_v") {
return(rect().height());
}
return(QVariant());
}
/**
Gere les changements intervenant sur cette partie
@param change Type de changement
@param value Valeur numerique relative au changement
*/
QVariant PartEllipse::itemChange(GraphicsItemChange change, const QVariant &value) {
if (scene()) {
if (change == QGraphicsItem::ItemPositionChange || change == QGraphicsItem::ItemSelectedChange) {
informations -> updateForm();
}
}
return(QGraphicsEllipseItem::itemChange(change, value));
}
/**
@return le coin superieur gauche du rectangle dans lequel s'inscrit
l'ellipse, dans les coordonnees de la scene.
*/
QPointF PartEllipse::sceneTopLeft() const {
return(mapToScene(rect().topLeft()));
}
/**
@return true si cette partie n'est pas pertinente et ne merite pas d'etre
conservee / enregistree.
Une ellipse est pertinente des lors que ses dimensions ne sont pas nulles
*/
bool PartEllipse::isUseless() const {
return(rect().isNull());
}
/**
@return le rectangle delimitant cette partie.
*/
QRectF PartEllipse::boundingRect() const {
qreal adjust = 1.5;
QRectF r(QGraphicsEllipseItem::boundingRect().normalized());
r.adjust(-adjust, -adjust, adjust, adjust);
return(r);
}

View File

@@ -1,61 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef PART_ELLIPSE_H
#define PART_ELLIPSE_H
#include <QtGui>
#include "customelementgraphicpart.h"
class EllipseEditor;
/**
Cette classe represente une ellipse pouvant etre utilisee pour composer le
dessin d'un element dans l'editeur d'element.
*/
class PartEllipse : public QGraphicsEllipseItem, public CustomElementGraphicPart {
// constructeurs, destructeur
public:
PartEllipse(QETElementEditor *, QGraphicsItem * = 0, QGraphicsScene * = 0);
virtual ~PartEllipse();
private:
PartEllipse(const PartEllipse &);
// attributs
private:
EllipseEditor *informations;
// methodes
public:
enum { Type = UserType + 1103 };
/**
permet de caster un QGraphicsItem en PartEllipse avec qgraphicsitem_cast
@return le type de QGraphicsItem
*/
virtual int type() const { return Type; }
virtual void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget * = 0);
virtual QString name() const { return(QObject::tr("ellipse")); }
virtual const QDomElement toXml(QDomDocument &) const;
virtual void fromXml(const QDomElement &);
virtual QPointF sceneTopLeft() const;
virtual QRectF boundingRect() const;
virtual void setProperty(const QString &, const QVariant &);
virtual QVariant property(const QString &);
virtual bool isUseless() const;
protected:
QVariant itemChange(GraphicsItemChange, const QVariant &);
};
#endif

View File

@@ -1,253 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "partline.h"
#include "lineeditor.h"
#include <cmath>
/**
Constructeur
@param editor L'editeur d'element concerne
@param parent Le QGraphicsItem parent de cette ligne
@param scene La scene sur laquelle figure cette ligne
*/
PartLine::PartLine(QETElementEditor *editor, QGraphicsItem *parent, QGraphicsScene *scene) : QGraphicsLineItem(parent, scene), CustomElementGraphicPart(editor) {
setFlags(QGraphicsItem::ItemIsMovable | QGraphicsItem::ItemIsSelectable);
setAcceptedMouseButtons(Qt::LeftButton);
informations = new LineEditor(elementEditor(), this);
informations -> setElementTypeName(name());
style_editor -> appendWidget(informations);
style_editor -> setElementTypeName(name());
}
/// Destructeur
PartLine::~PartLine() {
}
/**
Dessine la ligne
@param painter QPainter a utiliser pour rendre le dessin
@param options Options pour affiner le rendu
@param widget Widget sur lequel le rendu est effectue
*/
void PartLine::paint(QPainter *painter, const QStyleOptionGraphicsItem */*q*/, QWidget */*w*/) {
applyStylesToQPainter(*painter);
QPen t = painter -> pen();
if (isSelected()) {
t.setColor(Qt::red);
painter -> setPen(t);
}
painter -> setBrush(Qt::NoBrush);
painter -> drawLine(line());
}
/**
Exporte la ligne en XML
@param xml_document Document XML a utiliser pour creer l'element XML
@return un element XML decrivant la ligne
*/
const QDomElement PartLine::toXml(QDomDocument &xml_document) const {
QPointF p1(sceneP1());
QPointF p2(sceneP2());
QDomElement xml_element = xml_document.createElement("line");
xml_element.setAttribute("x1", p1.x());
xml_element.setAttribute("y1", p1.y());
xml_element.setAttribute("x2", p2.x());
xml_element.setAttribute("y2", p2.y());
stylesToXml(xml_element);
return(xml_element);
}
/**
Importe les proprietes d'une ligne depuis un element XML
@param qde Element XML a lire
*/
void PartLine::fromXml(const QDomElement &qde) {
stylesFromXml(qde);
setLine(
QLineF(
mapFromScene(
qde.attribute("x1", "0").toDouble(),
qde.attribute("y1", "0").toDouble()
),
mapFromScene(
qde.attribute("x2", "0").toDouble(),
qde.attribute("y2", "0").toDouble()
)
)
);
}
/**
Specifie la valeur d'une propriete donnee de la ligne
@param property propriete a modifier. Valeurs acceptees :
* x1 : abscisse du premier point
* y1 : ordonnee du second point
* x2 : abscisse du premier point
* y2 : ordonnee du second point
@param value Valeur a attribuer a la propriete
*/
void PartLine::setProperty(const QString &property, const QVariant &value) {
CustomElementGraphicPart::setProperty(property, value);
if (!value.canConvert(QVariant::Double)) return;
QPointF new_p1(sceneP1()), new_p2(sceneP2());
bool setline = true;
if (property == "x1") {
new_p1.setX(value.toDouble());
} else if (property == "y1") {
new_p1.setY(value.toDouble());
} else if (property == "x2") {
new_p2.setX(value.toDouble());
} else if (property == "y2") {
new_p2.setY(value.toDouble());
} else setline = false;
setLine(QLineF(mapFromScene(new_p1), mapFromScene(new_p2)));
}
/**
Permet d'acceder a la valeur d'une propriete donnee de la ligne
@param property propriete lue. Valeurs acceptees :
* x1 : abscisse du premier point
* y1 : ordonnee du second point
* x2 : abscisse du premier point
* y2 : ordonnee du second point
@return La valeur de la propriete property
*/
QVariant PartLine::property(const QString &property) {
// appelle la methode property de CustomElementGraphicpart pour les styles
QVariant style_property = CustomElementGraphicPart::property(property);
if (style_property != QVariant()) return(style_property);
if (property == "x1") {
return(sceneP1().x());
} else if (property == "y1") {
return(sceneP1().y());
} else if (property == "x2") {
return(sceneP2().x());
} else if (property == "y2") {
return(sceneP2().y());
}
return(QVariant());
}
/**
Gere les changements intervenant sur cette partie
@param change Type de changement
@param value Valeur numerique relative au changement
*/
QVariant PartLine::itemChange(GraphicsItemChange change, const QVariant &value) {
if (scene()) {
if (change == QGraphicsItem::ItemPositionChange || change == QGraphicsItem::ItemSelectedChange) {
informations -> updateForm();
}
}
return(QGraphicsLineItem::itemChange(change, value));
}
/**
@return le premier point, dans les coordonnees de la scene.
*/
QPointF PartLine::sceneP1() const {
return(mapToScene(line().p1()));
}
/**
@return le second point, dans les coordonnees de la scene.
*/
QPointF PartLine::sceneP2() const {
return(mapToScene(line().p2()));
}
/**
@return la forme selectionnable de la ligne
*/
QPainterPath PartLine::shape() const {
QList<QPointF> points = fourShapePoints();
QPainterPath t;
t.setFillRule(Qt::WindingFill);
t.moveTo(points.at(0));
t.lineTo(points.at(1));
t.lineTo(points.at(2));
t.lineTo(points.at(3));
t.lineTo(points.at(0));
return(t);
}
/**
@return une liste contenant les deux points de la droite + les 4 points entourant ces deux points
*/
QList<QPointF> PartLine::fourShapePoints() const {
const qreal marge = 2.0;
// on a donc A(xa , ya) et B(xb, yb)
QPointF a = line().p1();
QPointF b = line().p2();
QList<QPointF> result;
// cas particulier : la droite se ramene a un point
if (a == b) {
result << QPointF(a.x() - marge, a.y() - marge);
result << QPointF(a.x() - marge, a.y() + marge);
result << QPointF(a.x() + marge, a.y() + marge);
result << QPointF(a.x() + marge, a.y() - marge);
} else {
// on calcule le vecteur AB : (xb-xa, yb-ya)
QPointF v_ab = b - a;
// et la distance AB : racine des coordonnees du vecteur au carre
qreal ab = sqrt(pow(v_ab.x(), 2) + pow(v_ab.y(), 2));
// ensuite on definit le vecteur u(a, b) qui est egal au vecteur AB divise
// par sa longueur et multiplie par la longueur de la marge que tu veux
// laisser
QPointF u = v_ab / ab * marge;
// on definit le vecteur v(-b , a) qui est perpendiculaire a AB
QPointF v(-u.y(), u.x());
QPointF m = -u + v; // on a le vecteur M = -u + v
QPointF n = -u - v; // et le vecteur N=-u-v
QPointF h = a + m; // H = A + M
QPointF k = a + n; // K = A + N
QPointF i = b - n; // I = B - N
QPointF j = b - m; // J = B - M
result << h << i << j << k;
}
return(result);
}
/**
@return le rectangle delimitant cette partie.
*/
QRectF PartLine::boundingRect() const {
qreal adjust = 1.5;
QRectF r(QGraphicsLineItem::boundingRect());
r.adjust(-adjust, -adjust, adjust, adjust);
return(r);
}
/**
@return true si cette partie n'est pas pertinente et ne merite pas d'etre
conservee / enregistree.
Une ligne est pertinente des lors que ses deux points sont differents
*/
bool PartLine::isUseless() const {
return(sceneP1() == sceneP2());
}

View File

@@ -1,66 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef PART_LINE_H
#define PART_LINE_H
#include <QtGui>
#include "customelementgraphicpart.h"
class LineEditor;
/**
Cette classe represente une ligne pouvant etre utilisee pour composer le
dessin d'un element dans l'editeur d'element.
*/
class PartLine : public QGraphicsLineItem, public CustomElementGraphicPart {
// constructeurs, destructeur
public:
PartLine(QETElementEditor *, QGraphicsItem * = 0, QGraphicsScene * = 0);
virtual ~PartLine();
private:
PartLine(const PartLine &);
// attributs
private:
LineEditor *informations;
// methodes
public:
enum { Type = UserType + 1104 };
/**
permet de caster un QGraphicsItem en PartLine avec qgraphicsitem_cast
@return le type de QGraphicsItem
*/
virtual int type() const { return Type; }
virtual void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget * = 0);
virtual QString name() const { return(QObject::tr("ligne")); }
virtual const QDomElement toXml(QDomDocument &) const;
virtual void fromXml(const QDomElement &);
virtual QPointF sceneP1() const;
virtual QPointF sceneP2() const;
virtual QPainterPath shape() const;
virtual QRectF boundingRect() const;
virtual void setProperty(const QString &, const QVariant &);
virtual QVariant property(const QString &);
virtual bool isUseless() const;
protected:
QVariant itemChange(GraphicsItemChange, const QVariant &);
private:
QList<QPointF> fourShapePoints() const;
};
#endif

View File

@@ -1,175 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "partpolygon.h"
#include "qet.h"
#include "polygoneditor.h"
/**
Constructeur
@param editor L'editeur d'element concerne
@param parent Le QGraphicsItem parent de ce polygone
@param scene La scene sur laquelle figure ce polygone
*/
PartPolygon::PartPolygon(QETElementEditor *editor, QGraphicsItem *parent, QGraphicsScene *scene) :
QGraphicsPolygonItem(parent, scene),
CustomElementGraphicPart(editor),
closed(false)
{
setFlags(QGraphicsItem::ItemIsMovable | QGraphicsItem::ItemIsSelectable);
setAcceptedMouseButtons(Qt::LeftButton);
informations = new PolygonEditor(elementEditor(), this);
informations -> setElementTypeName(name());
style_editor -> appendWidget(informations);
style_editor -> setElementTypeName(name());
}
/// Destructeur
PartPolygon::~PartPolygon() {
}
/**
Importe les proprietes d'un polygone depuis un element XML
@param qde Element XML a lire
*/
void PartPolygon::fromXml(const QDomElement &qde) {
stylesFromXml(qde);
int i = 1;
while(true) {
if (
QET::attributeIsAReal(qde, QString("x%1").arg(i)) &&\
QET::attributeIsAReal(qde, QString("y%1").arg(i))
) ++ i;
else break;
}
QPolygonF temp_polygon;
for (int j = 1 ; j < i ; ++ j) {
temp_polygon << QPointF(
qde.attribute(QString("x%1").arg(j)).toDouble(),
qde.attribute(QString("y%1").arg(j)).toDouble()
);
}
setPolygon(temp_polygon);
closed = qde.attribute("closed") != "false";
}
/**
Exporte le polygone en XML
@param xml_document Document XML a utiliser pour creer l'element XML
@return un element XML decrivant le polygone
*/
const QDomElement PartPolygon::toXml(QDomDocument &xml_document) const {
QDomElement xml_element = xml_document.createElement("polygon");
int i = 1;
foreach(QPointF point, polygon()) {
point = mapToScene(point);
xml_element.setAttribute(QString("x%1").arg(i), point.x());
xml_element.setAttribute(QString("y%1").arg(i), point.y());
++ i;
}
if (!closed) xml_element.setAttribute("closed", "false");
stylesToXml(xml_element);
return(xml_element);
}
/**
Dessine le polygone
@param painter QPainter a utiliser pour rendre le dessin
@param options Options pour affiner le rendu
@param widget Widget sur lequel le rendu est effectue
*/
void PartPolygon::paint(QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *) {
applyStylesToQPainter(*painter);
QPen t = painter -> pen();
if (isSelected()) {
t.setColor(Qt::red);
painter -> setPen(t);
}
if (closed) painter -> drawPolygon(polygon());
else painter -> drawPolyline(polygon());
}
/**
Specifie la valeur d'une propriete donnee du polygone
@param property propriete a modifier. Valeurs acceptees :
* closed : true pour fermer le polygone, false sinon
@param value Valeur a attribuer a la propriete
*/
void PartPolygon::setProperty(const QString &property, const QVariant &value) {
CustomElementGraphicPart::setProperty(property, value);
if (property == "closed") closed = value.toBool();
}
/**
Permet d'acceder a la valeur d'une propriete donnee de la ligne
@param property propriete lue. Valeurs acceptees :
* closed : true pour fermer le polygone, false sinon
@return La valeur de la propriete property
*/
QVariant PartPolygon::property(const QString &property) {
// appelle la methode property de CustomElementGraphicpart pour les styles
QVariant style_property = CustomElementGraphicPart::property(property);
if (style_property != QVariant()) return(style_property);
if (property == "closed") return(closed);
return(QVariant());
}
/**
Gere les changements intervenant sur cette partie
@param change Type de changement
@param value Valeur numerique relative au changement
*/
QVariant PartPolygon::itemChange(GraphicsItemChange change, const QVariant &value) {
if (scene()) {
if (change == QGraphicsItem::ItemPositionChange || change == QGraphicsItem::ItemSelectedChange) {
informations -> updateForm();
}
}
return(QGraphicsPolygonItem::itemChange(change, value));
}
/**
@return true si cette partie n'est pas pertinente et ne merite pas d'etre
conservee / enregistree.
Un polygone est pertinent des lors qu'il possede deux points differents.
*/
bool PartPolygon::isUseless() const {
QPolygonF poly(polygon());
if (polygon().count() < 2) return(true);
QPointF previous_point;
for (int i = 1 ; i < poly.count() ; ++ i) {
if (poly[i] != poly[i-1]) return(false);
}
return(true);
}
/**
@return le rectangle delimitant cette partie.
*/
QRectF PartPolygon::boundingRect() const {
qreal adjust = 1.5;
QRectF r(QGraphicsPolygonItem::boundingRect());
r.adjust(-adjust, -adjust, adjust, adjust);
return(r);
}

View File

@@ -1,92 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef PART_POLYGON_H
#define PART_POLYGON_H
#include <QtGui>
#include "customelementgraphicpart.h"
class PolygonEditor;
/**
Cette classe represente un polygone pouvant etre utilise pour composer le
dessin d'un element dans l'editeur d'element.
*/
class PartPolygon : public QGraphicsPolygonItem, public CustomElementGraphicPart {
// constructeurs, destructeur
public:
PartPolygon(QETElementEditor *, QGraphicsItem * = 0, QGraphicsScene * = 0);
virtual ~PartPolygon();
private:
PartPolygon(const PartPolygon &);
// attributs
private:
bool closed;
PolygonEditor *informations;
/**
constructeur
paint()
widget bidon pour l'edition
methode pour poser le polygone :
-mousePressEvent = pose un nouveau point
-mouseMoveEvent = deplace ce point
-mouveReleaseEvent = finalise ce point
utiliser QPolygonF ; memoriser le point en cours (tout comme le
partploygon en cours) et ne l'ajouter au qpolygonf que lors du
mouseReleaseEvent
*/
// methodes
public:
enum { Type = UserType + 1105 };
/**
permet de caster un QGraphicsItem en PartPolygon avec qgraphicsitem_cast
@return le type de QGraphicsItem
*/
virtual int type() const { return Type; }
virtual QString name() const { return(QObject::tr("polygone")); }
void fromXml(const QDomElement &);
const QDomElement toXml(QDomDocument &) const;
virtual QRectF boundingRect() const;
void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *);
void setClosed(bool c);
bool isClosed() const;
void setProperty(const QString &, const QVariant &);
virtual QVariant property(const QString &);
virtual bool isUseless() const;
protected:
QVariant itemChange(GraphicsItemChange, const QVariant &);
};
/**
Specifie si le polygone doit etre ferme
@param c true pour un polygone ferme, false sinon
*/
inline void PartPolygon::setClosed(bool c) {
closed = c;
}
/**
Indique si le polygone est ferme
@return true si le polygone est ferme, false sinon
*/
inline bool PartPolygon::isClosed() const {
return(closed);
}
#endif

View File

@@ -1,228 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "partterminal.h"
#include "terminal.h"
#include "terminaleditor.h"
/**
Constructeur
@param editor L'editeur d'element concerne
@param parent Le QGraphicsItem parent de cette borne
@param scene La scene sur laquelle figure cette borne
*/
PartTerminal::PartTerminal(QETElementEditor *editor, QGraphicsItem *parent, QGraphicsScene *scene) :
CustomElementPart(editor),
QGraphicsItem(parent, scene),
_orientation(QET::North)
{
informations = new TerminalEditor(elementEditor(), this);
informations -> setElementTypeName(name());
updateSecondPoint();
setFlags(QGraphicsItem::ItemIsMovable | QGraphicsItem::ItemIsSelectable);
setZValue(100000);
}
/// Destructeur
PartTerminal::~PartTerminal() {
delete informations;
};
/**
Importe les proprietes d'une borne depuis un element XML
@param xml_elmt Element XML a lire
*/
void PartTerminal::fromXml(const QDomElement &xml_elmt) {
// lit la position de la borne
qreal term_x = 0.0, term_y = 0.0;
QET::attributeIsAReal(xml_elmt, "x", &term_x);
QET::attributeIsAReal(xml_elmt, "y", &term_y);
setPos(QPointF(term_x, term_y));
// lit l'orientation de la borne
_orientation = QET::orientationFromString(xml_elmt.attribute("orientation"));
updateSecondPoint();
}
/**
Exporte la borne en XML
@param xml_document Document XML a utiliser pour creer l'element XML
@return un element XML decrivant la borne
*/
const QDomElement PartTerminal::toXml(QDomDocument &xml_document) const {
QDomElement xml_element = xml_document.createElement("terminal");
// ecrit la position de la borne
xml_element.setAttribute("x", QString("%1").arg(scenePos().x()));
xml_element.setAttribute("y", QString("%1").arg(scenePos().y()));
// ecrit l'orientation de la borne
xml_element.setAttribute("orientation", orientationToString(_orientation));
return(xml_element);
}
/**
@return Le widget permettant d'editer cette borne
*/
QWidget *PartTerminal::elementInformations() {
return(informations);
}
/**
Dessine la borne
@param painter QPainter a utiliser pour rendre le dessin
@param options Options pour affiner le rendu
@param widget Widget sur lequel le rendu est effectue
*/
void PartTerminal::paint(QPainter *p, const QStyleOptionGraphicsItem *, QWidget *) {
p -> save();
// annulation des renderhints
p -> setRenderHint(QPainter::Antialiasing, false);
p -> setRenderHint(QPainter::TextAntialiasing, false);
p -> setRenderHint(QPainter::SmoothPixmapTransform, false);
QPen t;
t.setWidthF(1.0);
// dessin de la borne en rouge
t.setColor(isSelected() ? Terminal::couleur_neutre : Qt::red);
p -> setPen(t);
p -> drawLine(QPointF(0.0, 0.0), second_point);
// dessin du point d'amarrage au conducteur en bleu
t.setColor(isSelected() ? Qt::red : Terminal::couleur_neutre);
p -> setPen(t);
p -> setBrush(Terminal::couleur_neutre);
p -> drawPoint(QPointF(0.0, 0.0));
p -> restore();
}
/**
@return le rectangle delimitant cette partie.
*/
QRectF PartTerminal::boundingRect() const {
QPointF p1, p2;
if (second_point.x() <= 0.0 && second_point.y() <= 0.0) {
p1 = second_point;
p2 = QPointF(0.0, 0.0);
} else {
p1 = QPointF(0.0, 0.0);
p2 = second_point;
}
QRectF br;
br.setTopLeft (p1 - QPointF(2.0, 2.0));
br.setBottomRight(p2 + QPointF(2.0, 2.0));
return(br);
}
/**
@return L'orientation de la borne
*/
QET::Orientation PartTerminal::orientation() const {
return(_orientation);
}
/**
Definit l'orientation de la borne
@param ori la nouvelle orientation de la borne
*/
void PartTerminal::setOrientation(QET::Orientation ori) {
prepareGeometryChange();
_orientation = ori;
updateSecondPoint();
informations -> updateForm();
}
/**
Specifie la valeur d'une propriete donnee de la borne
@param property propriete a modifier. Valeurs acceptees :
* x : abscisse de la borne
* y : ordonnee de la borne
* orientation : orientation de la borne
@param value Valeur a attribuer a la propriete
*/
void PartTerminal::setProperty(const QString &property, const QVariant &value) {
if (property == "x") {
if (!value.canConvert(QVariant::Double)) return;
setPos(value.toDouble(), pos().y());
} else if (property == "y") {
if (!value.canConvert(QVariant::Double)) return;
setPos(pos().x(), value.toDouble());
} else if (property == "orientation") {
if (!value.canConvert(QVariant::Int)) return;
setOrientation(static_cast<QET::Orientation>(value.toInt()));
}
}
/**
Permet d'acceder a la valeur d'une propriete donnee de la borne
@param property propriete lue. Valeurs acceptees :
* x : abscisse de la borne
* y : ordonnee de la borne
* orientation : orientation de la borne
@return La valeur de la propriete property
*/
QVariant PartTerminal::property(const QString &property) {
if (property == "x") {
return(scenePos().x());
} else if (property == "y") {
return(scenePos().y());
} else if (property == "orientation") {
return(_orientation);
}
return(QVariant());
}
/**
Gere les changements intervenant sur cette partie
@param change Type de changement
@param value Valeur numerique relative au changement
*/
QVariant PartTerminal::itemChange(GraphicsItemChange change, const QVariant &value) {
if (scene()) {
if (change == QGraphicsItem::ItemPositionChange || change == QGraphicsItem::ItemSelectedChange) {
informations -> updateForm();
}
}
return(QGraphicsItem::itemChange(change, value));
}
/**
Met a jour la position du second point en fonction de la position et de
l'orientation de la borne.
*/
void PartTerminal::updateSecondPoint() {
qreal ts = 4.0; // terminal size
switch(_orientation) {
case QET::North: second_point = QPointF(0.0, ts); break;
case QET::East : second_point = QPointF(-ts, 0.0); break;
case QET::South: second_point = QPointF(0.0, -ts); break;
case QET::West : second_point = QPointF(ts, 0.0); break;
}
}
/**
@return true si cette partie n'est pas pertinente et ne merite pas d'etre
conservee / enregistree.
Une borne est toujours pertinente ; cette fonction renvoie donc
toujours false
*/
bool PartTerminal::isUseless() const {
return(false);
}

View File

@@ -1,69 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef PART_TERMINAL_H
#define PART_TERMINAL_H
#include "customelementpart.h"
#include "qet.h"
#include <QtGui>
class TerminalEditor;
class QETElementEditor;
/**
Cette classe represente une borne pouvant etre utilisee pour composer le
dessin d'un element dans l'editeur d'element.
*/
class PartTerminal : public CustomElementPart, public QGraphicsItem {
public:
// constructeurs, destructeur
PartTerminal(QETElementEditor *, QGraphicsItem * = 0, QGraphicsScene * = 0);
virtual ~PartTerminal();
private:
PartTerminal(const PartTerminal &);
// attributs
private:
QET::Orientation _orientation;
QPointF second_point;
TerminalEditor *informations;
// methodes
public:
enum { Type = UserType + 1106 };
/**
permet de caster un QGraphicsItem en PartTerminal avec qgraphicsitem_cast
@return le type de QGraphicsItem
*/
virtual int type() const { return Type; }
virtual QString name() const { return(QObject::tr("borne")); }
virtual void fromXml(const QDomElement &);
virtual const QDomElement toXml(QDomDocument &) const;
virtual QWidget *elementInformations();
virtual void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *);
virtual QRectF boundingRect() const;
QET::Orientation orientation() const;
void setOrientation(QET::Orientation);
virtual void setProperty(const QString &, const QVariant &);
virtual QVariant property(const QString &);
virtual bool isUseless() const;
protected:
QVariant itemChange(GraphicsItemChange, const QVariant &);
private:
void updateSecondPoint();
};
#endif

View File

@@ -1,233 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "parttext.h"
#include "texteditor.h"
#include "editorcommands.h"
#include "elementscene.h"
#include "qetapp.h"
/**
Constructeur
@param editor L'editeur d'element concerne
@param parent Le QGraphicsItem parent de ce texte statique
@param scene La scene sur laquelle figure ce texte statique
*/
PartText::PartText(QETElementEditor *editor, QGraphicsItem *parent, ElementScene *scene) :
QGraphicsTextItem(parent, scene),
CustomElementPart(editor)
{
setDefaultTextColor(Qt::black);
setFlags(QGraphicsItem::ItemIsMovable | QGraphicsItem::ItemIsSelectable);
setPlainText(QObject::tr("T"));
infos = new TextEditor(elementEditor(), this);
infos -> setElementTypeName(name());
}
/// Destructeur
PartText::~PartText() {
delete infos;
}
/**
Importe les proprietes d'un texte statique depuis un element XML
@param xml_element Element XML a lire
*/
void PartText::fromXml(const QDomElement &xml_element) {
bool ok;
int font_size = xml_element.attribute("size").toInt(&ok);
if (!ok || font_size < 1) font_size = 20;
setFont(QFont(QString(QETApp::diagramTextsFont()), font_size));
setPlainText(xml_element.attribute("text"));
setPos(
xml_element.attribute("x").toDouble(),
xml_element.attribute("y").toDouble()
);
}
/**
Exporte le texte statique en XML
@param xml_document Document XML a utiliser pour creer l'element XML
@return un element XML decrivant le texte statique
*/
const QDomElement PartText::toXml(QDomDocument &xml_document) const {
QDomElement xml_element = xml_document.createElement("text");
xml_element.setAttribute("x", QString("%1").arg((scenePos() + margin()).x()));
xml_element.setAttribute("y", QString("%1").arg((scenePos() + margin()).y()));
xml_element.setAttribute("text", toPlainText());
xml_element.setAttribute("size", font().pointSize());
return(xml_element);
}
/**
@return Le widget permettant d'editer ce texte statique
*/
QWidget *PartText::elementInformations() {
return(infos);
}
/**
Retourne la position du texte, l'origine etant le point en bas a gauche du
texte (et pas du cadre)
@return la position du texte
*/
QPointF PartText::pos() const {
return(QGraphicsTextItem::pos() + margin());
}
/**
Specifie la position du texte statique
@param left_corner_pos Nouvelle position
*/
void PartText::setPos(const QPointF &left_corner_pos) {
QGraphicsTextItem::setPos(left_corner_pos - margin());
}
/**
Specifie la position du texte statique
@param x abscisse de la nouvelle position
@param y ordonnee de la nouvelle position
*/
void PartText::setPos(qreal x, qreal y) {
QGraphicsTextItem::setPos(QPointF(x, y) - margin());
}
/**
@return Les coordonnees du point situe en bas a gauche du texte.
*/
QPointF PartText::margin() const {
QFont used_font = font();
QFontMetrics qfm(used_font);
QPointF margin(
(boundingRect().width () - qfm.width(toPlainText())) / 2.0,
((boundingRect().height() - used_font.pointSizeF()) / 3.0) + used_font.pointSizeF()
);
return(margin);
}
/**
Permet a l'element texte de redevenir deplacable a la fin de l'edition de texte
@param e Le QFocusEvent decrivant la perte de focus
*/
void PartText::focusOutEvent(QFocusEvent *e) {
QGraphicsTextItem::focusOutEvent(e);
if (previous_text != toPlainText()) {
undoStack().push(
new ChangePartCommand(
TextEditor::tr("texte") + " " + name(),
this,
"text",
previous_text,
toPlainText()
)
);
previous_text = toPlainText();
}
setFlags(QGraphicsItem::ItemIsMovable | QGraphicsItem::ItemIsSelectable);
}
/**
Permet a l'element texte de devenir editable lorsqu'on double-clique dessus
@param e Le QGraphicsSceneMouseEvent qui decrit le double-clic
*/
void PartText::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *e) {
setFlags(QGraphicsItem::ItemIsMovable | QGraphicsItem::ItemIsSelectable | QGraphicsItem::ItemIsFocusable);
setTextInteractionFlags(Qt::TextEditorInteraction);
previous_text = toPlainText();
QGraphicsTextItem::mouseDoubleClickEvent(e);
setFocus(Qt::MouseFocusReason);
}
/**
Specifie la valeur d'une propriete donnee du texte statique
@param property propriete a modifier. Valeurs acceptees :
* x : abscisse de la position
* y : ordonnee de la position
* size : taille du texte
* text : texte
@param value Valeur a attribuer a la propriete
*/
void PartText::setProperty(const QString &property, const QVariant &value) {
if (property == "x") {
if (!value.canConvert(QVariant::Double)) return;
setPos(value.toDouble(), pos().y());
} else if (property == "y") {
if (!value.canConvert(QVariant::Double)) return;
setPos(pos().x(), value.toDouble());
} else if (property == "size") {
if (!value.canConvert(QVariant::Int)) return;
setFont(QFont(font().family(), value.toInt()));
} else if (property == "text") {
setPlainText(value.toString());
}
}
/**
Permet d'acceder a la valeur d'une propriete donnee du texte statique
@param property propriete lue. Valeurs acceptees :
* x : abscisse de la position
* y : ordonnee de la position
* size : taille du texte
* text : texte
@return La valeur de la propriete property
*/
QVariant PartText::property(const QString &property) {
if (property == "x") {
return((scenePos() + margin()).x());
} else if (property == "y") {
return((scenePos() + margin()).y());
} else if (property == "size") {
return(font().pointSize());
} else if (property == "text") {
return(toPlainText());
}
return(QVariant());
}
/**
Gere les changements intervenant sur cette partie
@param change Type de changement
@param value Valeur numerique relative au changement
*/
QVariant PartText::itemChange(GraphicsItemChange change, const QVariant &value) {
if (scene()) {
if (change == QGraphicsItem::ItemPositionChange || change == QGraphicsItem::ItemSelectedChange) {
infos -> updateForm();
}
}
return(QGraphicsTextItem::itemChange(change, value));
}
/**
@return le rectangle delimitant cette partie.
*/
QRectF PartText::boundingRect() const {
QRectF r = QGraphicsTextItem::boundingRect();
r.adjust(0.0, -2.0, 0.0, 0.0);
return(r);
}
/**
@return true si cette partie n'est pas pertinente et ne merite pas d'etre
conservee / enregistree.
Un texte statique n'est pas pertinent lorsque son texte est vide.
*/
bool PartText::isUseless() const {
return(toPlainText().isEmpty());
}

View File

@@ -1,68 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef PART_TEXT_H
#define PART_TEXT_H
#include <QtGui>
#include "customelementpart.h"
class TextEditor;
/**
Cette classe represente un texte pouvant etre utilise pour composer le
dessin d'un element dans l'editeur d'element.
*/
class PartText : public QGraphicsTextItem, public CustomElementPart {
// constructeurs, destructeur
public:
PartText(QETElementEditor *, QGraphicsItem * = 0, ElementScene * = 0);
virtual ~PartText();
private:
PartText(const PartText &);
// attributs
TextEditor *infos;
// methodes
public:
enum { Type = UserType + 1107 };
/**
permet de caster un QGraphicsItem en PartText avec qgraphicsitem_cast
@return le type de QGraphicsItem
*/
virtual int type() const { return Type; }
virtual QString name() const { return(QObject::tr("texte")); }
void fromXml(const QDomElement &);
const QDomElement toXml(QDomDocument &) const;
QWidget *elementInformations();
QPointF pos() const;
void setPos(const QPointF &);
void setPos(qreal, qreal);
virtual void setProperty(const QString &, const QVariant &);
virtual QVariant property(const QString &);
virtual bool isUseless() const;
protected:
virtual void focusOutEvent(QFocusEvent *);
virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *);
virtual QVariant itemChange(GraphicsItemChange, const QVariant &);
QRectF boundingRect() const;
private:
QPointF margin() const;
QString previous_text;
};
#endif

View File

@@ -1,258 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "parttextfield.h"
#include "textfieldeditor.h"
#include "editorcommands.h"
#include "qetapp.h"
/**
Constructeur
@param editor L'editeur d'element concerne
@param parent Le QGraphicsItem parent de ce champ de texte
@param scene La scene sur laquelle figure ce champ de texte
*/
PartTextField::PartTextField(QETElementEditor *editor, QGraphicsItem *parent, QGraphicsScene *scene) :
QGraphicsTextItem(parent, scene),
CustomElementPart(editor),
follow_parent_rotations(true)
{
setDefaultTextColor(Qt::black);
setFlags(QGraphicsItem::ItemIsMovable | QGraphicsItem::ItemIsSelectable);
setPlainText(QObject::tr("_"));
infos = new TextFieldEditor(elementEditor(), this);
infos -> setElementTypeName(name());
}
/// Destructeur
PartTextField::~PartTextField() {
delete infos;
}
/**
Importe les proprietes d'un champ de texte depuis un element XML
@param xml_element Element XML a lire
*/
void PartTextField::fromXml(const QDomElement &xml_element) {
bool ok;
int font_size = xml_element.attribute("size").toInt(&ok);
if (!ok || font_size < 1) font_size = 20;
setFont(QFont(QString(QETApp::diagramTextsFont()), font_size));
setPlainText(xml_element.attribute("text"));
setPos(
xml_element.attribute("x").toDouble(),
xml_element.attribute("y").toDouble()
);
follow_parent_rotations = (xml_element.attribute("rotate") == "true");
}
/**
Exporte le champ de texte en XML
@param xml_document Document XML a utiliser pour creer l'element XML
@return un element XML decrivant le champ de texte
*/
const QDomElement PartTextField::toXml(QDomDocument &xml_document) const {
QDomElement xml_element = xml_document.createElement("input");
xml_element.setAttribute("x", QString("%1").arg((scenePos() + margin()).x()));
xml_element.setAttribute("y", QString("%1").arg((scenePos() + margin()).y()));
xml_element.setAttribute("text", toPlainText());
xml_element.setAttribute("size", font().pointSize());
if (follow_parent_rotations) xml_element.setAttribute("rotate", "true");
return(xml_element);
}
/**
@return Le widget permettant d'editer ce champ de texte
*/
QWidget *PartTextField::elementInformations() {
return(infos);
}
/**
Retourne la position du texte, l'origine etant le point en bas a gauche du
texte (et pas du cadre)
@return la position du texte
*/
QPointF PartTextField::pos() const {
return(QGraphicsTextItem::pos() + margin());
}
/**
Specifie la position du champ de texte
@param left_corner_pos Nouvelle position
*/
void PartTextField::setPos(const QPointF &left_corner_pos) {
QGraphicsTextItem::setPos(left_corner_pos - margin());
}
/**
Specifie la position du champ de texte
@param x abscisse de la nouvelle position
@param y ordonnee de la nouvelle position
*/
void PartTextField::setPos(qreal x, qreal y) {
QGraphicsTextItem::setPos(QPointF(x, y) - margin());
}
/**
@return true si le champ de texte suit les rotation de l'element, false
sinon
*/
bool PartTextField::followParentRotations() {
return(follow_parent_rotations);
}
/**
@param fpr true pour que le champ de texte suive les rotation de
l'element, false sinon
*/
void PartTextField::setFollowParentRotations(bool fpr) {
follow_parent_rotations = fpr;
}
/**
@return Les coordonnees du point situe en bas a gauche du texte.
*/
QPointF PartTextField::margin() const {
QFont used_font = font();
QFontMetrics qfm(used_font);
QPointF margin(
(boundingRect().width () - qfm.width(toPlainText())) / 2.0,
((boundingRect().height() - used_font.pointSizeF()) / 3.0) + used_font.pointSizeF()
);
return(margin);
}
/**
Permet a l'element texte de redevenir deplacable a la fin de l'edition de texte
@param e Le QFocusEvent decrivant la perte de focus
*/
void PartTextField::focusOutEvent(QFocusEvent *e) {
QGraphicsTextItem::focusOutEvent(e);
if (previous_text != toPlainText()) {
undoStack().push(
new ChangePartCommand(
TextFieldEditor::tr("texte") + " " + name(),
this,
"text",
previous_text,
toPlainText()
)
);
previous_text = toPlainText();
}
setFlags(QGraphicsItem::ItemIsMovable | QGraphicsItem::ItemIsSelectable);
}
/**
Permet a l'element texte de devenir editable lorsqu'on double-clique dessus
@param e Le QGraphicsSceneMouseEvent qui decrit le double-clic
*/
void PartTextField::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *e) {
setFlags(QGraphicsItem::ItemIsMovable | QGraphicsItem::ItemIsSelectable | QGraphicsItem::ItemIsFocusable);
setTextInteractionFlags(Qt::TextEditorInteraction);
previous_text = toPlainText();
QGraphicsTextItem::mouseDoubleClickEvent(e);
setFocus(Qt::MouseFocusReason);
}
/**
Specifie la valeur d'une propriete donnee du champ de texte
@param property propriete a modifier. Valeurs acceptees :
* x : abscisse de la position
* y : ordonnee de la position
* size : taille du texte
* text : texte
* rotate : suivi de la rotation de l'element parent
@param value Valeur a attribuer a la propriete
*/
void PartTextField::setProperty(const QString &property, const QVariant &value) {
if (property == "x") {
if (!value.canConvert(QVariant::Double)) return;
setPos(value.toDouble(), pos().y());
} else if (property == "y") {
if (!value.canConvert(QVariant::Double)) return;
setPos(pos().x(), value.toDouble());
} else if (property == "size") {
if (!value.canConvert(QVariant::Int)) return;
setFont(QFont(font().family(), value.toInt()));
} else if (property == "text") {
setPlainText(value.toString());
} else if (property == "rotate") {
follow_parent_rotations = value.toBool();
}
}
/**
Permet d'acceder a la valeur d'une propriete donnee du champ de texte
@param property propriete lue. Valeurs acceptees :
* x : abscisse de la position
* y : ordonnee de la position
* size : taille du texte
* text : texte
* rotate : suivi de la rotation de l'element parent
@return La valeur de la propriete property
*/
QVariant PartTextField::property(const QString &property) {
if (property == "x") {
return((scenePos() + margin()).x());
} else if (property == "y") {
return((scenePos() + margin()).y());
} else if (property == "size") {
return(font().pointSize());
} else if (property == "text") {
return(toPlainText());
} else if (property == "rotate") {
return(follow_parent_rotations);
}
return(QVariant());
}
/**
Gere les changements intervenant sur cette partie
@param change Type de changement
@param value Valeur numerique relative au changement
*/
QVariant PartTextField::itemChange(GraphicsItemChange change, const QVariant &value) {
if (scene()) {
if (change == QGraphicsItem::ItemPositionChange || change == QGraphicsItem::ItemSelectedChange) {
infos -> updateForm();
}
}
return(QGraphicsTextItem::itemChange(change, value));
}
/**
@return le rectangle delimitant cette partie.
*/
QRectF PartTextField::boundingRect() const {
QRectF r = QGraphicsTextItem::boundingRect();
r.adjust(0.0, -2.0, 0.0, 0.0);
return(r);
}
/**
@return true si cette partie n'est pas pertinente et ne merite pas d'etre
conservee / enregistree.
Un champ de texte est toujours pertinent ; cette fonction renvoie donc
toujours false
*/
bool PartTextField::isUseless() const {
return(false);
}

View File

@@ -1,74 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef PART_TEXTFIELD_H
#define PART_TEXTFIELD_H
#include <QtGui>
#include "customelementpart.h"
class TextFieldEditor;
class QETElementEditor;
/**
Cette classe represente un champ de texte editable pouvant etre utilise
pour composer le dessin d'un element dans l'editeur d'element.
L'utilisateur peut specifier un valeur par defaut. Le champ sera editable
lorsque l'element sera pose sur un schema.
*/
class PartTextField : public QGraphicsTextItem, public CustomElementPart {
// constructeurs, destructeur
public:
PartTextField(QETElementEditor *, QGraphicsItem * = 0, QGraphicsScene * = 0);
virtual ~PartTextField();
private:
PartTextField(const PartTextField &);
// attributs
TextFieldEditor *infos;
bool follow_parent_rotations;
// methodes
public:
enum { Type = UserType + 1108 };
/**
permet de caster un QGraphicsItem en PartTextField avec qgraphicsitem_cast
@return le type de QGraphicsItem
*/
virtual int type() const { return Type; }
virtual QString name() const { return(QObject::tr("champ de texte")); }
void fromXml(const QDomElement &);
const QDomElement toXml(QDomDocument &) const;
QWidget *elementInformations();
QPointF pos() const;
void setPos(const QPointF &);
void setPos(qreal, qreal);
bool followParentRotations();
void setFollowParentRotations(bool);
virtual void setProperty(const QString &, const QVariant &);
virtual QVariant property(const QString &);
virtual bool isUseless() const;
protected:
virtual void focusOutEvent(QFocusEvent *);
virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *);
virtual QVariant itemChange(GraphicsItemChange, const QVariant &);
QRectF boundingRect() const;
private:
QPointF margin() const;
QString previous_text;
};
#endif

View File

@@ -1,784 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "qetelementeditor.h"
#include "qetapp.h"
#include "elementscene.h"
#include "elementview.h"
#include "customelementpart.h"
#include "newelementwizard.h"
#include "elementitemeditor.h"
/**
Constructeur
@param parent QWidget parent
*/
QETElementEditor::QETElementEditor(QWidget *parent) :
QMainWindow(parent),
read_only(false),
min_title(tr("QElectroTech - \311diteur d'\351l\351ment")),
_filename(QString())
{
setWindowTitle(min_title);
setWindowIcon(QIcon(":/ico/qet.png"));
setupInterface();
setupActions();
setupMenus();
// la fenetre est maximisee par defaut
setMinimumSize(QSize(500, 350));
setWindowState(Qt::WindowMaximized);
// lecture des parametres
readSettings();
// affichage
show();
}
/// Destructeur
QETElementEditor::~QETElementEditor() {
}
/**
Met en place les actions
*/
void QETElementEditor::setupActions() {
new_element = new QAction(QIcon(":/ico/new.png"), tr("&Nouveau"), this);
open = new QAction(QIcon(":/ico/open.png"), tr("&Ouvrir"), this);
save = new QAction(QIcon(":/ico/save.png"), tr("&Enregistrer"), this);
save_as = new QAction(QIcon(":/ico/saveas.png"), tr("Enregistrer sous"), this);
reload = new QAction(QIcon(":/ico/reload.png"), tr("Recharger"), this);
quit = new QAction(QIcon(":/ico/exit.png"), tr("&Quitter"), this);
selectall = new QAction( tr("Tout s\351lectionner"), this);
deselectall = new QAction( tr("D\351s\351lectionner tout"), this);
inv_select = new QAction( tr("Inverser la s\351lection"), this);
edit_delete = new QAction(QIcon(":/ico/delete.png"), tr("&Supprimer"), this);
zoom_in = new QAction(QIcon(":/ico/viewmag+.png"), tr("Zoom avant"), this);
zoom_out = new QAction(QIcon(":/ico/viewmag-.png"), tr("Zoom arri\350re"), this);
zoom_fit = new QAction(QIcon(":/ico/viewmagfit.png"), tr("Zoom adapt\351"), this);
zoom_reset = new QAction(QIcon(":/ico/viewmag.png"), tr("Pas de zoom"), this);
edit_size_hs = new QAction(QIcon(":/ico/hotspot.png"), tr("\311diter la taille et le point de saisie"), this);
edit_names = new QAction(QIcon(":/ico/names.png"), tr("\311diter les noms"), this);
edit_ori = new QAction(QIcon(":/ico/orientations.png"), tr("\311diter les orientations"), this);
edit_raise = new QAction(QIcon(":/ico/raise.png"), tr("Rapprocher"), this);
edit_lower = new QAction(QIcon(":/ico/lower.png"), tr("\311loigner"), this);
edit_backward = new QAction(QIcon(":/ico/send_backward.png"),tr("Envoyer au fond"), this);
edit_forward = new QAction(QIcon(":/ico/bring_forward.png"),tr("Amener au premier plan"), this);
move = new QAction(QIcon(":/ico/select.png"), tr("D\351placer un objet"), this);
add_line = new QAction(QIcon(":/ico/line.png"), tr("Ajouter une ligne"), this);
add_ellipse = new QAction(QIcon(":/ico/ellipse.png"), tr("Ajouter une ellipse"), this);
add_circle = new QAction(QIcon(":/ico/circle.png"), tr("Ajouter un cercle"), this);
add_polygon = new QAction(QIcon(":/ico/polygon.png"), tr("Ajouter un polygone"), this);
add_text = new QAction(QIcon(":/ico/text.png"), tr("Ajouter du texte"), this);
add_arc = new QAction(QIcon(":/ico/arc.png"), tr("Ajouter un arc de cercle"), this);
add_terminal = new QAction(QIcon(":/ico/terminal.png"), tr("Ajouter une borne"), this);
add_textfield = new QAction(QIcon(":/ico/textfield.png"), tr("Ajouter un champ de texte"), this);
undo = ce_scene -> undoStack().createUndoAction(this, tr("Annuler"));
redo = ce_scene -> undoStack().createRedoAction(this, tr("Refaire"));
undo -> setIcon(QIcon(":/ico/undo.png"));
redo -> setIcon(QIcon(":/ico/redo.png"));
undo -> setShortcuts(QKeySequence::Undo);
redo -> setShortcuts(QKeySequence::Redo);
new_element -> setShortcut(QKeySequence::New);
open -> setShortcut(QKeySequence::Open);
save -> setShortcut(QKeySequence::Save);
reload -> setShortcut(Qt::Key_F5);
quit -> setShortcut(QKeySequence(tr("Ctrl+Q")));
selectall -> setShortcut(QKeySequence::SelectAll);
deselectall -> setShortcut(QKeySequence(tr("Ctrl+Shift+A")));
inv_select -> setShortcut(QKeySequence(tr("Ctrl+I")));
edit_delete -> setShortcut(QKeySequence(tr("Suppr")));
zoom_in -> setShortcut(QKeySequence::ZoomIn);
zoom_out -> setShortcut(QKeySequence::ZoomOut);
zoom_fit -> setShortcut(QKeySequence(tr("Ctrl+9")));
zoom_reset -> setShortcut(QKeySequence(tr("Ctrl+0")));
edit_names -> setShortcut(QKeySequence(tr("Ctrl+E")));
edit_size_hs -> setShortcut(QKeySequence(tr("Ctrl+R")));
edit_ori -> setShortcut(QKeySequence(tr("Ctrl+T")));
edit_raise -> setShortcut(QKeySequence(tr("Ctrl+Shift+Up")));
edit_lower -> setShortcut(QKeySequence(tr("Ctrl+Shift+Down")));
edit_backward -> setShortcut(QKeySequence(tr("Ctrl+Shift+End")));
edit_forward -> setShortcut(QKeySequence(tr("Ctrl+Shift+Home")));
connect(new_element, SIGNAL(triggered()), this, SLOT(slot_new()));
connect(open, SIGNAL(triggered()), this, SLOT(slot_open()));
connect(save, SIGNAL(triggered()), this, SLOT(slot_save()));
connect(save_as, SIGNAL(triggered()), this, SLOT(slot_saveAs()));
connect(reload, SIGNAL(triggered()), this, SLOT(slot_reload()));
connect(quit, SIGNAL(triggered()), this, SLOT(close()));
connect(selectall, SIGNAL(triggered()), ce_scene, SLOT(slot_selectAll()));
connect(deselectall, SIGNAL(triggered()), ce_scene, SLOT(slot_deselectAll()));
connect(inv_select, SIGNAL(triggered()), ce_scene, SLOT(slot_invertSelection()));
connect(zoom_in, SIGNAL(triggered()), ce_view, SLOT(zoomIn()));
connect(zoom_out, SIGNAL(triggered()), ce_view, SLOT(zoomOut()));
connect(zoom_fit, SIGNAL(triggered()), ce_view, SLOT(zoomFit()));
connect(zoom_reset, SIGNAL(triggered()), ce_view, SLOT(zoomReset()));
connect(edit_delete, SIGNAL(triggered()), ce_scene, SLOT(slot_delete()));
connect(edit_size_hs, SIGNAL(triggered()), ce_scene, SLOT(slot_editSizeHotSpot()));
connect(edit_names, SIGNAL(triggered()), ce_scene, SLOT(slot_editNames()));
connect(edit_ori, SIGNAL(triggered()), ce_scene, SLOT(slot_editOrientations()));
connect(edit_forward, SIGNAL(triggered()), ce_scene, SLOT(slot_bringForward()));
connect(edit_raise, SIGNAL(triggered()), ce_scene, SLOT(slot_raise()));
connect(edit_lower, SIGNAL(triggered()), ce_scene, SLOT(slot_lower()));
connect(edit_backward, SIGNAL(triggered()), ce_scene, SLOT(slot_sendBackward()));
connect(move, SIGNAL(triggered()), ce_scene, SLOT(slot_move()));
connect(add_line, SIGNAL(triggered()), ce_scene, SLOT(slot_addLine()));
connect(add_ellipse, SIGNAL(triggered()), ce_scene, SLOT(slot_addEllipse()));
connect(add_circle, SIGNAL(triggered()), ce_scene, SLOT(slot_addCircle()));
connect(add_polygon, SIGNAL(triggered()), ce_scene, SLOT(slot_addPolygon()));
connect(add_text, SIGNAL(triggered()), ce_scene, SLOT(slot_addText()));
connect(add_arc, SIGNAL(triggered()), ce_scene, SLOT(slot_addArc()));
connect(add_terminal, SIGNAL(triggered()), ce_scene, SLOT(slot_addTerminal()));
connect(add_textfield, SIGNAL(triggered()), ce_scene, SLOT(slot_addTextField()));
connect(move, SIGNAL(triggered()), this, SLOT(slot_setRubberBandToView()));
connect(add_line, SIGNAL(triggered()), this, SLOT(slot_setNoDragToView()));
connect(add_ellipse, SIGNAL(triggered()), this, SLOT(slot_setNoDragToView()));
connect(add_circle, SIGNAL(triggered()), this, SLOT(slot_setNoDragToView()));
connect(add_polygon, SIGNAL(triggered()), this, SLOT(slot_setNoDragToView()));
connect(add_text, SIGNAL(triggered()), this, SLOT(slot_setNoDragToView()));
connect(add_arc, SIGNAL(triggered()), this, SLOT(slot_setNoDragToView()));
connect(add_terminal, SIGNAL(triggered()), this, SLOT(slot_setNoDragToView()));
connect(add_textfield, SIGNAL(triggered()), this, SLOT(slot_setNoDragToView()));
connect(ce_scene, SIGNAL(needNormalMode()), this, SLOT(slot_setNormalMode()));
move -> setCheckable(true);
add_line -> setCheckable(true);
add_ellipse -> setCheckable(true);
add_circle -> setCheckable(true);
add_polygon -> setCheckable(true);
add_text -> setCheckable(true);
add_arc -> setCheckable(true);
add_terminal -> setCheckable(true);
add_textfield -> setCheckable(true);
parts = new QActionGroup(this);
parts -> addAction(move);
parts -> addAction(add_line);
parts -> addAction(add_ellipse);
parts -> addAction(add_circle);
parts -> addAction(add_polygon);
parts -> addAction(add_text);
parts -> addAction(add_arc);
parts -> addAction(add_textfield);
parts -> addAction(add_terminal);
parts -> setExclusive(true);
parts_toolbar = new QToolBar(tr("Parties"), this);
parts_toolbar -> setObjectName("parts");
foreach (QAction *action, parts -> actions()) parts_toolbar -> addAction(action);
move -> setChecked(true);
parts_toolbar -> setAllowedAreas(Qt::AllToolBarAreas);
/*
QAction *xml_preview = new QAction(QIcon(":/ico/info.png"), tr("XML"), this);
connect(xml_preview, SIGNAL(triggered()), this, SLOT(xmlPreview()));
parts_toolbar -> addAction(xml_preview);
*/
main_toolbar = new QToolBar(tr("Outils"), this);
main_toolbar -> setObjectName("main_toolbar");
view_toolbar = new QToolBar(tr("Affichage"), this);
view_toolbar -> setObjectName("display");
element_toolbar = new QToolBar(tr("\311l\351ment"), this);
element_toolbar -> setObjectName("element_toolbar");
depth_toolbar = new QToolBar(tr("Profondeur"), this);
depth_toolbar -> setObjectName("depth_toolbar");
main_toolbar -> addAction(new_element);
main_toolbar -> addAction(open);
main_toolbar -> addAction(save);
main_toolbar -> addAction(save_as);
main_toolbar -> addAction(reload);
main_toolbar -> addSeparator();
main_toolbar -> addAction(undo);
main_toolbar -> addAction(redo);
main_toolbar -> addSeparator();
main_toolbar -> addAction(edit_delete);
view_toolbar -> addAction(zoom_in);
view_toolbar -> addAction(zoom_out);
view_toolbar -> addAction(zoom_fit);
view_toolbar -> addAction(zoom_reset);
element_toolbar -> addAction(edit_size_hs);
element_toolbar -> addAction(edit_names);
element_toolbar -> addAction(edit_ori);
depth_toolbar -> addAction(edit_forward);
depth_toolbar -> addAction(edit_raise);
depth_toolbar -> addAction(edit_lower);
depth_toolbar -> addAction(edit_backward);
addToolBar(Qt::TopToolBarArea, main_toolbar);
addToolBar(Qt::TopToolBarArea, view_toolbar);
addToolBar(Qt::TopToolBarArea, element_toolbar);
addToolBar(Qt::TopToolBarArea, depth_toolbar);
addToolBar(Qt::LeftToolBarArea, parts_toolbar);
connect(ce_scene, SIGNAL(selectionChanged()), this, SLOT(slot_updateInformations()));
connect(ce_scene, SIGNAL(selectionChanged()), this, SLOT(slot_updateMenus()));
connect(&(ce_scene -> undoStack()), SIGNAL(cleanChanged(bool)), this, SLOT(slot_updateMenus()));
connect(&(ce_scene -> undoStack()), SIGNAL(cleanChanged(bool)), this, SLOT(slot_updateTitle()));
connect(&(ce_scene -> undoStack()), SIGNAL(indexChanged(int)), this, SLOT(slot_updatePartsList()));
}
/**
Met en place les menus.
*/
void QETElementEditor::setupMenus() {
file_menu = new QMenu(tr("Fichier"), this);
edit_menu = new QMenu(tr("\311dition"), this);
display_menu = new QMenu(tr("Affichage"), this);
tools_menu = new QMenu(tr("Outils"), this);
help_menu = new QMenu(tr("Aide"), this);
file_menu -> setTearOffEnabled(true);
edit_menu -> setTearOffEnabled(true);
display_menu -> setTearOffEnabled(true);
tools_menu -> setTearOffEnabled(true);
help_menu -> setTearOffEnabled(true);
file_menu -> addAction(new_element);
file_menu -> addAction(open);
file_menu -> addAction(save);
file_menu -> addAction(save_as);
file_menu -> addSeparator();
file_menu -> addAction(reload);
file_menu -> addSeparator();
file_menu -> addAction(quit);
edit_menu -> addAction(undo);
edit_menu -> addAction(redo);
edit_menu -> addSeparator();
edit_menu -> addAction(selectall);
edit_menu -> addAction(deselectall);
edit_menu -> addAction(inv_select);
edit_menu -> addSeparator();
edit_menu -> addAction(edit_delete);
edit_menu -> addSeparator();
edit_menu -> addAction(edit_names);
edit_menu -> addAction(edit_size_hs);
edit_menu -> addAction(edit_ori);
edit_menu -> addSeparator();
edit_menu -> addAction(edit_forward);
edit_menu -> addAction(edit_raise);
edit_menu -> addAction(edit_lower);
edit_menu -> addAction(edit_backward);
// menu Affichage > Afficher
QMenu *display_toolbars = createPopupMenu();
display_toolbars -> setTearOffEnabled(true);
display_toolbars -> setTitle(tr("Afficher"));
display_menu -> addMenu(display_toolbars);
menuBar() -> addMenu(file_menu);
menuBar() -> addMenu(edit_menu);
menuBar() -> addMenu(display_menu);
/*
menuBar() -> addMenu(tools_menu);
menuBar() -> addMenu(help_menu);
*/
}
/**
Met a jour les menus
*/
void QETElementEditor::slot_updateMenus() {
bool selected_items = !ce_scene -> selectedItems().isEmpty();
edit_delete -> setEnabled(selected_items);
edit_forward -> setEnabled(selected_items);
edit_raise -> setEnabled(selected_items);
edit_lower -> setEnabled(selected_items);
edit_backward -> setEnabled(selected_items);
save -> setEnabled(!ce_scene -> undoStack().isClean());
}
/**
Met a jour le titre de la fenetre
*/
void QETElementEditor::slot_updateTitle() {
QString title = min_title;
title += " - " + ce_scene -> names().name() + " ";
if (_filename != QString()) {
if (!ce_scene -> undoStack().isClean()) title += tr("[Modifi\351]");
if (isReadOnly()) title += tr(" [lecture seule]");
}
setWindowTitle(title);
}
/**
Met en place l'interface
*/
void QETElementEditor::setupInterface() {
// editeur
ce_scene = new ElementScene(this, this);
ce_scene -> slot_move();
ce_view = new ElementView(ce_scene, this);
slot_setRubberBandToView();
setCentralWidget(ce_view);
// widget par defaut dans le QDockWidget
default_informations = new QLabel();
// panel sur le cote pour editer les parties
tools_dock = new QDockWidget(tr("Informations"), this);
tools_dock -> setObjectName("informations");
tools_dock -> setAllowedAreas(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea);
tools_dock -> setFeatures(QDockWidget::AllDockWidgetFeatures);
tools_dock -> setMinimumWidth(290);
addDockWidget(Qt::RightDockWidgetArea, tools_dock);
QWidget *info_widget = new QWidget();
info_widget -> setLayout(new QVBoxLayout(info_widget));
tools_dock -> setWidget(info_widget);
// panel sur le cote pour les annulations
undo_dock = new QDockWidget(tr("Annulations"), this);
undo_dock -> setObjectName("undo");
undo_dock -> setAllowedAreas(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea);
undo_dock -> setFeatures(QDockWidget::AllDockWidgetFeatures);
undo_dock -> setMinimumWidth(290);
addDockWidget(Qt::RightDockWidgetArea, undo_dock);
QUndoView* undo_view = new QUndoView(&(ce_scene -> undoStack()), this);
undo_view -> setEmptyLabel(tr("Aucune modification"));
undo_dock -> setWidget(undo_view);
// panel sur le cote pour la liste des parties
parts_list = new QListWidget(this);
parts_list -> setSelectionMode(QAbstractItemView::ExtendedSelection);
connect(ce_scene, SIGNAL(partsAdded()), this, SLOT(slot_createPartsList()));
connect(ce_scene, SIGNAL(partsRemoved()), this, SLOT(slot_createPartsList()));
connect(ce_scene, SIGNAL(partsZValueChanged()), this, SLOT(slot_createPartsList()));
connect(ce_scene, SIGNAL(selectionChanged()), this, SLOT(slot_updatePartsList()));
connect(parts_list, SIGNAL(itemSelectionChanged()), this, SLOT(slot_updateSelectionFromPartsList()));
parts_dock = new QDockWidget(tr("Parties"), this);
parts_dock -> setObjectName("parts_list");
parts_dock -> setAllowedAreas(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea);
parts_dock -> setFeatures(QDockWidget::AllDockWidgetFeatures);
parts_dock -> setMinimumWidth(290);
tabifyDockWidget(undo_dock, parts_dock);
parts_dock -> setWidget(parts_list);
slot_updateInformations();
slot_createPartsList();
// barre d'etat
statusBar() -> showMessage(tr("\311diteur d'\351l\351ments"));
}
/**
Passe l'editeur d'element en mode selection : le pointeur deplace les
elements selectionnes et il est possible d'utiliser un rectangle de selection.
*/
void QETElementEditor::slot_setRubberBandToView() {
ce_view -> setDragMode(QGraphicsView::RubberBandDrag);
}
/**
Passe l'editeur d'element en mode immobile (utilise pour la lecture seule)
*/
void QETElementEditor::slot_setNoDragToView() {
ce_view -> setDragMode(QGraphicsView::NoDrag);
}
/**
Passe l'editeur en mode normal
*/
void QETElementEditor::slot_setNormalMode() {
if (!move -> isChecked()) move -> setChecked(true);
ce_view -> setDragMode(QGraphicsView::RubberBandDrag);
ce_scene -> slot_move();
}
/**
Met a jour la zone d'information et d'edition.
Si plusieurs parties sont selectionnees, seul leur nombre est affiche.
Sinon, le widget d'edition de la partie est insere.
@see CustomElementPart::elementInformations()
*/
void QETElementEditor::slot_updateInformations() {
QList<QGraphicsItem *> selected_qgis = ce_scene -> selectedItems();
QList<CustomElementPart *> selected_parts;
foreach(QGraphicsItem *qgi, selected_qgis) {
if (CustomElementPart *cep = dynamic_cast<CustomElementPart *>(qgi)) {
selected_parts.append(cep);
}
}
// recupere le layout
QLayout *layout = tools_dock -> widget() -> layout();
// enleve les widgets deja presents
QLayoutItem *qli;
while ((qli = layout -> takeAt(0)) != 0) {
if (QWidget *w = qli -> widget()) {
layout -> removeWidget(w);
w -> setParent(0);
w -> hide();
}
}
if (selected_parts.size() == 1) {
// recupere le premier CustomElementPart et en ajoute le widget d'edition
QWidget *edit_widget = selected_parts.first() -> elementInformations();
layout -> addWidget(edit_widget);
edit_widget -> show();
} else {
default_informations -> setText(
selected_parts.size() ?
QString("%1").arg(selected_parts.size()) + tr(" parties s\351lectionn\351es.") :
tr("Aucune partie s\351lectionn\351e.")
);
layout -> addWidget(default_informations);
default_informations -> show();
}
}
/**
Affiche le code XML correspondant a l'element dans son etat actuel dans
une boite de dialogue.
*/
void QETElementEditor::xmlPreview() {
QMessageBox::information(
this,
"Export XML",
ce_scene -> toXml().toString(4)
);
}
/**
Charge un fichier
@param filepath Chemin du fichier a charger
*/
void QETElementEditor::fromFile(const QString &filepath) {
bool state = true;
QString error_message;
// le fichier doit exister
QFileInfo infos_file(filepath);
if (!infos_file.exists() || !infos_file.isFile()) {
state = false;
error_message = tr("Le fichier ") + filepath + tr(" n'existe pas.");
}
// le fichier doit etre lisible
QFile file(filepath);
if (state) {
if (!file.open(QIODevice::ReadOnly)) {
state = false;
error_message = tr("Impossible d'ouvrir le fichier ") + filepath + ".";
}
}
// le fichier doit etre un document XML
QDomDocument document_xml;
if (state) {
if (!document_xml.setContent(&file)) {
state = false;
error_message = tr("Ce fichier n'est pas un document XML valide");
}
file.close();
}
if (!state) {
QMessageBox::critical(this, tr("Erreur"), error_message);
return;
}
// chargement de l'element
ce_scene -> fromXml(document_xml);
slot_createPartsList();
// gestion de la lecture seule
if (!infos_file.isWritable()) {
QMessageBox::warning(
this,
tr("\311dition en lecture seule"),
tr("Vous n'avez pas les privil\350ges n\351cessaires pour modifier cet \351lement. Il sera donc ouvert en lecture seule.")
);
setReadOnly(true);
}
// memorise le fichier
setFileName(filepath);
slot_updateMenus();
}
/**
Enregistre l'element vers un fichier
@param fn Chemin du fichier a enregistrer
@return true en cas de reussite, false sinon
*/
bool QETElementEditor::toFile(const QString &fn) {
QFile file(fn);
if (!file.open(QIODevice::WriteOnly | QIODevice::Text)) {
QMessageBox::warning(this, tr("Erreur"), tr("Impossible d'ecrire dans ce fichier"));
return(false);
}
QTextStream out(&file);
out.setCodec("UTF-8");
out << ce_scene -> toXml().toString(4);
file.close();
return(true);
}
/**
specifie si l'editeur d'element doit etre en mode lecture seule
@param ro true pour activer le mode lecture seule, false pour le desactiver
*/
void QETElementEditor::setReadOnly(bool ro) {
read_only = ro;
// active / desactive les actions
foreach (QAction *action, parts -> actions()) action -> setEnabled(!ro);
// active / desactive les interactions avec la scene
ce_view -> setInteractive(!ro);
// active / desactive l'edition de la taille, du hotspot, des noms et des orientations
selectall -> setEnabled(!ro);
deselectall -> setEnabled(!ro);
inv_select -> setEnabled(!ro);
undo -> setEnabled(!ro);
redo -> setEnabled(!ro);
edit_delete -> setEnabled(!ro);
edit_size_hs -> setEnabled(!ro);
edit_names -> setEnabled(!ro);
edit_ori -> setEnabled(!ro);
parts_list -> setEnabled(!ro);
}
/**
@return true si l'editeur d'element est en mode lecture seule
*/
bool QETElementEditor::isReadOnly() const {
return(read_only);
}
/**
Lance l'assistant de creation d'un nouvel element.
*/
void QETElementEditor::slot_new() {
NewElementWizard new_element_wizard;
new_element_wizard.exec();
}
/**
Ouvre un fichier
*/
void QETElementEditor::slot_open() {
// demande un nom de fichier a ouvrir a l'utilisateur
QString user_filename = QFileDialog::getOpenFileName(
this,
tr("Ouvrir un fichier"),
_filename.isEmpty() ? QETApp::customElementsDir() : QDir(_filename).absolutePath(),
tr("\311l\351ments QElectroTech (*.elmt);;Fichiers XML (*.xml);;Tous les fichiers (*)")
);
if (user_filename.isEmpty()) return;
QETElementEditor *cee = new QETElementEditor();
cee -> fromFile(user_filename);
cee -> show();
}
/**
Recharge l'element edite
*/
void QETElementEditor::slot_reload() {
// impossible de recharger un element non enregistre
if (_filename.isEmpty()) return;
// s'il ya des modifications, on demande a l'utilisateur s'il est certain
// de vouloir recharger
if (!ce_scene -> undoStack().isClean()) {
QMessageBox::StandardButton answer = QMessageBox::question(
this,
tr("Recharger l'\351l\351ment"),
tr("Vous avez efffectu\351 des modifications sur cet \351l\351ment. Si vous le rechargez, ces modifications seront perdues. Voulez-vous vraiment recharger l'\351l\351ment ?"),
QMessageBox::Yes | QMessageBox::No | QMessageBox::Cancel,
QMessageBox::Cancel
);
if (answer != QMessageBox::Yes) return;
}
// recharge l'element
ce_scene -> reset();
fromFile(_filename);
}
/**
Enregistre l'element en cours d'edition.
Si le nom du fichier en cours n'est pas connu, cette methode equivaut a
l'action "Enregistrer sous"
@see slot_saveAs()
*/
bool QETElementEditor::slot_save() {
// si on ne connait pas le nom du fichier en cours, enregistrer revient a enregistrer sous
if (_filename.isEmpty()) return(slot_saveAs());
// sinon on enregistre dans le nom de fichier connu
bool result_save = toFile(_filename);
if (result_save) ce_scene -> undoStack().setClean();
return(result_save);
}
/**
Demande un nom de fichier a l'utilisateur et enregistre l'element
*/
bool QETElementEditor::slot_saveAs() {
// demande un nom de fichier a l'utilisateur pour enregistrer l'element
QString fn = QFileDialog::getSaveFileName(
this,
tr("Enregistrer sous"),
_filename.isEmpty() ? QETApp::customElementsDir() : QDir(_filename).absolutePath(),
tr("\311l\351ments QElectroTech (*.elmt)")
);
// si aucun nom n'est entre, renvoie faux.
if (fn.isEmpty()) return(false);
// si le nom ne se termine pas par l'extension .elmt, celle-ci est ajoutee
if (!fn.endsWith(".elmt", Qt::CaseInsensitive)) fn += ".elmt";
// tente d'enregistrer le fichier
bool result_save = toFile(fn);
// si l'enregistrement reussit, le nom du fichier est conserve
if (result_save) {
setFileName(fn);
ce_scene -> undoStack().setClean();
}
// retourne un booleen representatif de la reussite de l'enregistrement
return(result_save);
}
/**
@return true si l'element peut etre ferme.
Un element peut etre ferme s'il ne comporte aucune modification.
Si l'element comporte des modifications, la question est posee a
l'utilisateur.
*/
bool QETElementEditor::canClose() {
if (ce_scene -> undoStack().isClean()) return(true);
// demande d'abord a l'utilisateur s'il veut enregistrer l'element en cours
QMessageBox::StandardButton answer = QMessageBox::question(
this,
tr("Enregistrer l'\351l\351ment en cours ?"),
tr("Voulez-vous enregistrer l'\351l\351ment ") + ce_scene -> names().name() + tr(" ?"),
QMessageBox::Yes|QMessageBox::No|QMessageBox::Cancel,
QMessageBox::Cancel
);
bool result;
switch(answer) {
case QMessageBox::Cancel: result = false; break; // l'utilisateur annule : echec de la fermeture
case QMessageBox::Yes: result = slot_save(); break; // l'utilisateur dit oui : la reussite depend de l'enregistrement
default: result = true; // l'utilisateur dit non ou ferme le dialogue: c'est reussi
}
return(result);
}
/**
Permet de quitter l'editeur lors de la fermeture de la fenetre principale
@param qce Le QCloseEvent correspondant a l'evenement de fermeture
*/
void QETElementEditor::closeEvent(QCloseEvent *qce) {
if (canClose()) {
writeSettings();
setAttribute(Qt::WA_DeleteOnClose);
qce -> accept();
} else qce -> ignore();
}
/**
Remplit la liste des parties
*/
void QETElementEditor::slot_createPartsList() {
parts_list -> blockSignals(true);
parts_list -> clear();
QList<QGraphicsItem *> qgis = ce_scene -> zItems(true);
for (int j = qgis.count() - 1 ; j >= 0 ; -- j) {
QGraphicsItem *qgi = qgis[j];
if (CustomElementPart *cep = dynamic_cast<CustomElementPart *>(qgi)) {
QString part_desc = cep -> name();
QListWidgetItem *qlwi = new QListWidgetItem(part_desc);
QVariant v;
v.setValue<QGraphicsItem *>(qgi);
qlwi -> setData(42, v);
parts_list -> addItem(qlwi);
qlwi -> setSelected(qgi -> isSelected());
}
}
parts_list -> blockSignals(false);
}
/**
Met a jour la selection dans la liste des parties
*/
void QETElementEditor::slot_updatePartsList() {
if (parts_list -> count() != ce_scene -> items().count()) {
slot_createPartsList();
} else {
parts_list -> blockSignals(true);
int i = 0;
QList<QGraphicsItem *> items = ce_scene -> zItems(true);
for (int j = items.count() - 1 ; j >= 0 ; -- j) {
QGraphicsItem *qgi = items[j];
QListWidgetItem *qlwi = parts_list -> item(i);
if (qlwi) qlwi -> setSelected(qgi -> isSelected());
++ i;
}
parts_list -> blockSignals(false);
}
}
/**
Met a jour la selection des parties de l'element a partir de la liste des
parties
*/
void QETElementEditor::slot_updateSelectionFromPartsList() {
ce_scene -> blockSignals(true);
parts_list -> blockSignals(true);
for (int i = 0 ; i < parts_list -> count() ; ++ i) {
QListWidgetItem *qlwi = parts_list -> item(i);
QGraphicsItem *qgi = qlwi -> data(42).value<QGraphicsItem *>();
if (qgi) {
qgi -> setSelected(qlwi -> isSelected());
}
}
parts_list -> blockSignals(false);
ce_scene -> blockSignals(false);
slot_updateInformations();
}
/// Lit les parametres de l'editeur d'element
void QETElementEditor::readSettings() {
QSettings &settings = QETApp::settings();
// dimensions et position de la fenetre
QVariant geometry = settings.value("elementeditor/geometry");
if (geometry.isValid()) restoreGeometry(geometry.toByteArray());
// etat de la fenetre (barres d'outils, docks...)
QVariant state = settings.value("elementeditor/state");
if (state.isValid()) restoreState(state.toByteArray());
}
/// Enregistre les parametres de l'editeur d'element
void QETElementEditor::writeSettings() {
QSettings &settings = QETApp::settings();
settings.setValue("elementeditor/geometry", saveGeometry());
settings.setValue("elementeditor/state", saveState());
}

View File

@@ -1,201 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef CUSTOM_ELEMENT_EDITOR_H
#define CUSTOM_ELEMENT_EDITOR_H
#include <QtGui>
#include "elementscene.h"
#include "orientationset.h"
class ElementView;
/**
Cette classe represente un editeur d'element. Elle permet a l'utilisateur
de dessiner, modifier et parametrer un element electrique. Le dessin se
fait par ajout de parties (Part).
*/
class QETElementEditor : public QMainWindow {
Q_OBJECT
// constructeur, destructeur
public:
QETElementEditor(QWidget * = 0);
virtual ~QETElementEditor();
private:
QETElementEditor(const QETElementEditor &);
// attributs
private:
/// booleen indiquant si l'editeur est en mode "lecture seule" ou non
bool read_only;
/// menus
QMenu *file_menu, *edit_menu, *display_menu, *tools_menu, *help_menu;
/// vue sur la scene d'edition
ElementView *ce_view;
/// scene d'edition
ElementScene *ce_scene;
/// container pour les widgets d'edition des parties
QDockWidget *tools_dock;
/// container pour la liste des annulations
QDockWidget *undo_dock;
/// Container pour la liste des parties
QDockWidget *parts_dock;
/// Liste des parties
QListWidget *parts_list;
/// actions du menu fichier
QAction *new_element, *open, *save, *save_as, *reload, *quit;
/// actions du menu edition
QAction *selectall, *deselectall, *inv_select;
QAction *undo, *redo;
QAction *zoom_in, *zoom_out, *zoom_fit, *zoom_reset;
QAction *edit_delete, *edit_size_hs, *edit_names, *edit_ori;
QAction *edit_raise, *edit_lower, *edit_backward, *edit_forward;
/// barres d'outils
QToolBar *parts_toolbar, *main_toolbar, *view_toolbar, *depth_toolbar, *element_toolbar;
/// actions de la barre d'outils
QActionGroup *parts;
QAction *move, *add_line, *add_circle, *add_ellipse, *add_polygon, *add_text;
QAction *add_arc, *add_terminal, *add_textfield;
/// label affiche lors de la selection de plusieurs elements
QLabel *default_informations;
/// titre minimal
QString min_title;
/// Nom de fichier
QString _filename;
// methodes
public:
void setSize(const QSize &);
QSize size() const;
void setHotspot(const QPoint &);
QPoint hotspot() const;
void setNames(const NamesList &);
void setOrientations(const OrientationSet &orientation_set);
OrientationSet orientations() const;
void setFileName(const QString &);
QString fileName() const;
void setReadOnly(bool);
bool isReadOnly() const;
void fromFile(const QString &);
bool toFile(const QString &);
ElementScene *elementScene() const;
void readSettings();
void writeSettings();
protected:
void closeEvent(QCloseEvent *);
private:
void setupActions();
void setupMenus();
void setupInterface();
bool canClose();
public slots:
void slot_new();
void slot_open();
void slot_reload();
bool slot_save();
bool slot_saveAs();
void slot_setRubberBandToView();
void slot_setNoDragToView();
void slot_setNormalMode();
void slot_updateInformations();
void slot_updateMenus();
void slot_updateTitle();
void slot_createPartsList();
void slot_updatePartsList();
void slot_updateSelectionFromPartsList();
void xmlPreview();
};
/**
@param siz La nouvelle taille de l'element edite
*/
inline void QETElementEditor::setSize(const QSize &siz) {
ce_scene -> setWidth(siz.width());
ce_scene -> setHeight(siz.height());
}
/**
@return la taille de l'element edite
*/
inline QSize QETElementEditor::size() const {
return(
QSize(
ce_scene -> width(),
ce_scene -> height()
)
);
}
/**
@param hs Le nouveau point de saisie de l'element edite
*/
inline void QETElementEditor::setHotspot(const QPoint &hs) {
ce_scene -> setHotspot(hs);
}
/**
@return le point de saisie de l'element edite
*/
inline QPoint QETElementEditor::hotspot() const {
return(ce_scene -> hotspot());
}
/**
@param nameslist le nouvel ensemble de noms de l'element edite
*/
inline void QETElementEditor::setNames(const NamesList &nameslist) {
ce_scene -> setNames(nameslist);
}
/**
@param orientation_set le nouvel ensemble d'orientations de l'element edite
*/
inline void QETElementEditor::setOrientations(const OrientationSet &orientation_set) {
ce_scene -> setOrientations(orientation_set);
}
/**
@return le nouvel ensemble d'orientations de l'element edite
*/
inline OrientationSet QETElementEditor::orientations() const {
return(ce_scene -> orientations());
}
/**
@param fn Le nouveau nom de fichier de l'element edite
*/
inline void QETElementEditor::setFileName(const QString &fn) {
_filename = fn;
slot_updateTitle();
}
/**
@return le nomde fichier de l'element edite
*/
inline QString QETElementEditor::fileName() const {
return(_filename);
}
/**
@return la scene d'edition de l'element
*/
inline ElementScene *QETElementEditor::elementScene() const {
return(ce_scene);
}
#endif

View File

@@ -1,180 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "styleeditor.h"
#include "customelementgraphicpart.h"
/**
Constructeur
@param editor L'editeur d'element concerne
@param p La partie a editer
@param parent le Widget parent
*/
StyleEditor::StyleEditor(QETElementEditor *editor, CustomElementGraphicPart *p, QWidget *parent) : ElementItemEditor(editor, parent), part(p) {
// couleur
color = new QButtonGroup(this);
color -> addButton(black_color = new QRadioButton(tr("Noir")), CustomElementGraphicPart::BlackColor);
color -> addButton(white_color = new QRadioButton(tr("Blanc")), CustomElementGraphicPart::WhiteColor);
// style
style = new QButtonGroup(this);
style -> addButton(normal_style = new QRadioButton(tr("Normal")), CustomElementGraphicPart::NormalStyle);
style -> addButton(dashed_style = new QRadioButton(tr("Pointill\351")), CustomElementGraphicPart::DashedStyle);
style -> button(part -> lineStyle()) -> setChecked(true);
// epaisseur
weight = new QButtonGroup(this);
weight -> addButton(none_weight = new QRadioButton(tr("Nulle")), CustomElementGraphicPart::NoneWeight);
weight -> addButton(thin_weight = new QRadioButton(tr("Fine")), CustomElementGraphicPart::ThinWeight);
weight -> addButton(normal_weight = new QRadioButton(tr("Normale")), CustomElementGraphicPart::NormalWeight);
// remplissage
filling = new QButtonGroup(this);
filling -> addButton(no_filling = new QRadioButton(tr("Aucun")), CustomElementGraphicPart::NoneFilling );
filling -> addButton(black_filling = new QRadioButton(tr("Noir")), CustomElementGraphicPart::BlackFilling);
filling -> addButton(white_filling = new QRadioButton(tr("Blanc")), CustomElementGraphicPart::WhiteFilling);
// antialiasing
antialiasing = new QCheckBox(tr("Antialiasing"));
updateForm();
main_layout = new QVBoxLayout();
main_layout -> addWidget(antialiasing);
main_layout -> addWidget(new QLabel("<u>" + tr("Trait :") + "</u> "));
QHBoxLayout *color_layout = new QHBoxLayout();
color_layout -> addWidget(new QLabel(tr("Couleur : ")));
color_layout -> addWidget(black_color);
color_layout -> addWidget(white_color);
color_layout -> addStretch();
main_layout -> addItem(color_layout);
QHBoxLayout *style_layout = new QHBoxLayout();
style_layout -> addWidget(new QLabel(tr("Style : ")));
style_layout -> addWidget(normal_style);
style_layout -> addWidget(dashed_style);
style_layout -> addStretch();
main_layout -> addItem(style_layout);
QHBoxLayout *weight_layout = new QHBoxLayout();
weight_layout -> addWidget(new QLabel(tr("\311paisseur : ")));
weight_layout -> addWidget(none_weight);
weight_layout -> addWidget(thin_weight);
weight_layout -> addWidget(normal_weight);
weight_layout -> addStretch();
main_layout -> addItem(weight_layout);
main_layout -> addWidget(new QLabel("<u>" + tr("Remplissage :") + "</u> "));
QHBoxLayout *filling_layout = new QHBoxLayout();
filling_layout -> addWidget(no_filling);
filling_layout -> addWidget(black_filling);
filling_layout -> addWidget(white_filling);
filling_layout -> addStretch();
main_layout -> addItem(filling_layout);
main_layout -> addStretch();
setLayout(main_layout);
}
/// Destructeur
StyleEditor::~StyleEditor() {
}
/**
Met a jour le style de la partie a partir des donnees du formulaire
*/
void StyleEditor::updatePart() {
// applique l'antialiasing
part -> setAntialiased(antialiasing -> isChecked());
// applique la couleur
part -> setColor(static_cast<CEGP::Color>(color -> checkedId()));
// applique le style
part -> setLineStyle(static_cast<CEGP::LineStyle>(style -> checkedId()));
// applique l'epaisseur
part -> setLineWeight(static_cast<CEGP::LineWeight>(weight -> checkedId()));
// applique le remplissage
part -> setFilling(static_cast<CEGP::Filling>(filling -> checkedId()));
}
/// Met a jour l'antialiasing et cree un objet d'annulation
void StyleEditor::updatePartAntialiasing() { addChangePartCommand("style antialiasing", part, "antialias", antialiasing -> isChecked()); }
/// Met a jour la couleur du trait et cree un objet d'annulation
void StyleEditor::updatePartColor() { addChangePartCommand("style couleur", part, "color", color -> checkedId()); }
/// Met a jour le style du trait et cree un objet d'annulation
void StyleEditor::updatePartLineStyle() { addChangePartCommand("style ligne", part, "line-style", style -> checkedId()); }
/// Met a jour l'epaisseur du trait et cree un objet d'annulation
void StyleEditor::updatePartLineWeight() { addChangePartCommand("style epaisseur", part, "line-weight", weight -> checkedId()); }
/// Met a jour la couleur de fond et cree un objet d'annulation
void StyleEditor::updatePartFilling() { addChangePartCommand("style remplissage", part, "filling", filling -> checkedId()); }
/**
Met a jour le formulaire d'edition
*/
void StyleEditor::updateForm() {
activeConnections(false);
// lit l'antialiasing
antialiasing -> setChecked(part -> antialiased());
// lit la couleur
color -> button(part -> color()) -> setChecked(true);
// lit le style
style -> button(part -> lineStyle()) -> setChecked(true);
// lit l'epaisseur
weight -> button(part -> lineWeight()) -> setChecked(true);
// lit le remplissage
filling -> button(part -> filling()) -> setChecked(true);
activeConnections(true);
}
/**
Ajoute un widget en bas de l'editeur de style
@param w Widget a inserer
*/
void StyleEditor::appendWidget(QWidget *w) {
main_layout -> insertWidget(7, w);
}
/**
Active ou desactive les connexionx signaux/slots entre les widgets internes.
@param active true pour activer les connexions, false pour les desactiver
*/
void StyleEditor::activeConnections(bool active) {
if (active) {
connect(color, SIGNAL(buttonClicked(int)), this, SLOT(updatePartColor()));
connect(style, SIGNAL(buttonClicked(int)), this, SLOT(updatePartLineStyle()));
connect(weight, SIGNAL(buttonClicked(int)), this, SLOT(updatePartLineWeight()));
connect(filling, SIGNAL(buttonClicked(int)), this, SLOT(updatePartFilling()));
connect(antialiasing, SIGNAL(stateChanged(int)), this, SLOT(updatePartAntialiasing()));
} else {
disconnect(color, SIGNAL(buttonClicked(int)), this, SLOT(updatePartColor()));
disconnect(style, SIGNAL(buttonClicked(int)), this, SLOT(updatePartLineStyle()));
disconnect(weight, SIGNAL(buttonClicked(int)), this, SLOT(updatePartLineWeight()));
disconnect(filling, SIGNAL(buttonClicked(int)), this, SLOT(updatePartFilling()));
disconnect(antialiasing, SIGNAL(stateChanged(int)), this, SLOT(updatePartAntialiasing()));
}
}

View File

@@ -1,65 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef STYLE_EDITOR_H
#define STYLE_EDITOR_H
#include <QtGui>
#include "elementitemeditor.h"
class CustomElementGraphicPart;
/**
Cette classe represente un widget d'edition des styles que peut comporter
une partie d'elements (couleur, epaisseur et style du trait, remplissage,
antialiasing). Elle peut accueillir un widget sous cette interface grace a
la methode appendWidget.
*/
class StyleEditor : public ElementItemEditor {
Q_OBJECT
// constructeurs, destructeur
public:
StyleEditor(QETElementEditor *, CustomElementGraphicPart *, QWidget * = 0);
virtual ~StyleEditor();
private:
StyleEditor(const StyleEditor &);
// attributs
private:
CustomElementGraphicPart *part;
QVBoxLayout *main_layout;
QButtonGroup *color, *style, *weight, *filling;
QRadioButton *black_color, *white_color, *normal_style, *dashed_style;
QRadioButton *none_weight, *thin_weight, *normal_weight, *no_filling;
QRadioButton *black_filling, *white_filling;
QCheckBox *antialiasing;
//methodes
public:
void appendWidget(QWidget *w);
public slots:
void updatePart();
void updateForm();
void updatePartAntialiasing();
void updatePartColor();
void updatePartLineStyle();
void updatePartLineWeight();
void updatePartFilling();
private:
void activeConnections(bool);
};
#endif

View File

@@ -1,113 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "terminaleditor.h"
#include "partterminal.h"
/**
Constructeur
@param editor L'editeur d'element concerne
@param term La borne a editer
@param parent QWidget parent de ce widget
*/
TerminalEditor::TerminalEditor(QETElementEditor *editor, PartTerminal *term, QWidget *parent) : ElementItemEditor(editor, parent) {
part = term;
qle_x = new QLineEdit();
qle_y = new QLineEdit();
qle_x -> setValidator(new QDoubleValidator(qle_x));
qle_y -> setValidator(new QDoubleValidator(qle_y));
orientation = new QComboBox();
orientation -> addItem(QIcon(":/ico/north.png"), tr("Nord"), QET::North);
orientation -> addItem(QIcon(":/ico/east.png"), tr("Est"), QET::East);
orientation -> addItem(QIcon(":/ico/south.png"), tr("Sud"), QET::South);
orientation -> addItem(QIcon(":/ico/west.png"), tr("Ouest"), QET::West);
QVBoxLayout *main_layout = new QVBoxLayout();
main_layout -> addWidget(new QLabel(tr("Position : ")));
QHBoxLayout *position = new QHBoxLayout();
position -> addWidget(new QLabel(tr("x : ")));
position -> addWidget(qle_x );
position -> addWidget(new QLabel(tr("y : ")));
position -> addWidget(qle_y );
main_layout -> addLayout(position);
QHBoxLayout *ori = new QHBoxLayout();
ori -> addWidget(new QLabel(tr("Orientation : ")));
ori -> addWidget(orientation );
main_layout -> addLayout(ori);
main_layout -> addStretch();
setLayout(main_layout);
activeConnections(true);
updateForm();
}
/// Destructeur
TerminalEditor::~TerminalEditor() {
};
/**
Met a jour la borne a partir des donnees du formulaire
*/
void TerminalEditor::updateTerminal() {
part -> setPos(qle_x -> text().toDouble(), qle_y -> text().toDouble());
part -> setOrientation(
static_cast<QET::Orientation>(
orientation -> itemData(
orientation -> currentIndex()
).toInt()
)
);
}
/// Met a jour l'abscisse de la position de la borne et cree un objet d'annulation
void TerminalEditor::updateTerminalX() { addChangePartCommand(tr("abscisse"), part, "x", qle_x -> text().toDouble()); updateForm(); }
/// Met a jour l'ordonnee de la position de la borne et cree un objet d'annulation
void TerminalEditor::updateTerminalY() { addChangePartCommand(tr("ordonn\351e"), part, "y", qle_y -> text().toDouble()); updateForm(); }
/// Met a jour l'orientation de la borne et cree un objet d'annulation
void TerminalEditor::updateTerminalO() { addChangePartCommand(tr("orientation"), part, "orientation", orientation -> itemData(orientation -> currentIndex()).toInt()); }
/**
Met a jour le formulaire d'edition
*/
void TerminalEditor::updateForm() {
activeConnections(false);
qle_x -> setText(part -> property("x").toString());
qle_y -> setText(part -> property("y").toString());
orientation -> setCurrentIndex(static_cast<int>(part -> orientation()));
activeConnections(true);
}
/**
Active ou desactive les connexionx signaux/slots entre les widgets internes.
@param active true pour activer les connexions, false pour les desactiver
*/
void TerminalEditor::activeConnections(bool active) {
if (active) {
connect(qle_x, SIGNAL(editingFinished()), this, SLOT(updateTerminalX()));
connect(qle_y, SIGNAL(editingFinished()), this, SLOT(updateTerminalY()));
connect(orientation, SIGNAL(activated(int)), this, SLOT(updateTerminalO()));
} else {
disconnect(qle_x, SIGNAL(editingFinished()), this, SLOT(updateTerminalX()));
disconnect(qle_y, SIGNAL(editingFinished()), this, SLOT(updateTerminalY()));
disconnect(orientation, SIGNAL(activated(int)), this, SLOT(updateTerminalO()));
}
}

View File

@@ -1,112 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "texteditor.h"
#include "parttext.h"
/**
Constructeur
@param editor L'editeur d'element concerne
@param text Champ de texte a editer
@param parent QWidget parent de ce widget
*/
TextEditor::TextEditor(QETElementEditor *editor, PartText *text, QWidget *parent) : ElementItemEditor(editor, parent) {
part = text;
qle_x = new QLineEdit();
qle_y = new QLineEdit();
qle_text = new QLineEdit();
font_size = new QSpinBox();
font_size -> setRange(0, 144);
qle_x -> setValidator(new QDoubleValidator(qle_x));
qle_y -> setValidator(new QDoubleValidator(qle_y));
QVBoxLayout *main_layout = new QVBoxLayout();
main_layout -> addWidget(new QLabel(tr("Position : ")));
QHBoxLayout *position = new QHBoxLayout();
position -> addWidget(new QLabel(tr("x : ")));
position -> addWidget(qle_x );
position -> addWidget(new QLabel(tr("y : ")));
position -> addWidget(qle_y );
main_layout -> addLayout(position);
QHBoxLayout *fs = new QHBoxLayout();
fs -> addWidget(new QLabel(tr("Taille : ")));
fs -> addWidget(font_size);
main_layout -> addLayout(fs);
QHBoxLayout *t = new QHBoxLayout();
t -> addWidget(new QLabel(tr("Texte : ")));
t -> addWidget(qle_text);
main_layout -> addLayout(t);
main_layout -> addStretch();
setLayout(main_layout);
updateForm();
}
/**
Destructeur
*/
TextEditor::~TextEditor() {
}
/**
Met a jour le champ de texte a partir des donnees du formulaire
*/
void TextEditor::updateText() {
part -> setProperty("size", font_size -> value());
part -> setPlainText(qle_text -> text());
part -> setPos(qle_x -> text().toDouble(), qle_y -> text().toDouble());
}
/// Met a jour l'abscisse de la position du texte et cree un objet d'annulation
void TextEditor::updateTextX() { addChangePartCommand(tr("abscisse"), part, "x", qle_x -> text().toDouble()); updateForm(); }
/// Met a jour l'ordonnee de la position du texte et cree un objet d'annulation
void TextEditor::updateTextY() { addChangePartCommand(tr("ordonn\351e"), part, "y", qle_y -> text().toDouble()); updateForm(); }
/// Met a jour le texte et cree un objet d'annulation
void TextEditor::updateTextT() { addChangePartCommand(tr("texte"), part, "text", qle_text -> text()); }
/// Met a jour la taille du texte et cree un objet d'annulation
void TextEditor::updateTextS() { addChangePartCommand(tr("taille"), part, "size", font_size -> value()); }
/**
Met a jour le formulaire a partir du champ de texte
*/
void TextEditor::updateForm() {
activeConnections(false);
qle_x -> setText(part -> property("x").toString());
qle_y -> setText(part -> property("y").toString());
qle_text -> setText(part -> property("text").toString());
font_size -> setValue(part -> property("size").toInt());
activeConnections(true);
}
void TextEditor::activeConnections(bool active) {
if (active) {
connect(qle_x, SIGNAL(editingFinished()), this, SLOT(updateTextX()));
connect(qle_y, SIGNAL(editingFinished()), this, SLOT(updateTextY()));
connect(qle_text, SIGNAL(editingFinished()), this, SLOT(updateTextT()));
connect(font_size, SIGNAL(editingFinished()), this, SLOT(updateTextS()));
} else {
disconnect(qle_x, SIGNAL(editingFinished()), this, SLOT(updateTextX()));
disconnect(qle_y, SIGNAL(editingFinished()), this, SLOT(updateTextY()));
disconnect(qle_text, SIGNAL(editingFinished()), this, SLOT(updateTextT()));
disconnect(font_size, SIGNAL(editingFinished()), this, SLOT(updateTextS()));
}
}

View File

@@ -1,55 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef TEXT_EDITOR_H
#define TEXT_EDITOR_H
#include <QtGui>
#include "elementitemeditor.h"
class PartText;
/**
Cette classe represente un editeur de champ de texte non editable
Elle permet d'editer a travers une interface graphique les
proprietes d'un champ de texte non editable.
*/
class TextEditor : public ElementItemEditor {
Q_OBJECT
// Constructeurs, destructeur
public:
TextEditor(QETElementEditor *, PartText *, QWidget * = 0);
virtual ~TextEditor();
private:
TextEditor(const TextEditor &);
// attributs
private:
PartText *part;
QLineEdit *qle_x, *qle_y, *qle_text;
QSpinBox *font_size;
// methodes
public slots:
void updateText();
void updateTextX();
void updateTextY();
void updateTextT();
void updateTextS();
void updateForm();
private:
void activeConnections(bool);
};
#endif

View File

@@ -1,126 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "textfieldeditor.h"
#include "parttextfield.h"
/**
Constructeur
@param editor L'editeur d'element concerne
@param textfield Le champ de texte a editer
@param parent QWidget parent
*/
TextFieldEditor::TextFieldEditor(QETElementEditor *editor, PartTextField *textfield, QWidget *parent) : ElementItemEditor(editor, parent) {
part = textfield;
qle_x = new QLineEdit();
qle_y = new QLineEdit();
qle_text = new QLineEdit();
font_size = new QSpinBox();
font_size -> setRange(0, 144);
rotate = new QCheckBox(tr("Maintenir horizontal malgr\351\n les rotations de l'\351l\351ment"));
rotate -> setChecked(true);
qle_x -> setValidator(new QDoubleValidator(qle_x));
qle_y -> setValidator(new QDoubleValidator(qle_y));
QVBoxLayout *main_layout = new QVBoxLayout();
main_layout -> addWidget(new QLabel(tr("Position : ")));
QHBoxLayout *position = new QHBoxLayout();
position -> addWidget(new QLabel(tr("x : ")));
position -> addWidget(qle_x );
position -> addWidget(new QLabel(tr("y : ")));
position -> addWidget(qle_y );
main_layout -> addLayout(position);
QHBoxLayout *fs = new QHBoxLayout();
fs -> addWidget(new QLabel(tr("Taille : ")));
fs -> addWidget(font_size);
main_layout -> addLayout(fs);
QHBoxLayout *t = new QHBoxLayout();
t -> addWidget(new QLabel(tr("Texte par d\351faut : ")));
t -> addWidget(qle_text);
main_layout -> addLayout(t);
QHBoxLayout *r = new QHBoxLayout();
r -> addWidget(rotate);
main_layout -> addLayout(r);
main_layout -> addStretch();
setLayout(main_layout);
updateForm();
}
/// Destructeur
TextFieldEditor::~TextFieldEditor() {
}
/**
Met a jour le champ de texte a partir des donnees du formulaire
*/
void TextFieldEditor::updateTextField() {
part -> setProperty("size", font_size -> value());
part -> setPlainText(qle_text -> text());
part -> setPos(qle_x -> text().toDouble(), qle_y -> text().toDouble());
part -> setFollowParentRotations(!rotate -> isChecked());
}
/// Met a jour l'abscisse de la position du champ de texte et cree un objet d'annulation
void TextFieldEditor::updateTextFieldX() { addChangePartCommand(tr("abscisse"), part, "x", qle_x -> text().toDouble()); updateForm(); }
/// Met a jour l'ordonnee de la position du champ de texte et cree un objet d'annulation
void TextFieldEditor::updateTextFieldY() { addChangePartCommand(tr("ordonn\351e"), part, "y", qle_y -> text().toDouble()); updateForm(); }
/// Met a jour le texte du champ de texte et cree un objet d'annulation
void TextFieldEditor::updateTextFieldT() { addChangePartCommand(tr("texte"), part, "text", qle_text -> text()); }
/// Met a jour la taille du champ de texte et cree un objet d'annulation
void TextFieldEditor::updateTextFieldS() { addChangePartCommand(tr("taille"), part, "size", font_size -> value()); }
/// Met a jour la taille du champ de texte et cree un objet d'annulation
void TextFieldEditor::updateTextFieldR() { addChangePartCommand(tr("propri\351t\351"), part, "rotate", !rotate -> isChecked()); }
/**
Met a jour le formulaire d'edition
*/
void TextFieldEditor::updateForm() {
activeConnections(false);
qle_x -> setText(part -> property("x").toString());
qle_y -> setText(part -> property("y").toString());
qle_text -> setText(part -> property("text").toString());
font_size -> setValue(part -> property("size").toInt());
rotate -> setChecked(!part -> property("rotate").toBool());
activeConnections(true);
}
/**
Active ou desactive les connexionx signaux/slots entre les widgets internes.
@param active true pour activer les connexions, false pour les desactiver
*/
void TextFieldEditor::activeConnections(bool active) {
if (active) {
connect(qle_x, SIGNAL(editingFinished()), this, SLOT(updateTextFieldX()));
connect(qle_y, SIGNAL(editingFinished()), this, SLOT(updateTextFieldY()));
connect(qle_text, SIGNAL(editingFinished()), this, SLOT(updateTextFieldT()));
connect(font_size, SIGNAL(editingFinished()), this, SLOT(updateTextFieldS()));
connect(rotate, SIGNAL(stateChanged(int)), this, SLOT(updateTextFieldR()));
} else {
disconnect(qle_x, SIGNAL(editingFinished()), this, SLOT(updateTextFieldX()));
disconnect(qle_y, SIGNAL(editingFinished()), this, SLOT(updateTextFieldY()));
disconnect(qle_text, SIGNAL(editingFinished()), this, SLOT(updateTextFieldT()));
disconnect(font_size, SIGNAL(editingFinished()), this, SLOT(updateTextFieldS()));
disconnect(rotate, SIGNAL(stateChanged(int)), this, SLOT(updateTextFieldR()));
}
}

View File

@@ -1,58 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef TEXTFIELD_EDITOR_H
#define TEXTFIELD_EDITOR_H
#include <QtGui>
#include "elementitemeditor.h"
class PartTextField;
/**
Cette classe represente un editeur de champ de texte
Elle permet d'editer a travers une interface graphique les
proprietes d'un champ de texte : taille de la police, texte par
defaut et position.
*/
class TextFieldEditor : public ElementItemEditor {
Q_OBJECT
// Constructeurs, destructeur
public:
TextFieldEditor(QETElementEditor *, PartTextField *, QWidget * = 0);
virtual ~TextFieldEditor();
private:
TextFieldEditor(const TextFieldEditor &);
// attributs
private:
PartTextField *part;
QLineEdit *qle_x, *qle_y, *qle_text;
QSpinBox *font_size;
QCheckBox *rotate;
// methodes
public slots:
void updateTextField();
void updateTextFieldX();
void updateTextFieldY();
void updateTextFieldT();
void updateTextFieldS();
void updateTextFieldR();
void updateForm();
private:
void activeConnections(bool);
};
#endif

View File

@@ -1,471 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "element.h"
#include "qetapp.h"
#include "diagram.h"
#include "conductor.h"
#include "elementtextitem.h"
#include "diagramcommands.h"
#include <QtDebug>
/**
Constructeur pour un element sans scene ni parent
*/
Element::Element(QGraphicsItem *parent, Diagram *scene) :
QGraphicsItem(parent, scene),
internal_connections(false)
{
setZValue(10);
}
/**
Destructeur
*/
Element::~Element() {
}
/**
Methode principale de dessin de l'element
@param painter Le QPainter utilise pour dessiner l'elment
@param options Les options de style a prendre en compte
@param widget Le widget sur lequel on dessine
*/
void Element::paint(QPainter *painter, const QStyleOptionGraphicsItem *options, QWidget *widget) {
#ifdef Q_WS_X11
// corrige un bug de rendu ne se produisant que lors du rendu sur QGraphicsScene sous X11 au zoom par defaut
static bool must_correct_rendering_bug = QETApp::settings().value("correct-rendering", true).toBool();
if (must_correct_rendering_bug) {
Diagram *dia = diagram();
if (dia && options -> levelOfDetail == 1.0 && widget) {
// calcule la rotation qu'a subi l'element
qreal applied_rotation = 90.0 * (ori.current() - ori.defaultOrientation());
while (applied_rotation < 360.0) applied_rotation += 360.0;
while (applied_rotation > 360.0) applied_rotation -= 360.0;
if (applied_rotation == 90.0) painter -> translate(1.0, -1.0);
else if (applied_rotation == 180.0) painter -> translate(-1.0, -1.0);
else if (applied_rotation == 270.0) painter -> translate(-1.0, 1.0);
}
}
#endif
// Dessin de l'element lui-meme
paint(painter, options);
// Dessin du cadre de selection si necessaire
if (isSelected()) drawSelection(painter, options);
}
/**
@return Le rectangle delimitant le contour de l'element
*/
QRectF Element::boundingRect() const {
return(QRectF(QPointF(-hotspot_coord.x(), -hotspot_coord.y()), dimensions));
}
/**
Definit la taille de l'element sur le schema. Les tailles doivent etre
des multiples de 10 ; si ce n'est pas le cas, les dimensions indiquees
seront arrrondies aux dizaines superieures.
@param wid Largeur de l'element
@param hei Hauteur de l'element
@return La taille finale de l'element
*/
QSize Element::setSize(int wid, int hei) {
prepareGeometryChange();
// chaque dimension indiquee est arrondie a la dizaine superieure
while (wid % 10) ++ wid;
while (hei % 10) ++ hei;
// les dimensions finales sont conservees et retournees
return(dimensions = QSize(wid, hei));
}
/**
Definit le hotspot de l'element par rapport au coin superieur gauche de son rectangle delimitant.
Necessite que la taille ait deja ete definie
@param hs Coordonnees du hotspot
*/
QPoint Element::setHotspot(QPoint hs) {
// la taille doit avoir ete definie
prepareGeometryChange();
if (dimensions.isNull()) hotspot_coord = QPoint(0, 0);
else {
// les coordonnees indiquees ne doivent pas depasser les dimensions de l'element
int hsx = qMin(hs.x(), dimensions.width());
int hsy = qMin(hs.y(), dimensions.height());
hotspot_coord = QPoint(hsx, hsy);
}
return(hotspot_coord);
}
/**
@return Le hotspot courant de l'element
*/
QPoint Element::hotspot() const {
return(hotspot_coord);
}
/**
Selectionne l'element
*/
void Element::select() {
setSelected(true);
}
/**
Deselectionne l'element
*/
void Element::deselect() {
setSelected(false);
}
/**
@return La pixmap de l'element
*/
QPixmap Element::pixmap() {
if (apercu.isNull()) updatePixmap(); // on genere la pixmap si ce n'est deja fait
return(apercu);
}
/**
Permet de specifier l'orientation de l'element
@param o la nouvelle orientation de l'objet
@return true si l'orientation a pu etre appliquee, false sinon
*/
bool Element::setOrientation(QET::Orientation o) {
// verifie que l'orientation demandee est acceptee
if (!ori.accept(o)) return(false);
prepareGeometryChange();
// rotation en consequence et rafraichissement de l'element graphique
qreal rotation_value = 90.0 * (o - ori.current());
rotate(rotation_value);
ori.setCurrent(o);
update();
foreach(QGraphicsItem *qgi, children()) {
if (Terminal *p = qgraphicsitem_cast<Terminal *>(qgi)) p -> updateConductor();
else if (ElementTextItem *eti = qgraphicsitem_cast<ElementTextItem *>(qgi)) {
// applique une rotation contraire si besoin
if (!eti -> followParentRotations()) {
QMatrix new_matrix = eti -> matrix();
qreal dx = eti -> boundingRect().width() / 2.0;
qreal dy = eti -> boundingRect().height() / 2.0;
new_matrix.translate(dx, dy);
new_matrix.rotate(-rotation_value);
new_matrix.translate(-dx, -dy);
eti -> setMatrix(new_matrix);
}
}
}
return(true);
}
/*** Methodes protegees ***/
/**
Dessine un petit repere (axes x et y) relatif a l'element
@param painter Le QPainter a utiliser pour dessiner les axes
@param options Les options de style a prendre en compte
*/
void Element::drawAxes(QPainter *painter, const QStyleOptionGraphicsItem *) {
painter -> setPen(Qt::blue);
painter -> drawLine(0, 0, 10, 0);
painter -> drawLine(7,-3, 10, 0);
painter -> drawLine(7, 3, 10, 0);
painter -> setPen(Qt::red);
painter -> drawLine(0, 0, 0, 10);
painter -> drawLine(0, 10,-3, 7);
painter -> drawLine(0, 10, 3, 7);
}
/*** Methodes privees ***/
/**
Dessine le cadre de selection de l'element de maniere systematiquement non antialiasee.
@param qp Le QPainter a utiliser pour dessiner les bornes.
@param options Les options de style a prendre en compte
*/
void Element::drawSelection(QPainter *painter, const QStyleOptionGraphicsItem *) {
painter -> save();
// Annulation des renderhints
painter -> setRenderHint(QPainter::Antialiasing, false);
painter -> setRenderHint(QPainter::TextAntialiasing, false);
painter -> setRenderHint(QPainter::SmoothPixmapTransform, false);
// Dessin du cadre de selection en gris
QPen t;
t.setColor(Qt::gray);
t.setStyle(Qt::DashDotLine);
painter -> setPen(t);
// Le dessin se fait a partir du rectangle delimitant
painter -> drawRoundRect(boundingRect().adjusted(1, 1, -1, -1), 10, 10);
painter -> restore();
}
/**
Fonction initialisant et dessinant la pixmap de l'element.
*/
void Element::updatePixmap() {
// Pixmap transparente faisant la taille de base de l'element
apercu = QPixmap(dimensions);
apercu.fill(QColor(255, 255, 255, 0));
// QPainter sur la pixmap, avec antialiasing
QPainter p(&apercu);
p.setRenderHint(QPainter::Antialiasing, true);
p.setRenderHint(QPainter::SmoothPixmapTransform, true);
// Translation de l'origine du repere de la pixmap
p.translate(hotspot_coord);
// L'element se dessine sur la pixmap
paint(&p, 0);
}
/**
Change la position de l'element en veillant a ce que l'element
reste sur la grille du Diagram auquel il appartient.
@param p Nouvelles coordonnees de l'element
*/
void Element::setPos(const QPointF &p) {
if (p == pos()) return;
// pas la peine de positionner sur la grille si l'element n'est pas sur un Diagram
if (scene()) {
// arrondit l'abscisse a 10 px pres
int p_x = qRound(p.x() / (Diagram::xGrid * 1.0)) * Diagram::xGrid;
// arrondit l'ordonnee a 10 px pres
int p_y = qRound(p.y() / (Diagram::yGrid * 1.0)) * Diagram::yGrid;
QGraphicsItem::setPos(p_x, p_y);
} else QGraphicsItem::setPos(p);
}
/**
Change la position de l'element en veillant a ce que l'element
reste sur la grille du Diagram auquel il appartient.
@param x Nouvelle abscisse de l'element
@param y Nouvelle ordonnee de l'element
*/
void Element::setPos(qreal x, qreal y) {
setPos(QPointF(x, y));
}
/**
Gere l'enfoncement d'un bouton de la souris
*/
void Element::mousePressEvent(QGraphicsSceneMouseEvent *e) {
if (!isSelected() && e -> modifiers() & Qt::ControlModifier) {
setSelected(true);
}
QGraphicsItem::mousePressEvent(e);
}
/**
Gere les mouvements de souris lies a l'element
*/
void Element::mouseMoveEvent(QGraphicsSceneMouseEvent *e) {
if (isSelected() && e -> buttons() & Qt::LeftButton) {
QPointF oldPos = pos();
setPos(mapToParent(e -> pos()) - matrix().map(e -> buttonDownPos(Qt::LeftButton)));
if (Diagram *diagram_ptr = diagram()) {
diagram_ptr -> moveElements(pos() - oldPos, this);
}
} else e -> ignore();
}
/**
Gere le relachement de souris
Cette methode a ete reimplementee pour tenir a jour la liste des elements
et conducteurs a deplacer au niveau du schema.
*/
void Element::mouseReleaseEvent(QGraphicsSceneMouseEvent *e) {
Diagram *diagram_ptr = diagram();
if (diagram_ptr) {
if (!diagram_ptr -> current_movement.isNull()) {
diagram_ptr -> undoStack().push(
new MoveElementsCommand(
diagram_ptr,
diagram_ptr -> selectedContent(),
diagram_ptr -> current_movement
)
);
diagram_ptr -> current_movement = QPointF();
}
diagram_ptr -> invalidateMovedElements();
}
QGraphicsItem::mouseReleaseEvent(e);
}
/**
Permet de savoir si un element XML (QDomElement) represente bien un element
@param e Le QDomElement a valide
@return true si l'element XML est un Element, false sinon
*/
bool Element::valideXml(QDomElement &e) {
// verifie le nom du tag
if (e.tagName() != "element") return(false);
// verifie la presence des attributs minimaux
if (!e.hasAttribute("type")) return(false);
if (!e.hasAttribute("x")) return(false);
if (!e.hasAttribute("y")) return(false);
bool conv_ok;
// parse l'abscisse
e.attribute("x").toDouble(&conv_ok);
if (!conv_ok) return(false);
// parse l'ordonnee
e.attribute("y").toDouble(&conv_ok);
if (!conv_ok) return(false);
return(true);
}
/**
Methode d'import XML. Cette methode est appelee lors de l'import de contenu
XML (coller, import, ouverture de fichier...) afin que l'element puisse
gerer lui-meme l'importation de ses bornes. Ici, comme cette classe est
caracterisee par un nombre fixe de bornes, l'implementation exige de
retrouver exactement ses bornes dans le fichier XML.
@param e L'element XML a analyser.
@param table_id_adr Reference vers la table de correspondance entre les IDs
du fichier XML et les adresses en memoire. Si l'import reussit, il faut y
ajouter les bons couples (id, adresse).
@return true si l'import a reussi, false sinon
*/
bool Element::fromXml(QDomElement &e, QHash<int, Terminal *> &table_id_adr) {
/*
les bornes vont maintenant etre recensees pour associer leurs id a leur adresse reelle
ce recensement servira lors de la mise en place des fils
*/
QList<QDomElement> liste_terminals;
foreach(QDomElement qde, QET::findInDomElement(e, "terminals", "terminal")) {
if (Terminal::valideXml(qde)) liste_terminals << qde;
}
QHash<int, Terminal *> priv_id_adr;
int terminals_non_trouvees = 0;
foreach(QGraphicsItem *qgi, children()) {
if (Terminal *p = qgraphicsitem_cast<Terminal *>(qgi)) {
bool terminal_trouvee = false;
foreach(QDomElement qde, liste_terminals) {
if (p -> fromXml(qde)) {
priv_id_adr.insert(qde.attribute("id").toInt(), p);
terminal_trouvee = true;
break;
}
}
if (!terminal_trouvee) ++ terminals_non_trouvees;
}
}
if (terminals_non_trouvees > 0) {
return(false);
} else {
// verifie que les associations id / adr n'entrent pas en conflit avec table_id_adr
foreach(int id_trouve, priv_id_adr.keys()) {
if (table_id_adr.contains(id_trouve)) {
// cet element possede un id qui est deja reference (= conflit)
return(false);
}
}
// copie des associations id / adr
foreach(int id_trouve, priv_id_adr.keys()) {
table_id_adr.insert(id_trouve, priv_id_adr.value(id_trouve));
}
}
// importe les valeurs des champs de texte
QList<QDomElement> inputs = QET::findInDomElement(e, "inputs", "input");
foreach(QGraphicsItem *qgi, children()) {
if (ElementTextItem *eti = qgraphicsitem_cast<ElementTextItem *>(qgi)) {
foreach(QDomElement input, inputs) eti -> fromXml(input);
}
}
// position, selection et orientation
setPos(e.attribute("x").toDouble(), e.attribute("y").toDouble());
setFlags(QGraphicsItem::ItemIsMovable | QGraphicsItem::ItemIsSelectable);
bool conv_ok;
int read_ori = e.attribute("orientation").toInt(&conv_ok);
if (!conv_ok || read_ori < 0 || read_ori > 3) read_ori = ori.defaultOrientation();
setOrientation((QET::Orientation)read_ori);
return(true);
}
/**
Permet d'exporter l'element en XML
@param document Document XML a utiliser
@param table_adr_id Table de correspondance entre les adresses des bornes
et leur id dans la representation XML ; cette table completee par cette
methode
@return L'element XML representant cet element electrique
*/
QDomElement Element::toXml(QDomDocument &document, QHash<Terminal *, int> &table_adr_id) const {
QDomElement element = document.createElement("element");
// type
QString chemin_elmt = typeId();
QString type_elmt = QETApp::symbolicPath(chemin_elmt);
element.setAttribute("type", type_elmt);
// position, selection et orientation
element.setAttribute("x", pos().x());
element.setAttribute("y", pos().y());
element.setAttribute("orientation", QString("%1").arg(ori.current()));
/* recupere le premier id a utiliser pour les bornes de cet element */
int id_terminal = 0;
if (!table_adr_id.isEmpty()) {
// trouve le plus grand id
int max_id_t = -1;
foreach (int id_t, table_adr_id.values()) {
if (id_t > max_id_t) max_id_t = id_t;
}
id_terminal = max_id_t + 1;
}
// enregistrement des bornes de l'appareil
QDomElement terminals = document.createElement("terminals");
// pour chaque enfant de l'element
foreach(QGraphicsItem *child, children()) {
// si cet enfant est une borne
if (Terminal *t = qgraphicsitem_cast<Terminal *>(child)) {
// alors on enregistre la borne
QDomElement terminal = t -> toXml(document);
terminal.setAttribute("id", id_terminal);
table_adr_id.insert(t, id_terminal ++);
terminals.appendChild(terminal);
}
}
element.appendChild(terminals);
// enregistrement des champ de texte de l'appareil
QDomElement inputs = document.createElement("inputs");
// pour chaque enfant de l'element
foreach(QGraphicsItem *child, children()) {
// si cet enfant est un champ de texte
if (ElementTextItem *eti = qgraphicsitem_cast<ElementTextItem *>(child)) {
// alors on enregistre le champ de texte
inputs.appendChild(eti -> toXml(document));
}
}
element.appendChild(inputs);
return(element);
}
/// @return le Diagram auquel cet element appartient, ou 0 si cet element est independant
Diagram *Element::diagram() const {
return(qobject_cast<Diagram *>(scene()));
}

154
element.h
View File

@@ -1,154 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef ELEMENT_H
#define ELEMENT_H
#include <QtGui>
#include "terminal.h"
#include "orientationset.h"
class Diagram;
/**
Cette classe abstraite represente un element electrique.
*/
class Element : public QGraphicsItem {
// constructeurs, destructeur
public:
Element(QGraphicsItem * = 0, Diagram * = 0);
virtual ~Element();
private:
Element(const Element &);
// attributs
public:
enum { Type = UserType + 1000 };
protected:
/**
orientations de l'element :
* autorisations
* orientation en cours
* orientation par defaut
@see OrientationSet
*/
OrientationSet ori;
private:
QSize dimensions;
QPoint hotspot_coord;
QPixmap apercu;
// methodes
public:
/**
permet de caster un QGraphicsItem en Element avec qgraphicsitem_cast
@return le type de QGraphicsItem
*/
virtual int type() const { return Type; }
// methodes virtuelles pures a definir dans les classes enfants
/// @return la liste des bornes de cet element
virtual QList<Terminal *> terminals() const = 0;
/// @return la liste des conducteurs relies a cet element
virtual QList<Conductor *> conductors() const = 0;
/// @return le nombre de bornes actuel de cet element
virtual int nbTerminals() const = 0;
/// @return le nombre de bornes minimum de cet element
virtual int nbTerminalsMin() const = 0;
/// @return le nombre de bornes maximum de cet element
virtual int nbTerminalsMax() const = 0;
/**
Dessine l'element
*/
virtual void paint(QPainter *, const QStyleOptionGraphicsItem *) = 0;
/// @return L'ID du type de l'element
virtual QString typeId() const = 0;
/// @return Le nom de l'element
virtual QString nom() const = 0;
Diagram *diagram() const;
void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *);
QRectF boundingRect() const;
QSize setSize(int, int);
QPixmap pixmap();
// methodes relatives au point de saisie
QPoint setHotspot(QPoint);
QPoint hotspot() const;
// methodes relatives a la selection
void select();
void deselect();
// methodes relatives a la position
void setPos(const QPointF &);
void setPos(qreal, qreal);
// methodes relatives aux connexions internes
bool internalConnections();
void setInternalConnections(bool);
// methodes relatives aux fichiers XML
static bool valideXml(QDomElement &);
virtual bool fromXml(QDomElement &, QHash<int, Terminal *> &);
virtual QDomElement toXml(QDomDocument &, QHash<Terminal *, int> &) const;
// methodes d'acces aux possibilites d'orientation
bool setOrientation(QET::Orientation o);
const OrientationSet &orientation() const;
protected:
void drawAxes(QPainter *, const QStyleOptionGraphicsItem *);
void mousePressEvent(QGraphicsSceneMouseEvent *);
void mouseMoveEvent(QGraphicsSceneMouseEvent *);
void mouseReleaseEvent(QGraphicsSceneMouseEvent *);
private:
bool internal_connections;
void drawSelection(QPainter *, const QStyleOptionGraphicsItem *);
void updatePixmap();
};
/**
Permet de savoir si l'element accepte les connexions internes,
c'est-a-dire que ses bornes peuvent etre reliees entre elles
@return true si l'element accepte les connexions internes, false sinon
*/
inline bool Element::internalConnections() {
return(internal_connections);
}
/**
Permet de specifier si l'element accepte les connexions internes,
c'est-a-dire que ses bornes peuvent etre reliees entre elles
@param ic true pour que l'element accepte les connexions internes, false pour
qu'il les interdise
*/
inline void Element::setInternalConnections(bool ic) {
internal_connections = ic;
}
/**
Permet de connaitre l'orientation actuelle de l'element
@return L'orientation actuelle de l'element
*/
inline const OrientationSet & Element::orientation() const {
return(ori);
}
#endif

View File

@@ -1,62 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "elementdeleter.h"
/**
Constructeur
@param elmt_path Chemin du fichier representant l'element a supprimer
@param parent QWidget parent
*/
ElementDeleter::ElementDeleter(const QString &elmt_path, QWidget *parent) :
QWidget(parent),
element_path(elmt_path)
{
}
/// Destructeur
ElementDeleter::~ElementDeleter() {
}
/**
Supprime l'element : verifie l'existence du fichier, demande confirmation a
l'utilisateur et avertit ce dernier si la suppression a echoue.
*/
void ElementDeleter::exec() {
// verifie l'existence de l'element
QFile elmt_file(element_path);
if (!elmt_file.exists()) return;
// confirmation #1
QMessageBox::StandardButton answer_1 = QMessageBox::question(
this,
tr("Supprimer l'\351l\351ment ?"),
tr("\312tes-vous s\373r de vouloir supprimer cet \351l\351ment ?\n"),
QMessageBox::Yes|QMessageBox::No|QMessageBox::Cancel
);
if (answer_1 != QMessageBox::Yes) return;
// supprime l'element
if (!elmt_file.remove()) {
QMessageBox::warning(
this,
tr("Suppression de l'\351l\351ment"),
tr("La suppression de l'\351l\351ment a \351chou\351.\n"
"V\351rifiez vos droits sur le fichier ") + element_path + tr(".")
);
}
}

View File

@@ -1,44 +0,0 @@
/*
Copyright 2006-2008 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef ELEMENT_DELETER_H
#define ELEMENT_DELETER_H
#include "elementscategory.h"
#include <QtGui>
/**
Cette classe represente une couche d'abstraction pour supprimer
un element de la collection d'elements.
Elle demande notamment confirmation a l'utilisateur
*/
class ElementDeleter : public QWidget {
Q_OBJECT
// constructeurs, destructeur
public:
ElementDeleter(const QString &, QWidget * = 0);
virtual ~ElementDeleter();
private:
ElementDeleter(const ElementsCategory &);
// methodes
public slots:
void exec();
// attributs
private:
QString element_path;
};
#endif

View File

@@ -0,0 +1,23 @@
<definition width="70" version="0.3" hotspot_x="49" hotspot_y="15" height="30" type="element" ic="true" orientation="dyyy"
link_type="previous_report">
<names>
<name lang="ar">الصفحة السابقة</name>
<name lang="de">Vorherige Seite</name>
<name lang="el">Προηγούμενη σελίδα</name>
<name lang="en">Previous folio</name>
<name lang="it">Foglio precedente</name>
<name lang="fr">Folio précédent</name>
<name lang="pl">Wejście adresowe</name>
<name lang="es">folio anterior</name>
<name lang="cs">Předchozí list</name>
<name lang="nl">Referentie Vorig</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<polygon x4="-1" antialias="true" style="line-style:normal;line-weight:normal;filling:black;color:black" closed="false" y1="-4" x1="-1" y2="4" x2="-1" y3="0" x3="9" y4="-4"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" x1="9" y2="0" x2="12"/>
<input x="-44" y="0" size="9" rotate="true" text="/"/>
<terminal x="13" y="0" nameHidden="0" number="" name="" orientation="e"/>
</description>
</definition>

View File

@@ -0,0 +1,23 @@
<definition width="40" version="0.3" hotspot_x="18" hotspot_y="15" height="30" type="element" ic="true" orientation="dyyy"
link_type="next_report">
<names>
<name lang="ar">الصفحة التالية</name>
<name lang="de">Nächste Seite</name>
<name lang="el">Επόμενη σελίδα</name>
<name lang="en">Next folio</name>
<name lang="it">Foglio successivo</name>
<name lang="fr">Folio suivant</name>
<name lang="pl">Wyjście adresowe</name>
<name lang="es">Folio siguiente</name>
<name lang="cs">Další list</name>
<name lang="nl">Referentie volgend</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<polygon x4="-9" antialias="true" style="line-style:normal;line-weight:normal;filling:black;color:black" closed="false" y1="-4" x1="-9" y2="4" x2="-9" y3="0" x3="2" y4="-4"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" x1="-9" y2="0" x2="-12"/>
<input x="6" y="0" size="9" rotate="true" text="/"/>
<terminal x="-13" y="0" nameHidden="0" number="" name="" orientation="w"/>
</description>
</definition>

View File

@@ -0,0 +1,14 @@
<qet-directory>
<names>
<name lang="ar">إحالات</name>
<name lang="cs">Výstupy</name>
<name lang="de">Abbruchstellen</name>
<name lang="el">Αναφορές σελίδας</name>
<name lang="en">Sheet referencing</name>
<name lang="fr">Renvois de folio</name>
<name lang="it">Riferimenti</name>
<name lang="pl">Odsyłacze</name>
<name lang="es">Referencias</name>
<name lang="nl">Referenties</name>
</names>
</qet-directory>

View File

@@ -0,0 +1,23 @@
<definition width="30" version="0.4" hotspot_x="16" hotspot_y="24" height="40" link_type="simple" type="element" ic="true" orientation="dyyy">
<names>
<name lang="en">Ground</name>
<name lang="ro">Masă</name>
<name lang="ar">هيكل معدني</name>
<name lang="de">Masse</name>
<name lang="ru">Шасси</name>
<name lang="pt">Massa</name>
<name lang="it">Massa</name>
<name lang="fr">Masse</name>
<name lang="pl">Masa</name>
<name lang="es">Masa</name>
<name lang="cs">Kostra</name>
<name lang="nl">Massa</name>
</names>
<informations>titus
titus0818@yahoo.com</informations>
<description>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:hight;filling:none;color:black" y1="-16" x1="0" y2="13" x2="0"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:hight;filling:none;color:black" y1="14" x1="-13.6493" y2="14" x2="12.62"/>
<terminal x="0" y="-20" orientation="n"/>
</description>
</definition>

View File

@@ -0,0 +1,27 @@
<definition width="20" version="0.3" hotspot_x="10" hotspot_y="15" height="20" type="element" orientation="dnny">
<names>
<name lang="ar">هيكل معدني</name>
<name lang="de">Masse</name>
<name lang="ru">Шасси</name>
<name lang="pt">Massa</name>
<name lang="en">Chassis</name>
<name lang="it">Massa</name>
<name lang="fr">Masse</name>
<name lang="pl">Masa</name>
<name lang="es">Masa</name>
<name lang="cs">Kostra</name>
<name lang="nl">Massa</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0.5" x1="7.5" y2="3" x2="5"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="3" x1="-1" y2="0.5" x2="1.5"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="3" x1="-7" y2="0.5" x2="-4.5"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="3" x1="2" y2="0.5" x2="4.5"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="3" x1="-4" y2="0.5" x2="-1.5"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" x1="-7" y2="0" x2="8"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="0" y2="0" x2="0"/>
<terminal x="0" y="-11" orientation="n"/>
</description>
</definition>

View File

@@ -0,0 +1,11 @@
<qet-directory>
<names>
<name lang="en">Network supplies</name>
<name lang="fr">Sources réseau</name>
<name lang="it">Alimentazione da rete</name>
<name lang="pl">Sieć elektroenergetyczna</name>
<name lang="de">Netzquellen</name>
<name lang="el">Παροχές δικτύου</name>
<name lang="nl">Netwerk voedingen</name>
</names>
</qet-directory>

View File

@@ -0,0 +1,28 @@
<definition width="30" version="0.3" hotspot_x="15" hotspot_y="30" height="60" type="element" ic="true" orientation="dyyy">
<names>
<name lang="ar">مصدر وحيد القطبية + أرضي PE + محايد N</name>
<name lang="de">Wechselstrom + PE +N</name>
<name lang="ru">Однополюсный + PE +N</name>
<name lang="en">Single-pole source + PE +N</name>
<name lang="it">Sorgente unipolare + PE +N</name>
<name lang="fr">Source unipolaire + PE +N</name>
<name lang="pl">Linia jednofazowa (trójprzewodowa)</name>
<name lang="es">Fuente unipolo + PE +N</name>
<name lang="cs">1 fáze + PE +N</name>
<name lang="nl">1 fase + aarde + nul</name>
<name lang="el">Μονοφασικό +N +PE</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="20" x1="0" y2="20" x2="10"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="0" y2="-20" x2="10"/>
<text x="-12" y="23" size="5" text="PE"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" x1="0" y2="0" x2="10"/>
<text x="-12" y="3" size="5" text="N"/>
<text x="-12" y="-17" size="5" text="L"/>
<terminal x="10" y="-20" nameHidden="0" number="" name="" orientation="e"/>
<terminal x="10" y="0" nameHidden="0" number="" name="" orientation="e"/>
<terminal x="10" y="20" nameHidden="0" number="" name="" orientation="e"/>
</description>
</definition>

View File

@@ -0,0 +1,25 @@
<definition width="40" version="0.3" hotspot_x="22" hotspot_y="20" height="40" type="element" ic="true" orientation="dyyy">
<names>
<name lang="ar">مصدر وحيد القطبية +PEN</name>
<name lang="de">Wechselstrom + PEN</name>
<name lang="ru">Однополюсный + PEN</name>
<name lang="en">Single-pole source +PEN</name>
<name lang="it">Sorgente unipolare + PEN</name>
<name lang="fr">Source unipolaire + PEN</name>
<name lang="pl">Linia jednofazowa (TN-C)</name>
<name lang="es">Fuente unipolo + PEN</name>
<name lang="cs">1 fáze + PEN</name>
<name lang="nl">1 fase + aardenul</name>
<name lang="el">Μονοφασικό +PEN</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="0" y2="-10" x2="10"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="0" y2="10" x2="10"/>
<text x="-16" y="12" size="5" text="PEN"/>
<text x="-15" y="-7" size="5" text="L"/>
<terminal x="10" y="-10" nameHidden="0" number="" name="" orientation="e"/>
<terminal x="10" y="10" nameHidden="0" number="" name="" orientation="e"/>
</description>
</definition>

Some files were not shown because too many files have changed in this diff Show More