Compare commits

..

406 Commits
0.1b ... 0.22

Author SHA1 Message Date
scorpio810
d82f4c65e3 Reverting deletion of branch 0.2, 0.3
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/tags/0.22@5946 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-26 08:02:48 +00:00
xavier
19983ab3ef Tag de la version 0.22
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/tags/0.22@897 bfdf4180-ca20-0410-9c96-a3a8aa849046
2010-03-13 21:12:24 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
xavierqet
507183cf04 Mise a jour du fichier CREDIT (remerciements)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@312 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-03-08 15:36:51 +00:00
benoit
71ff71d7c1 Ajout sonnerie sirene et avertisseur.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@311 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-03-08 15:26:34 +00:00
xavierqet
f28ec9c891 Arrondi des coordonnees dans la collection officielle
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@310 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-03-06 19:43:05 +00:00
xavierqet
c746eaf19d Traduction des convertisseurs
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@309 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-03-03 19:12:39 +00:00
benoit
5a309dca33 Ajout de convertisseurs.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@308 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-03-03 17:06:36 +00:00
xavierqet
a65a7c548d Ajout d'une categorie principale dans le .desktop
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@306 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-03-02 15:47:08 +00:00
xavierqet
91e3f9e2da Correction d'un bug lors du deplacement d'un element en maintenant Ctrl enfonce.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@305 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-03-01 17:39:44 +00:00
xavierqet
943a9d348a La compensation du bug de rendu de la QGraphicsView se fait desormais en fonction d'un parametre dans la configuration.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@304 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-02-25 18:28:19 +00:00
xavierqet
68e3bbcb37 Correction de la correction pour Windows.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@303 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-02-24 20:55:10 +00:00
xavierqet
9c9ecad579 Corrections pour Windows.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@302 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-02-24 20:50:27 +00:00
xavierqet
801d1acaaa Amelioration du support de l'impression
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@301 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-02-24 20:13:45 +00:00
xavierqet
854336e569 L'installation ajoute desormais une icone et un .desktop sous UNIX
Mise a jour de la DTD, toujours inutilisee


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@300 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-02-23 13:22:23 +00:00
xavierqet
5c7044fbdb L'installation copie desormais les fichiers CREDIT et README avec le fichier LICENSE
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@299 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-02-06 22:44:59 +00:00
xavierqet
c3ea627d9c Mise a jour des mentions legales dans le code et dans le dialogue "A propos"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@298 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-02-06 19:40:45 +00:00
xavierqet
c44a8cb51a L'edition directe d'un texte ou d'un champ de texte genere desormais un objet d'annulation
La liste des parties se rafraichit desormais lors d'un annuler/refaire


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@296 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-29 21:22:13 +00:00
benoit
b42bc62e9e Mise a jour des sources multifilaires : probleme de rendu a l'impression.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@295 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-27 19:45:17 +00:00
xavierqet
74e301e655 Correction des noms des elements du commit precedent
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@294 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-27 14:36:08 +00:00
benoit
81f18ba8a8 Ajout elements : Tore de courants + bornes.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@293 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-27 14:06:15 +00:00
xavierqet
ac19515895 Traduction des elements des deux revisions precedentes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@292 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-25 19:08:23 +00:00
benoit
d6f81b64da Ajout des sources multifilaires
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@291 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-25 18:55:22 +00:00
benoit
ea87ae0ee8 Suppression de l'interrupteur laisse pour compatibilite.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@290 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-25 18:40:19 +00:00
benoit
8b5b005a55 ajout composant et modification mineur
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@289 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-25 18:38:49 +00:00
xavierqet
8d3962b71c Traduction des noms de quelques categories
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@288 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-20 21:18:59 +00:00
xavierqet
1a79cd5a94 Correction du commit precedent
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@287 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-20 21:04:09 +00:00
xavierqet
e12e4f7076 Traduction en anglais de la categorie des porte-fusibles
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@286 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-20 20:58:26 +00:00
benoit
f55421c0c2 Ajout des porte-fusibles.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@285 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-20 20:51:45 +00:00
xavierqet
4d0c61937c Correction dans l'editeur pour le trace d'un polygone
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@284 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-20 20:28:52 +00:00
xavierqet
cec010c1e7 Ajout d'un bouton pour effacer le filtre dans le panel d'elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@283 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-20 18:50:10 +00:00
xavierqet
fe06bfd425 Traduction des noms des semi-conducteurs
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@282 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-20 17:27:53 +00:00
benoit
43182b73a0 Retouche qualite symboles + premiers semiconducteurs.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@281 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-20 17:00:33 +00:00
xavierqet
cf66a18795 Recharger le panel d'elements reapplique desormais le filtre
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@280 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-19 19:19:11 +00:00
xavierqet
01f4eb4a21 Ajout du fichier spec pour le packaging en RPM
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@279 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-19 18:05:14 +00:00
xavierqet
1e23544364 Corrections sur les noms des elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@278 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-19 00:32:54 +00:00
benoit
71cbc8af6b Probleme d'antialiasing.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@277 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-18 18:36:23 +00:00
benoit
5792d964e7 Ajout d'interrupteurs a plusieurs positions.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@276 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-18 14:47:11 +00:00
benoit
3f0a44cb6a Mise a jour de l'interrupteur (conservation de l'interrupteur non mis a jour pour compatibilite).
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@275 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-18 14:41:54 +00:00
benoit
c7a6d7cf67 Ajout moteur et generatrice continue.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@274 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-18 14:20:21 +00:00
benoit
c67c2a402e Ajout de composant (lampe clignotante & Lader)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@273 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-18 13:39:14 +00:00
xavierqet
61ce4af8b3 Utilisation du style de jointure "Bevel" plutot que "Miter" dans l'editeur de schemas = harmonisation avec les autres rendus (editeur, depot sur le site)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@272 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-14 21:26:24 +00:00
xavierqet
263b6ba8a7 Correction du nom du fichier pour la borne de continuite
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@271 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-13 16:00:07 +00:00
benoit
717d826078 Ajout de composants
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@270 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-12 19:14:53 +00:00
xavierqet
d560883c6b Correction d'un bug lors de l'enregistrement d'un champ de texte sur element avec plusieurs lignes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@269 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-11 20:01:27 +00:00
xavierqet
d2c5fbd8c2 Ajout d'une description et d'un resume rapide de la procedure d'installation.
Mise a jour du fichier CREDIT.
Le tout en anglais et en francais.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@268 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-09 18:01:46 +00:00
xavierqet
8cd94b3137 Correction dans la description du projet : make install copie desormais le binaire sur le systeme
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@267 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-08 20:35:22 +00:00
xavierqet
3fe46a9f3b Ajout du zoom dans l'editeur d'element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@266 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-07 19:40:08 +00:00
xavierqet
7a1ffcbd7f Ajout de barres d'outils a l'editeur d'element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@265 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-07 18:51:18 +00:00
xavierqet
ba01ad5cf1 Correction de l'antialiasing sur un moteur
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@264 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-07 18:49:51 +00:00
benoit
b561b8394b Ajout d'un moteur triphase a double enroulement.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@263 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-06 14:37:23 +00:00
xavierqet
3ca301ddb4 Correction du conflit de raccourci clavier dans l'editeur d'elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@262 bfdf4180-ca20-0410-9c96-a3a8aa849046
2008-01-04 18:55:05 +00:00
xavierqet
e5007a1b8b "Panel d'Appareils" renomme en "Panel d'Elements"
Mise a jour des traductions


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@261 bfdf4180-ca20-0410-9c96-a3a8aa849046
2007-12-30 19:10:51 +00:00
benoit
ab562f780b Ajout des contacts specifiques aux relais thermiques.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@260 bfdf4180-ca20-0410-9c96-a3a8aa849046
2007-12-30 17:29:16 +00:00
xavierqet
64c92fe23e Corrections des noms de certains elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@259 bfdf4180-ca20-0410-9c96-a3a8aa849046
2007-12-30 16:57:07 +00:00
benoit
45c07ee6b5 Ajout des fins de courses.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@258 bfdf4180-ca20-0410-9c96-a3a8aa849046
2007-12-30 16:29:16 +00:00
benoit
1ba0c114de Ajout du moteur monophase
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@257 bfdf4180-ca20-0410-9c96-a3a8aa849046
2007-12-30 15:46:04 +00:00
xavierqet
8e1ae1233b Dans l'editeur d'elements, le premier niveau des collections est desormais etendu par defaut
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@256 bfdf4180-ca20-0410-9c96-a3a8aa849046
2007-12-29 19:05:50 +00:00
xavierqet
396dd54e8e Ajout d'un champ de texte pour filtrer le contenu du panel d'elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@255 bfdf4180-ca20-0410-9c96-a3a8aa849046
2007-12-29 15:00:30 +00:00
xavierqet
6bf8eed171 Correction des positions des bornes du sectionneur triphase
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@254 bfdf4180-ca20-0410-9c96-a3a8aa849046
2007-12-23 19:55:37 +00:00
768 changed files with 101747 additions and 10633 deletions

