Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
958e663d
Commit
958e663d
authored
Aug 19, 2009
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pcbnew: bugs 2840153, 2840154 fixed (bug 2840150 already fixed)
parent
4117870f
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
256 additions
and
231 deletions
+256
-231
kicad.mo
internat/fr/kicad.mo
+0
-0
kicad.po
internat/fr/kicad.po
+236
-202
dialog_edit_module_text.cpp
pcbnew/dialog_edit_module_text.cpp
+10
-10
dialog_edit_module_text_base.cpp
pcbnew/dialog_edit_module_text_base.cpp
+0
-2
dialog_edit_module_text_base.fbp
pcbnew/dialog_edit_module_text_base.fbp
+1
-1
dialog_edit_module_text_base.h
pcbnew/dialog_edit_module_text_base.h
+0
-1
netlist.cpp
pcbnew/netlist.cpp
+9
-15
No files found.
internat/fr/kicad.mo
View file @
958e663d
No preview for this file type
internat/fr/kicad.po
View file @
958e663d
...
...
@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: kicad\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-08-1
7 22:02
+0100\n"
"PO-Revision-Date: 2009-08-1
7 22:02
+0100\n"
"POT-Creation-Date: 2009-08-1
9 16:53
+0100\n"
"PO-Revision-Date: 2009-08-1
9 16:58
+0100\n"
"Last-Translator: \n"
"Language-Team: kicad team <jean-pierre.charras@ujf-grenoble.fr>\n"
"MIME-Version: 1.0\n"
...
...
@@ -2165,7 +2165,7 @@ msgstr "Pas en Netliste:"
msgid "File <%s> not found, use Netlist for lib module selection"
msgstr "Fichier <%s> non trouvé, Netliste utilisée pour sélection des modules en lib."
#: pcbnew/netlist.cpp:100
7
#: pcbnew/netlist.cpp:100
3
#, c-format
msgid "Component [%s]: footprint <%s> not found"
msgstr "Composant [%s]: Module <%s> non trouvé en librairie"
...
...
@@ -3960,7 +3960,7 @@ msgstr ""
"Modèle en mode avancé, pour filtrer les noms de net en liste\n"
"Les noms de net correspondant à ce modèle ne sont pas listés"
#: pcbnew/dialog_copper_zones_base.cpp:19
4
#: pcbnew/dialog_copper_zones_base.cpp:19
7
msgid "Net:"
msgstr "Net:"
...
...
@@ -4452,6 +4452,97 @@ msgstr "Visible"
msgid "Invisible"
msgstr "Invisible"
#: pcbnew/class_board_item.cpp:27
msgid "Bezier Curve"
msgstr "Courbe de Bezier"
#: pcbnew/class_board_item.cpp:58
msgid "Footprint"
msgstr "Module"
#: pcbnew/class_board_item.cpp:64
msgid "Pad"
msgstr "Pad"
#: pcbnew/class_board_item.cpp:67
msgid "all copper layers"
msgstr "Toutes Couches Cuivre"
#: pcbnew/class_board_item.cpp:72
msgid "???"
msgstr "???"
#: pcbnew/class_board_item.cpp:73
msgid ") of "
msgstr ") de "
#: pcbnew/class_board_item.cpp:77
msgid "Pcb Graphic"
msgstr "Pcb Graphic"
#: pcbnew/class_board_item.cpp:79
#: pcbnew/class_board_item.cpp:131
msgid "Length:"
msgstr "Long.:"
#: pcbnew/class_board_item.cpp:80
#: pcbnew/class_board_item.cpp:89
#: pcbnew/class_board_item.cpp:129
#: pcbnew/class_board_item.cpp:165
#: pcbnew/class_board_item.cpp:181
#: pcbnew/class_board_item.cpp:209
#: pcbnew/class_board_item.cpp:226
msgid " on "
msgstr " sur "
#: pcbnew/class_board_item.cpp:84
msgid "Pcb Text"
msgstr "Texte Pcb"
#: pcbnew/class_board_item.cpp:96
#: pcbnew/dialog_netlist_fbp.cpp:25
msgid "Reference"
msgstr "Référence"
#: pcbnew/class_board_item.cpp:100
#: pcbnew/class_board_item.cpp:106
#: pcbnew/class_board_item.cpp:116
msgid " of "
msgstr " de "
#: pcbnew/class_board_item.cpp:113
msgid "Graphic"
msgstr "Graphique"
#: pcbnew/class_board_item.cpp:150
msgid "Not on copper layer"
msgstr "Pas sur Couches Cuivre"
#: pcbnew/class_board_item.cpp:169
#: pcbnew/class_track.cpp:904
msgid "Zone"
msgstr "Zone"
#: pcbnew/class_board_item.cpp:191
msgid "Blind/Buried"
msgstr "Borgne/Aveugle"
#: pcbnew/class_board_item.cpp:193
msgid "Micro Via"
msgstr "Micro Via"
#: pcbnew/class_board_item.cpp:221
msgid "Dimension"
msgstr "Dimension"
#: pcbnew/class_board_item.cpp:226
msgid "Target"
msgstr "Mire"
#: pcbnew/class_board_item.cpp:227
msgid "size"
msgstr "dimension"
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:22
msgid "No Display"
msgstr "Pas d'affichage"
...
...
@@ -4711,97 +4802,6 @@ msgstr "Texte PCB"
msgid "Netlist Selection:"
msgstr "Sélection de la netliste"
#: pcbnew/class_board_item.cpp:27
msgid "Bezier Curve"
msgstr "Courbe de Bezier"
#: pcbnew/class_board_item.cpp:58
msgid "Footprint"
msgstr "Module"
#: pcbnew/class_board_item.cpp:64
msgid "Pad"
msgstr "Pad"
#: pcbnew/class_board_item.cpp:67
msgid "all copper layers"
msgstr "Toutes Couches Cuivre"
#: pcbnew/class_board_item.cpp:72
msgid "???"
msgstr "???"
#: pcbnew/class_board_item.cpp:73
msgid ") of "
msgstr ") de "
#: pcbnew/class_board_item.cpp:77
msgid "Pcb Graphic"
msgstr "Pcb Graphic"
#: pcbnew/class_board_item.cpp:79
#: pcbnew/class_board_item.cpp:131
msgid "Length:"
msgstr "Long.:"
#: pcbnew/class_board_item.cpp:80
#: pcbnew/class_board_item.cpp:89
#: pcbnew/class_board_item.cpp:129
#: pcbnew/class_board_item.cpp:165
#: pcbnew/class_board_item.cpp:181
#: pcbnew/class_board_item.cpp:209
#: pcbnew/class_board_item.cpp:226
msgid " on "
msgstr " sur "
#: pcbnew/class_board_item.cpp:84
msgid "Pcb Text"
msgstr "Texte Pcb"
#: pcbnew/class_board_item.cpp:96
#: pcbnew/dialog_netlist_fbp.cpp:25
msgid "Reference"
msgstr "Référence"
#: pcbnew/class_board_item.cpp:100
#: pcbnew/class_board_item.cpp:106
#: pcbnew/class_board_item.cpp:116
msgid " of "
msgstr " de "
#: pcbnew/class_board_item.cpp:113
msgid "Graphic"
msgstr "Graphique"
#: pcbnew/class_board_item.cpp:150
msgid "Not on copper layer"
msgstr "Pas sur Couches Cuivre"
#: pcbnew/class_board_item.cpp:169
#: pcbnew/class_track.cpp:904
msgid "Zone"
msgstr "Zone"
#: pcbnew/class_board_item.cpp:191
msgid "Blind/Buried"
msgstr "Borgne/Aveugle"
#: pcbnew/class_board_item.cpp:193
msgid "Micro Via"
msgstr "Micro Via"
#: pcbnew/class_board_item.cpp:221
msgid "Dimension"
msgstr "Dimension"
#: pcbnew/class_board_item.cpp:226
msgid "Target"
msgstr "Mire"
#: pcbnew/class_board_item.cpp:227
msgid "size"
msgstr "dimension"
#: pcbnew/dialog_print_using_printer_base.cpp:35
msgid "Exclude Edges_Pcb Layer"
msgstr "Exclure Couche Contours PCB"
...
...
@@ -5215,23 +5215,23 @@ msgstr "Change Perçage"
msgid "Change Orientation"
msgstr "Change Orientation"
#: pcbnew/class_board.cpp:53
5
#: pcbnew/class_board.cpp:53
6
msgid "Nodes"
msgstr "Nodes"
#: pcbnew/class_board.cpp:53
8
#: pcbnew/class_board.cpp:53
9
msgid "Nets"
msgstr "Nets"
#: pcbnew/class_board.cpp:54
6
#: pcbnew/class_board.cpp:54
7
msgid "Links"
msgstr "Liens"
#: pcbnew/class_board.cpp:5
49
#: pcbnew/class_board.cpp:5
50
msgid "Connect"
msgstr "Connect"
#: pcbnew/class_board.cpp:55
2
#: pcbnew/class_board.cpp:55
3
msgid "NoConn"
msgstr "Non Conn"
...
...
@@ -5259,7 +5259,7 @@ msgstr "Chemin déjà en usage"
msgid "Footprint document file:"
msgstr "Documentation des Modules:"
#: pcbnew/dialog_edit_module_text.cpp:9
7
#: pcbnew/dialog_edit_module_text.cpp:9
9
msgid "Value:"
msgstr "Valeur:"
...
...
@@ -5727,9 +5727,8 @@ msgstr "Déplacement et Placement Automatique"
#: pcbnew/dialog_edit_module_for_Modedit_base.cpp:85
#: pcbnew/dialog_edit_module_for_BoardEditor_base.cpp:117
#, fuzzy
msgid "Auto Move and Place"
msgstr "Move et Place
Globaux
"
msgstr "Move et Place
Automatiques
"
#: pcbnew/dialog_edit_module_for_Modedit_base.cpp:87
#: pcbnew/dialog_edit_module_for_BoardEditor_base.cpp:119
...
...
@@ -5776,13 +5775,13 @@ msgstr "Suppr. Forme 3D:"
msgid "3D settings"
msgstr "3D Caract"
#: pcbnew/dialog_edit_module_for_Modedit.cpp:8
1
#: pcbnew/dialog_edit_module_for_BoardEditor.cpp:20
3
#: pcbnew/dialog_edit_module_for_Modedit.cpp:8
3
#: pcbnew/dialog_edit_module_for_BoardEditor.cpp:20
5
msgid "Use this attribute for most non smd components"
msgstr "Utiliser cet attribut pour la plupart des composants"
#: pcbnew/dialog_edit_module_for_Modedit.cpp:8
4
#: pcbnew/dialog_edit_module_for_BoardEditor.cpp:20
6
#: pcbnew/dialog_edit_module_for_Modedit.cpp:8
6
#: pcbnew/dialog_edit_module_for_BoardEditor.cpp:20
8
msgid ""
"Use this attribute for smd components.\n"
"Only components with this option are put in the footprint position list file"
...
...
@@ -5790,38 +5789,38 @@ msgstr ""
"Uiliser cet attribut pour les composants CMS.\n"
"Seuls les composants avec cette option sont mis dans le fichier de position des composants"
#: pcbnew/dialog_edit_module_for_Modedit.cpp:8
7
#: pcbnew/dialog_edit_module_for_BoardEditor.cpp:2
09
#: pcbnew/dialog_edit_module_for_Modedit.cpp:8
9
#: pcbnew/dialog_edit_module_for_BoardEditor.cpp:2
11
msgid "Use this attribute for \"virtual\" components drawn on board (like a old ISA PC bus connector)"
msgstr "Uiliser cet attribut pour les composants \"virtuels\" directement dessinés sur le PCB (tel que les vieux connecteurs ISA de PC)"
#: pcbnew/dialog_edit_module_for_Modedit.cpp:11
3
#: pcbnew/dialog_edit_module_for_BoardEditor.cpp:23
5
#: pcbnew/dialog_edit_module_for_Modedit.cpp:11
5
#: pcbnew/dialog_edit_module_for_BoardEditor.cpp:23
7
msgid "Enable hotkey move commands and Auto Placement"
msgstr "Autoriser les commandes clavier de déplacement et l'auto placement"
#: pcbnew/dialog_edit_module_for_Modedit.cpp:11
4
#: pcbnew/dialog_edit_module_for_BoardEditor.cpp:23
6
#: pcbnew/dialog_edit_module_for_Modedit.cpp:11
6
#: pcbnew/dialog_edit_module_for_BoardEditor.cpp:23
8
msgid "Disable hotkey move commands and Auto Placement"
msgstr "Interdire les commandes clavier de déplacement et l'auto placement"
#: pcbnew/dialog_edit_module_for_Modedit.cpp:12
3
#: pcbnew/dialog_edit_module_for_BoardEditor.cpp:24
5
#: pcbnew/dialog_edit_module_for_Modedit.cpp:12
5
#: pcbnew/dialog_edit_module_for_BoardEditor.cpp:24
7
msgid "Shape Scale:"
msgstr "Echelle de la forme:"
#: pcbnew/dialog_edit_module_for_Modedit.cpp:12
7
#: pcbnew/dialog_edit_module_for_BoardEditor.cpp:2
49
#: pcbnew/dialog_edit_module_for_Modedit.cpp:12
9
#: pcbnew/dialog_edit_module_for_BoardEditor.cpp:2
51
msgid "Shape Offset:"
msgstr "Offset forme:"
#: pcbnew/dialog_edit_module_for_Modedit.cpp:13
1
#: pcbnew/dialog_edit_module_for_BoardEditor.cpp:25
3
#: pcbnew/dialog_edit_module_for_Modedit.cpp:13
3
#: pcbnew/dialog_edit_module_for_BoardEditor.cpp:25
5
msgid "Shape Rotation:"
msgstr "Rot de la forme"
#: pcbnew/dialog_edit_module_for_Modedit.cpp:23
5
#: pcbnew/dialog_edit_module_for_BoardEditor.cpp:35
7
#: pcbnew/dialog_edit_module_for_Modedit.cpp:23
7
#: pcbnew/dialog_edit_module_for_BoardEditor.cpp:35
9
msgid "3D Shape:"
msgstr "Forme 3D:"
...
...
@@ -8426,93 +8425,63 @@ msgstr "Fond Plein"
msgid "Fill:"
msgstr "Remplissage:"
#: eeschema/edit_component_in_lib.cpp:68
msgid "Lib Component Properties"
msgstr "Propriétés du composant librairie"
#: eeschema/edit_component_in_lib.cpp:72
msgid "Properties for "
msgstr "Propriétés pour "
#: eeschema/edit_component_in_lib.cpp:77
msgid "(alias of "
msgstr "(alias de "
#: eeschema/edit_component_in_lib.cpp:105
msgid "Alias"
msgstr "Alias"
#: eeschema/edit_component_in_lib.cpp:131
#: eeschema/edit_component_in_lib.cpp:208
msgid "Delete All"
msgstr "Tout Supprimer"
#: eeschema/edit_component_in_lib.cpp:166
#: eeschema/edit_component_in_lib.cpp:800
msgid "Footprint Filter"
msgstr "Filtrage Modules"
#: eeschema/edit_component_in_lib.cpp:176
msgid "Footprints"
msgstr "Modules"
#: eeschema/edit_component_in_lib.cpp:284
msgid "Show Pin Num"
msgstr "Montre Numéro de Pin"
#: eeschema/edit_component_in_lib.cpp:494
#: eeschema/edit_component_in_lib.cpp:302
msgid "Ok to Delete Alias LIST"
msgstr "Ok pour effacer la LISTE des Alias"
#: eeschema/edit_component_in_lib.cpp:
519
#: eeschema/edit_component_in_lib.cpp:
327
msgid "New alias:"
msgstr "Noveau alias"
#: eeschema/edit_component_in_lib.cpp:
519
#: eeschema/edit_component_in_lib.cpp:
327
msgid "Component Alias"
msgstr "Alias de Composant"
#: eeschema/edit_component_in_lib.cpp:
527
#: eeschema/edit_component_in_lib.cpp:
335
msgid "This is the Root Part"
msgstr "Ceci est le composant racine"
#: eeschema/edit_component_in_lib.cpp:
536
#: eeschema/edit_component_in_lib.cpp:
811
#: eeschema/edit_component_in_lib.cpp:
344
#: eeschema/edit_component_in_lib.cpp:
619
msgid "Already in use"
msgstr "Déjà en usage"
#: eeschema/edit_component_in_lib.cpp:
561
#: eeschema/edit_component_in_lib.cpp:
369
msgid " is Current Selected Alias!"
msgstr " est l' Alias actuellement sélectionné!"
#: eeschema/edit_component_in_lib.cpp:
614
#: eeschema/edit_component_in_lib.cpp:
422
msgid "Delete units"
msgstr "Supprimer unité"
#: eeschema/edit_component_in_lib.cpp:
684
#: eeschema/edit_component_in_lib.cpp:
492
msgid "Create pins for Convert items"
msgstr "Créér les pins des unitées converties"
#: eeschema/edit_component_in_lib.cpp:
688
#: eeschema/edit_component_in_lib.cpp:
496
msgid "Part as \"De Morgan\" anymore"
msgstr "Le composant a une représentation convertie"
#: eeschema/edit_component_in_lib.cpp:
713
#: eeschema/edit_component_in_lib.cpp:
521
msgid "Delete Convert items"
msgstr "Suppression des éléments convertis"
#: eeschema/edit_component_in_lib.cpp:
747
#: eeschema/edit_component_in_lib.cpp:
555
msgid "Doc Files"
msgstr "Fichiers de Doc"
#: eeschema/edit_component_in_lib.cpp:
778
#: eeschema/edit_component_in_lib.cpp:
586
msgid "Ok to Delete FootprintFilter LIST"
msgstr "Ok pour effacer la LISTE des filtres de modules"
#: eeschema/edit_component_in_lib.cpp:
800
#: eeschema/edit_component_in_lib.cpp:
608
msgid "New FootprintFilter:"
msgstr "Nouveau Filtre de Modules:"
#: eeschema/edit_component_in_lib.cpp:608
msgid "Footprint Filter"
msgstr "Filtrage Modules"
#: eeschema/dialog_eeschema_config_fbp.cpp:20
msgid "Component library files"
msgstr "Fichiers librairies de composants"
...
...
@@ -8947,37 +8916,17 @@ msgstr "Courant"
msgid "All"
msgstr "Tout"
#: eeschema/dialog_edit_component_in_lib.cpp:134
msgid "General :"
msgstr "Général :"
#: eeschema/dialog_edit_component_in_lib.cpp:142
msgid "Number of Units:"
msgstr "Nombre de Parts:"
#: eeschema/dialog_edit_component_in_lib.cpp:170
msgid "Description:"
msgstr "Description:"
#: eeschema/dialog_edit_component_in_lib.cpp:176
msgid "Keywords:"
msgstr "Mots Clés:"
#: eeschema/dialog_edit_component_in_lib.cpp:182
msgid "DocFileName:"
msgstr "Fichier de Doc:"
#: eeschema/dialog_edit_component_in_lib.cpp:190
msgid "Copy Doc"
msgstr "Copie Doc"
#: eeschema/dialog_edit_component_in_lib.cpp:49
msgid "Lib Component Properties"
msgstr "Propriétés du composant librairie"
#: eeschema/dialog_edit_component_in_lib.cpp:
19
3
msgid "
Browse DocFiles
"
msgstr "
Examen Fichiers de Doc
"
#: eeschema/dialog_edit_component_in_lib.cpp:
5
3
msgid "
Properties for
"
msgstr "
Propriétés pour
"
#: eeschema/dialog_edit_component_in_lib.cpp:
196
msgid "
Description
"
msgstr "
Description
"
#: eeschema/dialog_edit_component_in_lib.cpp:
58
msgid "
(alias of
"
msgstr "
(alias de
"
#: eeschema/dialog_edit_label.cpp:68
msgid "Global Label Properties"
...
...
@@ -9078,8 +9027,6 @@ msgstr "Un symbole de non connexion est connecté à plus de une pin"
#: eeschema/dialog_edit_component_in_schematic.cpp:94
#: eeschema/dialog_edit_component_in_schematic.cpp:99
#: eeschema/dialog_edit_libentry_fields_in_lib.cpp:159
#: eeschema/dialog_edit_libentry_fields_in_lib.cpp:164
msgid "Pos "
msgstr "Pos "
...
...
@@ -9092,6 +9039,93 @@ msgstr "Pas de nom de composant!"
msgid "Component [%s] not found!"
msgstr "Composant [%s] non trouvé!"
#: eeschema/dialog_edit_component_in_lib_base.cpp:25
msgid "General :"
msgstr "Général :"
#: eeschema/dialog_edit_component_in_lib_base.cpp:29
msgid ""
"Check this option for components that have a De Morgan representation.\n"
"This is usual for gates."
msgstr ""
#: eeschema/dialog_edit_component_in_lib_base.cpp:33
msgid "Show Pin Num"
msgstr "Montre Numéro de Pin"
#: eeschema/dialog_edit_component_in_lib_base.cpp:35
msgid "Show or hide pin numbers"
msgstr "Affichage ou non des numéroes de pins"
#: eeschema/dialog_edit_component_in_lib_base.cpp:41
msgid "Show or hide pin names"
msgstr "Affichage ou non des noms des pins"
#: eeschema/dialog_edit_component_in_lib_base.cpp:47
msgid ""
"Check this option to have pin names inside the body and pin number outside.\n"
"If not checked pins names and pins numbers are outside."
msgstr ""
#: eeschema/dialog_edit_component_in_lib_base.cpp:62
msgid "Number of Units:"
msgstr "Nombre de Parts:"
#: eeschema/dialog_edit_component_in_lib_base.cpp:90
msgid ""
"Check this option for power symbols.\n"
"Power symbols have specific properties"
msgstr ""
"Activer cete option pour les symboles d'alimentation.\n"
"Les symboles d'alimentation ont des propriétés spécifiques"
#: eeschema/dialog_edit_component_in_lib_base.cpp:96
msgid ""
"Check this option if Eeschema cannot change parts selections inside a given package\n"
"This happens when parts are differents in this package."
msgstr ""
#: eeschema/dialog_edit_component_in_lib_base.cpp:108
msgid "Description:"
msgstr "Description:"
#: eeschema/dialog_edit_component_in_lib_base.cpp:115
msgid "Keywords:"
msgstr "Mots Clés:"
#: eeschema/dialog_edit_component_in_lib_base.cpp:122
msgid "DocFileName:"
msgstr "Fichier de Doc:"
#: eeschema/dialog_edit_component_in_lib_base.cpp:132
msgid "Copy Doc"
msgstr "Copie Doc"
#: eeschema/dialog_edit_component_in_lib_base.cpp:135
msgid "Browse DocFiles"
msgstr "Examen Fichiers de Doc"
#: eeschema/dialog_edit_component_in_lib_base.cpp:143
msgid "Description"
msgstr "Description"
#: eeschema/dialog_edit_component_in_lib_base.cpp:151
msgid "Alias List:"
msgstr "Liste des Alias:"
#: eeschema/dialog_edit_component_in_lib_base.cpp:169
#: eeschema/dialog_edit_component_in_lib_base.cpp:203
msgid "Delete All"
msgstr "Tout Supprimer"
#: eeschema/dialog_edit_component_in_lib_base.cpp:177
msgid "Alias"
msgstr "Alias"
#: eeschema/dialog_edit_component_in_lib_base.cpp:185
msgid "Footprints"
msgstr "Modules"
#: eeschema/load_one_schematic_file.cpp:70
msgid "Failed to open "
msgstr "Erreur ouverture "
...
...
@@ -11492,9 +11526,9 @@ msgstr "Afficher Modules Cmp"
msgid "Show Modules Cu"
msgstr "Afficher Modules Cu"
#: pcbnew/dialog_edit_module_text_base.h:6
4
#: pcbnew/dialog_edit_module_text_base.h:6
3
msgid "Footprint text properties"
msgstr "Propriétés du text
s sur
module"
msgstr "Propriétés du text
e du
module"
#: pcbnew/dialog_exchange_modules_base.h:57
msgid "Exchange Modules"
...
...
pcbnew/dialog_edit_module_text.cpp
View file @
958e663d
...
...
@@ -33,7 +33,7 @@ public:
~
DialogEditModuleText
()
{};
private
:
void
OnInitDialog
(
wxInitDialogEvent
&
event
);
void
Init
(
);
void
OnOkClick
(
wxCommandEvent
&
event
);
void
OnCancelClick
(
wxCommandEvent
&
event
);
};
...
...
@@ -58,20 +58,22 @@ DialogEditModuleText::DialogEditModuleText( WinEDA_BasePcbFrame* parent, TEXTE_
m_Module
=
NULL
;
m_CurrentTextMod
=
TextMod
;
if
(
m_CurrentTextMod
)
{
m_Module
=
(
MODULE
*
)
m_CurrentTextMod
->
GetParent
();
}
Init
(
);
GetSizer
()
->
Fit
(
this
);
GetSizer
()
->
SetSizeHints
(
this
);
}
void
DialogEditModuleText
::
OnCancelClick
(
wxCommandEvent
&
event
)
{
event
.
Skip
(
);
EndModal
(
0
);
}
/********************************************************/
void
DialogEditModuleText
::
OnInitDialog
(
wxInitDialogEvent
&
event
)
void
DialogEditModuleText
::
Init
(
)
/********************************************************/
{
SetFocus
();
...
...
@@ -84,7 +86,7 @@ void DialogEditModuleText::OnInitDialog( wxInitDialogEvent& event )
msg
.
Printf
(
format
,
m_Module
->
m_Reference
->
m_Text
.
GetData
(),
m_Module
->
m_Value
->
m_Text
.
GetData
(),
(
float
)
(
m_Module
->
m_Orient
/
10
)
);
(
float
)
m_Module
->
m_Orient
/
10
);
}
else
...
...
@@ -132,8 +134,6 @@ void DialogEditModuleText::OnInitDialog( wxInitDialogEvent& event )
if
(
m_CurrentTextMod
->
m_NoShow
)
m_Show
->
SetSelection
(
1
);;
GetSizer
()
->
Fit
(
this
);
GetSizer
()
->
SetSizeHints
(
this
);
}
...
...
@@ -184,7 +184,7 @@ void DialogEditModuleText::OnOkClick( wxCommandEvent& event )
int
maxthickness
=
Clamp_Text_PenSize
(
width
,
m_CurrentTextMod
->
m_Size
);
if
(
width
>
maxthickness
)
{
DisplayError
(
this
,
_
(
"The text thickness is too large for the text size. It will be clamped"
));
DisplayError
(
NULL
,
_
(
"The text thickness is too large for the text size. It will be clamped"
));
width
=
maxthickness
;
}
m_CurrentTextMod
->
SetWidth
(
width
);
...
...
@@ -203,5 +203,5 @@ void DialogEditModuleText::OnOkClick( wxCommandEvent& event )
if
(
m_Module
)
m_Module
->
m_LastEdit_Time
=
time
(
NULL
);
Close
(
TRUE
);
EndModal
(
1
);
}
pcbnew/dialog_edit_module_text_base.cpp
View file @
958e663d
...
...
@@ -117,7 +117,6 @@ DialogEditModuleText_base::DialogEditModuleText_base( wxWindow* parent, wxWindow
this
->
Layout
();
// Connect Events
this
->
Connect
(
wxEVT_INIT_DIALOG
,
wxInitDialogEventHandler
(
DialogEditModuleText_base
::
OnInitDialog
)
);
m_buttonOK
->
Connect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DialogEditModuleText_base
::
OnOkClick
),
NULL
,
this
);
m_buttonCANCEL
->
Connect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DialogEditModuleText_base
::
OnCancelClick
),
NULL
,
this
);
}
...
...
@@ -125,7 +124,6 @@ DialogEditModuleText_base::DialogEditModuleText_base( wxWindow* parent, wxWindow
DialogEditModuleText_base
::~
DialogEditModuleText_base
()
{
// Disconnect Events
this
->
Disconnect
(
wxEVT_INIT_DIALOG
,
wxInitDialogEventHandler
(
DialogEditModuleText_base
::
OnInitDialog
)
);
m_buttonOK
->
Disconnect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DialogEditModuleText_base
::
OnOkClick
),
NULL
,
this
);
m_buttonCANCEL
->
Disconnect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DialogEditModuleText_base
::
OnCancelClick
),
NULL
,
this
);
}
pcbnew/dialog_edit_module_text_base.fbp
View file @
958e663d
...
...
@@ -49,7 +49,7 @@
<event
name=
"OnHibernate"
></event>
<event
name=
"OnIconize"
></event>
<event
name=
"OnIdle"
></event>
<event
name=
"OnInitDialog"
>
OnInitDialog
</event>
<event
name=
"OnInitDialog"
></event>
<event
name=
"OnKeyDown"
></event>
<event
name=
"OnKeyUp"
></event>
<event
name=
"OnKillFocus"
></event>
...
...
pcbnew/dialog_edit_module_text_base.h
View file @
958e663d
...
...
@@ -55,7 +55,6 @@ class DialogEditModuleText_base : public wxDialog
wxButton
*
m_buttonCANCEL
;
// Virtual event handlers, overide them in your derived class
virtual
void
OnInitDialog
(
wxInitDialogEvent
&
event
){
event
.
Skip
();
}
virtual
void
OnOkClick
(
wxCommandEvent
&
event
){
event
.
Skip
();
}
virtual
void
OnCancelClick
(
wxCommandEvent
&
event
){
event
.
Skip
();
}
...
...
pcbnew/netlist.cpp
View file @
958e663d
...
...
@@ -90,7 +90,7 @@ static MODULE* ReadNetModule( WinEDA_PcbFrame* aFrame,
int
TstOnly
,
bool
Select_By_Timestamp
,
bool
aChangeFootprint
);
static
void
LoadListeModules
(
WinEDA_PcbFrame
*
aPcbFrame
,
wxDC
*
DC
);
static
void
LoadListeModules
(
WinEDA_PcbFrame
*
aPcbFrame
);
/* Variables locales */
...
...
@@ -230,7 +230,7 @@ void ReadPcbNetlist( WinEDA_PcbFrame* aFrame,
/* Load new footprints */
if
(
s_NbNewModules
)
{
LoadListeModules
(
aFrame
,
NULL
);
LoadListeModules
(
aFrame
);
// Free module list:
MODULEtoLOAD
*
item
,
*
next_item
;
...
...
@@ -340,7 +340,7 @@ void ReadPcbNetlist( WinEDA_PcbFrame* aFrame,
if
(
!
IsOK
(
NULL
,
_
(
"Ok to delete footprints not in netlist ?"
)
)
)
break
;
}
aFrame
->
Delete_Module
(
Module
,
NULL
,
false
);
Module
->
DeleteStructure
(
);
}
}
}
...
...
@@ -961,7 +961,7 @@ void AddToList( const wxString& NameLibCmp, const wxString& CmpName, const wxStr
/***************************************************************/
void
LoadListeModules
(
WinEDA_PcbFrame
*
aPcbFrame
,
wxDC
*
DC
)
void
LoadListeModules
(
WinEDA_PcbFrame
*
aPcbFrame
)
/***************************************************************/
/* Routine de chargement des nouveaux modules en une seule lecture des
...
...
@@ -973,7 +973,7 @@ void LoadListeModules( WinEDA_PcbFrame* aPcbFrame, wxDC* DC )
MODULEtoLOAD
*
ref
,
*
cmp
;
int
ii
;
MODULE
*
Module
=
NULL
;
wxPoint
OldPos
=
aPcbFrame
->
GetScreen
()
->
m_Curseur
;
wxPoint
ModuleBestPosition
;
if
(
s_NbNewModules
==
0
)
return
;
...
...
@@ -984,15 +984,11 @@ void LoadListeModules( WinEDA_PcbFrame* aPcbFrame, wxDC* DC )
// Calculate the footprint "best" position:
if
(
aPcbFrame
->
SetBoardBoundaryBoxFromEdgesOnly
()
)
{
aPcbFrame
->
GetScreen
()
->
m_Curseur
.
x
=
aPcbFrame
->
GetBoard
()
->
m_BoundaryBox
.
GetRight
()
+
5000
;
aPcbFrame
->
GetScreen
()
->
m_Curseur
.
y
=
aPcbFrame
->
GetBoard
()
->
m_BoundaryBox
.
GetBottom
()
+
10000
;
ModuleBestPosition
.
x
=
aPcbFrame
->
GetBoard
()
->
m_BoundaryBox
.
GetRight
()
+
5000
;
ModuleBestPosition
.
y
=
aPcbFrame
->
GetBoard
()
->
m_BoundaryBox
.
GetBottom
()
+
10000
;
}
else
{
aPcbFrame
->
GetScreen
()
->
m_Curseur
=
wxPoint
(
0
,
0
);
}
ModuleBestPosition
=
wxPoint
(
0
,
0
);
for
(
ii
=
0
;
ii
<
s_NbNewModules
;
ii
++
,
cmp
=
cmp
->
Next
()
)
{
...
...
@@ -1009,7 +1005,7 @@ void LoadListeModules( WinEDA_PcbFrame* aPcbFrame, wxDC* DC )
DisplayError
(
NULL
,
msg
);
continue
;
}
aPcbFrame
->
Place_Module
(
Module
,
DC
);
Module
->
SetPosition
(
ModuleBestPosition
);
/* Update schematic links : reference "Time Stamp" and schematic hierarchical path */
Module
->
m_Reference
->
m_Text
=
cmp
->
m_CmpName
;
...
...
@@ -1034,8 +1030,6 @@ void LoadListeModules( WinEDA_PcbFrame* aPcbFrame, wxDC* DC )
Module
->
m_Path
=
cmp
->
m_TimeStampPath
;
}
}
aPcbFrame
->
GetScreen
()
->
m_Curseur
=
OldPos
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment