Compare commits

..

1320 Commits
0.1 ... 0.3a

Author SHA1 Message Date
scorpio810
af442aded0 Reverting deletion of branch 0.2, 0.3
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/tags/0.3a@5946 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-26 08:02:48 +00:00
xavier
8bd798c449 Exceptionally modified the tag to ensure .qm files are up to date compared to .ts files.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/tags/0.3a@1831 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-12 23:47:14 +00:00
xavier
2fd6a1e6f9 Tagged 0.3 alpha version
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/tags/0.3a@1830 bfdf4180-ca20-0410-9c96-a3a8aa849046
2012-05-12 23:26:51 +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 
 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 
...).
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
2451 changed files with 252116 additions and 19742 deletions

123
CREDIT
View File

@@ -1,23 +1,118 @@
[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.everaldo.com/crystal/ ) 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' for his Italian translations
[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.everaldo.com/crystal/ ) 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' pour ses traductions en italien
[ru]
Спасибо Qt Software за их библиотеку Qt ( http://www.qtsoftware.com/ ), лицензированную на условиях GNU/GPL.
Спасибо Everaldo Coelho за тему значков Crystal SVG ( http://www.everaldo.com/crystal/ ) лицензированную на условиях 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.everaldo.com/crystal/ ), 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.everaldo.com/crystal/ ), 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.everaldo.com/crystal/ ) 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.everaldo.com/crystal/) 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.everaldo.com/crystal/ ) licenzato sotto LGPL.
Grazie a Nuno Pinheiro per il tema icone Oxygen ( http://www.oxygen-icons.org/ ) licenzatosotto LGPL ma anche perle 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 al'Dr.Slump' per la traduzione in italiano.

86
ChangeLog Normal file
View File

@@ -0,0 +1,86 @@
====== 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

109
ELEMENTS.LICENSE Normal file
View File

@@ -0,0 +1,109 @@
[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.
[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.

68
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,71 @@ 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
[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

32
README
View File

@@ -1,9 +1,31 @@
[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 and an element 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 ainsi qu'un éditeur d'élément.
[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.

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,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

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,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);
}

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,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,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);
}
}

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,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,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,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,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,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,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

@@ -0,0 +1,38 @@
<definition width="50" version="0.3" hotspot_x="25" hotspot_y="25" height="40" type="element" orientation="dnnn">
<names>
<name lang="ar">محول قياسات</name>
<name lang="en">Measure converter</name>
<name lang="fr">Convertisseur de mesure</name>
<name lang="pl">Przetwornik temperatury</name>
<name lang="cs">Převodník měření</name>
<name lang="es">Convertidor de temperatura</name>
<name lang="pt">Conversor de temperatura</name>
</names>
<informations></informations>
<description>
<polygon x4="-15" antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="-15" y2="-20" x2="15" y3="10" x3="15" y4="10"/>
<polygon x4="-5" y5="-17" x5="6" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-11" x1="0" y2="-11" x2="-5" y3="-14" x3="-8" y4="-17"/>
<rect width="3" x="-12.5" y="-10" antialias="false" height="9" style="line-style:normal;line-weight:normal;filling:none;color:black"/>
<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="-11" y2="-13" x2="-11"/>
<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="-1" x1="-11" y2="2" x2="-11"/>
<line length1="1.5" length2="1.5" antialias="true" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-9" x1="-14" y2="-2" 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="-19" x1="15" y2="9.5" x2="-13.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="9" y2="0" x2="13"/>
<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="-12" x1="11" y2="-8" x2="11"/>
<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="9" y2="-10" x2="13"/>
<input x="-16" y="-33.3333" size="8" rotate="true" text="dTrans T01"/>
<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="-15" y2="-10" x2="-20"/>
<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="20" y2="0" x2="15"/>
<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="15" y2="-10" x2="20"/>
<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="-20" y2="0" x2="-15"/>
<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="4" x1="8" y2="4" x2="9.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="4" x1="5" y2="4" x2="6.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="4" x1="2" y2="4" x2="3.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="6" x1="2" y2="6" x2="9.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="-19.5" x1="12.5" y2="8" x2="-15"/>
<terminal x="21" y="0" orientation="e"/>
<terminal x="21" y="-10" orientation="e"/>
<terminal x="-21" y="0" orientation="w"/>
<terminal x="-21" y="-10" orientation="w"/>
</description>
</definition>

View File

@@ -0,0 +1,25 @@
<definition width="50" version="0.3" hotspot_x="25" hotspot_y="15" height="30" type="element" orientation="dnnn">
<names>
<name lang="ar">أمبيرمتر أفقي</name>
<name lang="de">Amperemeter horizontal</name>
<name lang="ru">Амперметр (горизонтальный)</name>
<name lang="pt">Amperímetro horizontal</name>
<name lang="en">Horizontal ammeter</name>
<name lang="it">Amperometro orizzontale </name>
<name lang="fr">Ampèremètre horizontal</name>
<name lang="pl">Amperomierz (poziomo)</name>
<name lang="es">Amperímetro horizontal</name>
<name lang="cs">Vodorovný ampérmetr</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" x1="-1.75" y2="0" x2="1.75"/>
<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="10" y2="0" x2="21"/>
<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="-21" y2="0" x2="-10"/>
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="6" x1="-5" y2="-6" x2="0" y3="6" x3="5"/>
<circle x="-10" y="-10" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" diameter="20"/>
<terminal x="-21" y="0" orientation="w"/>
<terminal x="21" y="0" orientation="e"/>
</description>
</definition>

View File

@@ -0,0 +1,25 @@
<definition width="30" version="0.3" hotspot_x="15" hotspot_y="25" height="50" type="element" orientation="dnnn">
<names>
<name lang="ar">أمبيرمتر عمودي</name>
<name lang="de">Amperemeter vertikal</name>
<name lang="ru">Амперметр (вертикальный)</name>
<name lang="pt">Amperímetro vertical</name>
<name lang="en">Vertical ammeter</name>
<name lang="it">Amperometro verticale</name>
<name lang="fr">Ampèremètre vertical</name>
<name lang="pl">Amperomierz (pionowo)</name>
<name lang="es">Amperímetro vertical</name>
<name lang="cs">Svislý ampérmetr</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" x1="-1.75" y2="0" x2="1.75"/>
<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="21" x2="0"/>
<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="-21" x1="0" y2="-10" x2="0"/>
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="6" x1="-5" y2="-6" x2="0" y3="6" x3="5"/>
<circle x="-10" y="-10" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" diameter="20"/>
<terminal x="0" y="-21" orientation="n"/>
<terminal x="0" y="21" orientation="s"/>
</description>
</definition>

View File

@@ -0,0 +1,28 @@
<definition width="50" version="0.3" hotspot_x="25" hotspot_y="20" height="30" type="element" orientation="dnnn">
<names>
<name lang="ar">محوّل ضغط / تيّار</name>
<name lang="en">Pressure converter / power</name>
<name lang="fr">Convertisseur pression/courant</name>
<name lang="pl">Przetwornik ciśnienia</name>
<name lang="cs">Tlakově-elektrický převodník</name>
<name lang="es">Convertidor de presión/power</name>
<name lang="pt">Conversor de pressão</name>
</names>
<informations></informations>
<description>
<input x="1" y="-27" size="6" rotate="true" text="_"/>
<text x="5" y="8" size="6" text="a"/>
<text x="2" y="3" size="9" text="P"/>
<line length1="1.5" length2="1.5" antialias="true" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-7" x1="-11" y2="-18" x2="-4"/>
<polygon x4="-15" antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="-15" y2="-20" x2="15" y3="10" x3="15" y4="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="-15" y2="-10" x2="-20"/>
<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="20" y2="0" x2="15"/>
<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="15" y2="-10" x2="20"/>
<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="-20" y2="0" x2="-15"/>
<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="-19.5" x1="12.5" y2="8" x2="-15"/>
<terminal x="21" y="0" orientation="e"/>
<terminal x="21" y="-10" orientation="e"/>
<terminal x="-21" y="0" orientation="w"/>
<terminal x="-21" y="-10" orientation="w"/>
</description>
</definition>

View File

@@ -0,0 +1,59 @@
<definition width="150" version="0.3" hotspot_x="35" hotspot_y="85" height="180" type="element" orientation="dyyy">
<names>
<name lang="ar">Crouzet80149604</name>
<name lang="en">Crouzet 80149604</name>
<name lang="it">Crouzet 80149604</name>
<name lang="fr">Crouzet 80149604</name>
<name lang="pl">Crouzet 80149604</name>
<name lang="cs">Crouzet 80149604</name>
<name lang="pt">Crouzet80149604</name>
</names>
<informations></informations>
<description>
<text x="66" y="-1" size="5" text="Logic&#xa;ground"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:normal;filling:none;color:black" y1="70" x1="-10" y2="70" x2="90"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:normal;filling:none;color:black" y1="-60" x1="-10" y2="-60" x2="90"/>
<input x="-26" y="-45.5" size="5" rotate="true" text="BR"/>
<input x="34.5" y="-58" size="5" rotation="270" rotate="true" text="RD"/>
<input x="88" y="-5.5" size="5" rotate="true" text="BU"/>
<input x="34.5" y="85" size="5" rotation="270" rotate="true" text="BL"/>
<input x="-26" y="34.5" size="5" rotate="true" text="PU"/>
<input x="-26" y="14.5" size="5" rotate="true" text="GN"/>
<input x="-26" y="-5.5" size="5" rotate="true" text="YE"/>
<input x="-26" y="-25.5" size="5" rotate="true" text="OG"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:normal;filling:none;color:black" y1="-60" x1="90" y2="70" x2="90"/>
<text x="-9" y="39" size="5" text="Output&#xa;12PT/T"/>
<text x="-9" y="19" size="5" text="Enable&#xa;input"/>
<text x="-9" y="-1" size="5" text="Direction&#xa;input"/>
<text x="-9" y="-21" size="5" text="Input&#xa;PWM"/>
<text x="-9" y="-41" size="5" text="Input&#xa;0-10V"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:normal;filling:none;color:black" y1="-60" x1="-10" y2="70" 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="0" x1="90" y2="0" x2="100"/>
<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="70" x1="40" y2="81" x2="40"/>
<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="-20" 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="-70" x1="40" y2="-60" x2="40"/>
<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="40" x1="-20" y2="40" 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="-40" x1="-20" y2="-40" 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="-20" 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="0" x1="-20" y2="0" x2="-10"/>
<input x="8" y="54.5" size="9" rotate="true" text="80149604"/>
<text x="18" y="68" size="5" text="Power ground"/>
<circle x="25" y="-15" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" diameter="30"/>
<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="18" x1="45" y2="14.5" x2="45"/>
<text x="31.5" y="7" size="15" text="M"/>
<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="18" x1="35" y2="18" x2="45"/>
<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="-18" x1="45" y2="-14.5" x2="45"/>
<text x="26" y="-52" size="5" text="24V DC"/>
<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="-14.5" x1="35" y2="-18" x2="35"/>
<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="-18" x1="35" y2="-18" x2="45"/>
<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="14.5" x1="35" y2="18" x2="35"/>
<terminal x="40" y="-70" orientation="n"/>
<terminal x="100" y="0" orientation="e"/>
<terminal x="40" y="81" orientation="s"/>
<terminal x="-20" y="-20" orientation="w"/>
<terminal x="-20" y="0" orientation="w"/>
<terminal x="-20" y="20" orientation="w"/>
<terminal x="-20" y="-40" orientation="w"/>
<terminal x="-20" y="40" orientation="w"/>
</description>
</definition>

View File

@@ -0,0 +1,23 @@
<definition width="50" version="0.3" hotspot_x="25" hotspot_y="15" height="30" type="element" orientation="dnnn">
<names>
<name lang="ar">مقياس تردد أفقي</name>
<name lang="de">Frequenzmeßgerät, anzeigend</name>
<name lang="en">Frequency meter h</name>
<name lang="it">Frequenzimetro orizzontale</name>
<name lang="fr">Fréquencemètre horizontal</name>
<name lang="pl">Częstotliwościomierz (poziomo)</name>
<name lang="cs">Měřič kmitočtu, vodorovný</name>
<name lang="es">Frecuencímetro horizontal</name>
<name lang="pt">Frequenciómetro horizontal</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<text x="-8" y="2.3333" size="9" text="Hz"/>
<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="10" y2="0" x2="21"/>
<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="-21" y2="0" x2="-10"/>
<circle x="-10" y="-10" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" diameter="20"/>
<terminal x="-21" y="0" orientation="w"/>
<terminal x="21" y="0" orientation="e"/>
</description>
</definition>

View File

@@ -0,0 +1,23 @@
<definition width="30" version="0.3" hotspot_x="15" hotspot_y="25" height="50" type="element" orientation="dnnn">
<names>
<name lang="ar">مقياس تردد عمودي</name>
<name lang="de">Frequenzmeßgerät, anzeigend v</name>
<name lang="en">Frequency meter v</name>
<name lang="it">Frequenzimetro verticale</name>
<name lang="fr">Fréquencemètre vertical</name>
<name lang="pl">Częstotliwościomierz (pionowo)</name>
<name lang="cs">Měřič kmitočtu, svislý</name>
<name lang="es">Frecuencímetro vertical</name>
<name lang="pt">Frequenciómetro vertical</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="21" x2="0"/>
<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="-21" x1="0" y2="-10" x2="0"/>
<circle x="-10" y="-10" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" diameter="20"/>
<text x="-8" y="2.8333" size="9" text="Hz"/>
<terminal x="0" y="-21" orientation="n"/>
<terminal x="0" y="21" orientation="s"/>
</description>
</definition>

View File

@@ -0,0 +1,23 @@
<definition width="50" version="0.3" hotspot_x="25" hotspot_y="15" height="30" type="element" orientation="dnnn">
<names>
<name lang="ar">جلفانومتر أفقي</name>
<name lang="de">Galvanometer h</name>
<name lang="en">Galvanometer h</name>
<name lang="it">Galvanometro orizzontale</name>
<name lang="fr">Galvanomètre horizontal</name>
<name lang="pl">Galwanomert (poziomo)</name>
<name lang="cs">Galvanometr, vodorovný</name>
<name lang="es">Galvanómetro horizontal</name>
<name lang="pt">Galvanómetro horizontal</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<circle x="-10" y="-10" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" diameter="20"/>
<line length1="1.5" length2="3" antialias="false" end1="none" end2="simple" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="7" x1="0" y2="-8" x2="0"/>
<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="10" y2="0" x2="21"/>
<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="-21" y2="0" x2="-10"/>
<terminal x="-21" y="0" orientation="w"/>
<terminal x="21" y="0" orientation="e"/>
</description>
</definition>

View File

@@ -0,0 +1,23 @@
<definition width="30" version="0.3" hotspot_x="15" hotspot_y="25" height="50" type="element" orientation="dnnn">
<names>
<name lang="ar">جلفانومتر عمودي</name>
<name lang="de">Galvanometer v</name>
<name lang="en">galvanometer v</name>
<name lang="it">Galvanometro verticale</name>
<name lang="fr">Galvanomètre vertical</name>
<name lang="pl">Galwanometr (pionowo)</name>
<name lang="cs">Galvanometr, svislý</name>
<name lang="es">Galvanómetro vertical</name>
<name lang="pt">Galvanómetro vertical</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<line length1="1.5" length2="3" antialias="false" end1="none" end2="simple" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="7.45" x1="0" y2="-7.55" x2="0"/>
<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="21" x2="0"/>
<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="-21" x1="0" y2="-10" x2="0"/>
<circle x="-10" y="-10" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" diameter="20"/>
<terminal x="0" y="-21" orientation="n"/>
<terminal x="0" y="21" orientation="s"/>
</description>
</definition>

View File

@@ -0,0 +1,28 @@
<definition width="50" version="0.3" hotspot_x="25" hotspot_y="15" height="30" type="element" orientation="dnnn">
<names>
<name lang="ar">أوميتر أفقي</name>
<name lang="de">Ohmmeter horizontal</name>
<name lang="ru">Омметр (горизонтальный)</name>
<name lang="pt">Ohmímetro horizontal</name>
<name lang="en">Horizontal ohmmeter</name>
<name lang="it">Ohmmetro orizzontale</name>
<name lang="fr">Ohmmètre horizontal</name>
<name lang="pl">Omomierz (poziomo)</name>
<name lang="es">Óhmetro horizontal</name>
<name lang="cs">Ohmmetr, vodorovný</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="5" x1="-5" y2="5" x2="-3.25"/>
<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="5" x1="3.25" y2="5" 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="5" x1="-3.25" y2="3" x2="-3.25"/>
<arc width="10" x="-5" y="-6" antialias="true" height="10" style="line-style:normal;line-weight:normal;filling:none;color:black" start="225" angle="-270"/>
<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="3.25" y2="5" x2="3.25"/>
<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="10" y2="0" x2="21"/>
<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="-21" y2="0" x2="-10"/>
<circle x="-10" y="-10" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" diameter="20"/>
<terminal x="-21" y="0" orientation="w"/>
<terminal x="21" y="0" orientation="e"/>
</description>
</definition>

View File

@@ -0,0 +1,28 @@
<definition width="30" version="0.3" hotspot_x="15" hotspot_y="25" height="50" type="element" orientation="dnnn">
<names>
<name lang="ar">أوميتر عمودي</name>
<name lang="de">Ohmmeter vertikal</name>
<name lang="ru">Омметр (вертикальный)</name>
<name lang="pt">Ohmímetro vertical</name>
<name lang="en">Vertical ohmmeter</name>
<name lang="it">Ohmmetro verticale</name>
<name lang="fr">Ohmmètre vertical</name>
<name lang="pl">Omomierz (pionowo)</name>
<name lang="es">Óhmetro vertical</name>
<name lang="cs">Ohmmetr, svislý</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="5" x1="-5" y2="5" x2="-3.25"/>
<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="5" x1="3.25" y2="5" 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="5" x1="-3.25" y2="3" x2="-3.25"/>
<arc width="10" x="-5" y="-6" antialias="true" height="10" style="line-style:normal;line-weight:normal;filling:none;color:black" start="225" angle="-270"/>
<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="3.25" y2="5" x2="3.25"/>
<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="21" x2="0"/>
<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="-21" x1="0" y2="-10" x2="0"/>
<circle x="-10" y="-10" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" diameter="20"/>
<terminal x="0" y="-21" orientation="n"/>
<terminal x="0" y="21" orientation="s"/>
</description>
</definition>

View File

@@ -0,0 +1,37 @@
<definition width="150" version="0.3" hotspot_x="15" hotspot_y="15" height="90" type="element" orientation="dyyy">
<names>
<name lang="ar">OMRON 7HEC</name>
<name lang="en">OMRON 7H EC</name>
<name lang="it">OMRON 7H EC</name>
<name lang="fr">OMRON 7H EC</name>
<name lang="pl">OMRON 7H EC</name>
<name lang="cs">OMRON 7H EC</name>
<name lang="pt">OMRON 7H EC</name>
</names>
<informations></informations>
<description>
<input x="4" y="60.5" size="5" rotate="true" text="1"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:normal;filling:none;color:black" y1="-10" x1="130" y2="67" x2="130"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:normal;filling:none;color:black" y1="-10" x1="-10" y2="67" x2="-10"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:normal;filling:none;color:black" y1="-10" x1="-10" y2="-10" x2="130"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:normal;filling:none;color:black" y1="67" x1="34" y2="67" x2="88"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:normal;filling:none;color:black" y1="67" x1="113" y2="67" x2="130"/>
<input x="104" y="60.5" size="5" rotate="true" text="4"/>
<input x="84" y="60.5" size="5" rotate="true" text="3"/>
<input x="24" y="60.5" size="5" rotate="true" text="2"/>
<input x="81" y="51" size="7" rotate="true" text="RESET"/>
<circle x="7.7639" y="64.7639" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" diameter="4.4721"/>
<input x="0" y="51" size="7" rotate="true" text="COUNT"/>
<circle x="87.764" y="64.7639" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" diameter="4.4721"/>
<circle x="27.7639" y="64.7639" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" diameter="4.4721"/>
<circle x="107.764" y="64.7639" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" diameter="4.4721"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:normal;filling:none;color:black" y1="67" x1="93" y2="67" x2="107"/>
<input x="13" y="4.5" size="9" rotate="true" text="OMRON 7H EC"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:normal;filling:none;color:black" y1="67" x1="13" y2="67" x2="27"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:normal;filling:none;color:black" y1="67" x1="-10" y2="67" x2="7"/>
<terminal x="10" y="70" orientation="s"/>
<terminal x="30" y="70" orientation="s"/>
<terminal x="90" y="70" orientation="s"/>
<terminal x="110" y="70" orientation="s"/>
</description>
</definition>

View File

@@ -0,0 +1,14 @@
<qet-directory>
<names>
<name lang="ar">أجهزة قياسات</name>
<name lang="de">Messinstrumente</name>
<name lang="ru">Измеррительные приборы</name>
<name lang="en">Measuring instruments</name>
<name lang="fr">Appareils de mesure</name>
<name lang="es">Instrumentos de medición</name>
<name lang="pt">Instrumentos de medição</name>
<name lang="cs">Měřící přístroje</name>
<name lang="pl">Przyrządy pomiarowe</name>
<name lang="it">Strumenti di misura</name>
</names>
</qet-directory>

View File

@@ -0,0 +1,21 @@
<definition width="30" version="0.3" hotspot_x="5" hotspot_y="25" height="50" type="element" orientation="dyyy">
<names>
<name lang="ar">الكترود</name>
<name lang="en">Electrode</name>
<name lang="it">Elettrodo</name>
<name lang="fr">Electrode</name>
<name lang="pl">Elektroda</name>
<name lang="cs">Elektroda</name>
<name lang="es">Electrodo</name>
<name lang="pt">Eléctrodo</name>
</names>
<informations></informations>
<description>
<input x="6" y="3.5" size="9" rotate="true" text="_"/>
<polygon x4="-1" antialias="true" style="line-style:normal;line-weight:normal;filling:black;color:black" y1="20" x1="-1" y2="20" x2="1" y3="23" x3="0" y4="20"/>
<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="1" y2="20" x2="1"/>
<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="-1" y2="20" x2="-1"/>
<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="0"/>
<terminal x="0" y="-20" orientation="n"/>
</description>
</definition>

View File

@@ -0,0 +1,14 @@
<qet-directory>
<names>
<name lang="ar">مجسات</name>
<name lang="de">Sensoren</name>
<name lang="ru">Датчики</name>
<name lang="pt">Sondas</name>
<name lang="en">Sensors</name>
<name lang="it">Sensori</name>
<name lang="fr">Sondes</name>
<name lang="pl">Sondy</name>
<name lang="es">Sondas</name>
<name lang="cs">Snímače</name>
</names>
</qet-directory>

View File

@@ -0,0 +1,24 @@
<definition width="60" version="0.3" hotspot_x="25" hotspot_y="35" height="60" type="element" orientation="dyyy">
<names>
<name lang="ar">ثنائي حراري</name>
<name lang="de">Thermoelement</name>
<name lang="en">Thermocouple</name>
<name lang="it">Termocoppia</name>
<name lang="fr">Thermocouple</name>
<name lang="pl">Termopara</name>
<name lang="cs">Termočlánek</name>
<name lang="es">Termopar</name>
<name lang="pt">Termopar</name>
</names>
<informations>EN 60617: 08-06-01</informations>
<description>
<polygon x4="10" y5="-30" x5="10" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-30" x1="-10" y2="0" x2="-10" y3="20" x3="0" y4="0"/>
<circle x="-1" y="19" antialias="true" style="line-style:normal;line-weight:normal;filling:black;color:black" diameter="2"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:thin;filling:none;color:black" y1="-15" x1="14" y2="-11" x2="14"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:thin;filling:none;color:black" y1="-13" x1="-12" y2="-13" x2="-16"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:thin;filling:none;color:black" y1="-13" x1="12" y2="-13" x2="16"/>
<input x="10" y="-6.5" size="9" rotate="true" text="_"/>
<terminal x="-10" y="-30" orientation="n"/>
<terminal x="10" y="-30" orientation="n"/>
</description>
</definition>

View File

@@ -0,0 +1,13 @@
<qet-directory>
<names>
<name lang="ar">محولات حلقية للتيّار</name>
<name lang="de">Stromwandler mit Ringkern</name>
<name lang="en">Current toroidal core</name>
<name lang="fr">Tores de courant</name>
<name lang="es">Núcleos toroidales de corriente</name>
<name lang="pt">Núcleos toroidais de corrente</name>
<name lang="cs">Prstencové jádro střídavého proudu</name>
<name lang="pl">Przekładnik prądowy z rdzeniem toroidalnym</name>
<name lang="it">Nucleo toroidale di corrente</name>
</names>
</qet-directory>

View File

@@ -0,0 +1,26 @@
<definition width="40" version="0.3" hotspot_x="15" hotspot_y="25" height="40" type="element" orientation="dyyy">
<names>
<name lang="ar">ملف حلقي قطب 1</name>
<name lang="de">1-Pol Stromwandler</name>
<name lang="pt">Núcleo toroidal de 1 polo</name>
<name lang="en">1-pole toroidal core</name>
<name lang="it">Toroide a 1 polo</name>
<name lang="fr">Tore 1 pôle</name>
<name lang="pl">Przekładnik prądowy jednotorowy</name>
<name lang="es">Núcleo toroide 1 polo</name>
<name lang="cs">Prstencové jádro s jedním pólem</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" x1="5" y2="-10" 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="-10" x1="14" y2="-10" 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="0" x1="14" y2="0" x2="10"/>
<ellipse width="20" x="-10" y="-2.5" antialias="true" height="5" style="line-style:dashed;line-weight:thin;filling:white;color:black"/>
<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="-15" x1="0" y2="10" x2="0"/>
<terminal x="0" y="-16" orientation="n"/>
<terminal x="0" y="11" orientation="s"/>
<terminal x="15" y="0" orientation="e"/>
<terminal x="15" y="-10" orientation="e"/>
</description>
</definition>

View File

@@ -0,0 +1,29 @@
<definition width="50" version="0.3" hotspot_x="25" hotspot_y="25" height="40" type="element" orientation="dyyy">
<names>
<name lang="ar">ملف حلقي بقطبين</name>
<name lang="de">2-Pol Stromwandler</name>
<name lang="pt">Núcleo toroidal de 2 polos</name>
<name lang="en">2-poles toroidal core</name>
<name lang="it">Toroide a 2 poli</name>
<name lang="fr">Tore 2 pôles</name>
<name lang="pl">Przekładnik prądowy dwutorowy</name>
<name lang="es">Núcleo toroide 2 polos</name>
<name lang="cs">Prstencové jádro se dvěma póly</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" x1="5" y2="-10" 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="-10" x1="14" y2="-10" 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="0" x1="14" y2="0" x2="10"/>
<ellipse width="30" x="-20" y="-2.5" antialias="true" height="5" style="line-style:dashed;line-weight:thin;filling:white;color:black"/>
<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="-15" x1="-10" 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="-15" x1="0" y2="10" x2="0"/>
<terminal x="0" y="-16" orientation="n"/>
<terminal x="0" y="11" orientation="s"/>
<terminal x="15" y="0" orientation="e"/>
<terminal x="15" y="-10" orientation="e"/>
<terminal x="-10" y="-16" orientation="n"/>
<terminal x="-10" y="11" orientation="s"/>
</description>
</definition>

View File

@@ -0,0 +1,32 @@
<definition width="60" version="0.3" hotspot_x="35" hotspot_y="25" height="40" type="element" orientation="dyyy">
<names>
<name lang="ar">ملف حلقي بثلاث أقطاب</name>
<name lang="de">3-Pol Stromwandler</name>
<name lang="pt">Núcleo toroidal de 3 polos</name>
<name lang="en">3-poles toroidal core</name>
<name lang="it">Toroide a 3 poli</name>
<name lang="fr">Tore 3 pôles</name>
<name lang="pl">Przekładnik prądowy trzytorowy</name>
<name lang="es">Núcleo toroide 3 polos</name>
<name lang="cs">Prstencové jádro se třemi póly</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" x1="5" y2="-10" 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="-10" x1="14" y2="-10" 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="0" x1="14" y2="0" x2="10"/>
<ellipse width="40" x="-30" y="-2.5" antialias="true" height="5" style="line-style:dashed;line-weight:thin;filling:white;color:black"/>
<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="-15" x1="-10" 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="-15" x1="0" y2="10" x2="0"/>
<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="-15" x1="-20" y2="10" x2="-20"/>
<terminal x="0" y="-16" orientation="n"/>
<terminal x="0" y="11" orientation="s"/>
<terminal x="15" y="0" orientation="e"/>
<terminal x="15" y="-10" orientation="e"/>
<terminal x="-10" y="-16" orientation="n"/>
<terminal x="-10" y="11" orientation="s"/>
<terminal x="-20" y="-16" orientation="n"/>
<terminal x="-20" y="11" orientation="s"/>
</description>
</definition>

View File

@@ -0,0 +1,35 @@
<definition width="70" version="0.3" hotspot_x="45" hotspot_y="25" height="40" type="element" orientation="dyyy">
<names>
<name lang="ar">ملف حلقي بأربع أقطاب</name>
<name lang="de">4-Pol Stromwandler</name>
<name lang="pt">Núcleo toroidal de 4 polos</name>
<name lang="en">4-poles toroidal core</name>
<name lang="it">Toroide a 4 poli"</name>
<name lang="fr">Tore 4 pôles</name>
<name lang="pl">Przekładnik prądowy czterotorowy</name>
<name lang="es">Núcleo toroide 4 polos</name>
<name lang="cs">Prstencové jádro se čtyřmi póly</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" x1="5" y2="-10" 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="-10" x1="14" y2="-10" 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="0" x1="14" y2="0" x2="10"/>
<ellipse width="50" x="-40" y="-2.5" antialias="true" height="5" style="line-style:dashed;line-weight:thin;filling:white;color:black"/>
<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="-15" x1="-10" 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="-15" x1="0" y2="10" x2="0"/>
<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="-15" x1="-30" y2="10" x2="-30"/>
<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="-15" x1="-20" y2="10" x2="-20"/>
<terminal x="0" y="-16" orientation="n"/>
<terminal x="0" y="11" orientation="s"/>
<terminal x="15" y="0" orientation="e"/>
<terminal x="15" y="-10" orientation="e"/>
<terminal x="-10" y="-16" orientation="n"/>
<terminal x="-10" y="11" orientation="s"/>
<terminal x="-30" y="-16" orientation="n"/>
<terminal x="-20" y="-16" orientation="n"/>
<terminal x="-30" y="11" orientation="s"/>
<terminal x="-20" y="11" orientation="s"/>
</description>
</definition>

View File

@@ -0,0 +1,24 @@
<definition width="50" version="0.3" hotspot_x="25" hotspot_y="15" height="30" type="element" orientation="dnnn">
<names>
<name lang="ar">فولتمتر أفقي</name>
<name lang="de">Voltmeter horizontal</name>
<name lang="ru">Вольтметр (горизонтальный)</name>
<name lang="pt">Voltímetro horizontal</name>
<name lang="en">Horizontal voltmeter</name>
<name lang="it">Volmetro orizzontale</name>
<name lang="fr">Voltmètre horizontal</name>
<name lang="pl">Woltomierz (poziomo)</name>
<name lang="es">Voltímetro horizontal</name>
<name lang="cs">Voltmetr, vodorovný</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" x1="10" y2="0" x2="21"/>
<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="-21" y2="0" x2="-10"/>
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-6" x1="-5" y2="6" x2="0" y3="-6" x3="5"/>
<circle x="-10" y="-10" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" diameter="20"/>
<terminal x="-21" y="0" orientation="w"/>
<terminal x="21" y="0" orientation="e"/>
</description>
</definition>

View File

@@ -0,0 +1,24 @@
<definition width="30" version="0.3" hotspot_x="15" hotspot_y="25" height="50" type="element" orientation="dnnn">
<names>
<name lang="ar">فولتمتر عمودي</name>
<name lang="de">Voltmeter vertikal</name>
<name lang="ru">Вольтметр (вертикальный)</name>
<name lang="pt">Voltímetro vertical</name>
<name lang="en">Vertical voltmeter</name>
<name lang="it">Volmetro verticale</name>
<name lang="fr">Voltmètre vertical</name>
<name lang="pl">Woltomierz (pionowo)</name>
<name lang="es">Voltímetro vertical</name>
<name lang="cs">Voltmetr, svislý</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="21" x2="0"/>
<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="-21" x1="0" y2="-10" x2="0"/>
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-6" x1="-5" y2="6" x2="0" y3="-6" x3="5"/>
<circle x="-10" y="-10" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" diameter="20"/>
<terminal x="0" y="-21" orientation="n"/>
<terminal x="0" y="21" orientation="s"/>
</description>
</definition>

View File

@@ -0,0 +1,28 @@
<definition width="50" version="0.3" hotspot_x="25" hotspot_y="15" height="40" type="element" ic="true" orientation="dnnn">
<names>
<name lang="ar">واتميتر أفقي</name>
<name lang="de">Wattmeter horizontal</name>
<name lang="ru">Ватметр (горизонтальный)</name>
<name lang="pt">Wattímetro horizontal</name>
<name lang="en">Horizontal wattmeter</name>
<name lang="it">Wattmetro orizzontale</name>
<name lang="fr">Wattmètre horizontal</name>
<name lang="pl">Watomierz (poziomo)</name>
<name lang="es">Vatímetro horizontal</name>
<name lang="cs">Wattmetr, vodorovný</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="7.5" x1="7.5" y2="15" x2="10" y3="20" x3="10"/>
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="7.5" x1="-7.5" y2="15" x2="-10" y3="20" x3="-10"/>
<polygon x4="2.5" y5="-6" x5="5" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-6" x1="-5" y2="6" x2="-2.5" y3="0" x3="0" y4="6"/>
<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="10" y2="0" x2="21"/>
<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="-21" y2="0" x2="-10"/>
<circle x="-10" y="-10" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" diameter="20"/>
<terminal x="-21" y="0" orientation="w"/>
<terminal x="21" y="0" orientation="e"/>
<terminal x="-10" y="20" orientation="s"/>
<terminal x="10" y="20" orientation="s"/>
</description>
</definition>

View File

@@ -0,0 +1,28 @@
<definition width="40" version="0.3" hotspot_x="15" hotspot_y="25" height="50" type="element" ic="true" orientation="dnnn">
<names>
<name lang="ar">واتميتر عمودي</name>
<name lang="de">Wattmeter vertikal</name>
<name lang="ru">Ватметр (вертикальный)</name>
<name lang="pt">Wattímetro vertical</name>
<name lang="en">Vertical wattmeter</name>
<name lang="it">Wattmetro verticale</name>
<name lang="fr">Wattmètre vertical</name>
<name lang="pl">Watomierz (pionowo)</name>
<name lang="es">Vatímetro vertical</name>
<name lang="cs">Wattmetr, svislý</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="7.5" x1="7.5" y2="10" x2="15" y3="10" x3="20"/>
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-7.5" x1="7.5" y2="-10" x2="15" y3="-10" x3="20"/>
<polygon x4="2.5" y5="-6" x5="5" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-6" x1="-5" y2="6" x2="-2.5" y3="0" x3="0" y4="6"/>
<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="21" x2="0"/>
<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="-21" x1="0" y2="-10" x2="0"/>
<circle x="-10" y="-10" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" diameter="20"/>
<terminal x="0" y="-21" orientation="n"/>
<terminal x="0" y="21" orientation="s"/>
<terminal x="20" y="-10" orientation="e"/>
<terminal x="20" y="10" orientation="e"/>
</description>
</definition>

View File

@@ -0,0 +1,24 @@
<definition width="80" version="0.3" hotspot_x="30" hotspot_y="50" height="110" type="element" ic="true" orientation="dyyy">
<names>
<name lang="ar">دخل</name>
<name lang="de">Eingang</name>
<name lang="ru">Вход</name>
<name lang="pt">Entrada</name>
<name lang="en">Input</name>
<name lang="it">Inghresso</name>
<name lang="fr">Entrée</name>
<name lang="pl">Wejście</name>
<name lang="es">Entrada</name>
<name lang="cs">Vstup</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" x1="40" y2="0" x2="20"/>
<input x="25" y="-10" size="8" rotate="true" text="_"/>
<input x="-25" y="50" size="9" rotate="true" text="_"/>
<text x="-2" y="5" size="12" text="I"/>
<rect width="40" x="-20" y="-35" antialias="false" height="70" style="line-style:normal;line-weight:normal;filling:none;color:black"/>
<terminal x="40" y="0" orientation="e"/>
</description>
</definition>

View File

@@ -0,0 +1,30 @@
<definition width="100" version="0.3" hotspot_x="50" hotspot_y="50" height="110" type="element" ic="true" orientation="dyyy">
<names>
<name lang="ar">بوابة AND</name>
<name lang="de">UND</name>
<name lang="ru">И</name>
<name lang="pt">E</name>
<name lang="en">AND</name>
<name lang="it">AND</name>
<name lang="fr">ET</name>
<name lang="pl">AND</name>
<name lang="es">Y</name>
<name lang="cs">A</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<input x="-46" y="10" size="8" rotate="true" text="_"/>
<input x="-46" y="-30" size="8" rotate="true" text="_"/>
<input x="25" y="-10" size="8" rotate="true" text="_"/>
<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="-40" y2="-20" x2="-21"/>
<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="-40" y2="20" x2="-21"/>
<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="40" y2="0" x2="21"/>
<input x="-25" y="50" size="9" rotate="true" text="_"/>
<text x="-6" y="5" size="12" text="&amp;"/>
<rect width="40" x="-20" y="-35" antialias="false" height="70" style="line-style:normal;line-weight:normal;filling:none;color:black"/>
<terminal x="40" y="0" orientation="e"/>
<terminal x="-40" y="-20" orientation="w"/>
<terminal x="-40" y="20" orientation="w"/>
</description>
</definition>

View File

@@ -0,0 +1,33 @@
<definition width="100" version="0.3" hotspot_x="50" hotspot_y="50" height="110" type="element" ic="true" orientation="dyyy">
<names>
<name lang="ar">بوابة AND بثلاث مداخل </name>
<name lang="de">UND 3 Eingänge</name>
<name lang="ru">И, трёхвходовый</name>
<name lang="pt">E 3 entradas</name>
<name lang="en">AND 3 inputs</name>
<name lang="it">AND 3 ingressi</name>
<name lang="fr">ET 3 entrées</name>
<name lang="pl">AND (3 wejścia)</name>
<name lang="es">Y 3 entradas</name>
<name lang="cs">A 3 vstupy</name>
</names>
<informations>Author: The QElectroTech team&#xd;
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<input x="-46" y="-10" size="8" rotate="true" text="_"/>
<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="-40" y2="0" x2="-20"/>
<input x="-46" y="10" size="8" rotate="true" text="_"/>
<input x="-46" y="-30" size="8" rotate="true" text="_"/>
<input x="25" y="-10" size="8" rotate="true" text="_"/>
<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="-40" y2="-20" x2="-21"/>
<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="-40" y2="20" x2="-21"/>
<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="40" y2="0" x2="21"/>
<input x="-25" y="50" size="9" rotate="true" text="_"/>
<text x="-6" y="5" size="12" text="&amp;"/>
<rect width="40" x="-20" y="-35" antialias="false" height="70" style="line-style:normal;line-weight:normal;filling:none;color:black"/>
<terminal x="40" y="0" orientation="e"/>
<terminal x="-40" y="-20" orientation="w"/>
<terminal x="-40" y="20" orientation="w"/>
<terminal x="-40" y="0" orientation="w"/>
</description>
</definition>

View File

@@ -0,0 +1,31 @@
<definition width="100" version="0.3" hotspot_x="50" hotspot_y="50" height="110" type="element" ic="true" orientation="dyyy">
<names>
<name lang="ar">بوابة NAND</name>
<name lang="de">UND-NICHT (NAND)</name>
<name lang="ru">И-НЕ</name>
<name lang="pt">NÃO-E (NAND)</name>
<name lang="en">NAND</name>
<name lang="it">NAND</name>
<name lang="fr">NON-ET (NAND)</name>
<name lang="pl">NAND</name>
<name lang="es">NO-Y (NAND)</name>
<name lang="cs">Ne-A (NAND)</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" x1="40" y2="0" x2="26"/>
<circle x="20.5" y="-2.5" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" diameter="5"/>
<input x="-46" y="10" size="8" rotate="true" text="_"/>
<input x="-46" y="-30" size="8" rotate="true" text="_"/>
<input x="25" y="-10" size="8" rotate="true" text="_"/>
<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="-40" y2="-20" x2="-21"/>
<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="-40" y2="20" x2="-21"/>
<input x="-25" y="50" size="9" rotate="true" text="_"/>
<text x="-6" y="5" size="12" text="&amp;"/>
<rect width="40" x="-20" y="-35" antialias="false" height="70" style="line-style:normal;line-weight:normal;filling:none;color:black"/>
<terminal x="40" y="0" orientation="e"/>
<terminal x="-40" y="-20" orientation="w"/>
<terminal x="-40" y="20" orientation="w"/>
</description>
</definition>

View File

@@ -0,0 +1,28 @@
<definition width="100" version="0.3" hotspot_x="50" hotspot_y="40" height="110" type="element" ic="true" orientation="dyyy">
<names>
<name lang="ar">بوابة النفي</name>
<name lang="de">NICHT</name>
<name lang="ru">НЕ</name>
<name lang="pt">NÃO</name>
<name lang="en">NOT</name>
<name lang="it">NOT</name>
<name lang="fr">NON</name>
<name lang="pl">NOT</name>
<name lang="es">NO</name>
<name lang="cs">Ne</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" x1="40" y2="0" x2="26"/>
<circle x="20.5" y="-2.5" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" diameter="5"/>
<input x="-46" y="-10" size="8" rotate="true" text="_"/>
<input x="25" y="-10" size="8" rotate="true" text="_"/>
<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="-39" y2="0" x2="-20"/>
<input x="-25" y="50" size="9" rotate="true" text="_"/>
<text x="-5" y="5" size="12" text="1"/>
<rect width="40" x="-20" y="-35" antialias="false" height="70" style="line-style:normal;line-weight:normal;filling:none;color:black"/>
<terminal x="-40" y="0" orientation="w"/>
<terminal x="40" y="0" orientation="e"/>
</description>
</definition>

View File

@@ -0,0 +1,31 @@
<definition width="100" version="0.3" hotspot_x="50" hotspot_y="50" height="110" type="element" ic="true" orientation="dyyy">
<names>
<name lang="ar">بوابة NOR</name>
<name lang="de">ODER-NICHT (NOR)</name>
<name lang="ru">ИЛИ-НЕ</name>
<name lang="pt">NÃO-OU (NOR)</name>
<name lang="en">NOR</name>
<name lang="it">NOR</name>
<name lang="fr">NON-OU (NOR)</name>
<name lang="pl">NOR</name>
<name lang="es">NO-O (NOR)</name>
<name lang="cs">Ne-NEBO (NOR)</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" x1="40" y2="0" x2="26"/>
<circle x="20.5" y="-2.5" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" diameter="5"/>
<input x="-46" y="10" size="8" rotate="true" text="_"/>
<input x="-46" y="-30" size="8" rotate="true" text="_"/>
<input x="25" y="-10" size="8" rotate="true" text="_"/>
<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="-40" y2="-20" x2="-21"/>
<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="-40" y2="20" x2="-21"/>
<input x="-25" y="50" size="9" rotate="true" text="_"/>
<text x="-11.5" y="5" size="12" text="≥1"/>
<rect width="40" x="-20" y="-35" antialias="false" height="70" style="line-style:normal;line-weight:normal;filling:none;color:black"/>
<terminal x="40" y="0" orientation="e"/>
<terminal x="-40" y="-20" orientation="w"/>
<terminal x="-40" y="20" orientation="w"/>
</description>
</definition>

View File

@@ -0,0 +1,30 @@
<definition width="100" version="0.3" hotspot_x="50" hotspot_y="50" height="110" type="element" ic="true" orientation="dyyy">
<names>
<name lang="ar">بوابة OR</name>
<name lang="de">ODER</name>
<name lang="ru">ИЛИ</name>
<name lang="pt">OU</name>
<name lang="en">OR</name>
<name lang="it">OR</name>
<name lang="fr">OU</name>
<name lang="pl">OR</name>
<name lang="es">O</name>
<name lang="cs">NEBO</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<input x="-46" y="10" size="8" rotate="true" text="_"/>
<input x="-46" y="-30" size="8" rotate="true" text="_"/>
<input x="25" y="-10" size="8" rotate="true" text="_"/>
<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="-40" y2="-20" x2="-21"/>
<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="-40" y2="20" x2="-21"/>
<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="40" y2="0" x2="21"/>
<input x="-25" y="50" size="9" rotate="true" text="_"/>
<text x="-11.5" y="5" size="12" text="≥1"/>
<rect width="40" x="-20" y="-35" antialias="false" height="70" style="line-style:normal;line-weight:normal;filling:none;color:black"/>
<terminal x="40" y="0" orientation="e"/>
<terminal x="-40" y="-20" orientation="w"/>
<terminal x="-40" y="20" orientation="w"/>
</description>
</definition>

View File

@@ -0,0 +1,33 @@
<definition width="100" version="0.3" hotspot_x="50" hotspot_y="50" height="110" type="element" ic="true" orientation="dyyy">
<names>
<name lang="ar">بواابة OR بثلاث مداخل</name>
<name lang="de">ODER 3 Eingänge</name>
<name lang="ru">ИЛИ, трёхвходовый</name>
<name lang="pt">OU 3 entradas</name>
<name lang="en">OR 3 inputs</name>
<name lang="it">OR 3 ingressi</name>
<name lang="fr">OU 3 entrées</name>
<name lang="pl">OR (3 wejścia)</name>
<name lang="es">O 3 entradas</name>
<name lang="cs">NEBO 3 vstupy</name>
</names>
<informations>Author: The QElectroTech team&#xd;
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<input x="-46" y="-10" size="8" rotate="true" text="_"/>
<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="-40" y2="0" x2="-20"/>
<input x="-46" y="10" size="8" rotate="true" text="_"/>
<input x="-46" y="-30" size="8" rotate="true" text="_"/>
<input x="25" y="-10" size="8" rotate="true" text="_"/>
<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="-40" y2="-20" x2="-21"/>
<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="-40" y2="20" x2="-21"/>
<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="40" y2="0" x2="21"/>
<input x="-25" y="50" size="9" rotate="true" text="_"/>
<text x="-11.5" y="5" size="12" text="≥1"/>
<rect width="40" x="-20" y="-35" antialias="false" height="70" style="line-style:normal;line-weight:normal;filling:none;color:black"/>
<terminal x="40" y="0" orientation="e"/>
<terminal x="-40" y="-20" orientation="w"/>
<terminal x="-40" y="20" orientation="w"/>
<terminal x="-40" y="0" orientation="w"/>
</description>
</definition>

View File

@@ -0,0 +1,14 @@
<qet-directory>
<names>
<name lang="ar">وظائف منطقيّة</name>
<name lang="de">Funktions Plan (FUP)</name>
<name lang="ru">Логические устройства</name>
<name lang="en">Logic gates</name>
<name lang="fr">Fonctions logiques</name>
<name lang="es">Puertas lógicas</name>
<name lang="pt">Portas lógicas</name>
<name lang="cs">Logické funkce</name>
<name lang="pl">Bloki funkcyjne (FBD)</name>
<name lang="it">Porte logiche</name>
</names>
</qet-directory>

View File

@@ -0,0 +1,21 @@
<definition width="40" version="0.3" hotspot_x="20" hotspot_y="15" height="40" type="element" orientation="dnnn">
<names>
<name lang="ar">إرجاء دخل</name>
<name lang="de">Eingang Report</name>
<name lang="pt">Relatório Entrada</name>
<name lang="en">Input Report</name>
<name lang="it">Report ingresso</name>
<name lang="fr">Report Entrée</name>
<name lang="pl">Wejście adresowe</name>
<name lang="cs">Hlášení vstupu</name>
<name lang="es">Reporte de entrada</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<input x="-10" y="15" size="9" rotate="true" text="_"/>
<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="10" y2="0" x2="16"/>
<polygon x4="-10" y5="0" x5="-5" y6="-5" x6="-10" y7="-5" x7="-10" antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-5" x1="-10" y2="-5" x2="10" y3="5" x3="10" y4="5"/>
<terminal x="16" y="0" orientation="e"/>
</description>
</definition>

View File

@@ -0,0 +1,21 @@
<definition width="40" version="0.3" hotspot_x="25" hotspot_y="15" height="40" type="element" orientation="dnnn">
<names>
<name lang="ar">إرجاء خرج</name>
<name lang="de">Ausgang Report</name>
<name lang="pt">Relatório saída</name>
<name lang="en">Output Report</name>
<name lang="it">Report uscita</name>
<name lang="fr">Report Sortie</name>
<name lang="pl">Wyjście adresowe</name>
<name lang="cs">Hlášení výstupu</name>
<name lang="es">Reporte de salida</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<input x="-10" y="15" size="9" rotate="true" text="_"/>
<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="-16" y2="0" x2="-10"/>
<polygon x4="5" y5="5" x5="-10" y6="-5" x6="-10" y7="-5" x7="-10" antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-5" x1="-10" y2="-5" x2="5" y3="0" x3="10" y4="5"/>
<terminal x="-16" y="0" orientation="w"/>
</description>
</definition>

View File

@@ -0,0 +1,32 @@
<definition width="100" version="0.3" hotspot_x="50" hotspot_y="50" height="110" type="element" ic="true" orientation="dyyy">
<names>
<name lang="ar">قلاب إلغاء/ إبقاء RS</name>
<name lang="de">SETZEN/RÜCKSETZEN</name>
<name lang="ru">Установка/Сброс</name>
<name lang="pt">SET/RESET</name>
<name lang="en">SET/RESET</name>
<name lang="it">SET/RESET</name>
<name lang="fr">SET/RESET</name>
<name lang="pl">Przerzutnik RS</name>
<name lang="es">SET/RESET</name>
<name lang="cs">NASTAVIT/NASTAVIT ZNOVU</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<input x="-46" y="-10" size="8" rotate="true" text="R"/>
<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="-40" y2="0" x2="-20"/>
<input x="-46" y="15" size="8" rotate="true" text="Par"/>
<input x="-46" y="-30" size="8" rotate="true" text="S"/>
<input x="25" y="-10" size="8" rotate="true" text="_"/>
<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="-40" y2="-20" x2="-21"/>
<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="-40" y2="20" x2="-21"/>
<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="40" y2="0" x2="21"/>
<input x="-25" y="50" size="9" rotate="true" text="_"/>
<text x="-10.5" y="5" size="12" text="RS"/>
<rect width="40" x="-20" y="-35" antialias="false" height="70" style="line-style:normal;line-weight:normal;filling:none;color:black"/>
<terminal x="40" y="0" orientation="e"/>
<terminal x="-40" y="-20" orientation="w"/>
<terminal x="-40" y="0" orientation="w"/>
</description>
</definition>

View File

@@ -0,0 +1,24 @@
<definition width="80" version="0.3" hotspot_x="50" hotspot_y="50" height="110" type="element" ic="true" orientation="dyyy">
<names>
<name lang="ar">خرج</name>
<name lang="de">Ausgang</name>
<name lang="ru">Выход</name>
<name lang="pt">Saída</name>
<name lang="en">Output</name>
<name lang="it">Uscita</name>
<name lang="fr">Sortie</name>
<name lang="pl">Wyjście</name>
<name lang="cs">Výstup</name>
<name lang="es">Salida</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<input x="-46" y="-10" size="8" rotate="true" text="_"/>
<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="-39" y2="0" x2="-20"/>
<input x="-25" y="50" size="9" rotate="true" text="_"/>
<text x="-6.5" y="5" size="12" text="Q"/>
<rect width="40" x="-20" y="-35" antialias="false" height="70" style="line-style:normal;line-weight:normal;filling:none;color:black"/>
<terminal x="-40" y="0" orientation="w"/>
</description>
</definition>

View File

@@ -0,0 +1,31 @@
<definition width="100" version="0.3" hotspot_x="50" hotspot_y="50" height="110" type="element" ic="true" orientation="dyyy">
<names>
<name lang="ar">بوابة XNOR</name>
<name lang="de">exklusives ODER-NICHT (XNOR)</name>
<name lang="ru">Инверсное исключающее ИЛИ</name>
<name lang="pt">NÃO-OU exclusivo (XNOR)</name>
<name lang="en">XNOR</name>
<name lang="it">XNOR</name>
<name lang="fr">NON-OU excusif (XNOR)</name>
<name lang="pl">XNOR</name>
<name lang="es">NO-O exclusiva (XNOR)</name>
<name lang="cs"> NE-NEBO výhradní (XNOR)</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" x1="40" y2="0" x2="26"/>
<circle x="20.5" y="-2.5" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" diameter="5"/>
<input x="-46" y="10" size="8" rotate="true" text="_"/>
<input x="-46" y="-30" size="8" rotate="true" text="_"/>
<input x="25" y="-10" size="8" rotate="true" text="_"/>
<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="-40" y2="-20" x2="-21"/>
<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="-40" y2="20" x2="-21"/>
<input x="-25" y="50" size="9" rotate="true" text="_"/>
<text x="-11.5" y="5" size="12" text="=1"/>
<rect width="40" x="-20" y="-35" antialias="false" height="70" style="line-style:normal;line-weight:normal;filling:none;color:black"/>
<terminal x="40" y="0" orientation="e"/>
<terminal x="-40" y="-20" orientation="w"/>
<terminal x="-40" y="20" orientation="w"/>
</description>
</definition>

View File

@@ -0,0 +1,30 @@
<definition width="100" version="0.3" hotspot_x="50" hotspot_y="50" height="110" type="element" ic="true" orientation="dyyy">
<names>
<name lang="ar">بوابة XOR</name>
<name lang="de">exklusives ODER (XOR)</name>
<name lang="ru">Исключающее ИЛИ</name>
<name lang="pt">OU exclusivo (XOR)</name>
<name lang="en">XOR</name>
<name lang="it">XOR</name>
<name lang="fr">OU exclusif (XOR)</name>
<name lang="pl">XOR</name>
<name lang="es">O exclusiva (XOR)</name>
<name lang="cs">NEBO výhradní (XOR)</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<input x="-46" y="10" size="8" rotate="true" text="_"/>
<input x="-46" y="-30" size="8" rotate="true" text="_"/>
<input x="25" y="-10" size="8" rotate="true" text="_"/>
<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="-40" y2="-20" x2="-21"/>
<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="-40" y2="20" x2="-21"/>
<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="40" y2="0" x2="21"/>
<input x="-25" y="50" size="9" rotate="true" text="_"/>
<text x="-11.5" y="5" size="12" text="=1"/>
<rect width="40" x="-20" y="-35" antialias="false" height="70" style="line-style:normal;line-weight:normal;filling:none;color:black"/>
<terminal x="40" y="0" orientation="e"/>
<terminal x="-40" y="-20" orientation="w"/>
<terminal x="-40" y="20" orientation="w"/>
</description>
</definition>

View File

@@ -0,0 +1,18 @@
<definition width="140" version="0.3" hotspot_x="0" hotspot_y="15" height="30" type="element" ic="true" orientation="dnyn">
<names>
<name lang="ar">فعل</name>
<name lang="de">Aktion</name>
<name lang="en">action</name>
<name lang="fr">action</name>
<name lang="pl">Działanie</name>
<name lang="cs">Čin</name>
<name lang="es">acción</name>
<name lang="pt">acção</name>
</names>
<informations></informations>
<description>
<input x="8" y="2" size="8" text="action"/>
<rect width="125" x="7" y="-5" antialias="false" height="10" style="line-style:normal;line-weight:normal;filling:none;color:black"/>
<terminal x="2" y="0" orientation="w"/>
</description>
</definition>

View File

@@ -0,0 +1,19 @@
<definition width="140" version="0.3" hotspot_x="0" hotspot_y="15" height="30" type="element" orientation="dnyn">
<names>
<name lang="ar">مستمرّ</name>
<name lang="de">Fortsetzen</name>
<name lang="en">continue</name>
<name lang="fr">continue</name>
<name lang="pl">Działanie</name>
<name lang="cs">Čin</name>
<name lang="pt">continuo</name>
</names>
<informations></informations>
<description>
<input x="25" y="2" size="8" rotate="true" text="action"/>
<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="-5" x1="20" y2="4" x2="20"/>
<text x="8" y="3" size="8" text="="/>
<rect width="125" x="7" y="-5" antialias="false" height="10" style="line-style:normal;line-weight:normal;filling:none;color:black"/>
<terminal x="3" y="0" orientation="w"/>
</description>
</definition>

View File

@@ -0,0 +1,12 @@
<qet-directory>
<names>
<name lang="de">Aktion</name>
<name lang="en">Actions</name>
<name lang="fr">Actions</name>
<name lang="ar">أفعال</name>
<name lang="pl">Działania</name>
<name lang="cs">Činy</name>
<name lang="es">Acciones</name>
<name lang="pt">Acções</name>
</names>
</qet-directory>

View File

@@ -0,0 +1,21 @@
<definition width="20" version="0.3" hotspot_x="10" hotspot_y="10" height="20" type="element" orientation="dyyy">
<names>
<name lang="ar">And</name>
<name lang="de">Und</name>
<name lang="en">And</name>
<name lang="fr">Et</name>
<name lang="pl">And</name>
<name lang="cs">A (And)</name>
<name lang="es">Y</name>
<name lang="pt">E (And)</name>
</names>
<informations></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="2" x1="0" y2="2" x2="7"/>
<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="-2" x1="0" y2="-2" x2="7"/>
<terminal x="0" y="-3" orientation="n"/>
<terminal x="8" y="-2" orientation="e"/>
<terminal x="8" y="2" orientation="e"/>
<terminal x="0" y="3" orientation="s"/>
</description>
</definition>

View File

@@ -0,0 +1,21 @@
<definition width="90" version="0.3" hotspot_x="45" hotspot_y="30" height="60" type="element" orientation="dyyy">
<names>
<name lang="ar">خطوة</name>
<name lang="de">Schritt</name>
<name lang="en">Step</name>
<name lang="fr">Etape</name>
<name lang="pl">Krok</name>
<name lang="cs">Krok</name>
<name lang="es">Etapa</name>
<name lang="pt">Etapa</name>
</names>
<informations></informations>
<description>
<input x="-30" y="14" size="6" rotate="true" text=""/>
<input x="-20" y="0" size="10" rotate="true" text="E 00"/>
<rect width="70" x="-35" y="-20" antialias="false" height="40" style="line-style:normal;line-weight:normal;filling:none;color:black"/>
<terminal x="0" y="-25" orientation="n"/>
<terminal x="0" y="25" orientation="s"/>
<terminal x="40" y="-10" orientation="e"/>
</description>
</definition>

View File

@@ -0,0 +1,20 @@
<definition width="90" version="0.3" hotspot_x="45" hotspot_y="30" height="60" type="element" orientation="dyyy">
<names>
<name lang="ar">خطوة أوليّة</name>
<name lang="de">Initialisierungs Schritt</name>
<name lang="en">Initial step</name>
<name lang="fr">Etape initiale</name>
<name lang="pl">Krok początkowy</name>
<name lang="cs">Počáteční krok</name>
<name lang="es">Etapa inicial</name>
<name lang="pt">Etapa inicial</name>
</names>
<informations></informations>
<description>
<rect width="66" x="-33" y="-18" antialias="false" height="36" style="line-style:normal;line-weight:normal;filling:none;color:black"/>
<input x="-30" y="14" size="6" rotate="true" text=""/>
<input x="-20" y="0" size="10" rotate="true" text="E 00"/>
<rect width="70" x="-35" y="-20" antialias="false" height="40" style="line-style:normal;line-weight:normal;filling:none;color:black"/>
<terminal x="0" y="25" orientation="s"/>
</description>
</definition>

View File

@@ -0,0 +1,26 @@
<definition width="90" version="0.3" hotspot_x="45" hotspot_y="30" height="90" type="element" orientation="dyyy">
<names>
<name lang="ar">ماكرو خطوة</name>
<name lang="de">Makro Schritt</name>
<name lang="en">Macro step</name>
<name lang="fr">Macro etape</name>
<name lang="pl">Krok makro</name>
<name lang="cs">Makro krok</name>
<name lang="es">Macro etapa</name>
<name lang="pt">Etapa Macro</name>
</names>
<informations></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="17" x1="-35" y2="17" x2="35"/>
<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="-18" x1="-35" y2="-18" x2="35"/>
<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="19.6667" x1="0" y2="38.6667" x2="0"/>
<text x="18" y="42" size="8" text="1"/>
<input x="-30" y="13.6667" size="6" rotate="true" text=""/>
<rect width="26" x="-13" y="37.6667" antialias="false" height="4" style="line-style:normal;line-weight:thin;filling:black;color:black"/>
<input x="-20" y="-0.3333" size="10" rotate="true" text="M 00"/>
<rect width="70" x="-35" y="-20.3333" antialias="false" height="40" style="line-style:normal;line-weight:normal;filling:none;color:black"/>
<terminal x="-12" y="39.6667" orientation="w"/>
<terminal x="0" y="44.6667" orientation="s"/>
<terminal x="0" y="-25" orientation="n"/>
</description>
</definition>

View File

@@ -0,0 +1,23 @@
<definition width="90" version="0.3" hotspot_x="45" hotspot_y="30" height="90" type="element" orientation="dyyy">
<names>
<name lang="ar">خطوة دخل</name>
<name lang="de">Eingangs Schritt</name>
<name lang="en">Imput step</name>
<name lang="fr">Etape d'entree</name>
<name lang="pl">Krok (input)</name>
<name lang="cs">Vstupní krok</name>
<name lang="es">Etapa de entrada</name>
<name lang="pt">Etapa de entrada</name>
</names>
<informations></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="39" x2="0"/>
<text x="19" y="42" size="8" text="1"/>
<input x="-30" y="14" size="6" rotate="true" text=""/>
<rect width="26" x="-13" y="38" antialias="false" height="4" style="line-style:normal;line-weight:thin;filling:black;color:black"/>
<input x="-20" y="0" size="10" rotate="true" text="E 00"/>
<rect width="70" x="-34" y="-20" antialias="false" height="40" style="line-style:normal;line-weight:thin;filling:none;color:black"/>
<terminal x="0" y="45" orientation="s"/>
<terminal x="-12" y="40" orientation="w"/>
</description>
</definition>

View File

@@ -0,0 +1,19 @@
<definition width="90" version="0.3" hotspot_x="45" hotspot_y="30" height="60" type="element" orientation="dyyy">
<names>
<name lang="ar">خطوة خرج</name>
<name lang="de">Ausgangs Schritt</name>
<name lang="en">Output step</name>
<name lang="fr">Etape sortie</name>
<name lang="pl">Krok (output)</name>
<name lang="cs">Výstupní krok</name>
<name lang="es">Etapa de salida</name>
<name lang="pt">Etapa de saída</name>
</names>
<informations></informations>
<description>
<input x="-30" y="14" size="6" rotate="true" text=""/>
<input x="-20" y="0" size="10" rotate="true" text="S 00"/>
<rect width="70" x="-35" y="-20" antialias="false" height="40" style="line-style:normal;line-weight:thin;filling:none;color:black"/>
<terminal x="0" y="-25" orientation="n"/>
</description>
</definition>

View File

@@ -0,0 +1,12 @@
<qet-directory>
<names>
<name lang="de">Makro Schritte</name>
<name lang="en">Macro steps</name>
<name lang="fr">Macro etape</name>
<name lang="ar">ماكرو خطوة</name>
<name lang="pl">Kroki makro</name>
<name lang="cs">Makro kroky</name>
<name lang="es">Macro etapas</name>
<name lang="pt">Etapas Macro</name>
</names>
</qet-directory>

View File

@@ -0,0 +1,11 @@
<qet-directory>
<names>
<name lang="ar">المخطط الوظيفي التعاقبي SFC </name>
<name lang="en">Grafcet</name>
<name lang="de">Grafcet</name>
<name lang="fr">Grafcet</name>
<name lang="pl">Grafcet</name>
<name lang="cs">Grafcet</name>
<name lang="pt">Grafcet</name>
</names>
</qet-directory>

View File

@@ -0,0 +1,22 @@
<definition width="70" version="0.3" hotspot_x="25" hotspot_y="25" height="100" type="element" orientation="dyyy">
<names>
<name lang="ar">قفز</name>
<name lang="de">Sprung</name>
<name lang="en">jump</name>
<name lang="fr">saut</name>
<name lang="pl">Skok</name>
<name lang="cs">Skok</name>
<name lang="es">Saltar</name>
<name lang="pt">Saltar</name>
</names>
<informations></informations>
<description>
<circle x="-20" y="20" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" diameter="40"/>
<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="1" x1="0" y2="19" x2="0"/>
<input x="-15" y="45" size="10" rotate="true" text="E 00"/>
<input x="15" y="2" size="8" rotate="true" text="T 00"/>
<rect width="26" x="-13" y="-2" antialias="false" height="4" style="line-style:normal;line-weight:thin;filling:black;color:black"/>
<terminal x="0" y="-5" orientation="n"/>
<terminal x="-12" y="0" orientation="w"/>
</description>
</definition>

View File

@@ -0,0 +1,20 @@
<definition width="60" version="0.3" hotspot_x="15" hotspot_y="15" height="30" type="element" orientation="dyyy">
<names>
<name lang="ar">إنتقاليّة</name>
<name lang="de">Übergang</name>
<name lang="en">transition</name>
<name lang="fr">transition</name>
<name lang="pl">Tranzycja</name>
<name lang="cs">Přechod</name>
<name lang="es">transición</name>
<name lang="pt">transição</name>
</names>
<informations></informations>
<description>
<input x="15" y="2" size="8" rotate="true" text="T 00"/>
<rect width="26" x="-13" y="-2" antialias="false" height="4" style="line-style:normal;line-weight:thin;filling:black;color:black"/>
<terminal x="0" y="5" orientation="s"/>
<terminal x="0" y="-5" orientation="n"/>
<terminal x="-12" y="0" orientation="w"/>
</description>
</definition>

View File

@@ -0,0 +1,25 @@
<definition width="50" version="0.3" hotspot_x="25" hotspot_y="30" height="40" type="element" orientation="dnnn">
<names>
<name lang="ar">دخل</name>
<name lang="de">Eingang</name>
<name lang="ru">Вход</name>
<name lang="pt">Entrada</name>
<name lang="en">Input</name>
<name lang="it">Ingresso</name>
<name lang="fr">Entrée</name>
<name lang="pl">Wejście</name>
<name lang="es">Entrada</name>
<name lang="cs">Vstup</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<input x="-18" y="-10" size="9" rotate="true" text="_"/>
<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="5" x1="10" y2="-5" 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="-5" x1="-10" y2="5" 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="0" x1="10" y2="0" x2="24"/>
<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="-24" y2="0" x2="-10"/>
<terminal x="24" y="0" orientation="e"/>
<terminal x="-24" y="0" orientation="w"/>
</description>
</definition>

View File

@@ -0,0 +1,26 @@
<definition width="50" version="0.3" hotspot_x="25" hotspot_y="30" height="40" type="element" orientation="dnnn">
<names>
<name lang="ar">دخل (حافة نازلة)</name>
<name lang="de">Eingang (fallende Flanke)</name>
<name lang="ru">Вход (задний фронт)</name>
<name lang="pt">Entrada (descendente)</name>
<name lang="en">Input (down front)</name>
<name lang="it">Ingresso (fronte discendente)</name>
<name lang="fr">Entrée (front descendant)</name>
<name lang="pl">Wejście (zbocze opadające)</name>
<name lang="es">Entrada (descendente)</name>
<name lang="cs">Vstup (klesající)</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<text x="-4.25" y="5.25" size="9" text="N"/>
<input x="-18" y="-10" size="9" rotate="true" text="_"/>
<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="5" x1="10" y2="-5" 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="-5" x1="-10" y2="5" 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="0" x1="10" y2="0" x2="24"/>
<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="-24" y2="0" x2="-10"/>
<terminal x="24" y="0" orientation="e"/>
<terminal x="-24" y="0" orientation="w"/>
</description>
</definition>

View File

@@ -0,0 +1,26 @@
<definition width="50" version="0.3" hotspot_x="25" hotspot_y="30" height="40" type="element" orientation="dnnn">
<names>
<name lang="ar">دخل (حافة صاعدة)</name>
<name lang="de">Eingang (steigende Flanke)</name>
<name lang="ru">Вход (передний фронт)</name>
<name lang="pt">Entrada (ascendente)</name>
<name lang="en">Input (up front)</name>
<name lang="it">Ingresso (fronte ascendente)</name>
<name lang="fr">Entrée (front montant)</name>
<name lang="pl">Wejście (zbocze narastające)</name>
<name lang="es">Entrada (ascendente)</name>
<name lang="cs">Vstup (stoupající)</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<text x="-3.5" y="5.25" size="9" text="P"/>
<input x="-18" y="-10" size="9" rotate="true" text="_"/>
<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="5" x1="10" y2="-5" 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="-5" x1="-10" y2="5" 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="0" x1="10" y2="0" x2="24"/>
<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="-24" y2="0" x2="-10"/>
<terminal x="24" y="0" orientation="e"/>
<terminal x="-24" y="0" orientation="w"/>
</description>
</definition>

View File

@@ -0,0 +1,26 @@
<definition width="50" version="0.3" hotspot_x="25" hotspot_y="30" height="40" type="element" orientation="dnnn">
<names>
<name lang="ar">دخل (منطق سالب)</name>
<name lang="de">Eingang (negative Logik)</name>
<name lang="ru">Вход (отрицательная логика)</name>
<name lang="pt">Entrada (lógica negativa)</name>
<name lang="en">Input (negative logic)</name>
<name lang="it">Ingresso (logica negativa)</name>
<name lang="fr">Entrée (NF)</name>
<name lang="pl">Wejscie (negacja logiczna)</name>
<name lang="es">Entrada (lógica negativa)</name>
<name lang="cs">Vstup (záporná logika)</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="true" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="5" x1="-7" y2="-5" x2="7"/>
<input x="-18" y="-10" size="9" rotate="true" text="_"/>
<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="5" x1="10" y2="-5" 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="-5" x1="-10" y2="5" 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="0" x1="10" y2="0" x2="24"/>
<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="-24" y2="0" x2="-10"/>
<terminal x="24" y="0" orientation="e"/>
<terminal x="-24" y="0" orientation="w"/>
</description>
</definition>

View File

@@ -0,0 +1,14 @@
<qet-directory>
<names>
<name lang="de">Eingänge</name>
<name lang="ar">مداخل</name>
<name lang="ru">Входы</name>
<name lang="en">Inputs</name>
<name lang="fr">Entrées</name>
<name lang="es">Entradas</name>
<name lang="pt">Entradas</name>
<name lang="cs">Vstupy</name>
<name lang="pl">Wejścia</name>
<name lang="it">Ingressi</name>
</names>
</qet-directory>

View File

@@ -0,0 +1,14 @@
<qet-directory>
<names>
<name lang="de">Ausgänge</name>
<name lang="ru">Выходы</name>
<name lang="en">Outputs</name>
<name lang="fr">Sorties</name>
<name lang="es">Salidas</name>
<name lang="pt">Saídas</name>
<name lang="cs">Výstupy</name>
<name lang="pl">Wyjścia</name>
<name lang="it"> Uscite</name>
<name lang="ar">مخارج</name>
</names>
</qet-directory>

View File

@@ -0,0 +1,24 @@
<definition width="50" version="0.3" hotspot_x="25" hotspot_y="30" height="40" type="element" orientation="dnnn">
<names>
<name lang="ar">خرج</name>
<name lang="de">Ausgang</name>
<name lang="ru">Выход</name>
<name lang="pt">Saída</name>
<name lang="en">Output</name>
<name lang="it">Uscita</name>
<name lang="fr">Sortie</name>
<name lang="pl">Wyjście</name>
<name lang="es">Salida</name>
<name lang="cs">Výstup</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<arc width="4" x="6" y="-5" antialias="true" height="10" style="line-style:normal;line-weight:normal;filling:none;color:black" start="80" angle="-160"/>
<input x="-18" y="-10" size="9" rotate="true" text="_"/>
<arc width="4" x="-10" y="-5" antialias="true" height="10" style="line-style:normal;line-weight:normal;filling:none;color:black" start="-100" angle="-160"/>
<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="10" y2="0" x2="24"/>
<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="-24" y2="0" x2="-10"/>
<terminal x="-24" y="0" orientation="w"/>
</description>
</definition>

View File

@@ -0,0 +1,25 @@
<definition width="50" version="0.3" hotspot_x="25" hotspot_y="30" height="40" type="element" orientation="dnnn">
<names>
<name lang="ar">خرج (إلغاء)</name>
<name lang="de">Ausgang (rücksetzen)</name>
<name lang="ru">Выход (сброс)</name>
<name lang="pt">Saída (reset)</name>
<name lang="en">Output (reset)</name>
<name lang="it">Uscita (reset)</name>
<name lang="fr">Sortie (reset)</name>
<name lang="pl">Wyjście (kasowanie bitu)</name>
<name lang="es">Salida (reset)</name>
<name lang="cs">Výstup (nastavit znovu)</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<text x="-4.25" y="5.25" size="9" text="R"/>
<arc width="4" x="6" y="-5" antialias="true" height="10" style="line-style:normal;line-weight:normal;filling:none;color:black" start="80" angle="-160"/>
<input x="-18" y="-10" size="9" rotate="true" text="_"/>
<arc width="4" x="-10" y="-5" antialias="true" height="10" style="line-style:normal;line-weight:normal;filling:none;color:black" start="-100" angle="-160"/>
<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="10" y2="0" x2="24"/>
<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="-24" y2="0" x2="-10"/>
<terminal x="-24" y="0" orientation="w"/>
</description>
</definition>

View File

@@ -0,0 +1,25 @@
<definition width="50" version="0.3" hotspot_x="25" hotspot_y="30" height="40" type="element" orientation="dnnn">
<names>
<name lang="ar">خرج (تفعيل)</name>
<name lang="de">Ausgang (setzen)</name>
<name lang="ru">Выход (установка)</name>
<name lang="pt">Saída (set)</name>
<name lang="en">Output (set)</name>
<name lang="it">Uscita (set)</name>
<name lang="fr">Sortie (set)</name>
<name lang="pl">Wyjście (ustawienie bitu)</name>
<name lang="es">Salida (set)</name>
<name lang="cs">Výstup (nastavit)</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<arc width="4" x="6" y="-5" antialias="true" height="10" style="line-style:normal;line-weight:normal;filling:none;color:black" start="80" angle="-160"/>
<input x="-18" y="-10" size="9" rotate="true" text="_"/>
<arc width="4" x="-10" y="-5" antialias="true" height="10" style="line-style:normal;line-weight:normal;filling:none;color:black" start="-100" angle="-160"/>
<text x="-4.25" y="5.25" size="9" text="S"/>
<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="10" y2="0" x2="24"/>
<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="-24" y2="0" x2="-10"/>
<terminal x="-24" y="0" orientation="w"/>
</description>
</definition>

View File

@@ -0,0 +1,14 @@
<qet-directory>
<names>
<name lang="de">Kontakt Plan (KOP)</name>
<name lang="ru">?????????-???????? ?????</name>
<name lang="en">Ladder</name>
<name lang="ar">المخطط السلمي Ladder</name>
<name lang="fr">Ladder</name>
<name lang="es">Ladder</name>
<name lang="pt">Ladder</name>
<name lang="cs">?eb??k</name>
<name lang="pl">Schemat drabinkowy (LD)</name>
<name lang="it">Ladder</name>
</names>
</qet-directory>

View File

@@ -1,15 +0,0 @@
<definition width="50" version="0.1" hotspot_x="25" hotspot_y="30" height="40" type="element" orientation="dnnn" >
<names>
<name lang="en" >Input</name>
<name lang="fr" >Entrée</name>
</names>
<description>
<input x="-18" y="-10" size="9" rotate="true" text="_" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="5" x1="10" y2="-5" x2="10" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-5" x1="-10" y2="5" x2="-10" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" x1="10" y2="0" x2="24" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" x1="-24" y2="0" x2="-10" />
<terminal x="24" y="0" orientation="e" />
<terminal x="-24" y="0" orientation="w" />
</description>
</definition>

View File

@@ -1,16 +0,0 @@
<definition width="50" version="0.1" hotspot_x="25" hotspot_y="30" height="40" type="element" orientation="dnnn" >
<names>
<name lang="en" >Input (down front)</name>
<name lang="fr" >Entrée (front descendant)</name>
</names>
<description>
<text x="-4.25" y="5.25" size="9" text="N" />
<input x="-18" y="-10" size="9" rotate="true" text="_" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="5" x1="10" y2="-5" x2="10" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-5" x1="-10" y2="5" x2="-10" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" x1="10" y2="0" x2="24" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" x1="-24" y2="0" x2="-10" />
<terminal x="24" y="0" orientation="e" />
<terminal x="-24" y="0" orientation="w" />
</description>
</definition>

View File

@@ -1,16 +0,0 @@
<definition width="50" version="0.1" hotspot_x="25" hotspot_y="30" height="40" type="element" orientation="dnnn" >
<names>
<name lang="en" >Input (up front)</name>
<name lang="fr" >Entrée (front montant)</name>
</names>
<description>
<text x="-3.5" y="5.25" size="9" text="P" />
<input x="-18" y="-10" size="9" rotate="true" text="_" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="5" x1="10" y2="-5" x2="10" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-5" x1="-10" y2="5" x2="-10" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" x1="10" y2="0" x2="24" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" x1="-24" y2="0" x2="-10" />
<terminal x="24" y="0" orientation="e" />
<terminal x="-24" y="0" orientation="w" />
</description>
</definition>

View File

@@ -1,16 +0,0 @@
<definition width="50" version="0.1" hotspot_x="25" hotspot_y="30" height="40" type="element" orientation="dnnn" >
<names>
<name lang="en" >Input (negative logic)</name>
<name lang="fr" >Entrée (NF)</name>
</names>
<description>
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="5" x1="-7" y2="-5" x2="7" />
<input x="-18" y="-10" size="9" rotate="true" text="_" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="5" x1="10" y2="-5" x2="10" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-5" x1="-10" y2="5" x2="-10" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" x1="10" y2="0" x2="24" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" x1="-24" y2="0" x2="-10" />
<terminal x="24" y="0" orientation="e" />
<terminal x="-24" y="0" orientation="w" />
</description>
</definition>

View File

@@ -1,6 +0,0 @@
<qet-directory>
<names>
<name lang="en" >Inputs</name>
<name lang="fr" >Entrées</name>
</names>
</qet-directory>

View File

@@ -1,6 +0,0 @@
<qet-directory>
<names>
<name lang="en" >Outputs</name>
<name lang="fr" >Sorties</name>
</names>
</qet-directory>

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