89
CREDIT
View File

@@ -1,6 +1,83 @@
Merci <20> Trolltech pour la biblioth<74>que Qt ( http://trolltech.com/ ), sous
licence GNU/GPL.
Merci <20> Everaldo Coelho pour le th<EFBFBD>me d'ic<69>nes Crystal SVG (
http://www.everaldo.com/crystal/ ) sous licence LGPL, ainsi qu'au projet KDE (
http://www.kde.org/ ).
Merci <20> Loic pour ses explications d'ordre math<74>matique.
[en]
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 Remi Collet for the Fedora packaging.
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 )
[fr]
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 à Remi Collet pour les paquets Fedora.
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 )
[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 )
[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 ).
[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)
[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 )

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

1320
Doxyfile

File diff suppressed because it is too large Load Diff

83
ELEMENTS.LICENSE Normal file
View File

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

65
INSTALL Normal file
View File

@@ -0,0 +1,65 @@
[en]
Requirements :
libQt4 (see packages libqt4*)
cupsys-bsd for printing
Howto compile :
$ qmake (qmake-qt4 for Debian-based systems)
$ make
# umask 0022
# make install
[fr]
Pré-requis :
libQt4 (paquets libqt4*)
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

23
README Normal file
View File

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

View File

@@ -1,138 +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 "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-2007 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-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 "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,136 +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 "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"));
}

BIN
docs/QuickStart_QET_fr.odt Normal file

Binary file not shown.

BIN
docs/QuickStart_QET_fr.pdf Normal file

