diff --git a/aboutqet.cpp b/aboutqet.cpp
index a69d073ff..4d731a676 100644
--- a/aboutqet.cpp
+++ b/aboutqet.cpp
@@ -56,13 +56,16 @@ QWidget *AboutQET::titre() {
*/
QWidget *AboutQET::ongletAPropos() {
QLabel *apropos = new QLabel(
- tr(
- "QElectroTech, une application de "
- "r\351alisation de sch\351mas \351lectriques.\n\n\251 2006 Les "
- "d\351veloppeurs de QElectroTech\n\nMerde on n'a pas de site web"
- )
+ tr("QElectroTech, une application de r\351alisation de sch\351mas \351lectriques.") +
+ " " +
+ tr("\251 2006 Les d\351veloppeurs de QElectroTech") +
+ " "
+ ""
+ "http://qelectrotech.tuxfamily.org/ "
);
apropos -> setAlignment(Qt::AlignCenter);
+ apropos -> setOpenExternalLinks(true);
+ apropos -> setTextFormat(Qt::RichText);
return(apropos);
}
@@ -71,12 +74,21 @@ QWidget *AboutQET::ongletAPropos() {
*/
QWidget *AboutQET::ongletAuteurs() {
QLabel *auteurs = new QLabel(
- tr(
- "Id\351e originale : Beno\356t Ansieau \n\n"
- "Programmation : Xavier Guerrin "
- )
+ "" +
+ tr("Id\351e originale") +
+ " : Beno\356t Ansieau "
+ "<"
+ "benoit.ansieau@gmail.com >"
+ " "
+ "" +
+ tr("Programmation") +
+ " : Xavier Guerrin "
+ "<"
+ "xavier.guerrin@gmail.com >"
);
auteurs -> setAlignment(Qt::AlignCenter);
+ auteurs -> setOpenExternalLinks(true);
+ auteurs -> setTextFormat(Qt::RichText);
return(auteurs);
}
diff --git a/element.cpp b/element.cpp
index 0223c8d9d..a9346d3e3 100644
--- a/element.cpp
+++ b/element.cpp
@@ -112,15 +112,10 @@ QVariant Element::itemChange(GraphicsItemChange change, const QVariant &value) {
bool Element::setOrientation(Borne::Orientation o) {
// verifie que l'orientation demandee est acceptee
if (!acceptOrientation(o)) return(false);
- // on cache temporairement l'element pour eviter un bug graphique
- hide();
+ prepareGeometryChange();
// rotation en consequence et rafraichissement de l'element graphique
rotate(90.0 * (o - ori));
ori = o;
- // on raffiche l'element, on le reselectionne et on le rafraichit
- show();
- select();
- update();
return(true);
}
diff --git a/qet_en.qm b/qet_en.qm
index de38ea5fc..549e55f7b 100644
Binary files a/qet_en.qm and b/qet_en.qm differ
diff --git a/qet_en.ts b/qet_en.ts
index 75397e801..2d0d0bf49 100644
--- a/qet_en.ts
+++ b/qet_en.ts
@@ -3,478 +3,598 @@
AboutQET
-
+
À propos de QElectrotech
About QElectroTech
-
+
À &propos
&About
-
+
A&uteurs
A&uthors
-
+
&Accord de licence
&License Agreement
-
+
QElectroTech, une application de réalisation de schémas électriques.
© 2006 Les développeurs de QElectroTech
Merde on n'a pas de site web
- QElectroTech is a program to design electric schemas.
+ QElectroTech is a program to design electric schemas.
© 2006 QElectroTech Developers
Whoops, we have no website
-
+
Idée originale : Benoît Ansieau <benoit.ansieau@gmail.com>
Programmation : Xavier Guerrin <xavier.guerrin@gmail.com>
- Original idea : Benoît Ansieau <benoit.ansieau@gmail.com>
+ Original idea : Benoît Ansieau <benoit.ansieau@gmail.com>
Programming : Xavier Guerrin <xavier.guerrin@gmail.com>
-
+
Ce programme est sous licence GNU/GPL.
This program is under the GNU/GPL license.
-
+
Le fichier texte contenant la licence GNU/GPL est introuvable - bon bah de toute façon, vous la connaissez par cœur non ?
- The text file containing the GNU/GPL license could not be found - however, you know it by heart, don't you ?
+ The text file containing the GNU/GPL license could not be found - however, you know it by heart, don't you ?
-
+
Le fichier texte contenant la licence GNU/GPL existe mais n'a pas pu être ouvert - bon bah de toute façon, vous la connaissez par cœur non ?
- The text file containing the GNU/GPL license exists but could not be opened - however, you know it by heart, don't you ?
+ The text file containing the GNU/GPL license exists but could not be opened - however, you know it by heart, don't you ?
+
+
+
+ Idée originale
+ Original concept
+
+
+
+ Programmation
+ Programming
+
+
+
+ Le fichier texte contenant la licence GNU/GPL est introuvable - bon bah de toute façon, vous la connaissez par coeur non ?
+ The text file containing the GNU/GPL license could not be found - however, you know it by heart, don't you ?
+
+
+
+ Le fichier texte contenant la licence GNU/GPL existe mais n'a pas pu être ouvert - bon bah de toute façon, vous la connaissez par coeur non ?
+ The text file containing the GNU/GPL license exists but could not be opened - however, you know it by heart, don't you ?
+
+
+
+ QElectroTech, une application de réalisation de schémas électriques.
+ QElectroTech, an application to design electric plans.
+
+
+
+ © 2006 Les développeurs de QElectroTech
+ © 2006 QElectroTech developers
PanelAppareils
-
+
Ceci est un élément que vous pouvez insérer dans votre schéma par cliquer-déplacer
This is a device you can drag'n drop onto your plan
-
+
Cliquer-déposez cet élément sur le schéma pour insérer
- Drag this device to the plan to insert
+ Drag this device to the plan to insert
-
+
Contacteur
- Contact
+ Contact
-
+
un contacteur
- a contact
+ a contact
-
+
Voyant DEL
- LED light
+ LED light
-
+
une DEL
- a LED light
+ a LED light
-
+
Diode Electroluminescente
- Light-Emitting Diode
+ Light-Emitting Diode
-
+
Entrée
- Input
+ Input
-
+
une entrée
- an input
+ an input
+
+
+
+ Collection QET
+ QET Collection
+
+
+
+ Collection utilisateur
+ User Collection
+
+
+
+ Cliquer-déposez cet élément sur le schéma pour insérer un élément
+ Drag'n drop this element to the plan to insert a
QETApp
-
+
QElectroTech
QElectroTech
-
+
QElectrotech : dimensions de la zone de dessin :
QElectrotech : Size of the drawing area :
-
+
x
x
-
+
&Masquer
&Hide
-
+
&Quitter
&Quit
-
+
&Restaurer
&Show
-
+
&Fichier
&File
-
+
&Édition
&Edit
-
+
Afficha&ge
Displ&ay
-
+
O&utils
&Tools
-
+
&Configuration
&Settings
-
+
&Aide
&Help
-
+
&Nouveau
&New
-
+
&Ouvrir
&Open
-
+
&Enregistrer
&Save
-
+
Enregistrer sous
Save as
-
+
&Importer
&Import
-
+
Ctrl+Shift+I
-
+
E&xporter
&Export
-
+
Ctrl+Shift+X
-
+
Ctrl+Q
-
+
Annu&ler
&Undo
-
+
Re&faire
&Redo
-
+
Co&uper
Cu&t
-
+
Cop&ier
&Copy
-
+
C&oller
&Paste
-
+
Tout sélectionner
Select All
-
+
Désélectionner tout
Select none
-
+
Ctrl+Shift+A
-
+
Inverser la sélection
Invert selection
-
+
Ctrl+I
-
+
Cacher &la barre d'outils
Hide Too&lbar
-
+
&Mode plein écran
&Fullscreen Mode
-
+
Ctrl+Shift+F
-
+ Ctrl+Shift+F
-
+
Configurer les &barres d'outils
Configure tool&bars
-
+
&Configurer QElectroTech
- &Configure QElectroTech
+ &Configure QElectroTech
-
+
À &propos de QElectroTech
A&bout QElectroTech
-
+
À propos de &Qt
About &Qt
-
+
Désactiver l'&antialiasing
Render without &Antialiasing
-
+
Activer l'&antialiasing
Render with &Antialiasing
-
+
QElectrotech
QElectrotech
-
+
Panel d'appareils
Elements Panel
-
+
Imprimer
Print
-
+
Zoom avant
Zoom In
-
+
Zoom arrière
Zoom Out
-
+
Zoom adapté
Fit in view
-
+
Pas de zoom
Reset zoom
-
+
Mode Selection
Selection Mode
-
+
Passer en &mode plein écran
F&ullScreen Screen Mode
-
+
Sortir du &mode plein écran
Exit F&ullScreen Screen Mode
-
+
Reduire QElectroTech dans le systray
Minimize QElectroTech to the sytray
-
+
Restaurer QElectroTech
Restore QElectroTech
-
+
P
P
-
+
Ctrl+9
-
+
Ctrl+0
-
+
Afficher
Display
-
+
Outils
Tools
-
+
Exporter vers le fichier
Export to file
-
+
Image PNG (*.png)
PNG Picture (*.png)
-
+
Schema QelectroTech (*.qet)
- QElectroTech Schema (*.qet)
+ QElectroTech Schema (*.qet)
-
+
Erreur
Error
-
+
Impossible d'ecrire dans ce fichier
- Can't write to the file
+ Can't write to the file
-
+
Ouvrir un fichier
Open a file
-
+
Schema QelectroTech (*.qet);;Fichiers XML (*.xml);;Tous les fichiers (*)
QelectroTech Schema (*.qet);;XML Files (*.xml);;All Files (*)
-
+
Impossible de lire ce fichier
- Can't read that file
+ Can't read that file
-
+
Ce fichier n'est pas un document XML valide.
This file is not a valid XML Document.
-
+
Enregistrer le schéma en cours ?
- Save the current schema ?
+ Save the current schema ?
-
+
Voulez-vous enregistrer le schéma en cours ?
- Do you wish to save the current schema ?
+ Do you wish to save the current schema ?
-
+
Supprimer
Delete
-
+
Pivoter
Rotate
-
+
Mode Visualisation
View Mode
+
+
+ &Fermer
+ &Close
+
+
+
+ &Mosaïque
+ &Tile
+
+
+
+ &Cascade
+ &Cascade
+
+
+
+ Arranger les fenêtres réduites
+ Arranges iconized windows
+
+
+
+ Fenêtre suivante
+ Next Window
+
+
+
+ Fenêtre précédente
+ Previous Window
+
+
+
+ Dispose les fenêtres en mosaïque
+ Arranges windows in a tile pattern
+
+
+
+ Dispose les fenêtres en cascade
+ Arranges windows in a cascade pattern
+
+
+
+ Aligne les fenêtres réduites
+ Arranges all iconized windows at the bottom of the workspace
+
+
+
+ Active la fenêtre suivante
+ Activates the next window
+
+
+
+ Active la fenêtre précédente
+ Activates the previous window
+
+
+
+ Fe&nêtres
+ Wi&ndows
+
+
+
+ Ce fichier n'existe pas.
+ This file does not exist.
+
+
+
+ Impossible de lire ce fichier.
+ Could not read file.
+
+
+
+ Une erreur s'est produite lors de l'ouverture du fichier.
+ An error occured while opening the file.
+
Schema
-
+
Contacteur
Contact
-
+
Voyant DEL
LED light
@@ -482,19 +602,59 @@ Programming : Xavier Guerrin <xavier.guerrin@gmail.com>
SchemaVue
-
+
Contacteur
- Contact
+ Contact
-
+
Voyant DEL
- LED light
+ LED light
-
+
Entrée
- Input
+ Input
+
+
+
+ Nouveau schéma
+ New plan
+
+
+
+ Enregistrer le schéma en cours ?
+ Save the current plan ?
+
+
+
+ Voulez-vous enregistrer le schéma
+ Do you wish to save the plan
+
+
+
+ ?
+ ?
+
+
+
+ Enregistrer sous
+ Save as
+
+
+
+ Schema QelectroTech (*.qet)
+ QElectroTech Plan (*.qet)
+
+
+
+ Erreur
+ Error
+
+
+
+ Impossible d'ecrire dans ce fichier
+ Can't write to the file