Binary file not shown.

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) {
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,66 +0,0 @@
/*
Copyright 2006-2007 Xavier Guerrin
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#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);
//setTransformationAnchor(QGraphicsView::AnchorUnderMouse);
setResizeAnchor(QGraphicsView::AnchorUnderMouse);
//setSceneRect(QRectF(0.0, 0.0, 50.0, 200.0));
scale(4.0, 4.0);
}
/// 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));
}

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,254 +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,733 +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);
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(QKeySequence::Refresh);
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")));
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(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);
*/
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()));
}
/**
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);
}
/**
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,20 @@
<definition width="80" version="0.2" hotspot_x="30" hotspot_y="50" height="110" type="element" ic="true" orientation="dyyy" >
<names>
<name lang="ru" >Вход</name>
<name lang="en" >Input</name>
<name lang="fr" >Entrée</name>
<name lang="es" >Entrada</name>
<name lang="cs" >Vstup</name>
<name lang="pt" >Entrada</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,26 @@
<definition width="100" version="0.2" hotspot_x="50" hotspot_y="50" height="110" type="element" ic="true" orientation="dyyy" >
<names>
<name lang="ru" >И</name>
<name lang="en" >AND</name>
<name lang="fr" >ET</name>
<name lang="es" >Y</name>
<name lang="cs" >A</name>
<name lang="pt" >E</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,29 @@
<definition width="100" version="0.2" hotspot_x="50" hotspot_y="50" height="110" type="element" ic="true" orientation="dyyy" >
<names>
<name lang="ru" >И, трёхвходовый</name>
<name lang="en" >AND 3 inputs</name>
<name lang="fr" >ET 3 entrées</name>
<name lang="es" >Y 3 entradas</name>
<name lang="cs" >A 3 vstupy</name>
<name lang="pt" >E 3 entradas</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="-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,27 @@
<definition width="100" version="0.2" hotspot_x="50" hotspot_y="50" height="110" type="element" ic="true" orientation="dyyy" >
<names>
<name lang="ru" >И-НЕ</name>
<name lang="en" >NAND</name>
<name lang="fr" >NON-ET (NAND)</name>
<name lang="es" >NO-Y (NAND)</name>
<name lang="cs" >Ne-A (NAND)</name>
<name lang="pt" >NÃO-E (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,24 @@
<definition width="100" version="0.2" hotspot_x="50" hotspot_y="50" height="110" type="element" ic="true" orientation="dyyy" >
<names>
<name lang="ru" >НЕ</name>
<name lang="en" >NOT</name>
<name lang="fr" >NON</name>
<name lang="es" >NO</name>
<name lang="cs" >Ne</name>
<name lang="pt" >NÃO</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,27 @@
<definition width="100" version="0.2" hotspot_x="50" hotspot_y="50" height="110" type="element" ic="true" orientation="dyyy" >
<names>
<name lang="ru" >ИЛИ-НЕ</name>
<name lang="en" >NOR</name>
<name lang="fr" >NON-OU (NOR)</name>
<name lang="es" >NO-O (NOR)</name>
<name lang="cs" >Ne-NEBO (NOR)</name>
<name lang="pt" >NÃO-OU (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,26 @@
<definition width="100" version="0.2" hotspot_x="50" hotspot_y="50" height="110" type="element" ic="true" orientation="dyyy" >
<names>
<name lang="ru" >ИЛИ</name>
<name lang="en" >OR</name>
<name lang="fr" >OU</name>
<name lang="es" >O</name>
<name lang="cs" >NEBO</name>
<name lang="pt" >OU</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,29 @@
<definition width="100" version="0.2" hotspot_x="50" hotspot_y="50" height="110" type="element" ic="true" orientation="dyyy" >
<names>
<name lang="ru" >ИЛИ, трёхвходовый</name>
<name lang="en" >OR 3 inputs</name>
<name lang="fr" >OU 3 entrées</name>
<name lang="es" >O 3 entradas</name>
<name lang="cs" >NEBO 3 vstupy</name>
<name lang="pt" >OU 3 entradas</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="-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,10 @@
<qet-directory>
<names>
<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>
</names>
</qet-directory>

View File

@@ -0,0 +1,16 @@
<definition width="40" version="0.2" hotspot_x="20" hotspot_y="15" height="40" type="element" orientation="dnnn" >
<names>
<name lang="en" >Input Report</name>
<name lang="fr" >Report Entrée</name>
<name lang="cs" >Hlášení vstupu</name>
<name lang="pt" >Relatório 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,16 @@
<definition width="40" version="0.2" hotspot_x="25" hotspot_y="15" height="40" type="element" orientation="dnnn" >
<names>
<name lang="en" >Output Report</name>
<name lang="fr" >Report Sortie</name>
<name lang="cs" >Hlášení výstupu</name>
<name lang="pt" >Relatório saída</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,28 @@
<definition width="100" version="0.2" hotspot_x="50" hotspot_y="50" height="110" type="element" ic="true" orientation="dyyy" >
<names>
<name lang="ru" >Установка/Сброс</name>
<name lang="en" >SET/RESET</name>
<name lang="fr" >SET/RESET</name>
<name lang="es" >SET/RESET</name>
<name lang="cs" >NASTAVIT/NASTAVIT ZNOVU</name>
<name lang="pt" >SET/RESET</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,19 @@
<definition width="80" version="0.2" hotspot_x="50" hotspot_y="50" height="110" type="element" ic="true" orientation="dyyy" >
<names>
<name lang="ru" >Выход</name>
<name lang="en" >Output</name>
<name lang="fr" >Sortie</name>
<name lang="cs" >Výstup</name>
<name lang="pt" >Saída</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,27 @@
<definition width="100" version="0.2" hotspot_x="50" hotspot_y="50" height="110" type="element" ic="true" orientation="dyyy" >
<names>
<name lang="ru" >Инверсное исключающее ИЛИ</name>
<name lang="en" >XNOR</name>
<name lang="fr" >NON-OU excusif (XNOR)</name>
<name lang="es" >NO-O exclusiva (XNOR)</name>
<name lang="cs" > NE-NEBO výhradní (XNOR)</name>
<name lang="pt" >NÃO-OU exclusivo (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,26 @@
<definition width="100" version="0.2" hotspot_x="50" hotspot_y="50" height="110" type="element" ic="true" orientation="dyyy" >
<names>
<name lang="ru" >Исключающее ИЛИ</name>
<name lang="en" >XOR</name>
<name lang="fr" >OU exclusif (XOR)</name>
<name lang="es" >O exclusiva (XOR)</name>
<name lang="cs" >NEBO výhradní (XOR)</name>
<name lang="pt" >OU exclusivo (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,21 @@
<definition width="50" version="0.2" hotspot_x="25" hotspot_y="30" height="40" type="element" orientation="dnnn" >
<names>
<name lang="ru" >Вход</name>
<name lang="en" >Input</name>
<name lang="fr" >Entrée</name>
<name lang="es" >Entrada</name>
<name lang="cs" >Vstup</name>
<name lang="pt" >Entrada</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,22 @@
<definition width="50" version="0.2" hotspot_x="25" hotspot_y="30" height="40" type="element" orientation="dnnn" >
<names>
<name lang="ru" >Вход (задний фронт)</name>
<name lang="en" >Input (down front)</name>
<name lang="fr" >Entrée (front descendant)</name>
<name lang="es" >Entrada (descendente)</name>
<name lang="cs" >Vstup (klesající)</name>
<name lang="pt" >Entrada (descendente)</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,22 @@
<definition width="50" version="0.2" hotspot_x="25" hotspot_y="30" height="40" type="element" orientation="dnnn" >
<names>
<name lang="ru" >Вход (передний фронт)</name>
<name lang="en" >Input (up front)</name>
<name lang="fr" >Entrée (front montant)</name>
<name lang="es" >Entrada (ascendente)</name>
<name lang="cs" >Vstup (stoupající)</name>
<name lang="pt" >Entrada (ascendente)</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,22 @@
<definition width="50" version="0.2" hotspot_x="25" hotspot_y="30" height="40" type="element" orientation="dnnn" >
<names>
<name lang="ru" >Вход (отрицательная логика)</name>
<name lang="en" >Input (negative logic)</name>
<name lang="fr" >Entrée (NF)</name>
<name lang="es" >Entrada (lógica negativa)</name>
<name lang="cs" >Vstup (záporná logika)</name>
<name lang="pt" >Entrada (lógica negativa)</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,10 @@
<qet-directory>
<names>
<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>
</names>
</qet-directory>

View File

@@ -0,0 +1,10 @@
<qet-directory>
<names>
<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>
</names>
</qet-directory>

View File

@@ -0,0 +1,20 @@
<definition width="50" version="0.2" hotspot_x="25" hotspot_y="30" height="40" type="element" orientation="dnnn" >
<names>
<name lang="ru" >Выход</name>
<name lang="en" >Output</name>
<name lang="fr" >Sortie</name>
<name lang="es" >Salida</name>
<name lang="cs" >Výstup</name>
<name lang="pt" >Saída</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,21 @@
<definition width="50" version="0.2" hotspot_x="25" hotspot_y="30" height="40" type="element" orientation="dnnn" >
<names>
<name lang="ru" >Выход (сброс)</name>
<name lang="en" >Output (reset)</name>
<name lang="fr" >Sortie (reset)</name>
<name lang="es" >Salida (reset)</name>
<name lang="cs" >Výstup (nastavit znovu)</name>
<name lang="pt" >Saída (reset)</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,21 @@
<definition width="50" version="0.2" hotspot_x="25" hotspot_y="30" height="40" type="element" orientation="dnnn" >
<names>
<name lang="ru" >Выход (установка)</name>
<name lang="en" >Output (set)</name>
<name lang="fr" >Sortie (set)</name>
<name lang="es" >Salida (set)</name>
<name lang="cs" >Výstup (nastavit)</name>
<name lang="pt" >Saída (set)</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,10 @@
<qet-directory>
<names>
<name lang="ru" >Контактно-релейная схема</name>
<name lang="en" >Ladder</name>
<name lang="fr" >Ladder</name>
<name lang="es" >Ladder</name>
<name lang="pt" >Ladder</name>
<name lang="cs" >Žebřík</name>
</names>
</qet-directory>

View File

@@ -0,0 +1,10 @@
<qet-directory>
<names>
<name lang="ru" >Автоматика</name>
<name lang="en" >Automatism</name>
<name lang="fr" >Automatisme</name>
<name lang="es" >Automatismo</name>
<name lang="pt" >Automatismos</name>
<name lang="cs" >Automatika</name>
</names>
</qet-directory>

View File

@@ -0,0 +1,21 @@
<definition width="50" version="0.2" hotspot_x="25" hotspot_y="15" height="30" type="element" orientation="dnnn" >
<names>
<name lang="ru" >Амперметр (горизонтальный)</name>
<name lang="en" >Horizontal ammeter</name>
<name lang="fr" >Ampèremètre horizontal</name>
<name lang="es" >Amperímetro horizontal</name>
<name lang="cs" >Vodorovný ampérmetr</name>
<name lang="pt" >Amperímetro horizontal</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,21 @@
<definition width="30" version="0.2" hotspot_x="15" hotspot_y="25" height="50" type="element" orientation="dnnn" >
<names>
<name lang="ru" >Амперметр (вертикальный)</name>
<name lang="en" >Vertical ammeter</name>
<name lang="fr" >Ampèremètre vertical</name>
<name lang="es" >Amperímetro vertical</name>
<name lang="cs" >Svislý ampérmetr</name>
<name lang="pt" >Amperí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="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,24 @@
<definition width="50" version="0.2" hotspot_x="25" hotspot_y="15" height="30" type="element" orientation="dnnn" >
<names>
<name lang="ru" >Омметр (горизонтальный)</name>
<name lang="en" >Horizontal ohmmeter</name>
<name lang="fr" >Ohmmètre horizontal</name>
<name lang="es" >Óhmetro horizontal</name>
<name lang="cs" >Vodorovný ohmmetr</name>
<name lang="pt" >Ohmímetro horizontal</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,24 @@
<definition width="30" version="0.2" hotspot_x="15" hotspot_y="25" height="50" type="element" orientation="dnnn" >
<names>
<name lang="ru" >Омметр (вертикальный)</name>
<name lang="en" >Vertical ohmmeter</name>
<name lang="fr" >Ohmmètre vertical</name>
<name lang="es" >Óhmetro vertical</name>
<name lang="cs" >Svislý ohmmetr</name>
<name lang="pt" >Ohmí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="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,10 @@
<qet-directory>
<names>
<name lang="ru" >Измеррительные приборы</name>
<name lang="en" >Measuring instruments</name>
<name lang="fr" >Appareils de mesure</name>
<name lang="es" >Instrumento de medición</name>
<name lang="pt" >Instrumentos de medição</name>
<name lang="cs" >Měřící přístroje</name>
</names>
</qet-directory>

View File

@@ -0,0 +1,20 @@
<definition width="50" version="0.2" hotspot_x="25" hotspot_y="15" height="30" type="element" orientation="dnnn" >
<names>
<name lang="ru" >Вольтметр (горизонтальный)</name>
<name lang="en" >Horizontal voltmeter</name>
<name lang="fr" >Voltmètre horizontal</name>
<name lang="es" >Voltímetro horizontal</name>
<name lang="cs" >Vodorovný voltmetr</name>
<name lang="pt" >Voltímetro horizontal</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,20 @@
<definition width="30" version="0.2" hotspot_x="15" hotspot_y="25" height="50" type="element" orientation="dnnn" >
<names>
<name lang="ru" >Вольтметр (вертикальный)</name>
<name lang="en" >Vertical voltmeter</name>
<name lang="fr" >Voltmètre vertical</name>
<name lang="es" >Voltímetro vertical</name>
<name lang="cs" >Svislý voltmetr</name>
<name lang="pt" >Voltí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" />
<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,24 @@
<definition width="50" version="0.2" hotspot_x="25" hotspot_y="15" height="40" type="element" ic="true" orientation="dnnn" >
<names>
<name lang="ru" >Ватметр (горизонтальный)</name>
<name lang="en" >Horizontal wattmeter</name>
<name lang="fr" >Wattmètre horizontal</name>
<name lang="es" >Vatímetro horizontal</name>
<name lang="cs" >Vodorovný wattmetr</name>
<name lang="pt" >Wattímetro horizontal</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,24 @@
<definition width="40" version="0.2" hotspot_x="15" hotspot_y="25" height="50" type="element" ic="true" orientation="dnnn" >
<names>
<name lang="ru" >Ватметр (вертикальный)</name>
<name lang="en" >Vertical wattmeter</name>
<name lang="fr" >Wattmètre vertical</name>
<name lang="es" >Vatímetro vertical</name>
<name lang="cs" >Svislý wattmetr</name>
<name lang="pt" >Wattímetro vertical</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,10 @@
<qet-directory>
<names>
<name lang="ru" >Датчики</name>
<name lang="en" >Transducers</name>
<name lang="fr" >Capteurs</name>
<name lang="es" >Sensores</name>
<name lang="pt" >Sensores</name>
<name lang="cs" >Snímače</name>
</names>
</qet-directory>

View File

@@ -0,0 +1,10 @@
<qet-directory>
<names>
<name lang="ru" >Датчики</name>
<name lang="en" >Sensors</name>
<name lang="fr" >Sondes</name>
<name lang="es" >Sondeos</name>
<name lang="pt" >Sondas</name>
<name lang="cs" >Snímače</name>
</names>
</qet-directory>

View File

@@ -0,0 +1,9 @@
<qet-directory>
<names>
<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>
</names>
</qet-directory>

View File

@@ -0,0 +1,22 @@
<definition width="40" version="0.1" hotspot_x="15" hotspot_y="25" height="40" type="element" orientation="dyyy" >
<names>
<name lang="en" >1-pole toroidal core</name>
<name lang="fr" >Tore 1 pôle</name>
<name lang="es" >Núcleo toroide 1 polo</name>
<name lang="cs" >Prstencové jádro s jedním pólem</name>
<name lang="pt" >Núcleo toroidal de 1 polo</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" x1="5" y2="-10" x2="5" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="14" y2="-10" x2="5" />
<line antialias="false" 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 antialias="false" 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,25 @@
<definition width="50" version="0.1" hotspot_x="25" hotspot_y="25" height="40" type="element" orientation="dyyy" >
<names>
<name lang="en" >2-poles toroidal core</name>
<name lang="fr" >Tore 2 pôles</name>
<name lang="es" >Núcleo toroide 2 polos</name>
<name lang="cs" >Prstencové jádro se dvěma póly</name>
<name lang="pt" >Núcleo toroidal de 2 polos</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" x1="5" y2="-10" x2="5" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="14" y2="-10" x2="5" />
<line antialias="false" 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 antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-15" x1="-10" y2="10" x2="-10" />
<line antialias="false" 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,28 @@
<definition width="60" version="0.1" hotspot_x="35" hotspot_y="25" height="40" type="element" orientation="dyyy" >
<names>
<name lang="en" >3-poles toroidal core</name>
<name lang="fr" >Tore 3 pôles</name>
<name lang="es" >Núcleo toroide 3 polos</name>
<name lang="cs" >Prstencové jádro se třemi póly</name>
<name lang="pt" >Núcleo toroidal de 3 polos</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" x1="5" y2="-10" x2="5" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="14" y2="-10" x2="5" />
<line antialias="false" 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 antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-15" x1="-10" y2="10" x2="-10" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-15" x1="0" y2="10" x2="0" />
<line antialias="false" 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,31 @@
<definition width="70" version="0.1" hotspot_x="45" hotspot_y="25" height="40" type="element" orientation="dyyy" >
<names>
<name lang="en" >4-poles toroidal core</name>
<name lang="fr" >Tore 4 pôles</name>
<name lang="es" >Núcleo toroide 4 polos</name>
<name lang="cs" >Prstencové jádro se čtyřmi póly</name>
<name lang="pt" >Núcleo toroidal de 4 polos</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" x1="5" y2="-10" x2="5" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="14" y2="-10" x2="5" />
<line antialias="false" 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 antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-15" x1="-10" y2="10" x2="-10" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-15" x1="0" y2="10" x2="0" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-15" x1="-30" y2="10" x2="-30" />
<line antialias="false" 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,17 @@
<definition width="20" version="0.2" hotspot_x="10" hotspot_y="25" height="30" type="element" orientation="dyyy" >
<names>
<name lang="ru" >Штырь (стар.)</name>
<name lang="en" >Input terminal</name>
<name lang="fr" >Borne entrée</name>
<name lang="es" >Terminal de entrada</name>
<name lang="cs" >Vstupní svorka</name>
<name lang="pt" >Terminal de entrada</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="-5" x1="-4" y2="1" x2="0" y3="-5" x3="4" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="0" y2="0" x2="0" />
<terminal x="0" y="-21" orientation="n" />
</description>
</definition>

View File

@@ -0,0 +1,20 @@
<definition width="10" version="0.1" hotspot_x="5" hotspot_y="25" height="50" type="element" orientation="dyyy" >
<names>
<name lang="ru" >Соединение (стар.)</name>
<name lang="en" >Dual terminal</name>
<name lang="fr" >Double borne</name>
<name lang="es" >Terminal doble</name>
<name lang="cs" >Dvojitá svorka</name>
<name lang="pt" >Terminal duplo</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="-1" x1="-4" y2="5" x2="0" y3="-1" x3="4" />
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-5" x1="-4" y2="1" x2="0" y3="-5" x3="4" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="5.5" x1="0" y2="20" x2="0" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="0" y2="0" x2="0" />
<terminal x="0" y="-21" orientation="n" />
<terminal x="0" y="21" orientation="s" />
</description>
</definition>

View File

@@ -0,0 +1,17 @@
<definition width="10" version="0.1" hotspot_x="5" hotspot_y="5" height="30" type="element" orientation="dyyy" >
<names>
<name lang="ru" >Гнездо (стар.)</name>
<name lang="en" >Output terminal</name>
<name lang="fr" >Borne sortie</name>
<name lang="es" >Terminal de salida</name>
<name lang="cs" >Výstupní svorka</name>
<name lang="pt" >Terminal de saída</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="-1" x1="-4" y2="5" x2="0" y3="-1" x3="4" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="5.5" x1="0" y2="20" x2="0" />
<terminal x="0" y="21" orientation="s" />
</description>
</definition>

View File

@@ -0,0 +1,21 @@
<definition width="30" version="0.1" hotspot_x="10" hotspot_y="20" height="40" type="element" ic="true" orientation="dyyy" >
<names>
<name lang="ru" >Клеммное соединение</name>
<name lang="en" >Terminal block</name>
<name lang="fr" >Borne continuité</name>
<name lang="es" >Punto de combinación</name>
<name lang="cs" >Spojovací svorka</name>
<name lang="pt" >Terminal de combinação</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<input x="5" y="8" size="7" text="_" />
<input x="5" y="-5" size="10" text="_" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="0" y2="3" x2="0" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="0" y2="-3" x2="0" />
<circle x="-2.5" y="-2.5" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" diameter="5" />
<terminal x="0" y="-10" orientation="n" />
<terminal x="0" y="10" orientation="s" />
</description>
</definition>

View File

@@ -0,0 +1,19 @@
<definition width="30" version="0.1" hotspot_x="10" hotspot_y="20" height="40" type="element" ic="true" orientation="dyyy" >
<names>
<name lang="ru" >Клеммник</name>
<name lang="en" >Terminal block</name>
<name lang="fr" >Borne finale</name>
<name lang="es" >Punto de unión</name>
<name lang="cs" >Koncová svorka</name>
<name lang="pt" >Terminal de fim</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<input x="5" y="8" size="7" text="_" />
<input x="5" y="-5" size="10" text="_" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="0" y2="-3" x2="0" />
<circle x="-2.5" y="-2.5" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" diameter="5" />
<terminal x="0" y="-10" orientation="n" />
</description>
</definition>

View File

@@ -0,0 +1,19 @@
<definition width="30" version="0.2" hotspot_x="15" hotspot_y="35" height="70" type="element" orientation="dyyy" >
<names>
<name lang="ru" >Гнездо (нов.)</name>
<name lang="fr" >Connecteur femelle</name>
<name lang="en" >Female connector</name>
<name lang="es" >Connector hembra</name>
<name lang="cs" >Ženská spojka</name>
<name lang="pt" >Conector fêmea</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<input x="4" y="-7.5" 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="-10" x1="0" y2="-1" x2="0" />
<arc width="6" x="-3" y="0" antialias="true" height="6" style="line-style:normal;line-weight:normal;filling:none;color:black" start="-180" angle="-84" />
<arc width="6" x="-3" y="0" antialias="true" height="6" style="line-style:normal;line-weight:normal;filling:none;color:black" start="83" angle="-84" />
<terminal x="0" y="-11" orientation="n" />
</description>
</definition>

View File

@@ -0,0 +1,18 @@
<definition width="30" version="0.2" hotspot_x="15" hotspot_y="35" height="70" type="element" orientation="dyyy" >
<names>
<name lang="ru" >Штырь (нов.)</name>
<name lang="fr" >Connecteur mâle</name>
<name lang="en" >Male connector</name>
<name lang="es" >Connector macho</name>
<name lang="cs" >Mužská spojka</name>
<name lang="pt" >Conector macho</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="2" x1="-1" y2="9" 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="2" x1="1" y2="9" 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="2" x1="0" y2="20" x2="0" />
<terminal x="0" y="19" orientation="n" />
</description>
</definition>

View File

@@ -0,0 +1,22 @@
<definition width="30" version="0.2" hotspot_x="15" hotspot_y="35" height="70" type="element" orientation="dyyy" >
<names>
<name lang="ru" >Соединение (нов.)</name>
<name lang="fr" >Connecteur</name>
<name lang="en" >Connector</name>
<name lang="cs" >Spojka</name>
<name lang="pt" >Conector</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<input x="4" y="-5.5" 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="2" x1="-1" y2="9" 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="2" x1="1" y2="9" 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="2" x1="0" y2="20" 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="-1" x2="0" />
<arc width="6" x="-3" y="0" antialias="true" height="6" style="line-style:normal;line-weight:normal;filling:none;color:black" start="-180" angle="-84" />
<arc width="6" x="-3" y="0" antialias="true" height="6" style="line-style:normal;line-weight:normal;filling:none;color:black" start="83" angle="-84" />
<terminal x="0" y="-11" orientation="n" />
<terminal x="0" y="19" orientation="n" />
</description>
</definition>

View File

@@ -0,0 +1,10 @@
<qet-directory>
<names>
<name lang="ru" >соеденителей</name>
<name lang="en" >Terminals</name>
<name lang="fr" >Bornes</name>
<name lang="es" >Terminales</name>
<name lang="pt" >Terminais</name>
<name lang="cs" >Svorky</name>
</names>
</qet-directory>

View File

@@ -1,21 +1,26 @@
<definition width="30" version="0.1" hotspot_x="10" hotspot_y="25" height="50" type="element" orientation="dnny" >
<definition width="30" version="0.2" hotspot_x="10" hotspot_y="25" height="50" type="element" orientation="dnny" >
<names>
<name lang="ru" >Герметичный контакт (НР)</name>
<name lang="en" >Simple contact (tight)</name>
<name lang="fr" >Contact simple (étanche)</name>
<name lang="es" >Contactor simple (resistente al agua)</name>
<name lang="cs" >Jednoduché vodivé spojení (nepropustné)</name>
<name lang="pt" >Contacto simples NO (NO / resistente à água)</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-12" x1="-8.5" y2="12" x2="-8.5" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-12" x1="8.5" y2="12" x2="8.5" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-14.5" x1="-6" y2="-14.5" x2="6" />
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-10" x1="-5" y2="10" x2="0" y3="20" x3="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="-12" x1="-8.5" y2="12" x2="-8.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="-12" x1="8.5" y2="12" x2="8.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="-14.5" x1="-6" y2="-14.5" x2="6" />
<arc width="5" x="3.5" y="-14.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="90" angle="-90" />
<arc width="5" x="-8.5" y="-14.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="-180" angle="-90" />
<arc width="5" x="-8.5" y="9.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="-90" angle="-90" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="14.5" x1="-6" y2="14.5" x2="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="14.5" x1="-6" y2="14.5" x2="6" />
<arc width="5" x="3.5" y="9.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="0" angle="-90" />
<input x="12.75" y="3" size="9" text="_" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="0" y2="-10" x2="0" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="0" y2="20" x2="0" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="-5" 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="-20" x1="0" y2="-10" x2="0" />
<terminal x="0" y="-21" orientation="n" />
<terminal x="0" y="21" orientation="s" />
</description>

View File

@@ -1,22 +1,27 @@
<definition width="30" version="0.1" hotspot_x="10" hotspot_y="25" height="50" type="element" orientation="dnny" >
<definition width="30" version="0.2" hotspot_x="10" hotspot_y="25" height="50" type="element" orientation="dnny" >
<names>
<name lang="ru" >Герметичный контакт (НЗ)</name>
<name lang="en" >Simple contact (NC / tight)</name>
<name lang="fr" >Contact simple (NF / étanche)</name>
<name lang="es" >Contactor simple (NC / resistente al agua)</name>
<name lang="cs" >Jednoduché vodivé spojení (NC / nepropustné)</name>
<name lang="pt" >Contacto simples NC (NC / resistente à água)</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-9" x1="0" y2="-9" x2="6" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-12" x1="-8.5" y2="12" x2="-8.5" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-12" x1="8.5" y2="12" x2="8.5" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-14.5" x1="-6" y2="-14.5" x2="6" />
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-10" x1="5" y2="10" x2="0" y3="20" x3="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="-9" x1="0" y2="-9" x2="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="-12" x1="-8.5" y2="12" x2="-8.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="-12" x1="8.5" y2="12" x2="8.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="-14.5" x1="-6" y2="-14.5" x2="6" />
<arc width="5" x="3.5" y="-14.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="90" angle="-90" />
<arc width="5" x="-8.5" y="-14.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="-180" angle="-90" />
<arc width="5" x="-8.5" y="9.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="-90" angle="-90" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="14.5" x1="-6" y2="14.5" x2="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="14.5" x1="-6" y2="14.5" x2="6" />
<arc width="5" x="3.5" y="9.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="0" angle="-90" />
<input x="12.75" y="3" size="9" text="_" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="0" y2="-9" x2="0" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="0" y2="20" x2="0" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="5" 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="-20" x1="0" y2="-9" x2="0" />
<terminal x="0" y="-21" orientation="n" />
<terminal x="0" y="21" orientation="s" />
</description>

View File

@@ -1,6 +1,10 @@
<qet-directory>
<names>
<name lang="ru" >герметичные</name>
<name lang="en" >Tight</name>
<name lang="fr" >Étanches</name>
<name lang="es" >Resistentes al agua</name>
<name lang="pt" >Resistentes à água</name>
<name lang="cs" >Vodotěsné</name>
</names>
</qet-directory>

View File

@@ -0,0 +1,22 @@
<definition width="30" version="0.2" hotspot_x="10" hotspot_y="25" height="50" type="element" orientation="dnny" >
<names>
<name lang="ru" >Концевой контакт (НЗ)</name>
<name lang="en" >Limit (NC)</name>
<name lang="fr" >Fin de course (NF)</name>
<name lang="es" >Final de carrera (NC)</name>
<name lang="cs" >Konec vodivého spojení (NC)</name>
<name lang="pt" >Fim de curso (NC)</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="-10" x1="5" y2="10" x2="0" y3="20" x3="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="-5.25" x1="1.25" y2="-5.25" 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="4" x1="1.25" y2="-5.25" x2="1.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="-9" x1="0" y2="-9" x2="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="-20" x1="0" y2="-9" x2="0" />
<input x="5.75" y="3" size="9" text="_" />
<terminal x="0" y="-21" orientation="n" />
<terminal x="0" y="21" orientation="s" />
</description>
</definition>

View File

@@ -0,0 +1,20 @@
<definition width="30" version="0.2" hotspot_x="10" hotspot_y="25" height="50" type="element" orientation="dnny" >
<names>
<name lang="ru" >Концевой контакт (НР)</name>
<name lang="en" >Limit</name>
<name lang="fr" >Fin de course</name>
<name lang="es" >Final de carrera</name>
<name lang="cs" >Konec vodivého spojení</name>
<name lang="pt" >Fim de curso (NO)</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="-10" x1="-5" y2="10" x2="0" y3="20" x3="0" />
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-4" x1="-4" y2="-3" x2="-6.75" y3="4.85" x3="-1.55" />
<input x="2.75" y="3" size="9" 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="0" y2="-10" x2="0" />
<terminal x="0" y="-21" orientation="n" />
<terminal x="0" y="21" orientation="s" />
</description>
</definition>

View File

@@ -0,0 +1,10 @@
<qet-directory>
<names>
<name lang="ru" >концевые</name>
<name lang="en" >Limits</name>
<name lang="fr" >Fins de courses</name>
<name lang="es" >Finales de carrera</name>
<name lang="pt" >Fins de curso</name>
<name lang="cs" >Konce vodivých spojení</name>
</names>
</qet-directory>

View File

@@ -1,15 +0,0 @@
<definition width="30" version="0.1" hotspot_x="10" hotspot_y="25" height="50" type="element" orientation="dnny" >
<names>
<name lang="en" >On-off switch</name>
<name lang="fr" >Interrupteur</name>
</names>
<description>
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="0" y2="-12.5" x2="0" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="0" y2="20" x2="0" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="-5" y2="10" x2="0" />
<input x="2.75" y="3" size="9" text="_" />
<circle x="-1.750000000000001" y="-11.75000000000002" antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" diameter="3.5" />
<terminal x="0" y="-21" orientation="n" />
<terminal x="0" y="21" orientation="s" />
</description>
</definition>

View File

@@ -0,0 +1,25 @@
<definition width="50" version="0.2" hotspot_x="10" hotspot_y="35" height="60" type="element" orientation="dyyy" >
<names>
<name lang="ru" >Переключатель 2-х позиционный</name>
<name lang="en" >Switch 2 positions</name>
<name lang="fr" >Interrupteur 2 positions</name>
<name lang="es" >Interruptor 2 posiciones</name>
<name lang="cs" >Dvoupolohový spínač</name>
<name lang="pt" >Interruptor 2 posições</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<input x="22" y="-7" size="9" text="_" />
<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="-13" x1="9" y2="1" x2="2" />
<ellipse width="3" x="18.5" y="-1.5" antialias="true" height="3" style="line-style:normal;line-weight:normal;filling:none;color:black" />
<ellipse width="3" x="8.5" y="-16.5" antialias="true" height="3" style="line-style:normal;line-weight:normal;filling:none;color:black" />
<ellipse width="3" x="-1.5" y="-1.5" antialias="true" height="3" 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="2" 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="2" x1="20" 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="-17" x1="10" y2="-30" x2="10" />
<terminal x="0" y="10" orientation="s" />
<terminal x="20" y="10" orientation="s" />
<terminal x="10" y="-30" orientation="n" />
</description>
</definition>

View File

@@ -0,0 +1,26 @@
<definition width="50" version="0.2" hotspot_x="10" hotspot_y="35" height="60" type="element" orientation="dyyy" >
<names>
<name lang="ru" >Переключатель 3-х позиционный со средним положением</name>
<name lang="en" >Switch 3 positions including neutral</name>
<name lang="fr" >Interrupteur 3 positions dont neutre</name>
<name lang="es" >Interruptor 3 posiciones incluso neutro</name>
<name lang="cs" >Třípolohový spínač včetně nulové</name>
<name lang="pt" >Interruptor 3 posições com neutro</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" y1="1" x1="10" y2="4" x2="8" y3="4" x3="12" />
<input x="22" y="-7" size="9" 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="-13" x1="10" y2="1" x2="10" />
<ellipse width="3" x="18.5" y="-1.5" antialias="true" height="3" style="line-style:normal;line-weight:normal;filling:none;color:black" />
<ellipse width="3" x="8.5" y="-16.5" antialias="true" height="3" style="line-style:normal;line-weight:normal;filling:none;color:black" />
<ellipse width="3" x="-1.5" y="-1.5" antialias="true" height="3" 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="2" 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="2" x1="20" 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="-17" x1="10" y2="-30" x2="10" />
<terminal x="0" y="10" orientation="s" />
<terminal x="20" y="10" orientation="s" />
<terminal x="10" y="-30" orientation="n" />
</description>
</definition>

View File

@@ -0,0 +1,20 @@
<definition width="30" version="0.2" hotspot_x="10" hotspot_y="25" height="50" type="element" orientation="dnny" >
<names>
<name lang="ru" >Переключатель</name>
<name lang="en" >Switch</name>
<name lang="fr" >Interrupteur</name>
<name lang="es" >Interruptor</name>
<name lang="cs" >Spínač</name>
<name lang="pt" >Interruptor</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="-10" x1="-5" y2="10" x2="0" y3="20" x3="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="-20" x1="0" y2="-12.5" x2="0" />
<input x="2.75" y="3" size="9" text="_" />
<circle x="-1.75" y="-11.75" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" diameter="3.5" />
<terminal x="0" y="-21" orientation="n" />
<terminal x="0" y="21" orientation="s" />
</description>
</definition>

View File

@@ -0,0 +1,10 @@
<qet-directory>
<names>
<name lang="ru" >переключателей</name>
<name lang="en" >Switchs</name>
<name lang="fr" >Interrupteurs</name>
<name lang="es" >Interruptores</name>
<name lang="pt" >Interruptores</name>
<name lang="cs" >Spínače</name>
</names>
</qet-directory>

View File

@@ -1,17 +1,22 @@
<definition width="30" version="0.1" hotspot_x="15" hotspot_y="25" height="50" type="element" orientation="dnny" >
<definition width="30" version="0.2" hotspot_x="15" hotspot_y="25" height="50" type="element" orientation="dnny" >
<names>
<name lang="ru" >Кнопка (НР)</name>
<name lang="en" >Push-button</name>
<name lang="fr" >Bouton poussoir</name>
<name lang="es" >Pulsador</name>
<name lang="cs" >Tlačítko</name>
<name lang="pt" >Botão de pressão (NA)</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="0" y2="-10" x2="0" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="0" y2="20" x2="0" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="-5" y2="10" x2="0" />
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-10" x1="-5" y2="10" x2="0" y3="20" x3="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="-20" x1="0" y2="-10" x2="0" />
<input x="2.75" y="3" size="9" text="_" />
<line antialias="false" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="-5" x1="-10" y2="5" x2="-10" />
<line antialias="false" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="0" x1="-10" y2="0" x2="-3" />
<line antialias="false" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="-5" x1="-10" y2="-5" x2="-7" />
<line antialias="false" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="5" x1="-10" y2="5" x2="-7" />
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;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:dashed;line-weight:thin;filling:none;color:black" y1="0" x1="-10" y2="0" x2="-3" />
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="-5" x1="-10" y2="-5" x2="-7" />
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="5" x1="-10" y2="5" x2="-7" />
<terminal x="0" y="-21" orientation="n" />
<terminal x="0" y="21" orientation="s" />
</description>

View File

@@ -1,18 +1,23 @@
<definition width="30" version="0.1" hotspot_x="15" hotspot_y="25" height="50" type="element" orientation="dnny" >
<definition width="30" version="0.2" hotspot_x="15" hotspot_y="25" height="50" type="element" orientation="dnny" >
<names>
<name lang="ru" >Кнопка (НЗ)</name>
<name lang="en" >Push-button (NC)</name>
<name lang="fr" >Bouton poussoir (NF)</name>
<name lang="es" >Pulsador (NC)</name>
<name lang="cs" >Tlačítko (NC)</name>
<name lang="pt" >Botão de pressão (NC)</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-9" x1="0" y2="-9" x2="6" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="0" y2="-9" x2="0" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="0" y2="20" x2="0" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="5" y2="10" x2="0" />
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-10" x1="5" y2="10" x2="0" y3="20" x3="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="-9" x1="0" y2="-9" x2="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="-20" x1="0" y2="-9" x2="0" />
<input x="5.75" y="3" size="9" text="_" />
<line antialias="false" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="-5" x1="-10" y2="5" x2="-10" />
<line antialias="false" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="0" x1="-10" y2="0" x2="3" />
<line antialias="false" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="-5" x1="-10" y2="-5" x2="-7" />
<line antialias="false" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="5" x1="-10" y2="5" x2="-7" />
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;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:dashed;line-weight:thin;filling:none;color:black" y1="0" x1="-10" y2="0" x2="3" />
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="-5" x1="-10" y2="-5" x2="-7" />
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="5" x1="-10" y2="5" x2="-7" />
<terminal x="0" y="-21" orientation="n" />
<terminal x="0" y="21" orientation="s" />
</description>

View File

@@ -1,6 +1,10 @@
<qet-directory>
<names>
<name lang="ru" >кнопок</name>
<name lang="en" >Push-buttons</name>
<name lang="fr" >Poussoirs</name>
<name lang="es" >Pulsadores</name>
<name lang="pt" >Botões de pressão</name>
<name lang="cs" >Tlačítka</name>
</names>
</qet-directory>

View File

@@ -1,13 +1,18 @@
<definition width="50" version="0.1" hotspot_x="10" hotspot_y="25" height="50" type="element" orientation="dnny" >
<definition width="50" version="0.1" hotspot_x="10" hotspot_y="25" height="50" type="element" ic="true" orientation="dnny" >
<names>
<name lang="ru" >Контакт контактора (НЗ)</name>
<name lang="en" >Contact power contactor (NC)</name>
<name lang="fr" >Contact puissance contacteur (NF)</name>
<name lang="es" >Interruptor de potencia contactor (NC)</name>
<name lang="cs" >Stykač síly vodivého spojení (NC)</name>
<name lang="pt" >Interruptor de potência contactor (NC)</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="-10" x1="5" y2="10" x2="0" y3="20" x3="0" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-9" x1="0" y2="-9" x2="6" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="0" y2="-9" x2="0" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="0" y2="20" x2="0" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="5" y2="10" x2="0" />
<input x="5.75" y="3" size="9" text="KM_" />
<arc width="5" x="-2.5" y="-14.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="90" angle="-180" />
<terminal x="0" y="21" orientation="s" />

View File

@@ -1,24 +1,27 @@
<definition width="60" version="0.1" hotspot_x="10" hotspot_y="25" height="50" type="element" orientation="dnny" >
<definition width="60" version="0.1" hotspot_x="10" hotspot_y="25" height="50" type="element" ic="true" orientation="dnny" >
<names>
<name lang="ru" >Контакт контактора (НЗ)</name>
<name lang="en" >Contact power contactor (NC)</name>
<name lang="fr" >Contact puissance contacteur (NF)</name>
<name lang="es" >Interruptor de potencia contactor (NC)</name>
<name lang="cs" >Stykač síly vodivého spojení (NC)</name>
<name lang="pt" >Interruptor de potência contactor (NC)</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="-10" x1="25" y2="10" x2="20" y3="20" x3="20" />
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-10" x1="15" y2="10" x2="10" y3="20" x3="10" />
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-10" x1="5" y2="10" x2="0" y3="20" x3="0" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-9" x1="0" y2="-9" x2="6" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="0" y2="-9" x2="0" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="0" y2="20" x2="0" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="5" y2="10" x2="0" />
<input x="25" y="3" size="9" text="KM_" />
<arc width="5" x="-2.5" y="-14.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="90" angle="-180" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-9" x1="10" y2="-9" x2="16" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="10" y2="-9" x2="10" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="10" y2="20" x2="10" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="15" y2="10" x2="10" />
<arc width="5" x="7.5" y="-14.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="90" angle="-180" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-9" x1="20" y2="-9" x2="26" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="20" y2="-9" x2="20" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="20" y2="20" x2="20" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="25" y2="10" x2="20" />
<arc width="5" x="17.5" y="-14.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="90" angle="-180" />
<terminal x="0" y="21" orientation="s" />
<terminal x="0" y="-21" orientation="n" />

View File

@@ -1,28 +1,30 @@
<definition width="70" version="0.1" hotspot_x="10" hotspot_y="25" height="50" type="element" orientation="dnny" >
<definition width="70" version="0.1" hotspot_x="10" hotspot_y="25" height="50" type="element" ic="true" orientation="dnny" >
<names>
<name lang="ru" >Контакт контактора (НЗ)</name>
<name lang="en" >Contact power contactor (NC)</name>
<name lang="fr" >Contact puissance contacteur (NF)</name>
<name lang="es" >Interruptor de potencia contactor (NC)</name>
<name lang="cs" >Stykač síly vodivého spojení (NC)</name>
<name lang="pt" >Interruptor de potência contactor (NC)</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="-10" x1="5" y2="10" x2="0" y3="20" x3="0" />
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-10" x1="35" y2="10" x2="30" y3="20" x3="30" />
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-10" x1="15" y2="10" x2="10" y3="20" x3="10" />
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-10" x1="25" y2="10" x2="20" y3="20" x3="20" />
<input x="35" y="3" size="9" text="KM_" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-9" x1="0" y2="-9" x2="6" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="0" y2="-9" x2="0" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="0" y2="20" x2="0" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="5" y2="10" x2="0" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-9" x1="10" y2="-9" x2="16" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="10" y2="-9" x2="10" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="10" y2="20" x2="10" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="15" y2="10" x2="10" />
<arc width="5" x="7.5" y="-14.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="90" angle="-180" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-9" x1="20" y2="-9" x2="26" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="20" y2="-9" x2="20" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="20" y2="20" x2="20" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="25" y2="10" x2="20" />
<arc width="5" x="17.5" y="-14.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="90" angle="-180" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-9" x1="30" y2="-9" x2="36" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="30" y2="-9" x2="30" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="30" y2="20" x2="30" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="35" y2="10" x2="30" />
<arc width="5" x="27.5" y="-14.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="90" angle="-180" />
<terminal x="0" y="21" orientation="s" />
<terminal x="0" y="-21" orientation="n" />

View File

@@ -1,29 +1,31 @@
<definition width="70" version="0.1" hotspot_x="10" hotspot_y="25" height="50" type="element" orientation="dnny" >
<definition width="70" version="0.1" hotspot_x="10" hotspot_y="25" height="50" type="element" ic="true" orientation="dnny" >
<names>
<name lang="ru" >Контакт контактора (НЗ)</name>
<name lang="en" >Contact power contactor (NC)</name>
<name lang="fr" >Contact puissance contacteur (NF)</name>
<name lang="es" >Interruptor de potencia contactor (NC)</name>
<name lang="cs" >Stykač síly vodivého spojení (NC)</name>
<name lang="pt" >Interruptor de potência contactor (NC)</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="-10" x1="15" y2="10" x2="10" y3="20" x3="10" />
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-10" x1="35" y2="10" x2="30" y3="20" x3="30" />
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-10" x1="5" y2="10" x2="0" y3="20" x3="0" />
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-10" x1="25" y2="10" x2="20" y3="20" x3="20" />
<input x="35" y="3" size="9" text="KM_" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-9" x1="0" y2="-9" x2="6" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="0" y2="-9" x2="0" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="0" y2="20" x2="0" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="5" y2="10" x2="0" />
<arc width="5" x="-2.5" y="-14.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="90" angle="-180" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-9" x1="10" y2="-9" x2="16" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="10" y2="-9" x2="10" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="10" y2="20" x2="10" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="15" y2="10" x2="10" />
<arc width="5" x="7.5" y="-14.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="90" angle="-180" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-9" x1="20" y2="-9" x2="26" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="20" y2="-9" x2="20" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="20" y2="20" x2="20" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="25" y2="10" x2="20" />
<arc width="5" x="17.5" y="-14.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="90" angle="-180" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-9" x1="30" y2="-9" x2="36" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="30" y2="-9" x2="30" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="30" y2="20" x2="30" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="35" y2="10" x2="30" />
<arc width="5" x="27.5" y="-14.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="90" angle="-180" />
<terminal x="0" y="21" orientation="s" />
<terminal x="0" y="-21" orientation="n" />

View File

@@ -1,6 +1,10 @@
<qet-directory>
<names>
<name lang="ru" >Нормально замкнутые</name>
<name lang="en" >Normally closed</name>
<name lang="fr" >Normalement fermés</name>
<name lang="es" >Normalmente cerrados</name>
<name lang="pt" >Normalmente fechados</name>
<name lang="cs" >Obvykle zavřené</name>
</names>
</qet-directory>

View File

@@ -1,12 +1,17 @@
<definition width="40" version="0.1" hotspot_x="10" hotspot_y="25" height="50" type="element" orientation="dnny" >
<definition width="40" version="0.1" hotspot_x="10" hotspot_y="25" height="50" type="element" ic="true" orientation="dnny" >
<names>
<name lang="ru" >Контакт контактора (НР)</name>
<name lang="en" >Contact power contactor</name>
<name lang="fr" >Contact puissance contacteur</name>
<name lang="es" >Interruptor de potencia contactor</name>
<name lang="cs" >Stykač síly vodivého spojení</name>
<name lang="pt" >Interruptor de potência contactor</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="-10" x1="-5" y2="10" x2="0" y3="20" x3="0" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="0" y2="-10" x2="0" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="0" y2="20" x2="0" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="-5" y2="10" x2="0" />
<input x="2.75" y="3" size="9" text="KM_" />
<arc width="5" x="-2.5" y="-14.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="-90" angle="-180" />
<terminal x="0" y="-21" orientation="n" />

View File

@@ -1,21 +1,24 @@
<definition width="60" version="0.1" hotspot_x="10" hotspot_y="25" height="50" type="element" orientation="dnny" >
<definition width="60" version="0.1" hotspot_x="10" hotspot_y="25" height="50" type="element" ic="true" orientation="dnny" >
<names>
<name lang="ru" >Контакт контактора (НР)</name>
<name lang="en" >Contact power contactor</name>
<name lang="fr" >Contact puissance contacteur</name>
<name lang="es" >Interruptor de potencia contactor</name>
<name lang="cs" >Stykač síly vodivého spojení</name>
<name lang="pt" >Interruptor de potência contactor</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="-10" x1="15" y2="10" x2="20" y3="20" x3="20" />
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-10" x1="-5" y2="10" x2="0" y3="20" x3="0" />
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-10" x1="5" y2="10" x2="10" y3="20" x3="10" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="0" y2="-10" x2="0" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="0" y2="20" x2="0" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="-5" y2="10" x2="0" />
<input x="25" y="3" size="9" text="KM_" />
<arc width="5" x="-2.5" y="-14.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="-90" angle="-180" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="10" y2="-10" x2="10" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="10" y2="20" x2="10" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="5" y2="10" x2="10" />
<arc width="5" x="7.5" y="-14.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="-90" angle="-180" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="20" y2="-10" x2="20" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="20" y2="20" x2="20" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="15" y2="10" x2="20" />
<arc width="5" x="17.5" y="-14.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="-90" angle="-180" />
<terminal x="0" y="-21" orientation="n" />
<terminal x="0" y="21" orientation="s" />

View File

@@ -1,24 +1,26 @@
<definition width="70" version="0.1" hotspot_x="10" hotspot_y="25" height="50" type="element" orientation="dnny" >
<definition width="70" version="0.1" hotspot_x="10" hotspot_y="25" height="50" type="element" ic="true" orientation="dnny" >
<names>
<name lang="ru" >Контакт контактора (НР)</name>
<name lang="en" >Contact power contactor</name>
<name lang="fr" >Contact puissance contacteur</name>
<name lang="es" >Interruptor de potencia contactor</name>
<name lang="cs" >Stykač síly vodivého spojení</name>
<name lang="pt" >Interruptor de potência contactor</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="-10" x1="5" y2="10" x2="10" y3="20" x3="10" />
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-10" x1="25" y2="10" x2="30" y3="20" x3="30" />
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-10" x1="15" y2="10" x2="20" y3="20" x3="20" />
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-10" x1="-5" y2="10" x2="0" y3="20" x3="0" />
<input x="35" y="3" size="9" text="KM_" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="0" y2="-10" x2="0" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="0" y2="20" x2="0" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="-5" y2="10" x2="0" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="10" y2="-10" x2="10" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="10" y2="20" x2="10" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="5" y2="10" x2="10" />
<arc width="5" x="7.5" y="-14.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="-90" angle="-180" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="20" y2="-10" x2="20" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="20" y2="20" x2="20" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="15" y2="10" x2="20" />
<arc width="5" x="17.5" y="-14.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="-90" angle="-180" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="30" y2="-10" x2="30" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="30" y2="20" x2="30" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="25" y2="10" x2="30" />
<arc width="5" x="27.5" y="-14.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="-90" angle="-180" />
<terminal x="0" y="-21" orientation="n" />
<terminal x="0" y="21" orientation="s" />

View File

@@ -1,25 +1,27 @@
<definition width="70" version="0.1" hotspot_x="10" hotspot_y="25" height="50" type="element" orientation="dnny" >
<definition width="70" version="0.1" hotspot_x="10" hotspot_y="25" height="50" type="element" ic="true" orientation="dnny" >
<names>
<name lang="ru" >Контакт контактора (НР)</name>
<name lang="en" >Contact power contactor</name>
<name lang="fr" >Contact puissance contacteur</name>
<name lang="es" >Interruptor de potencia contactor</name>
<name lang="cs" >Stykač síly vodivého spojení</name>
<name lang="pt" >Interruptor de potência contactor</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="-10" x1="5" y2="10" x2="10" y3="20" x3="10" />
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-10" x1="25" y2="10" x2="30" y3="20" x3="30" />
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-10" x1="15" y2="10" x2="20" y3="20" x3="20" />
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-10" x1="-5" y2="10" x2="0" y3="20" x3="0" />
<input x="35" y="3" size="9" text="KM_" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="0" y2="-10" x2="0" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="0" y2="20" x2="0" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="-5" y2="10" x2="0" />
<arc width="5" x="-2.5" y="-14.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="-90" angle="-180" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="10" y2="-10" x2="10" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="10" y2="20" x2="10" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="5" y2="10" x2="10" />
<arc width="5" x="7.5" y="-14.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="-90" angle="-180" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="20" y2="-10" x2="20" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="20" y2="20" x2="20" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="15" y2="10" x2="20" />
<arc width="5" x="17.5" y="-14.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="-90" angle="-180" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="30" y2="-10" x2="30" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="30" y2="20" x2="30" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="25" y2="10" x2="30" />
<arc width="5" x="27.5" y="-14.5" antialias="true" height="5" style="line-style:normal;line-weight:normal;filling:none;color:black" start="-90" angle="-180" />
<terminal x="0" y="-21" orientation="n" />
<terminal x="0" y="21" orientation="s" />

View File

@@ -1,6 +1,10 @@
<qet-directory>
<names>
<name lang="ru" >Нормально разомкнутые</name>
<name lang="en" >Normally open</name>
<name lang="fr" >Normalement ouverts</name>
<name lang="es" >Normalemente abiertos</name>
<name lang="pt" >Normalmente abertos</name>
<name lang="cs" >Obvykle otevřené</name>
</names>
</qet-directory>

View File

@@ -1,6 +1,10 @@
<qet-directory>
<names>
<name lang="ru" >контактора</name>
<name lang="en" >Power</name>
<name lang="fr" >Puissance</name>
<name lang="es" >Potencia</name>
<name lang="pt" >Potência</name>
<name lang="cs" >Síla</name>
</names>
</qet-directory>

View File

@@ -1,6 +1,10 @@
<qet-directory>
<names>
<name lang="ru" >Контакты</name>
<name lang="en" >Contacts</name>
<name lang="fr" >Contacts</name>
<name lang="es" >Terminales</name>
<name lang="pt" >Contactos</name>
<name lang="cs" >Kontakty</name>
</names>
</qet-directory>

View File

@@ -0,0 +1,22 @@
<definition width="40" version="0.2" hotspot_x="20" hotspot_y="25" height="50" type="element" orientation="dnny" >
<names>
<name lang="ru" >Контакт теплового реле (НР)</name>
<name lang="en" >Contact relais thermique (NO)</name>
<name lang="fr" >Contact relais thermique (NO)</name>
<name lang="es" >Contacto relé térmico (NA)</name>
<name lang="cs" >Tepelné spojovací relé (NO)</name>
<name lang="pt" >Contacto relé térmico (NO)</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="-10" x1="-5" y2="10" x2="0" y3="20" x3="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="-9" y2="4" x2="-9" />
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" x1="-7" y2="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="0" x1="-3" y2="0" x2="-9" />
<input x="2.75" y="3" size="9" text="F_" />
<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="-10" x2="0" />
<terminal x="0" y="-21" orientation="n" />
<terminal x="0" y="21" orientation="s" />
</description>
</definition>

View File

@@ -0,0 +1,23 @@
<definition width="30" version="0.2" hotspot_x="10" hotspot_y="25" height="50" type="element" orientation="dnny" >
<names>
<name lang="ru" >Контакт теплового реле (НЗ)</name>
<name lang="en" >Contact relais thermique (NC)</name>
<name lang="fr" >Contact relais thermique (NF)</name>
<name lang="es" >Contacto relé térmico (NC)</name>
<name lang="cs" >Tepelné spojovací relé (NC)</name>
<name lang="pt" >Contacto relé térmico (NC)</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="-10" x1="5" y2="10" x2="0" y3="20" x3="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="-4" y2="4" x2="-4" />
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" x1="-2" y2="2" x2="-2" />
<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="2" y2="0" x2="-4" />
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-9" x1="0" y2="-9" x2="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="-20" x1="0" y2="-9" x2="0" />
<input x="5.75" y="3" size="9" text="F_" />
<terminal x="0" y="-21" orientation="n" />
<terminal x="0" y="21" orientation="s" />
</description>
</definition>

View File

@@ -0,0 +1,10 @@
<qet-directory>
<names>
<name lang="ru" >теплового реле</name>
<name lang="en" >Thermal relays</name>
<name lang="fr" >Relais thermiques</name>
<name lang="es" >Relés térmicos</name>
<name lang="pt" >Relés térmicos</name>
<name lang="cs" >Tepelné relé</name>
</names>
</qet-directory>

View File

@@ -1,13 +1,18 @@
<definition width="30" version="0.1" hotspot_x="10" hotspot_y="25" height="50" type="element" orientation="dnny" >
<definition width="30" version="0.2" hotspot_x="10" hotspot_y="25" height="50" type="element" orientation="dnny" >
<names>
<name lang="ru" >Проктой контакт (НР)</name>
<name lang="en" >Simple contact</name>
<name lang="fr" >Contact simple</name>
<name lang="es" >Contactor simple</name>
<name lang="cs" >Jednoduché spojení</name>
<name lang="pt" >Contacto simples (NO)</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="-10" x1="-5" y2="10" x2="0" y3="20" x3="0" />
<input x="2.75" y="3" size="9" text="_" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="0" y2="-10" x2="0" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="0" y2="20" x2="0" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="-5" 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="-20" x1="0" y2="-10" x2="0" />
<terminal x="0" y="-21" orientation="n" />
<terminal x="0" y="21" orientation="s" />
</description>

View File

@@ -1,13 +1,18 @@
<definition width="30" version="0.1" hotspot_x="10" hotspot_y="25" height="50" type="element" orientation="dnny" >
<definition width="30" version="0.2" hotspot_x="10" hotspot_y="25" height="50" type="element" orientation="dnny" >
<names>
<name lang="ru" >Проктой контакт (НЗ)</name>
<name lang="en" >Simple contact (NC)</name>
<name lang="fr" >Contact simple (NF)</name>
<name lang="es" >Contactor simple (NC)</name>
<name lang="cs" >Jednoduché spojení (NC)</name>
<name lang="pt" >Contacto simples (NC)</name>
</names>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-9" x1="0" y2="-9" x2="6" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-20" x1="0" y2="-9" x2="0" />
<line antialias="false" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="0" y2="20" x2="0" />
<line antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10" x1="5" y2="10" x2="0" />
<polygon antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" closed="false" y1="-10" x1="5" y2="10" x2="0" y3="20" x3="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="-9" x1="0" y2="-9" x2="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="-20" x1="0" y2="-9" x2="0" />
<input x="5.75" y="3" size="9" text="_" />
<terminal x="0" y="-21" orientation="n" />
<terminal x="0" y="21" orientation="s" />

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