pcbnew: Convert dialog_display_option from DialogBlocks to wxFormBuilder, rename files and remove typos
This commit is contained in:
parent
06ca175064
commit
9c2b4c8c37
|
@ -9,7 +9,7 @@ COMMON_GLOBL wxString g_BuildVersion
|
|||
# include "config.h"
|
||||
(wxT(KICAD_SVN_VERSION))
|
||||
# else
|
||||
(wxT("(20081214-unstable)")) /* main program version */
|
||||
(wxT("(20081221-unstable)")) /* main program version */
|
||||
# endif
|
||||
#endif
|
||||
;
|
||||
|
@ -20,7 +20,7 @@ COMMON_GLOBL wxString g_BuildAboutVersion
|
|||
# include "config.h"
|
||||
(wxT(KICAD_ABOUT_VERSION))
|
||||
# else
|
||||
(wxT("(20081214-unstable)")) /* svn date & rev (normally overridden) */
|
||||
(wxT("(20081221-unstable)")) /* svn date & rev (normally overridden) */
|
||||
# endif
|
||||
#endif
|
||||
;
|
||||
|
|
Binary file not shown.
|
@ -2,8 +2,8 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: kicad\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2008-12-20 14:10+0100\n"
|
||||
"PO-Revision-Date: 2008-12-20 14:11+0100\n"
|
||||
"POT-Creation-Date: 2008-12-21 17:50+0100\n"
|
||||
"PO-Revision-Date: 2008-12-21 17:51+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: kicad team <jean-pierre.charras@ujf-grenoble.fr>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
@ -745,44 +745,44 @@ msgstr "Effacement des Modules?"
|
|||
msgid "Delete Pcb Texts"
|
||||
msgstr "Effacer Textes Pcb"
|
||||
|
||||
#: pcbnew/class_pcb_text.cpp:163
|
||||
#: pcbnew/class_pcb_text.cpp:177
|
||||
msgid "COTATION"
|
||||
msgstr "COTATION"
|
||||
|
||||
#: pcbnew/class_pcb_text.cpp:165
|
||||
#: pcbnew/class_pcb_text.cpp:179
|
||||
msgid "PCB Text"
|
||||
msgstr "Texte Pcb"
|
||||
|
||||
#: pcbnew/class_pcb_text.cpp:167
|
||||
#: pcbnew/class_pcb_text.cpp:181
|
||||
msgid "Layer"
|
||||
msgstr "Couche"
|
||||
|
||||
#: pcbnew/class_pcb_text.cpp:171
|
||||
#: pcbnew/class_pcb_text.cpp:185
|
||||
msgid "Mirror"
|
||||
msgstr "Miroir"
|
||||
|
||||
#: pcbnew/class_pcb_text.cpp:173
|
||||
#: pcbnew/class_pcb_text.cpp:187
|
||||
msgid "No"
|
||||
msgstr "Non"
|
||||
|
||||
#: pcbnew/class_pcb_text.cpp:175
|
||||
#: pcbnew/class_pcb_text.cpp:189
|
||||
msgid "Yes"
|
||||
msgstr "Oui"
|
||||
|
||||
#: pcbnew/class_pcb_text.cpp:178
|
||||
#: pcbnew/class_pcb_text.cpp:192
|
||||
msgid "Orient"
|
||||
msgstr "Orient"
|
||||
|
||||
#: pcbnew/class_pcb_text.cpp:181
|
||||
#: pcbnew/class_pcb_text.cpp:195
|
||||
#: pcbnew/class_edge_mod.cpp:271
|
||||
msgid "Width"
|
||||
msgstr "Epaisseur"
|
||||
|
||||
#: pcbnew/class_pcb_text.cpp:184
|
||||
#: pcbnew/class_pcb_text.cpp:198
|
||||
msgid "H Size"
|
||||
msgstr "Taille H"
|
||||
|
||||
#: pcbnew/class_pcb_text.cpp:187
|
||||
#: pcbnew/class_pcb_text.cpp:201
|
||||
msgid "V Size"
|
||||
msgstr "Taille V"
|
||||
|
||||
|
@ -1631,80 +1631,6 @@ msgstr "Segment en cours d'édition"
|
|||
msgid "Delete Layer "
|
||||
msgstr "Effacer Couche"
|
||||
|
||||
#: pcbnew/dialog_display_options.cpp:186
|
||||
msgid "Tracks and vias"
|
||||
msgstr "Pistes et vias"
|
||||
|
||||
#: pcbnew/dialog_display_options.cpp:193
|
||||
msgid "Tracks:"
|
||||
msgstr "Pistes:"
|
||||
|
||||
#: pcbnew/dialog_display_options.cpp:198
|
||||
#: pcbnew/dialog_display_options.cpp:208
|
||||
msgid "Always"
|
||||
msgstr "Toujours"
|
||||
|
||||
#: pcbnew/dialog_display_options.cpp:199
|
||||
msgid "New track"
|
||||
msgstr "Nouvelle piste"
|
||||
|
||||
#: pcbnew/dialog_display_options.cpp:200
|
||||
#: pcbnew/dialog_display_options.cpp:206
|
||||
msgid "Never"
|
||||
msgstr "Jamais"
|
||||
|
||||
#: pcbnew/dialog_display_options.cpp:201
|
||||
msgid "Show Track Clearance"
|
||||
msgstr "Montrer Isolation Piste"
|
||||
|
||||
#: pcbnew/dialog_display_options.cpp:207
|
||||
msgid "defined holes"
|
||||
msgstr "Trous définis"
|
||||
|
||||
#: pcbnew/dialog_display_options.cpp:209
|
||||
msgid "Show Via Holes"
|
||||
msgstr "Montrer trous pour vias"
|
||||
|
||||
#: pcbnew/dialog_display_options.cpp:213
|
||||
msgid "Modules"
|
||||
msgstr "Modules"
|
||||
|
||||
#: pcbnew/dialog_display_options.cpp:224
|
||||
msgid "Module Texts"
|
||||
msgstr "Texte module"
|
||||
|
||||
#: pcbnew/dialog_display_options.cpp:232
|
||||
msgid "Module Edges:"
|
||||
msgstr "Contours modules:"
|
||||
|
||||
#: pcbnew/dialog_display_options.cpp:239
|
||||
msgid "Pad Options:"
|
||||
msgstr "Options Pads:"
|
||||
|
||||
#: pcbnew/dialog_display_options.cpp:246
|
||||
msgid "Pad Shapes:"
|
||||
msgstr "Forme Pads:"
|
||||
|
||||
#: pcbnew/dialog_display_options.cpp:250
|
||||
msgid "Show Pad Clearance"
|
||||
msgstr "Montrer Isolation"
|
||||
|
||||
#: pcbnew/dialog_display_options.cpp:254
|
||||
msgid "Show Pad Number"
|
||||
msgstr "Afficher le n° de pad"
|
||||
|
||||
#: pcbnew/dialog_display_options.cpp:258
|
||||
msgid "Show Pad NoConnect"
|
||||
msgstr "Montrer non conn"
|
||||
|
||||
#: pcbnew/dialog_display_options.cpp:269
|
||||
msgid "Display other items:"
|
||||
msgstr "Afficher autres éléments"
|
||||
|
||||
#: pcbnew/dialog_display_options.cpp:276
|
||||
msgid "Show page limits"
|
||||
msgstr " Afficher limites de page"
|
||||
|
||||
#: pcbnew/class_module.cpp:922
|
||||
msgid "Last Change"
|
||||
msgstr "Last Change"
|
||||
|
@ -2184,37 +2110,6 @@ msgstr "Impossible de créer le fichier "
|
|||
msgid "Drill Report file"
|
||||
msgstr "Fichier rapport de perçage:"
|
||||
|
||||
#: pcbnew/pcbtexte.cpp:88
|
||||
msgid "TextPCB properties"
|
||||
msgstr "Propriétés des textes PCB"
|
||||
|
||||
#: pcbnew/pcbtexte.cpp:123
|
||||
msgid "Text:"
|
||||
msgstr "Texte:"
|
||||
|
||||
#: pcbnew/pcbtexte.cpp:129
|
||||
#: pcbnew/cotation.cpp:125
|
||||
msgid "Size"
|
||||
msgstr "Taille "
|
||||
|
||||
#: pcbnew/pcbtexte.cpp:137
|
||||
msgid "Position"
|
||||
msgstr "Position"
|
||||
|
||||
#: pcbnew/pcbtexte.cpp:156
|
||||
msgid "Orientation"
|
||||
msgstr "Orientation"
|
||||
|
||||
#: pcbnew/pcbtexte.cpp:180
|
||||
#: pcbnew/cotation.cpp:113
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#: pcbnew/pcbtexte.cpp:181
|
||||
#: pcbnew/cotation.cpp:114
|
||||
msgid "Display"
|
||||
msgstr "Affichage"
|
||||
|
||||
#: pcbnew/plotgerb.cpp:73
|
||||
msgid "unable to create file "
|
||||
msgstr "Impossible de créer fichier "
|
||||
|
@ -2544,6 +2439,18 @@ msgstr "+/- pour commuter"
|
|||
msgid "Dimension properties"
|
||||
msgstr "Propriétés des Cotes"
|
||||
|
||||
#: pcbnew/cotation.cpp:113
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#: pcbnew/cotation.cpp:114
|
||||
msgid "Display"
|
||||
msgstr "Affichage"
|
||||
|
||||
#: pcbnew/cotation.cpp:125
|
||||
msgid "Size"
|
||||
msgstr "Taille "
|
||||
|
||||
#: pcbnew/cotation.cpp:133
|
||||
msgid "Layer:"
|
||||
msgstr "Couche:"
|
||||
|
@ -3487,6 +3394,10 @@ msgstr "horiz"
|
|||
msgid "vertical"
|
||||
msgstr "Vertical"
|
||||
|
||||
#: pcbnew/dialog_edit_mod_text.cpp:282
|
||||
msgid "Orientation"
|
||||
msgstr "Orientation"
|
||||
|
||||
#: pcbnew/dialog_edit_mod_text.cpp:287
|
||||
msgid "show"
|
||||
msgstr "Visible"
|
||||
|
@ -3499,6 +3410,10 @@ msgstr "Invisible"
|
|||
msgid "Value:"
|
||||
msgstr "Valeur:"
|
||||
|
||||
#: pcbnew/dialog_edit_mod_text.cpp:384
|
||||
msgid "Text:"
|
||||
msgstr "Texte:"
|
||||
|
||||
#: pcbnew/muwave_command.cpp:50
|
||||
msgid "Add Line"
|
||||
msgstr "Addition de lignes"
|
||||
|
@ -4063,7 +3978,6 @@ msgid "Pen Number"
|
|||
msgstr "Numéro de plume"
|
||||
|
||||
#: pcbnew/dialog_gendrill.cpp:239
|
||||
#: pcbnew/dialog_general_options.cpp:385
|
||||
msgid "Options:"
|
||||
msgstr "Options :"
|
||||
|
||||
|
@ -4273,99 +4187,6 @@ msgstr "Larg. piste: %s Diam Vias : %s"
|
|||
msgid "Drc error, cancelled"
|
||||
msgstr "Erreur DRC, annulation"
|
||||
|
||||
#: pcbnew/dialog_general_options.cpp:297
|
||||
msgid "No Display"
|
||||
msgstr "Pas d'affichage"
|
||||
|
||||
#: pcbnew/dialog_general_options.cpp:300
|
||||
msgid "Display Polar Coord"
|
||||
msgstr "Affichage coord Polaires"
|
||||
|
||||
#: pcbnew/dialog_general_options.cpp:309
|
||||
msgid "millimeters"
|
||||
msgstr "millimètres"
|
||||
|
||||
#: pcbnew/dialog_general_options.cpp:311
|
||||
msgid "Units"
|
||||
msgstr "Unités"
|
||||
|
||||
#: pcbnew/dialog_general_options.cpp:318
|
||||
msgid "Small"
|
||||
msgstr "Petit"
|
||||
|
||||
#: pcbnew/dialog_general_options.cpp:319
|
||||
msgid "Big"
|
||||
msgstr "Grand"
|
||||
|
||||
#: pcbnew/dialog_general_options.cpp:321
|
||||
msgid "Cursor"
|
||||
msgstr "Curseur"
|
||||
|
||||
#: pcbnew/dialog_general_options.cpp:333
|
||||
msgid "Number of Layers:"
|
||||
msgstr "Nombre de Couches:"
|
||||
|
||||
#: pcbnew/dialog_general_options.cpp:349
|
||||
msgid "Max Links:"
|
||||
msgstr "Liens max:"
|
||||
|
||||
#: pcbnew/dialog_general_options.cpp:365
|
||||
msgid "Auto Save (minuts):"
|
||||
msgstr "Sauveg. Auto (min)"
|
||||
|
||||
#: pcbnew/dialog_general_options.cpp:394
|
||||
msgid "Drc ON"
|
||||
msgstr "Drc ACTIVE"
|
||||
|
||||
#: pcbnew/dialog_general_options.cpp:403
|
||||
msgid "Show Ratsnest"
|
||||
msgstr "Montrer le chevelu général"
|
||||
|
||||
#: pcbnew/dialog_general_options.cpp:410
|
||||
msgid "Show Mod Ratsnest"
|
||||
msgstr "Montrer le chevelu du module"
|
||||
|
||||
#: pcbnew/dialog_general_options.cpp:417
|
||||
msgid "Tracks Auto Del"
|
||||
msgstr "Auto Supp. Pistes"
|
||||
|
||||
#: pcbnew/dialog_general_options.cpp:424
|
||||
msgid "Track only 45 degrees"
|
||||
msgstr "Piste à 45° seulement"
|
||||
|
||||
#: pcbnew/dialog_general_options.cpp:431
|
||||
msgid "Segments 45 Only"
|
||||
msgstr "Segments 45 seulement"
|
||||
|
||||
#: pcbnew/dialog_general_options.cpp:438
|
||||
msgid "Auto PAN"
|
||||
msgstr "Auto PAN"
|
||||
|
||||
#: pcbnew/dialog_general_options.cpp:446
|
||||
msgid "Double Segm Track"
|
||||
msgstr "2 segments pour piste"
|
||||
|
||||
#: pcbnew/dialog_general_options.cpp:459
|
||||
#: pcbnew/dialog_general_options.cpp:474
|
||||
msgid "When creating tracks"
|
||||
msgstr "En creation de pistes"
|
||||
|
||||
#: pcbnew/dialog_general_options.cpp:462
|
||||
msgid "Magnetic Pads"
|
||||
msgstr " Pads magnétiques"
|
||||
|
||||
#: pcbnew/dialog_general_options.cpp:469
|
||||
msgid "control the capture of the pcb cursor when the mouse cursor enters a pad area"
|
||||
msgstr "Contrôle la capture du curseur pcb quand le curseuir souris est sur un pad"
|
||||
|
||||
#: pcbnew/dialog_general_options.cpp:477
|
||||
msgid "Magnetic Tracks"
|
||||
msgstr "Pistes Magnétiques"
|
||||
|
||||
#: pcbnew/dialog_general_options.cpp:484
|
||||
msgid "control the capture of the pcb cursor when the mouse cursor enters a track"
|
||||
msgstr "Contrôle la capture du curseur pcb quand le curseuir souris est sur une piste"
|
||||
|
||||
#: pcbnew/dialog_non_copper_zones_properties_base.cpp:28
|
||||
msgid "Hatched Outline"
|
||||
msgstr "Contour Hachuré"
|
||||
|
@ -4379,7 +4200,6 @@ msgid "Outlines Appearence"
|
|||
msgstr "Aspect des Contours"
|
||||
|
||||
#: pcbnew/dialog_non_copper_zones_properties_base.cpp:34
|
||||
#: pcbnew/dialog_copper_zones_base.cpp:101
|
||||
msgid "Any"
|
||||
msgstr "Tout"
|
||||
|
||||
|
@ -4861,6 +4681,84 @@ msgstr "Couche dessin"
|
|||
msgid "No pads or starting point found to fill this zone outline"
|
||||
msgstr "Pas de pads ou de points de départ pour remplir ce contour de zone"
|
||||
|
||||
#: pcbnew/dialog_display_options_base.cpp:20
|
||||
msgid "Tracks and vias:"
|
||||
msgstr "Pistes et vias:"
|
||||
|
||||
#: pcbnew/dialog_display_options_base.cpp:24
|
||||
msgid "Tracks:"
|
||||
msgstr "Pistes:"
|
||||
|
||||
#: pcbnew/dialog_display_options_base.cpp:28
|
||||
#: pcbnew/dialog_display_options_base.cpp:34
|
||||
msgid "Always"
|
||||
msgstr "Toujours"
|
||||
|
||||
#: pcbnew/dialog_display_options_base.cpp:28
|
||||
msgid "New track"
|
||||
msgstr "Nouvelle piste"
|
||||
|
||||
#: pcbnew/dialog_display_options_base.cpp:28
|
||||
#: pcbnew/dialog_display_options_base.cpp:34
|
||||
msgid "Never"
|
||||
msgstr "Jamais"
|
||||
|
||||
#: pcbnew/dialog_display_options_base.cpp:30
|
||||
msgid "Show Tracks Clearance:"
|
||||
msgstr "Montrer Isolation Piste:"
|
||||
|
||||
#: pcbnew/dialog_display_options_base.cpp:34
|
||||
msgid "defined holes"
|
||||
msgstr "Trous définis"
|
||||
|
||||
#: pcbnew/dialog_display_options_base.cpp:36
|
||||
msgid "Show Via Holes:"
|
||||
msgstr "Montrer trous des vias:"
|
||||
|
||||
#: pcbnew/dialog_display_options_base.cpp:43
|
||||
msgid "Footprints:"
|
||||
msgstr "Modules:"
|
||||
|
||||
#: pcbnew/dialog_display_options_base.cpp:50
|
||||
msgid "Module Edges:"
|
||||
msgstr "Contours modules:"
|
||||
|
||||
#: pcbnew/dialog_display_options_base.cpp:56
|
||||
msgid "Texts:"
|
||||
msgstr "Textes:"
|
||||
|
||||
#: pcbnew/dialog_display_options_base.cpp:63
|
||||
msgid "Pad Options:"
|
||||
msgstr "Options Pads:"
|
||||
|
||||
#: pcbnew/dialog_display_options_base.cpp:67
|
||||
msgid "Pad Shapes:"
|
||||
msgstr "Forme Pads:"
|
||||
|
||||
#: pcbnew/dialog_display_options_base.cpp:71
|
||||
msgid "Show Pad Clearance"
|
||||
msgstr "Montrer Isolation"
|
||||
|
||||
#: pcbnew/dialog_display_options_base.cpp:75
|
||||
msgid "Show Pad Number"
|
||||
msgstr "Afficher le n° de pad"
|
||||
|
||||
#: pcbnew/dialog_display_options_base.cpp:80
|
||||
msgid "Show Pad NoConnect"
|
||||
msgstr "Montrer non conn"
|
||||
|
||||
#: pcbnew/dialog_display_options_base.cpp:93
|
||||
msgid "Others:"
|
||||
msgstr "Autres:"
|
||||
|
||||
#: pcbnew/dialog_display_options_base.cpp:97
|
||||
msgid "Display other items:"
|
||||
msgstr "Afficher autres éléments"
|
||||
|
||||
#: pcbnew/dialog_display_options_base.cpp:103
|
||||
msgid "Show page limits"
|
||||
msgstr " Afficher limites de page"
|
||||
|
||||
#: pcbnew/dialog_edit_module.cpp:40
|
||||
msgid "Module properties"
|
||||
msgstr "Propriétés du Module"
|
||||
|
@ -4887,6 +4785,11 @@ msgstr "Y"
|
|||
msgid "Change module(s)"
|
||||
msgstr "Change module(s)"
|
||||
|
||||
#: pcbnew/dialog_edit_module.cpp:195
|
||||
#: pcbnew/dialog_pcb_text_properties.cpp:122
|
||||
msgid "Position"
|
||||
msgstr "Position"
|
||||
|
||||
#: pcbnew/dialog_edit_module.cpp:220
|
||||
msgid "Doc"
|
||||
msgstr "Doc"
|
||||
|
@ -5020,6 +4923,18 @@ msgstr "Référence ou Valeur ne peut etre effacée"
|
|||
msgid "Delete [%s]"
|
||||
msgstr "Supprimer [%s]"
|
||||
|
||||
#: pcbnew/dialog_pcb_text_properties.cpp:74
|
||||
msgid "TextPCB properties"
|
||||
msgstr "Propriétés des textes PCB"
|
||||
|
||||
#: pcbnew/dialog_pcb_text_properties.cpp:176
|
||||
msgid "Italic"
|
||||
msgstr "Italique"
|
||||
|
||||
#: pcbnew/dialog_pcb_text_properties.cpp:177
|
||||
msgid "Style"
|
||||
msgstr "Style"
|
||||
|
||||
#: pcbnew/class_track.cpp:912
|
||||
msgid "Flags"
|
||||
msgstr "Flags"
|
||||
|
@ -5028,6 +4943,189 @@ msgstr "Flags"
|
|||
msgid "Diam"
|
||||
msgstr "Diam"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:22
|
||||
msgid "No Display"
|
||||
msgstr "Pas d'affichage"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:24
|
||||
msgid "Display Polar Coord"
|
||||
msgstr "Affichage coord Polaires"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:26
|
||||
msgid ""
|
||||
"Activates the display of relative coordinates from relative origin (set by the space key)\n"
|
||||
"to the cursor, in polar coordinates (angle and distance)"
|
||||
msgstr ""
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:32
|
||||
msgid "Units"
|
||||
msgstr "Unités"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:34
|
||||
msgid "Selection of units used to display dimensions and positions of items"
|
||||
msgstr "Sélection des unités pour afficher les dimensions et positions des items"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:38
|
||||
msgid "Smass cross"
|
||||
msgstr "Petite crois"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:38
|
||||
msgid "Full screen cursor"
|
||||
msgstr "Curseur plein écran"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:40
|
||||
msgid "Cursor"
|
||||
msgstr "Curseur"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:42
|
||||
msgid "Main cursor shape selection (small cross or large cursor)"
|
||||
msgstr ""
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:51
|
||||
msgid "1"
|
||||
msgstr "1"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:51
|
||||
msgid "2"
|
||||
msgstr "2"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:51
|
||||
msgid "4"
|
||||
msgstr "4"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:51
|
||||
msgid "6"
|
||||
msgstr "6"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:51
|
||||
msgid "8"
|
||||
msgstr "8"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:51
|
||||
msgid "10"
|
||||
msgstr "10"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:51
|
||||
msgid "12"
|
||||
msgstr "12"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:51
|
||||
msgid "14"
|
||||
msgstr "14"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:51
|
||||
msgid "16"
|
||||
msgstr "16"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:55
|
||||
msgid "Active copper layers count selection"
|
||||
msgstr ""
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:59
|
||||
msgid "Max Links:"
|
||||
msgstr "Liens max:"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:64
|
||||
msgid "Adjust the number of ratsnets shown from cursor to closest pads"
|
||||
msgstr ""
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:68
|
||||
msgid "Auto Save (minuts):"
|
||||
msgstr "Sauveg. Auto (min)"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:73
|
||||
msgid "Delay after the first change to create a backup file of the board on disk."
|
||||
msgstr ""
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:82
|
||||
msgid "Drc ON"
|
||||
msgstr "Drc ACTIVE"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:85
|
||||
msgid ""
|
||||
"Enable/disable the DRC control.\n"
|
||||
"When DRC is disable, all connections are allowed."
|
||||
msgstr ""
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:89
|
||||
msgid "Show Ratsnest"
|
||||
msgstr "Montrer le chevelu général"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:91
|
||||
msgid "Show (or not) the full rastnest."
|
||||
msgstr "Montrer(ou not) le chevelu complet"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:95
|
||||
msgid "Show Mod Ratsnest"
|
||||
msgstr "Montrer le chevelu du module"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:97
|
||||
msgid ""
|
||||
"Shows (or not) the local ratsnest relative to a footprint, when moving it.\n"
|
||||
"This ratsnest is useful to place a footprint."
|
||||
msgstr ""
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:101
|
||||
msgid "Tracks Auto Del"
|
||||
msgstr "Auto Supp. Pistes"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:103
|
||||
msgid "Enable/disable the automatic track deletion when recreating a track."
|
||||
msgstr ""
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:107
|
||||
msgid "Track only 45 degrees"
|
||||
msgstr "Piste à 45° seulement"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:109
|
||||
msgid "If enabled, force tracks directions to H, V or 45 degrees, when creating a track."
|
||||
msgstr "Si activé, frorce la direction des pistes à H, V ou 45° en creation de piste"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:113
|
||||
msgid "Segments 45 Only"
|
||||
msgstr "Segments 45 seulement"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:115
|
||||
msgid "If enabled, force segments directions to H, V or 45 degrees, when creating a segment on technical layers."
|
||||
msgstr "Si activé, frorce la direction des segments à H, V ou 45° en creation de segments sur couches techniques"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:119
|
||||
msgid "Auto PAN"
|
||||
msgstr "Auto PAN"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:121
|
||||
msgid "Allows auto pan when creating a track, or moving an item."
|
||||
msgstr ""
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:125
|
||||
msgid "Double Segm Track"
|
||||
msgstr "2 segments pour piste"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:127
|
||||
msgid "If enabled, uses two track segments, with 45 degrees angle between them when creating a new track "
|
||||
msgstr ""
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:136
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:144
|
||||
msgid "When creating tracks"
|
||||
msgstr "En creation de pistes"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:138
|
||||
msgid "Magnetic Pads"
|
||||
msgstr " Pads magnétiques"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:140
|
||||
msgid "control the capture of the pcb cursor when the mouse cursor enters a pad area"
|
||||
msgstr "Contrôle la capture du curseur pcb quand le curseuir souris est sur un pad"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:146
|
||||
msgid "Magnetic Tracks"
|
||||
msgstr "Pistes Magnétiques"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.cpp:148
|
||||
msgid "Control the capture of the pcb cursor when the mouse cursor enters a track"
|
||||
msgstr "Contrôle la capture du curseur pcb quand le curseur souris passe sur une piste"
|
||||
|
||||
#: eeschema/backanno.cpp:135
|
||||
msgid "Load Stuff File"
|
||||
msgstr "Charger Fichier d'échange"
|
||||
|
@ -7571,7 +7669,6 @@ msgid "(alias of "
|
|||
msgstr "(alias de "
|
||||
|
||||
#: eeschema/edit_component_in_lib.cpp:216
|
||||
#: eeschema/dialog_edit_component_in_lib.cpp:210
|
||||
msgid "Alias"
|
||||
msgstr "Alias"
|
||||
|
||||
|
@ -7615,7 +7712,6 @@ msgid "Align top"
|
|||
msgstr "Alignement au sommet"
|
||||
|
||||
#: eeschema/edit_component_in_lib.cpp:486
|
||||
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:86
|
||||
msgid "Fields"
|
||||
msgstr "Champs"
|
||||
|
||||
|
@ -7644,7 +7740,6 @@ msgid "Vert Justify"
|
|||
msgstr "Justifié Vert."
|
||||
|
||||
#: eeschema/edit_component_in_lib.cpp:553
|
||||
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:63
|
||||
msgid "Chip Name"
|
||||
msgstr "Nom en librairie"
|
||||
|
||||
|
@ -7709,10 +7804,6 @@ msgstr "Nouveau Filtre de Modules:"
|
|||
msgid "Direction"
|
||||
msgstr "Direction"
|
||||
|
||||
#: eeschema/dialog_edit_label_base.cpp:38
|
||||
msgid "Italic"
|
||||
msgstr "Italique"
|
||||
|
||||
#: eeschema/dialog_edit_label_base.cpp:38
|
||||
msgid "Bold"
|
||||
msgstr "Gras"
|
||||
|
@ -7721,10 +7812,6 @@ msgstr "Gras"
|
|||
msgid "Bold Italic"
|
||||
msgstr "Gras Italique"
|
||||
|
||||
#: eeschema/dialog_edit_label_base.cpp:40
|
||||
msgid "Style"
|
||||
msgstr "Style"
|
||||
|
||||
#: eeschema/dialog_edit_label_base.cpp:44
|
||||
msgid "TriState"
|
||||
msgstr "3 états"
|
||||
|
@ -7781,70 +7868,34 @@ msgstr "Add Alims"
|
|||
msgid "Empty Text!"
|
||||
msgstr "Texte vide"
|
||||
|
||||
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:28
|
||||
msgid "1"
|
||||
msgstr "1"
|
||||
|
||||
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:28
|
||||
msgid "2"
|
||||
msgstr "2"
|
||||
|
||||
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:28
|
||||
msgid "3"
|
||||
msgstr "3"
|
||||
|
||||
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:28
|
||||
msgid "4"
|
||||
msgstr "4"
|
||||
|
||||
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:28
|
||||
msgid "5"
|
||||
msgstr "5"
|
||||
|
||||
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:28
|
||||
msgid "6"
|
||||
msgstr "6"
|
||||
|
||||
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:28
|
||||
msgid "7"
|
||||
msgstr "7"
|
||||
|
||||
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:28
|
||||
msgid "8"
|
||||
msgstr "8"
|
||||
|
||||
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:28
|
||||
msgid "9"
|
||||
msgstr "9"
|
||||
|
||||
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:28
|
||||
msgid "10"
|
||||
msgstr "10"
|
||||
|
||||
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:28
|
||||
msgid "11"
|
||||
msgstr "11"
|
||||
|
||||
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:28
|
||||
msgid "12"
|
||||
msgstr "12"
|
||||
|
||||
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:28
|
||||
msgid "13"
|
||||
msgstr "13"
|
||||
|
||||
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:28
|
||||
msgid "14"
|
||||
msgstr "14"
|
||||
|
||||
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:28
|
||||
msgid "15"
|
||||
msgstr "15"
|
||||
|
||||
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:28
|
||||
msgid "16"
|
||||
msgstr "16"
|
||||
|
||||
#: eeschema/dialog_edit_component_in_schematic_fbp.cpp:28
|
||||
msgid "17"
|
||||
msgstr "17"
|
||||
|
@ -8236,19 +8287,19 @@ msgstr "Pas de nom de composant!"
|
|||
msgid "Component [%s] not found!"
|
||||
msgstr "Composant [%s] non trouvé!"
|
||||
|
||||
#: eeschema/dialog_edit_label.cpp:39
|
||||
#: eeschema/dialog_edit_label.cpp:41
|
||||
msgid "Global Label properties"
|
||||
msgstr "Propriétés du Label Global"
|
||||
|
||||
#: eeschema/dialog_edit_label.cpp:43
|
||||
#: eeschema/dialog_edit_label.cpp:45
|
||||
msgid "Hierarchal Label properties"
|
||||
msgstr "Propriétés du Label Hiérarchique"
|
||||
|
||||
#: eeschema/dialog_edit_label.cpp:47
|
||||
#: eeschema/dialog_edit_label.cpp:49
|
||||
msgid "Label properties"
|
||||
msgstr "Propriétés du label"
|
||||
|
||||
#: eeschema/dialog_edit_label.cpp:51
|
||||
#: eeschema/dialog_edit_label.cpp:53
|
||||
msgid "Text properties"
|
||||
msgstr "Propriétés du texte"
|
||||
|
||||
|
@ -8776,10 +8827,6 @@ msgstr "&Contour"
|
|||
msgid "Edges:"
|
||||
msgstr "Contours:"
|
||||
|
||||
#: cvpcb/dialog_display_options.cpp:159
|
||||
msgid "Texts:"
|
||||
msgstr "Textes:"
|
||||
|
||||
#: cvpcb/dialog_display_options.cpp:166
|
||||
msgid "&Pad Filled"
|
||||
msgstr "&Pad plein"
|
||||
|
@ -8940,7 +8987,6 @@ msgid "Create New Directory"
|
|||
msgstr "Créer un nouveau Répertoire"
|
||||
|
||||
#: kicad/treeprj_frame.cpp:543
|
||||
#: kicad/kicad.cpp:381
|
||||
msgid "noname"
|
||||
msgstr "noname"
|
||||
|
||||
|
@ -9444,6 +9490,18 @@ msgstr "Pas de couche sélectionnée"
|
|||
msgid "Gerbview Options"
|
||||
msgstr "Gerbview Options "
|
||||
|
||||
#: gerbview/options.cpp:186
|
||||
msgid "millimeters"
|
||||
msgstr "millimètres"
|
||||
|
||||
#: gerbview/options.cpp:193
|
||||
msgid "Small"
|
||||
msgstr "Petit"
|
||||
|
||||
#: gerbview/options.cpp:193
|
||||
msgid "Big"
|
||||
msgstr "Grand"
|
||||
|
||||
#: gerbview/options.cpp:200
|
||||
msgid "format: 2.3"
|
||||
msgstr "Format 2.3"
|
||||
|
@ -9472,10 +9530,6 @@ msgstr "Polygones:"
|
|||
msgid "Show D codes"
|
||||
msgstr "Montrer DCodes"
|
||||
|
||||
#: gerbview/process_config.cpp:117
|
||||
msgid "Save config file"
|
||||
msgstr "Sauver config"
|
||||
|
||||
#: gerbview/gerberframe.cpp:187
|
||||
msgid "Layer modified, Continue ?"
|
||||
msgstr "Couche modifiée, Continuer ?"
|
||||
|
@ -9488,6 +9542,10 @@ msgstr "Affiche toutes les couches Gerber"
|
|||
msgid "Switch off all of the Gerber layers"
|
||||
msgstr "N'affiche pas les couches Gerber"
|
||||
|
||||
#: gerbview/gerbview_config.cpp:148
|
||||
msgid "Save config file"
|
||||
msgstr "Sauver config"
|
||||
|
||||
#: gerbview/readgerb.cpp:253
|
||||
#, c-format
|
||||
msgid "%d errors while reading Gerber file [%s]"
|
||||
|
@ -10348,10 +10406,6 @@ msgstr "Propriétés du Texte sur Module"
|
|||
msgid "dialog_freeroute_exchange"
|
||||
msgstr "dialog_freeroute_exchange"
|
||||
|
||||
#: pcbnew/dialog_general_options.h:60
|
||||
msgid "General Options"
|
||||
msgstr "Options Générales"
|
||||
|
||||
#: pcbnew/dialog_initpcb.h:38
|
||||
msgid "Global Delete"
|
||||
msgstr "Effacements Généraux"
|
||||
|
@ -10484,6 +10538,10 @@ msgstr "Afficher Modules Cmp"
|
|||
msgid "Show Modules Cu"
|
||||
msgstr "Afficher Modules Cu"
|
||||
|
||||
#: pcbnew/dialog_general_options_BoardEditor_base.h:81
|
||||
msgid "General settings"
|
||||
msgstr "Options Générales"
|
||||
|
||||
#: eeschema/annotate_dialog.h:52
|
||||
msgid "EESchema Annotation"
|
||||
msgstr "Annotation des composants"
|
||||
|
@ -10508,6 +10566,10 @@ msgstr "EESchema Erc"
|
|||
msgid "EESchema Locate"
|
||||
msgstr "Recherche"
|
||||
|
||||
#: eeschema/dialog_options.h:55
|
||||
msgid "General Options"
|
||||
msgstr "Options Générales"
|
||||
|
||||
#: eeschema/eelayer.h:35
|
||||
msgid "EESchema Colors"
|
||||
msgstr "Couleurs dans EESchema"
|
||||
|
@ -10792,6 +10854,12 @@ msgstr "Imprimer"
|
|||
msgid "Create SVG file"
|
||||
msgstr "Créer Fichier SVG"
|
||||
|
||||
#~ msgid "Modules"
|
||||
#~ msgstr "Modules"
|
||||
#~ msgid "Module Texts"
|
||||
#~ msgstr "Texte module"
|
||||
#~ msgid "Number of Layers:"
|
||||
#~ msgstr "Nombre de Couches:"
|
||||
#~ msgid "Text "
|
||||
#~ msgstr "Texte "
|
||||
#~ msgid "Text Orient:"
|
||||
|
|
|
@ -46,14 +46,14 @@ set(PCBNEW_SRCS
|
|||
deltrack.cpp
|
||||
dialog_copper_zones.cpp
|
||||
dialog_copper_zones_base.cpp
|
||||
# dialog_display_options.cpp
|
||||
dialog_display_options_base.cpp
|
||||
# dialog_drc.cpp
|
||||
dialog_edit_mod_text.cpp
|
||||
# dialog_edit_module.cpp
|
||||
dialog_freeroute_exchange.cpp
|
||||
# dialog_gendrill.cpp
|
||||
dialog_general_options.cpp
|
||||
dialog_generaloptions_BoardEditor_base.cpp
|
||||
dialog_general_options_BoardEditor_base.cpp
|
||||
# dialog_graphic_items_options.cpp
|
||||
# dialog_initpcb.cpp
|
||||
# dialog_netlist.cpp
|
||||
|
|
|
@ -1,358 +0,0 @@
|
|||
/****************************************************************/
|
||||
/* dialog_display_options.cpp - Gestion des Options d'affichage */
|
||||
/****************************************************************/
|
||||
/*
|
||||
Affichage et modifications des parametres de travail de PcbNew
|
||||
Parametres = mode d'affichage des textes et elements graphiques
|
||||
*/
|
||||
|
||||
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
|
||||
#pragma implementation "dialog_display_options.h"
|
||||
#endif
|
||||
|
||||
|
||||
#include "fctsys.h"
|
||||
#include "gr_basic.h"
|
||||
#include "macros.h"
|
||||
|
||||
#include "common.h"
|
||||
#include "pcbnew.h"
|
||||
#include "pcbplot.h"
|
||||
#include "autorout.h"
|
||||
|
||||
#include "id.h"
|
||||
|
||||
#include "protos.h"
|
||||
#include <wx/spinctrl.h>
|
||||
|
||||
#include "dialog_display_options.h"
|
||||
|
||||
|
||||
/*************************************************************************/
|
||||
void WinEDA_DisplayOptionsDialog::AcceptPcbOptions(wxCommandEvent& event)
|
||||
/*************************************************************************/
|
||||
/* Update variables with new options
|
||||
*/
|
||||
{
|
||||
if ( m_Show_Page_Limits->GetSelection() == 0 ) g_ShowPageLimits = TRUE;
|
||||
else g_ShowPageLimits = FALSE;
|
||||
|
||||
if ( m_OptDisplayTracks->GetSelection() == 1)
|
||||
DisplayOpt.DisplayPcbTrackFill = TRUE;
|
||||
else DisplayOpt.DisplayPcbTrackFill = FALSE;
|
||||
|
||||
m_Parent->m_DisplayPcbTrackFill = DisplayOpt.DisplayPcbTrackFill;
|
||||
DisplayOpt.m_DisplayViaMode = m_OptDisplayViaHole->GetSelection();
|
||||
|
||||
switch ( m_OptDisplayTracksClearance->GetSelection() )
|
||||
{
|
||||
case 0:
|
||||
DisplayOpt.DisplayTrackIsol = TRUE;
|
||||
g_ShowIsolDuringCreateTrack = TRUE;
|
||||
break;
|
||||
case 1:
|
||||
DisplayOpt.DisplayTrackIsol = FALSE;
|
||||
g_ShowIsolDuringCreateTrack = TRUE;
|
||||
break;
|
||||
case 2:
|
||||
DisplayOpt.DisplayTrackIsol = FALSE;
|
||||
g_ShowIsolDuringCreateTrack = FALSE;
|
||||
break;
|
||||
}
|
||||
|
||||
m_Parent->m_DisplayModText = DisplayOpt.DisplayModText =
|
||||
m_OptDisplayModTexts->GetSelection();
|
||||
m_Parent->m_DisplayModEdge = DisplayOpt.DisplayModEdge =
|
||||
m_OptDisplayModEdges->GetSelection();
|
||||
|
||||
if (m_OptDisplayPads->GetSelection() == 1 )
|
||||
DisplayOpt.DisplayPadFill = TRUE;
|
||||
else DisplayOpt.DisplayPadFill = FALSE;
|
||||
|
||||
m_Parent->m_DisplayPadFill = DisplayOpt.DisplayPadFill;
|
||||
|
||||
DisplayOpt.DisplayPadIsol = m_OptDisplayPadClearence->GetValue();
|
||||
|
||||
m_Parent->m_DisplayPadNum = DisplayOpt.DisplayPadNum = m_OptDisplayPadNumber->GetValue();
|
||||
|
||||
DisplayOpt.DisplayPadNoConn = m_OptDisplayPadNoConn->GetValue();
|
||||
|
||||
DisplayOpt.DisplayDrawItems = m_OptDisplayDrawings->GetSelection();
|
||||
|
||||
m_Parent->DrawPanel->Refresh(TRUE);
|
||||
|
||||
EndModal(1);
|
||||
}
|
||||
|
||||
|
||||
/*!
|
||||
* WinEDA_DisplayOptionsDialog type definition
|
||||
*/
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS( WinEDA_DisplayOptionsDialog, wxDialog )
|
||||
|
||||
/*!
|
||||
* WinEDA_DisplayOptionsDialog event table definition
|
||||
*/
|
||||
|
||||
BEGIN_EVENT_TABLE( WinEDA_DisplayOptionsDialog, wxDialog )
|
||||
|
||||
////@begin WinEDA_DisplayOptionsDialog event table entries
|
||||
EVT_BUTTON( wxID_OK, WinEDA_DisplayOptionsDialog::OnOkClick )
|
||||
|
||||
EVT_BUTTON( wxID_CANCEL, WinEDA_DisplayOptionsDialog::OnCancelClick )
|
||||
|
||||
////@end WinEDA_DisplayOptionsDialog event table entries
|
||||
|
||||
END_EVENT_TABLE()
|
||||
|
||||
/*!
|
||||
* WinEDA_DisplayOptionsDialog constructors
|
||||
*/
|
||||
|
||||
WinEDA_DisplayOptionsDialog::WinEDA_DisplayOptionsDialog( )
|
||||
{
|
||||
}
|
||||
|
||||
WinEDA_DisplayOptionsDialog::WinEDA_DisplayOptionsDialog( WinEDA_BasePcbFrame* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style )
|
||||
{
|
||||
m_Parent = parent;
|
||||
|
||||
Create(parent, id, caption, pos, size, style);
|
||||
|
||||
if ( DisplayOpt.DisplayPcbTrackFill )
|
||||
m_OptDisplayTracks->SetSelection(1);
|
||||
if ( DisplayOpt.DisplayTrackIsol )
|
||||
m_OptDisplayTracksClearance->SetSelection(0);
|
||||
else if ( g_ShowIsolDuringCreateTrack )
|
||||
m_OptDisplayTracksClearance->SetSelection(1);
|
||||
else m_OptDisplayTracksClearance->SetSelection(2);
|
||||
|
||||
if ( DisplayOpt.DisplayPadFill )
|
||||
m_OptDisplayPads->SetSelection(1);
|
||||
|
||||
m_Show_Page_Limits->SetSelection( g_ShowPageLimits ? 0 : 1);
|
||||
}
|
||||
|
||||
/*!
|
||||
* WinEDA_DisplayOptionsDialog creator
|
||||
*/
|
||||
|
||||
bool WinEDA_DisplayOptionsDialog::Create( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style )
|
||||
{
|
||||
////@begin WinEDA_DisplayOptionsDialog member initialisation
|
||||
m_OptDisplayTracks = NULL;
|
||||
m_OptDisplayTracksClearance = NULL;
|
||||
m_OptDisplayViaHole = NULL;
|
||||
m_OptDisplayModTexts = NULL;
|
||||
m_OptDisplayModEdges = NULL;
|
||||
m_OptDisplayPads = NULL;
|
||||
m_OptDisplayPadClearence = NULL;
|
||||
m_OptDisplayPadNumber = NULL;
|
||||
m_OptDisplayPadNoConn = NULL;
|
||||
m_OptDisplayDrawings = NULL;
|
||||
m_Show_Page_Limits = NULL;
|
||||
////@end WinEDA_DisplayOptionsDialog member initialisation
|
||||
|
||||
////@begin WinEDA_DisplayOptionsDialog creation
|
||||
SetExtraStyle(wxWS_EX_BLOCK_EVENTS);
|
||||
wxDialog::Create( parent, id, caption, pos, size, style );
|
||||
|
||||
CreateControls();
|
||||
if (GetSizer())
|
||||
{
|
||||
GetSizer()->SetSizeHints(this);
|
||||
}
|
||||
Centre();
|
||||
////@end WinEDA_DisplayOptionsDialog creation
|
||||
return true;
|
||||
}
|
||||
|
||||
/*!
|
||||
* Control creation for WinEDA_DisplayOptionsDialog
|
||||
*/
|
||||
|
||||
void WinEDA_DisplayOptionsDialog::CreateControls()
|
||||
{
|
||||
SetFont(*g_DialogFont);
|
||||
////@begin WinEDA_DisplayOptionsDialog content construction
|
||||
// Generated by DialogBlocks, 29/10/2007 15:06:02 (unregistered)
|
||||
|
||||
WinEDA_DisplayOptionsDialog* itemDialog1 = this;
|
||||
|
||||
wxBoxSizer* itemBoxSizer2 = new wxBoxSizer(wxHORIZONTAL);
|
||||
itemDialog1->SetSizer(itemBoxSizer2);
|
||||
|
||||
wxStaticBox* itemStaticBoxSizer3Static = new wxStaticBox(itemDialog1, wxID_ANY, _("Tracks and vias"));
|
||||
wxStaticBoxSizer* itemStaticBoxSizer3 = new wxStaticBoxSizer(itemStaticBoxSizer3Static, wxVERTICAL);
|
||||
itemBoxSizer2->Add(itemStaticBoxSizer3, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
||||
|
||||
wxArrayString m_OptDisplayTracksStrings;
|
||||
m_OptDisplayTracksStrings.Add(_("Sketch"));
|
||||
m_OptDisplayTracksStrings.Add(_("Filled"));
|
||||
m_OptDisplayTracks = new wxRadioBox( itemDialog1, ID_RADIOBOX_OPT_TRACK, _("Tracks:"), wxDefaultPosition, wxDefaultSize, m_OptDisplayTracksStrings, 1, wxRA_SPECIFY_COLS );
|
||||
m_OptDisplayTracks->SetSelection(0);
|
||||
itemStaticBoxSizer3->Add(m_OptDisplayTracks, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxArrayString m_OptDisplayTracksClearanceStrings;
|
||||
m_OptDisplayTracksClearanceStrings.Add(_("Always"));
|
||||
m_OptDisplayTracksClearanceStrings.Add(_("New track"));
|
||||
m_OptDisplayTracksClearanceStrings.Add(_("Never"));
|
||||
m_OptDisplayTracksClearance = new wxRadioBox( itemDialog1, ID_RADIOBOX_SHOWCLR, _("Show Track Clearance"), wxDefaultPosition, wxDefaultSize, m_OptDisplayTracksClearanceStrings, 1, wxRA_SPECIFY_COLS );
|
||||
m_OptDisplayTracksClearance->SetSelection(0);
|
||||
itemStaticBoxSizer3->Add(m_OptDisplayTracksClearance, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxArrayString m_OptDisplayViaHoleStrings;
|
||||
m_OptDisplayViaHoleStrings.Add(_("Never"));
|
||||
m_OptDisplayViaHoleStrings.Add(_("defined holes"));
|
||||
m_OptDisplayViaHoleStrings.Add(_("Always"));
|
||||
m_OptDisplayViaHole = new wxRadioBox( itemDialog1, ID_RADIOBOX_SHOW_VIAS, _("Show Via Holes"), wxDefaultPosition, wxDefaultSize, m_OptDisplayViaHoleStrings, 1, wxRA_SPECIFY_COLS );
|
||||
m_OptDisplayViaHole->SetSelection(0);
|
||||
itemStaticBoxSizer3->Add(m_OptDisplayViaHole, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxStaticBox* itemStaticBoxSizer7Static = new wxStaticBox(itemDialog1, wxID_ANY, _("Modules"));
|
||||
wxStaticBoxSizer* itemStaticBoxSizer7 = new wxStaticBoxSizer(itemStaticBoxSizer7Static, wxHORIZONTAL);
|
||||
itemBoxSizer2->Add(itemStaticBoxSizer7, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxBoxSizer* itemBoxSizer8 = new wxBoxSizer(wxVERTICAL);
|
||||
itemStaticBoxSizer7->Add(itemBoxSizer8, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxArrayString m_OptDisplayModTextsStrings;
|
||||
m_OptDisplayModTextsStrings.Add(_("Line"));
|
||||
m_OptDisplayModTextsStrings.Add(_("Filled"));
|
||||
m_OptDisplayModTextsStrings.Add(_("Sketch"));
|
||||
m_OptDisplayModTexts = new wxRadioBox( itemDialog1, ID_RADIOBOX_MODTXT, _("Module Texts"), wxDefaultPosition, wxDefaultSize, m_OptDisplayModTextsStrings, 1, wxRA_SPECIFY_COLS );
|
||||
m_OptDisplayModTexts->SetSelection(0);
|
||||
itemBoxSizer8->Add(m_OptDisplayModTexts, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxArrayString m_OptDisplayModEdgesStrings;
|
||||
m_OptDisplayModEdgesStrings.Add(_("Line"));
|
||||
m_OptDisplayModEdgesStrings.Add(_("Filled"));
|
||||
m_OptDisplayModEdgesStrings.Add(_("Sketch"));
|
||||
m_OptDisplayModEdges = new wxRadioBox( itemDialog1, ID_RADIOBOX_MOD_EDGES, _("Module Edges:"), wxDefaultPosition, wxDefaultSize, m_OptDisplayModEdgesStrings, 1, wxRA_SPECIFY_COLS );
|
||||
m_OptDisplayModEdges->SetSelection(0);
|
||||
itemBoxSizer8->Add(m_OptDisplayModEdges, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxBoxSizer* itemBoxSizer11 = new wxBoxSizer(wxVERTICAL);
|
||||
itemStaticBoxSizer7->Add(itemBoxSizer11, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxStaticBox* itemStaticBoxSizer12Static = new wxStaticBox(itemDialog1, wxID_ANY, _("Pad Options:"));
|
||||
wxStaticBoxSizer* itemStaticBoxSizer12 = new wxStaticBoxSizer(itemStaticBoxSizer12Static, wxVERTICAL);
|
||||
itemBoxSizer11->Add(itemStaticBoxSizer12, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
|
||||
|
||||
wxArrayString m_OptDisplayPadsStrings;
|
||||
m_OptDisplayPadsStrings.Add(_("Sketch"));
|
||||
m_OptDisplayPadsStrings.Add(_("Filled"));
|
||||
m_OptDisplayPads = new wxRadioBox( itemDialog1, ID_RADIOBOX_SHOWPADS, _("Pad Shapes:"), wxDefaultPosition, wxDefaultSize, m_OptDisplayPadsStrings, 1, wxRA_SPECIFY_COLS );
|
||||
m_OptDisplayPads->SetSelection(0);
|
||||
itemStaticBoxSizer12->Add(m_OptDisplayPads, 0, wxGROW|wxALL, 5);
|
||||
|
||||
m_OptDisplayPadClearence = new wxCheckBox( itemDialog1, ID_CHECKBOX_PAD_CLR, _("Show Pad Clearance"), wxDefaultPosition, wxDefaultSize, wxCHK_2STATE );
|
||||
m_OptDisplayPadClearence->SetValue(false);
|
||||
itemStaticBoxSizer12->Add(m_OptDisplayPadClearence, 0, wxGROW|wxALL, 5);
|
||||
|
||||
m_OptDisplayPadNumber = new wxCheckBox( itemDialog1, ID_CHECKBOX_PADNUM, _("Show Pad Number"), wxDefaultPosition, wxDefaultSize, wxCHK_2STATE );
|
||||
m_OptDisplayPadNumber->SetValue(false);
|
||||
itemStaticBoxSizer12->Add(m_OptDisplayPadNumber, 0, wxGROW|wxALL, 5);
|
||||
|
||||
m_OptDisplayPadNoConn = new wxCheckBox( itemDialog1, ID_CHECKBOX_PADNC, _("Show Pad NoConnect"), wxDefaultPosition, wxDefaultSize, wxCHK_2STATE );
|
||||
m_OptDisplayPadNoConn->SetValue(false);
|
||||
itemStaticBoxSizer12->Add(m_OptDisplayPadNoConn, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxBoxSizer* itemBoxSizer17 = new wxBoxSizer(wxVERTICAL);
|
||||
itemBoxSizer2->Add(itemBoxSizer17, 1, wxGROW|wxALL, 5);
|
||||
|
||||
wxArrayString m_OptDisplayDrawingsStrings;
|
||||
m_OptDisplayDrawingsStrings.Add(_("Line"));
|
||||
m_OptDisplayDrawingsStrings.Add(_("Filled"));
|
||||
m_OptDisplayDrawingsStrings.Add(_("Sketch"));
|
||||
m_OptDisplayDrawings = new wxRadioBox( itemDialog1, ID_RADIOBOX_SHOW_OTHERS, _("Display other items:"), wxDefaultPosition, wxDefaultSize, m_OptDisplayDrawingsStrings, 1, wxRA_SPECIFY_COLS );
|
||||
m_OptDisplayDrawings->SetSelection(0);
|
||||
itemBoxSizer17->Add(m_OptDisplayDrawings, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxArrayString m_Show_Page_LimitsStrings;
|
||||
m_Show_Page_LimitsStrings.Add(_("Yes"));
|
||||
m_Show_Page_LimitsStrings.Add(_("No"));
|
||||
m_Show_Page_Limits = new wxRadioBox( itemDialog1, ID_RADIOBOX_PAGE_LIMITS, _("Show page limits"), wxDefaultPosition, wxDefaultSize, m_Show_Page_LimitsStrings, 1, wxRA_SPECIFY_COLS );
|
||||
m_Show_Page_Limits->SetSelection(0);
|
||||
itemBoxSizer17->Add(m_Show_Page_Limits, 0, wxGROW|wxALL, 5);
|
||||
|
||||
itemBoxSizer17->Add(5, 5, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
|
||||
|
||||
wxButton* itemButton21 = new wxButton( itemDialog1, wxID_OK, _("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
itemButton21->SetForegroundColour(wxColour(202, 0, 0));
|
||||
itemBoxSizer17->Add(itemButton21, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxButton* itemButton22 = new wxButton( itemDialog1, wxID_CANCEL, _("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
itemButton22->SetForegroundColour(wxColour(0, 0, 255));
|
||||
itemBoxSizer17->Add(itemButton22, 0, wxGROW|wxALL, 5);
|
||||
|
||||
// Set validators
|
||||
m_OptDisplayViaHole->SetValidator( wxGenericValidator(& DisplayOpt.m_DisplayViaMode) );
|
||||
m_OptDisplayModTexts->SetValidator( wxGenericValidator(& DisplayOpt.DisplayModText) );
|
||||
m_OptDisplayModEdges->SetValidator( wxGenericValidator(& DisplayOpt.DisplayModEdge) );
|
||||
m_OptDisplayPadClearence->SetValidator( wxGenericValidator(& DisplayOpt.DisplayPadIsol) );
|
||||
m_OptDisplayPadNumber->SetValidator( wxGenericValidator(& DisplayOpt.DisplayPadNum) );
|
||||
m_OptDisplayPadNoConn->SetValidator( wxGenericValidator(& DisplayOpt.DisplayPadNoConn) );
|
||||
m_OptDisplayDrawings->SetValidator( wxGenericValidator(& DisplayOpt.DisplayDrawItems) );
|
||||
////@end WinEDA_DisplayOptionsDialog content construction
|
||||
}
|
||||
|
||||
/*!
|
||||
* Should we show tooltips?
|
||||
*/
|
||||
|
||||
bool WinEDA_DisplayOptionsDialog::ShowToolTips()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/*!
|
||||
* Get bitmap resources
|
||||
*/
|
||||
|
||||
wxBitmap WinEDA_DisplayOptionsDialog::GetBitmapResource( const wxString& name )
|
||||
{
|
||||
// Bitmap retrieval
|
||||
////@begin WinEDA_DisplayOptionsDialog bitmap retrieval
|
||||
wxUnusedVar(name);
|
||||
return wxNullBitmap;
|
||||
////@end WinEDA_DisplayOptionsDialog bitmap retrieval
|
||||
}
|
||||
|
||||
/*!
|
||||
* Get icon resources
|
||||
*/
|
||||
|
||||
wxIcon WinEDA_DisplayOptionsDialog::GetIconResource( const wxString& name )
|
||||
{
|
||||
// Icon retrieval
|
||||
////@begin WinEDA_DisplayOptionsDialog icon retrieval
|
||||
wxUnusedVar(name);
|
||||
return wxNullIcon;
|
||||
////@end WinEDA_DisplayOptionsDialog icon retrieval
|
||||
}
|
||||
/*!
|
||||
* wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_OK
|
||||
*/
|
||||
|
||||
void WinEDA_DisplayOptionsDialog::OnOkClick( wxCommandEvent& event )
|
||||
{
|
||||
AcceptPcbOptions(event);
|
||||
}
|
||||
|
||||
/*!
|
||||
* wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_CANCEL
|
||||
*/
|
||||
|
||||
void WinEDA_DisplayOptionsDialog::OnCancelClick( wxCommandEvent& event )
|
||||
{
|
||||
////@begin wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_CANCEL in WinEDA_DisplayOptionsDialog.
|
||||
// Before editing this code, remove the block markers.
|
||||
event.Skip();
|
||||
////@end wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_CANCEL in WinEDA_DisplayOptionsDialog.
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
@ -1,128 +0,0 @@
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: dialog_display_options.h
|
||||
// Purpose:
|
||||
// Author: jean-pierre Charras
|
||||
// Modified by:
|
||||
// Created: 25/02/2006 18:43:49
|
||||
// RCS-ID:
|
||||
// Copyright: License GNU
|
||||
// Licence:
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Generated by DialogBlocks (unregistered), 25/02/2006 18:43:49
|
||||
|
||||
#ifndef _DIALOG_DISPLAY_OPTIONS_H_
|
||||
#define _DIALOG_DISPLAY_OPTIONS_H_
|
||||
|
||||
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
|
||||
#pragma interface "dialog_display_options.h"
|
||||
#endif
|
||||
|
||||
/*!
|
||||
* Includes
|
||||
*/
|
||||
|
||||
////@begin includes
|
||||
#include "wx/valgen.h"
|
||||
////@end includes
|
||||
|
||||
/*!
|
||||
* Forward declarations
|
||||
*/
|
||||
|
||||
////@begin forward declarations
|
||||
////@end forward declarations
|
||||
|
||||
/*!
|
||||
* Control identifiers
|
||||
*/
|
||||
|
||||
////@begin control identifiers
|
||||
#define ID_DIALOG 10000
|
||||
#define ID_RADIOBOX_OPT_TRACK 10001
|
||||
#define ID_RADIOBOX_SHOWCLR 10002
|
||||
#define ID_RADIOBOX_SHOW_VIAS 10003
|
||||
#define ID_RADIOBOX_MODTXT 10004
|
||||
#define ID_RADIOBOX_MOD_EDGES 10005
|
||||
#define ID_RADIOBOX_SHOWPADS 10007
|
||||
#define ID_CHECKBOX_PAD_CLR 10008
|
||||
#define ID_CHECKBOX_PADNUM 10009
|
||||
#define ID_CHECKBOX_PADNC 10010
|
||||
#define ID_RADIOBOX_SHOW_OTHERS 10011
|
||||
#define ID_RADIOBOX_PAGE_LIMITS 10006
|
||||
#define SYMBOL_WINEDA_DISPLAYOPTIONSDIALOG_STYLE wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX|MAYBE_RESIZE_BORDER
|
||||
#define SYMBOL_WINEDA_DISPLAYOPTIONSDIALOG_TITLE _("Display Options")
|
||||
#define SYMBOL_WINEDA_DISPLAYOPTIONSDIALOG_IDNAME ID_DIALOG
|
||||
#define SYMBOL_WINEDA_DISPLAYOPTIONSDIALOG_SIZE wxSize(400, 300)
|
||||
#define SYMBOL_WINEDA_DISPLAYOPTIONSDIALOG_POSITION wxDefaultPosition
|
||||
////@end control identifiers
|
||||
|
||||
/*!
|
||||
* Compatibility
|
||||
*/
|
||||
|
||||
#ifndef wxCLOSE_BOX
|
||||
#define wxCLOSE_BOX 0x1000
|
||||
#endif
|
||||
|
||||
/*!
|
||||
* WinEDA_DisplayOptionsDialog class declaration
|
||||
*/
|
||||
|
||||
class WinEDA_DisplayOptionsDialog: public wxDialog
|
||||
{
|
||||
DECLARE_DYNAMIC_CLASS( WinEDA_DisplayOptionsDialog )
|
||||
DECLARE_EVENT_TABLE()
|
||||
|
||||
public:
|
||||
/// Constructors
|
||||
WinEDA_DisplayOptionsDialog( );
|
||||
WinEDA_DisplayOptionsDialog( WinEDA_BasePcbFrame* parent, wxWindowID id = SYMBOL_WINEDA_DISPLAYOPTIONSDIALOG_IDNAME, const wxString& caption = SYMBOL_WINEDA_DISPLAYOPTIONSDIALOG_TITLE, const wxPoint& pos = SYMBOL_WINEDA_DISPLAYOPTIONSDIALOG_POSITION, const wxSize& size = SYMBOL_WINEDA_DISPLAYOPTIONSDIALOG_SIZE, long style = SYMBOL_WINEDA_DISPLAYOPTIONSDIALOG_STYLE );
|
||||
|
||||
/// Creation
|
||||
bool Create( wxWindow* parent, wxWindowID id = SYMBOL_WINEDA_DISPLAYOPTIONSDIALOG_IDNAME, const wxString& caption = SYMBOL_WINEDA_DISPLAYOPTIONSDIALOG_TITLE, const wxPoint& pos = SYMBOL_WINEDA_DISPLAYOPTIONSDIALOG_POSITION, const wxSize& size = SYMBOL_WINEDA_DISPLAYOPTIONSDIALOG_SIZE, long style = SYMBOL_WINEDA_DISPLAYOPTIONSDIALOG_STYLE );
|
||||
|
||||
/// Creates the controls and sizers
|
||||
void CreateControls();
|
||||
|
||||
////@begin WinEDA_DisplayOptionsDialog event handler declarations
|
||||
|
||||
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_OK
|
||||
void OnOkClick( wxCommandEvent& event );
|
||||
|
||||
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_CANCEL
|
||||
void OnCancelClick( wxCommandEvent& event );
|
||||
|
||||
////@end WinEDA_DisplayOptionsDialog event handler declarations
|
||||
|
||||
////@begin WinEDA_DisplayOptionsDialog member function declarations
|
||||
|
||||
/// Retrieves bitmap resources
|
||||
wxBitmap GetBitmapResource( const wxString& name );
|
||||
|
||||
/// Retrieves icon resources
|
||||
wxIcon GetIconResource( const wxString& name );
|
||||
////@end WinEDA_DisplayOptionsDialog member function declarations
|
||||
|
||||
/// Should we show tooltips?
|
||||
static bool ShowToolTips();
|
||||
void AcceptPcbOptions(wxCommandEvent& event);
|
||||
|
||||
////@begin WinEDA_DisplayOptionsDialog member variables
|
||||
wxRadioBox* m_OptDisplayTracks;
|
||||
wxRadioBox* m_OptDisplayTracksClearance;
|
||||
wxRadioBox* m_OptDisplayViaHole;
|
||||
wxRadioBox* m_OptDisplayModTexts;
|
||||
wxRadioBox* m_OptDisplayModEdges;
|
||||
wxRadioBox* m_OptDisplayPads;
|
||||
wxCheckBox* m_OptDisplayPadClearence;
|
||||
wxCheckBox* m_OptDisplayPadNumber;
|
||||
wxCheckBox* m_OptDisplayPadNoConn;
|
||||
wxRadioBox* m_OptDisplayDrawings;
|
||||
wxRadioBox* m_Show_Page_Limits;
|
||||
////@end WinEDA_DisplayOptionsDialog member variables
|
||||
WinEDA_BasePcbFrame * m_Parent;
|
||||
};
|
||||
|
||||
#endif
|
||||
// _DIALOG_DISPLAY_OPTIONS_H_
|
File diff suppressed because it is too large
Load Diff
|
@ -1 +0,0 @@
|
|||
#include "wx/msw/wx.rc"
|
|
@ -1,31 +1,295 @@
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Name: dialog_general_options.cpp
|
||||
// Author: jean-pierre Charras
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/* functions relatives to the dialogs opened from the main menu :
|
||||
Prefernces/general
|
||||
Prefernces/display
|
||||
*/
|
||||
#include "fctsys.h"
|
||||
|
||||
#include "common.h"
|
||||
#include "pcbnew.h"
|
||||
|
||||
#include "id.h"
|
||||
|
||||
#include "dialog_generaloptions_BoardEditor_base.h"
|
||||
#include "dialog_general_options_BoardEditor_base.h"
|
||||
#include "dialog_display_options_base.h"
|
||||
#include "dialog_general_options.h"
|
||||
|
||||
/***********************************************************************/
|
||||
class Dialog_GeneralOptions : public DialogGeneralOptionsBoardEditor_base
|
||||
/***********************************************************************/
|
||||
/***********************************************************************************/
|
||||
Dialog_GeneralOptions::Dialog_GeneralOptions( WinEDA_PcbFrame* parent, wxDC* DC ) :
|
||||
DialogGeneralOptionsBoardEditor_base( parent )
|
||||
/***********************************************************************************/
|
||||
{
|
||||
private:
|
||||
WinEDA_PcbFrame* m_Parent;
|
||||
wxDC* m_DC;
|
||||
public:
|
||||
Dialog_GeneralOptions( WinEDA_PcbFrame* parent, wxDC* DC );
|
||||
~Dialog_GeneralOptions() {};
|
||||
void OnInitDialog( wxInitDialogEvent& event );
|
||||
void OnOkClick( wxCommandEvent& event );
|
||||
void OnCancelClick( wxCommandEvent& event );
|
||||
};
|
||||
m_Parent = parent;
|
||||
m_DC = DC;
|
||||
}
|
||||
|
||||
/********************************************************************/
|
||||
void Dialog_GeneralOptions::OnInitDialog( wxInitDialogEvent& event )
|
||||
/********************************************************************/
|
||||
{
|
||||
SetFont( *g_DialogFont );
|
||||
SetFocus();
|
||||
|
||||
|
||||
/* Set display options */
|
||||
m_PolarDisplay->SetSelection( DisplayOpt.DisplayPolarCood ? 1 : 0 );
|
||||
m_UnitsSelection->SetSelection( g_UnitMetric ? 1 : 0 );
|
||||
m_CursorShape->SetSelection( g_CursorShape ? 1 : 0 );
|
||||
|
||||
wxString timevalue;
|
||||
timevalue << g_TimeOut / 60;
|
||||
m_SaveTime->SetValue( timevalue );
|
||||
int layer_count[] = {1,2,4,6,8,10,12,14,16};
|
||||
m_LayerNumber->SetSelection(1);
|
||||
for ( unsigned ii = 0; ii < sizeof(layer_count); ii++ )
|
||||
{
|
||||
if ( g_DesignSettings.m_CopperLayerCount == layer_count[ii] )
|
||||
continue;
|
||||
m_LayerNumber->SetSelection(ii);
|
||||
break;
|
||||
}
|
||||
|
||||
m_LayerNumber->SetSelection( g_DesignSettings.m_CopperLayerCount );
|
||||
m_MaxShowLinks->SetValue( g_MaxLinksShowed );
|
||||
|
||||
m_DrcOn->SetValue( Drc_On );
|
||||
m_ShowModuleRatsnest->SetValue( g_Show_Module_Ratsnest );
|
||||
m_ShowGlobalRatsnest->SetValue( g_Show_Ratsnest );
|
||||
m_TrackAutodel->SetValue( g_AutoDeleteOldTrack );
|
||||
m_Track_45_Only_Ctrl->SetValue( Track_45_Only );
|
||||
m_Segments_45_Only_Ctrl->SetValue( Segments_45_Only );
|
||||
m_AutoPANOpt->SetValue( m_Parent->DrawPanel->m_AutoPAN_Enable );
|
||||
m_Segments_45_Only_Ctrl->SetValue( Segments_45_Only );
|
||||
m_Track_DoubleSegm_Ctrl->SetValue( g_TwoSegmentTrackBuild );
|
||||
|
||||
m_MagneticPadOptCtrl->SetSelection( g_MagneticPadOption );
|
||||
m_MagneticTrackOptCtrl->SetSelection( g_MagneticTrackOption );
|
||||
|
||||
if( GetSizer() )
|
||||
{
|
||||
GetSizer()->SetSizeHints( this );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*****************************************************************/
|
||||
void Dialog_GeneralOptions::OnCancelClick( wxCommandEvent& event )
|
||||
/*****************************************************************/
|
||||
{
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**************************************************************************/
|
||||
void Dialog_GeneralOptions::OnOkClick( wxCommandEvent& event )
|
||||
/**************************************************************************/
|
||||
{
|
||||
int ii;
|
||||
|
||||
DisplayOpt.DisplayPolarCood =
|
||||
(m_PolarDisplay->GetSelection() == 0) ? FALSE : TRUE;
|
||||
ii = g_UnitMetric;
|
||||
g_UnitMetric = (m_UnitsSelection->GetSelection() == 0) ? 0 : 1;
|
||||
if( ii != g_UnitMetric )
|
||||
m_Parent->ReCreateAuxiliaryToolbar();
|
||||
|
||||
g_CursorShape = m_CursorShape->GetSelection();
|
||||
g_TimeOut = 60 * m_SaveTime->GetValue();
|
||||
|
||||
/* Mise a jour de la combobox d'affichage de la couche active */
|
||||
int layer_count[] = {1,2,4,6,8,10,12,14,16};
|
||||
g_DesignSettings.m_CopperLayerCount = layer_count[m_LayerNumber->GetSelection()];
|
||||
m_Parent->ReCreateLayerBox( NULL );
|
||||
|
||||
g_MaxLinksShowed = m_MaxShowLinks->GetValue();
|
||||
Drc_On = m_DrcOn->GetValue();
|
||||
if( g_Show_Ratsnest != m_ShowGlobalRatsnest->GetValue() )
|
||||
{
|
||||
g_Show_Ratsnest = m_ShowGlobalRatsnest->GetValue();
|
||||
m_Parent->Ratsnest_On_Off( m_DC );
|
||||
}
|
||||
g_Show_Module_Ratsnest = m_ShowModuleRatsnest->GetValue();
|
||||
g_AutoDeleteOldTrack = m_TrackAutodel->GetValue();
|
||||
Segments_45_Only = m_Segments_45_Only_Ctrl->GetValue();
|
||||
Track_45_Only = m_Track_45_Only_Ctrl->GetValue();
|
||||
m_Parent->DrawPanel->m_AutoPAN_Enable = m_AutoPANOpt->GetValue();
|
||||
g_TwoSegmentTrackBuild = m_Track_DoubleSegm_Ctrl->GetValue();
|
||||
|
||||
EndModal( 1 );
|
||||
}
|
||||
|
||||
|
||||
/*******************************************************************************/
|
||||
Dialog_Display_Options::Dialog_Display_Options( WinEDA_BasePcbFrame* parent ) :
|
||||
DialogDisplayOptions_base(parent)
|
||||
/*******************************************************************************/
|
||||
{
|
||||
m_Parent = parent;
|
||||
}
|
||||
|
||||
/****************************************************************/
|
||||
void Dialog_Display_Options::OnInitDialog( wxInitDialogEvent& event )
|
||||
/****************************************************************/
|
||||
{
|
||||
SetFocus();
|
||||
|
||||
if ( DisplayOpt.DisplayPcbTrackFill )
|
||||
m_OptDisplayTracks->SetSelection(1);
|
||||
if ( DisplayOpt.DisplayTrackIsol )
|
||||
m_OptDisplayTracksClearance->SetSelection(0);
|
||||
else if ( g_ShowIsolDuringCreateTrack )
|
||||
m_OptDisplayTracksClearance->SetSelection(1);
|
||||
else m_OptDisplayTracksClearance->SetSelection(2);
|
||||
|
||||
if ( DisplayOpt.DisplayPadFill )
|
||||
m_OptDisplayPads->SetSelection(1);
|
||||
|
||||
m_Show_Page_Limits->SetSelection( g_ShowPageLimits ? 0 : 1);
|
||||
|
||||
m_OptDisplayViaHole->SetSelection( DisplayOpt.m_DisplayViaMode );
|
||||
m_OptDisplayModTexts->SetSelection( DisplayOpt.DisplayModText );
|
||||
m_OptDisplayModEdges->SetSelection( DisplayOpt.DisplayModEdge );
|
||||
m_OptDisplayPadClearence->SetValue( DisplayOpt.DisplayPadIsol );
|
||||
m_OptDisplayPadNumber->SetValue( DisplayOpt.DisplayPadNum );
|
||||
m_OptDisplayPadNoConn->SetValue( DisplayOpt.DisplayPadNoConn );
|
||||
m_OptDisplayDrawings->SetSelection( DisplayOpt.DisplayDrawItems );
|
||||
|
||||
if( GetSizer() )
|
||||
{
|
||||
GetSizer()->SetSizeHints( this );
|
||||
}
|
||||
}
|
||||
|
||||
/*****************************************************************/
|
||||
void Dialog_Display_Options::OnCancelClick( wxCommandEvent& event )
|
||||
/*****************************************************************/
|
||||
{
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
/*************************************************************************/
|
||||
void Dialog_Display_Options::OnOkClick(wxCommandEvent& event)
|
||||
/*************************************************************************/
|
||||
/* Update variables with new options
|
||||
*/
|
||||
{
|
||||
if ( m_Show_Page_Limits->GetSelection() == 0 ) g_ShowPageLimits = TRUE;
|
||||
else g_ShowPageLimits = FALSE;
|
||||
|
||||
if ( m_OptDisplayTracks->GetSelection() == 1)
|
||||
DisplayOpt.DisplayPcbTrackFill = TRUE;
|
||||
else DisplayOpt.DisplayPcbTrackFill = FALSE;
|
||||
|
||||
m_Parent->m_DisplayPcbTrackFill = DisplayOpt.DisplayPcbTrackFill;
|
||||
DisplayOpt.m_DisplayViaMode = m_OptDisplayViaHole->GetSelection();
|
||||
|
||||
switch ( m_OptDisplayTracksClearance->GetSelection() )
|
||||
{
|
||||
case 0:
|
||||
DisplayOpt.DisplayTrackIsol = TRUE;
|
||||
g_ShowIsolDuringCreateTrack = TRUE;
|
||||
break;
|
||||
case 1:
|
||||
DisplayOpt.DisplayTrackIsol = FALSE;
|
||||
g_ShowIsolDuringCreateTrack = TRUE;
|
||||
break;
|
||||
case 2:
|
||||
DisplayOpt.DisplayTrackIsol = FALSE;
|
||||
g_ShowIsolDuringCreateTrack = FALSE;
|
||||
break;
|
||||
}
|
||||
|
||||
m_Parent->m_DisplayModText = DisplayOpt.DisplayModText =
|
||||
m_OptDisplayModTexts->GetSelection();
|
||||
m_Parent->m_DisplayModEdge = DisplayOpt.DisplayModEdge =
|
||||
m_OptDisplayModEdges->GetSelection();
|
||||
|
||||
if (m_OptDisplayPads->GetSelection() == 1 )
|
||||
DisplayOpt.DisplayPadFill = TRUE;
|
||||
else DisplayOpt.DisplayPadFill = FALSE;
|
||||
|
||||
m_Parent->m_DisplayPadFill = DisplayOpt.DisplayPadFill;
|
||||
|
||||
DisplayOpt.DisplayPadIsol = m_OptDisplayPadClearence->GetValue();
|
||||
|
||||
m_Parent->m_DisplayPadNum = DisplayOpt.DisplayPadNum = m_OptDisplayPadNumber->GetValue();
|
||||
|
||||
DisplayOpt.DisplayPadNoConn = m_OptDisplayPadNoConn->GetValue();
|
||||
|
||||
DisplayOpt.DisplayDrawItems = m_OptDisplayDrawings->GetSelection();
|
||||
|
||||
m_Parent->DrawPanel->Refresh(TRUE);
|
||||
|
||||
EndModal(1);
|
||||
}
|
||||
|
||||
|
||||
#include "dialog_track_options.cpp"
|
||||
#include "dialog_graphic_items_options.cpp"
|
||||
|
||||
/*****************************************************************/
|
||||
void WinEDA_PcbFrame::InstallPcbOptionsFrame( const wxPoint& pos,
|
||||
wxDC* DC, int id )
|
||||
/*****************************************************************/
|
||||
{
|
||||
switch( id )
|
||||
{
|
||||
case ID_PCB_TRACK_SIZE_SETUP:
|
||||
{
|
||||
WinEDA_PcbTracksDialog* OptionsFrame =
|
||||
new WinEDA_PcbTracksDialog( this );
|
||||
|
||||
OptionsFrame->ShowModal();
|
||||
OptionsFrame->Destroy();
|
||||
}
|
||||
break;
|
||||
|
||||
case ID_PCB_DRAWINGS_WIDTHS_SETUP:
|
||||
{
|
||||
WinEDA_GraphicItemsOptionsDialog* OptionsFrame =
|
||||
new WinEDA_GraphicItemsOptionsDialog( this );
|
||||
|
||||
OptionsFrame->ShowModal();
|
||||
OptionsFrame->Destroy();
|
||||
}
|
||||
break;
|
||||
|
||||
case ID_PCB_LOOK_SETUP:
|
||||
{
|
||||
Dialog_Display_Options* DisplayOptionsDialog =
|
||||
new Dialog_Display_Options( this );
|
||||
|
||||
DisplayOptionsDialog->ShowModal();
|
||||
DisplayOptionsDialog->Destroy();
|
||||
}
|
||||
break;
|
||||
|
||||
case ID_OPTIONS_SETUP:
|
||||
{
|
||||
Dialog_GeneralOptions* OptionsFrame =
|
||||
new Dialog_GeneralOptions( this, DC );
|
||||
|
||||
OptionsFrame->ShowModal();
|
||||
OptionsFrame->Destroy();
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*******************************************************************/
|
||||
void WinEDA_ModuleEditFrame::InstallOptionsFrame( const wxPoint& pos )
|
||||
/*******************************************************************/
|
||||
{
|
||||
WinEDA_GraphicItemsOptionsDialog OptionsFrame( this );
|
||||
|
||||
OptionsFrame.ShowModal();
|
||||
}
|
||||
|
||||
|
||||
/*****************************************************************/
|
||||
void WinEDA_PcbFrame::OnSelectOptionToolbar( wxCommandEvent& event )
|
||||
|
@ -144,179 +408,3 @@ void WinEDA_PcbFrame::OnSelectOptionToolbar( wxCommandEvent& event )
|
|||
|
||||
SetToolbars();
|
||||
}
|
||||
|
||||
|
||||
Dialog_GeneralOptions::Dialog_GeneralOptions( WinEDA_PcbFrame* parent, wxDC* DC ) :
|
||||
DialogGeneralOptionsBoardEditor_base( parent )
|
||||
{
|
||||
m_Parent = parent;
|
||||
m_DC = DC;
|
||||
}
|
||||
|
||||
|
||||
/*!
|
||||
* Dialog_GeneralOptions creator
|
||||
*/
|
||||
|
||||
void Dialog_GeneralOptions::OnInitDialog( wxInitDialogEvent& event )
|
||||
{
|
||||
SetFont( *g_DialogFont );
|
||||
SetFocus();
|
||||
|
||||
|
||||
/* Set display options */
|
||||
m_PolarDisplay->SetSelection( DisplayOpt.DisplayPolarCood ? 1 : 0 );
|
||||
m_UnitsSelection->SetSelection( g_UnitMetric ? 1 : 0 );
|
||||
m_CursorShape->SetSelection( g_CursorShape ? 1 : 0 );
|
||||
|
||||
wxString timevalue;
|
||||
timevalue << g_TimeOut / 60;
|
||||
m_SaveTime->SetValue( timevalue );
|
||||
int layer_count[] = {1,2,4,6,8,10,12,14,16};
|
||||
m_LayerNumber->SetSelection(1);
|
||||
for ( unsigned ii = 0; ii < sizeof(layer_count); ii++ )
|
||||
{
|
||||
if ( g_DesignSettings.m_CopperLayerCount == layer_count[ii] )
|
||||
continue;
|
||||
m_LayerNumber->SetSelection(ii);
|
||||
break;
|
||||
}
|
||||
|
||||
m_LayerNumber->SetSelection( g_DesignSettings.m_CopperLayerCount );
|
||||
m_MaxShowLinks->SetValue( g_MaxLinksShowed );
|
||||
|
||||
m_DrcOn->SetValue( Drc_On );
|
||||
m_ShowModuleRatsnest->SetValue( g_Show_Module_Ratsnest );
|
||||
m_ShowGlobalRatsnest->SetValue( g_Show_Ratsnest );
|
||||
m_TrackAutodel->SetValue( g_AutoDeleteOldTrack );
|
||||
m_Track_45_Only_Ctrl->SetValue( Track_45_Only );
|
||||
m_Segments_45_Only_Ctrl->SetValue( Segments_45_Only );
|
||||
m_AutoPANOpt->SetValue( m_Parent->DrawPanel->m_AutoPAN_Enable );
|
||||
m_Segments_45_Only_Ctrl->SetValue( Segments_45_Only );
|
||||
m_Track_DoubleSegm_Ctrl->SetValue( g_TwoSegmentTrackBuild );
|
||||
|
||||
m_MagneticPadOptCtrl->SetSelection( g_MagneticPadOption );
|
||||
m_MagneticTrackOptCtrl->SetSelection( g_MagneticTrackOption );
|
||||
|
||||
if( GetSizer() )
|
||||
{
|
||||
GetSizer()->SetSizeHints( this );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*****************************************************************/
|
||||
void Dialog_GeneralOptions::OnCancelClick( wxCommandEvent& event )
|
||||
/*****************************************************************/
|
||||
{
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**************************************************************************/
|
||||
void Dialog_GeneralOptions::OnOkClick( wxCommandEvent& event )
|
||||
/**************************************************************************/
|
||||
{
|
||||
int ii;
|
||||
|
||||
DisplayOpt.DisplayPolarCood =
|
||||
(m_PolarDisplay->GetSelection() == 0) ? FALSE : TRUE;
|
||||
ii = g_UnitMetric;
|
||||
g_UnitMetric = (m_UnitsSelection->GetSelection() == 0) ? 0 : 1;
|
||||
if( ii != g_UnitMetric )
|
||||
m_Parent->ReCreateAuxiliaryToolbar();
|
||||
|
||||
g_CursorShape = m_CursorShape->GetSelection();
|
||||
g_TimeOut = 60 * m_SaveTime->GetValue();
|
||||
|
||||
/* Mise a jour de la combobox d'affichage de la couche active */
|
||||
int layer_count[] = {1,2,4,6,8,10,12,14,16};
|
||||
g_DesignSettings.m_CopperLayerCount = layer_count[m_LayerNumber->GetSelection()];
|
||||
m_Parent->ReCreateLayerBox( NULL );
|
||||
|
||||
g_MaxLinksShowed = m_MaxShowLinks->GetValue();
|
||||
Drc_On = m_DrcOn->GetValue();
|
||||
if( g_Show_Ratsnest != m_ShowGlobalRatsnest->GetValue() )
|
||||
{
|
||||
g_Show_Ratsnest = m_ShowGlobalRatsnest->GetValue();
|
||||
m_Parent->Ratsnest_On_Off( m_DC );
|
||||
}
|
||||
g_Show_Module_Ratsnest = m_ShowModuleRatsnest->GetValue();
|
||||
g_AutoDeleteOldTrack = m_TrackAutodel->GetValue();
|
||||
Segments_45_Only = m_Segments_45_Only_Ctrl->GetValue();
|
||||
Track_45_Only = m_Track_45_Only_Ctrl->GetValue();
|
||||
m_Parent->DrawPanel->m_AutoPAN_Enable = m_AutoPANOpt->GetValue();
|
||||
g_TwoSegmentTrackBuild = m_Track_DoubleSegm_Ctrl->GetValue();
|
||||
|
||||
EndModal( 1 );
|
||||
}
|
||||
|
||||
|
||||
enum id_optpcb {
|
||||
ID_ACCEPT_OPT = 1000,
|
||||
ID_CANCEL_OPT
|
||||
};
|
||||
|
||||
#include "dialog_track_options.cpp"
|
||||
#include "dialog_display_options.cpp"
|
||||
#include "dialog_graphic_items_options.cpp"
|
||||
|
||||
/*****************************************************************/
|
||||
void WinEDA_PcbFrame::InstallPcbOptionsFrame( const wxPoint& pos,
|
||||
wxDC* DC, int id )
|
||||
/*****************************************************************/
|
||||
{
|
||||
switch( id )
|
||||
{
|
||||
case ID_PCB_TRACK_SIZE_SETUP:
|
||||
{
|
||||
WinEDA_PcbTracksDialog* OptionsFrame =
|
||||
new WinEDA_PcbTracksDialog( this );
|
||||
|
||||
OptionsFrame->ShowModal();
|
||||
OptionsFrame->Destroy();
|
||||
}
|
||||
break;
|
||||
|
||||
case ID_PCB_DRAWINGS_WIDTHS_SETUP:
|
||||
{
|
||||
WinEDA_GraphicItemsOptionsDialog* OptionsFrame =
|
||||
new WinEDA_GraphicItemsOptionsDialog( this );
|
||||
|
||||
OptionsFrame->ShowModal();
|
||||
OptionsFrame->Destroy();
|
||||
}
|
||||
break;
|
||||
|
||||
case ID_PCB_LOOK_SETUP:
|
||||
{
|
||||
WinEDA_DisplayOptionsDialog* OptionsFrame =
|
||||
new WinEDA_DisplayOptionsDialog( this );
|
||||
|
||||
OptionsFrame->ShowModal();
|
||||
OptionsFrame->Destroy();
|
||||
}
|
||||
break;
|
||||
|
||||
case ID_OPTIONS_SETUP:
|
||||
{
|
||||
Dialog_GeneralOptions* OptionsFrame =
|
||||
new Dialog_GeneralOptions( this, DC );
|
||||
|
||||
OptionsFrame->ShowModal();
|
||||
OptionsFrame->Destroy();
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*******************************************************************/
|
||||
void WinEDA_ModuleEditFrame::InstallOptionsFrame( const wxPoint& pos )
|
||||
/*******************************************************************/
|
||||
{
|
||||
WinEDA_GraphicItemsOptionsDialog OptionsFrame( this );
|
||||
|
||||
OptionsFrame.ShowModal();
|
||||
}
|
||||
|
|
|
@ -0,0 +1,33 @@
|
|||
#ifndef __dialog_general_options_h
|
||||
#define __dialog_general_options_h
|
||||
|
||||
/***********************************************************************/
|
||||
class Dialog_GeneralOptions : public DialogGeneralOptionsBoardEditor_base
|
||||
/***********************************************************************/
|
||||
{
|
||||
private:
|
||||
WinEDA_PcbFrame* m_Parent;
|
||||
wxDC* m_DC;
|
||||
public:
|
||||
Dialog_GeneralOptions( WinEDA_PcbFrame* parent, wxDC* DC );
|
||||
~Dialog_GeneralOptions() {};
|
||||
void OnInitDialog( wxInitDialogEvent& event );
|
||||
void OnOkClick( wxCommandEvent& event );
|
||||
void OnCancelClick( wxCommandEvent& event );
|
||||
};
|
||||
|
||||
|
||||
class Dialog_Display_Options : public DialogDisplayOptions_base
|
||||
{
|
||||
private:
|
||||
WinEDA_BasePcbFrame* m_Parent;
|
||||
|
||||
public:
|
||||
Dialog_Display_Options( WinEDA_BasePcbFrame* parent );
|
||||
~Dialog_Display_Options( ) { };
|
||||
void OnInitDialog( wxInitDialogEvent& event );
|
||||
void OnOkClick( wxCommandEvent& event );
|
||||
void OnCancelClick( wxCommandEvent& event );
|
||||
};
|
||||
|
||||
#endif // __dialog_general_options_h
|
|
@ -5,7 +5,7 @@
|
|||
// PLEASE DO "NOT" EDIT THIS FILE!
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "dialog_generaloptions_BoardEditor_base.h"
|
||||
#include "dialog_general_options_BoardEditor_base.h"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
@ -30,8 +30,8 @@ DialogGeneralOptionsBoardEditor_base::DialogGeneralOptionsBoardEditor_base( wxWi
|
|||
wxString m_UnitsSelectionChoices[] = { _("Inches"), _("Millimeters") };
|
||||
int m_UnitsSelectionNChoices = sizeof( m_UnitsSelectionChoices ) / sizeof( wxString );
|
||||
m_UnitsSelection = new wxRadioBox( this, wxID_UNITS, _("Units"), wxDefaultPosition, wxDefaultSize, m_UnitsSelectionNChoices, m_UnitsSelectionChoices, 1, wxRA_SPECIFY_COLS );
|
||||
m_UnitsSelection->SetSelection( 0 );
|
||||
m_UnitsSelection->SetToolTip( _("Selection of units used for display diemsions and positions") );
|
||||
m_UnitsSelection->SetSelection( 1 );
|
||||
m_UnitsSelection->SetToolTip( _("Selection of units used to display dimensions and positions of items") );
|
||||
|
||||
bLeftSizer->Add( m_UnitsSelection, 0, wxALL|wxEXPAND, 5 );
|
||||
|
||||
|
@ -106,13 +106,13 @@ DialogGeneralOptionsBoardEditor_base::DialogGeneralOptionsBoardEditor_base( wxWi
|
|||
|
||||
m_Track_45_Only_Ctrl = new wxCheckBox( this, wxID_TRACKS45, _("Track only 45 degrees"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
|
||||
m_Track_45_Only_Ctrl->SetToolTip( _("If enabled, force tracks directions to H, V or 40 degrees, when creating a track.") );
|
||||
m_Track_45_Only_Ctrl->SetToolTip( _("If enabled, force tracks directions to H, V or 45 degrees, when creating a track.") );
|
||||
|
||||
bMiddleRightBoxSizer->Add( m_Track_45_Only_Ctrl, 0, wxALL, 5 );
|
||||
|
||||
m_Segments_45_Only_Ctrl = new wxCheckBox( this, wxID_SEGMENTS45, _("Segments 45 Only"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
|
||||
m_Segments_45_Only_Ctrl->SetToolTip( _("If enabled, force segments directions to H, V or 40 degrees, when creatine a segment on technical layers.") );
|
||||
m_Segments_45_Only_Ctrl->SetToolTip( _("If enabled, force segments directions to H, V or 45 degrees, when creating a segment on technical layers.") );
|
||||
|
||||
bMiddleRightBoxSizer->Add( m_Segments_45_Only_Ctrl, 0, wxALL, 5 );
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
<property name="disconnect_events">1</property>
|
||||
<property name="encoding">UTF-8</property>
|
||||
<property name="event_generation">connect</property>
|
||||
<property name="file">dialog_generaloptions_BoardEditor_base</property>
|
||||
<property name="file">dialog_general_options_BoardEditor_base</property>
|
||||
<property name="first_id">1000</property>
|
||||
<property name="help_provider">none</property>
|
||||
<property name="internationalize">1</property>
|
||||
|
@ -32,7 +32,7 @@
|
|||
<property name="minimum_size"></property>
|
||||
<property name="name">DialogGeneralOptionsBoardEditor_base</property>
|
||||
<property name="pos"></property>
|
||||
<property name="size">585,272</property>
|
||||
<property name="size">585,280</property>
|
||||
<property name="style">wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER</property>
|
||||
<property name="subclass"></property>
|
||||
<property name="title">General settings</property>
|
||||
|
@ -158,11 +158,11 @@
|
|||
<property name="name">m_UnitsSelection</property>
|
||||
<property name="permission">protected</property>
|
||||
<property name="pos"></property>
|
||||
<property name="selection">0</property>
|
||||
<property name="selection">1</property>
|
||||
<property name="size"></property>
|
||||
<property name="style">wxRA_SPECIFY_COLS</property>
|
||||
<property name="subclass"></property>
|
||||
<property name="tooltip">Selection of units used for display diemsions and positions</property>
|
||||
<property name="tooltip">Selection of units used to display dimensions and positions of items</property>
|
||||
<property name="window_extra_style"></property>
|
||||
<property name="window_name"></property>
|
||||
<property name="window_style"></property>
|
||||
|
@ -767,7 +767,7 @@
|
|||
<property name="size"></property>
|
||||
<property name="style"></property>
|
||||
<property name="subclass"></property>
|
||||
<property name="tooltip">If enabled, force tracks directions to H, V or 40 degrees, when creating a track.</property>
|
||||
<property name="tooltip">If enabled, force tracks directions to H, V or 45 degrees, when creating a track.</property>
|
||||
<property name="window_extra_style"></property>
|
||||
<property name="window_name"></property>
|
||||
<property name="window_style"></property>
|
||||
|
@ -819,7 +819,7 @@
|
|||
<property name="size"></property>
|
||||
<property name="style"></property>
|
||||
<property name="subclass"></property>
|
||||
<property name="tooltip">If enabled, force segments directions to H, V or 40 degrees, when creatine a segment on technical layers.</property>
|
||||
<property name="tooltip">If enabled, force segments directions to H, V or 45 degrees, when creating a segment on technical layers.</property>
|
||||
<property name="window_extra_style"></property>
|
||||
<property name="window_name"></property>
|
||||
<property name="window_style"></property>
|
|
@ -5,8 +5,8 @@
|
|||
// PLEASE DO "NOT" EDIT THIS FILE!
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef __dialog_generaloptions_BoardEditor_base__
|
||||
#define __dialog_generaloptions_BoardEditor_base__
|
||||
#ifndef __dialog_general_options_BoardEditor_base__
|
||||
#define __dialog_general_options_BoardEditor_base__
|
||||
|
||||
#include <wx/intl.h>
|
||||
|
||||
|
@ -78,9 +78,9 @@ class DialogGeneralOptionsBoardEditor_base : public wxDialog
|
|||
|
||||
|
||||
public:
|
||||
DialogGeneralOptionsBoardEditor_base( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("General settings"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 585,272 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
||||
DialogGeneralOptionsBoardEditor_base( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("General settings"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 585,280 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
||||
~DialogGeneralOptionsBoardEditor_base();
|
||||
|
||||
};
|
||||
|
||||
#endif //__dialog_generaloptions_BoardEditor_base__
|
||||
#endif //__dialog_general_options_BoardEditor_base__
|
|
@ -79,7 +79,8 @@ OBJECTS= $(TARGET).o classpcb.o\
|
|||
loadcmp.o \
|
||||
dialog_setup_libs.o \
|
||||
dialog_general_options.o \
|
||||
dialog_generaloptions_BoardEditor_base.o\
|
||||
dialog_general_options_BoardEditor_base.o\
|
||||
dialog_display_options_base.o\
|
||||
dialog_orient_footprints.o\
|
||||
muwave_command.o \
|
||||
initpcb.o\
|
||||
|
@ -139,10 +140,10 @@ setpage.o: ../share/setpage.cpp
|
|||
|
||||
menubarpcb.o: menubarpcb.cpp
|
||||
|
||||
dialog_general_options.o: dialog_general_options.cpp dialog_track_options.cpp dialog_display_options.cpp\
|
||||
dialog_graphic_items_options.cpp dialog_generaloptions_BoardEditor_base.h
|
||||
dialog_general_options.o: dialog_general_options.cpp dialog_track_options.cpp\
|
||||
dialog_graphic_items_options.cpp dialog_general_options_BoardEditor_base.h dialog_general_options.h
|
||||
|
||||
dialog_generaloptions_BoardEditor_base.o: dialog_generaloptions_BoardEditor_base.cpp dialog_generaloptions_BoardEditor_base.h
|
||||
dialog_generaloptions_BoardEditor_base.o: dialog_general_options_BoardEditor_base.cpp dialog_generaloptions_BoardEditor_base.h
|
||||
|
||||
menubarmodedit.o: menubarmodedit.cpp
|
||||
|
||||
|
|
67
todo.txt
67
todo.txt
|
@ -1,67 +0,0 @@
|
|||
|
||||
Here are some source code maintenance tasks that need to be done, and maybe some
|
||||
folks will see these items and volunteer to do them.
|
||||
|
||||
|
||||
*** @todo: grep for @todo and finish off those tasks, scattered throughout the source.
|
||||
|
||||
|
||||
*** use BOARD_ITEM::MenuIcon() in the onrightclick.cpp
|
||||
|
||||
|
||||
*** Use DOXYGEN compatible comments on member functions. As configured,
|
||||
Doxygen gives priority to comments in header files over *.cpp files.
|
||||
Review the generated docs and start to go through the source and make the
|
||||
generated doxygen docs readable and clear using the JavaDoc style comments,
|
||||
mostly in the header files. The error and warning output of the doxygen
|
||||
compiler can help with this too.
|
||||
|
||||
|
||||
*** Translate comments that are in French to English so there can be a broader
|
||||
understanding by new developers.
|
||||
|
||||
|
||||
*** Add tooltip text to all non-obvious controls in every dialog window.
|
||||
Need to do this using DialogBlocks.
|
||||
|
||||
|
||||
2008-Dec-6 Assigned To:
|
||||
asked by: Dick Hollenbeck
|
||||
================================================================================
|
||||
1) Gerbview needs to work at least as well as gerv, that means adding named layers,
|
||||
and a list control to sort the layer stack on the fly. There seems to be a polygon bug
|
||||
of some kind, don't know how long that's been in there. (Dick)
|
||||
2) Add net class support to PCBNEW, so the round tripping to freerouter
|
||||
is a dream (Dick)
|
||||
3) Document the specctra round tripper, and fix up the english translation
|
||||
of help. (Dick, native english speaker)
|
||||
4) Expose layer name editing in pcbnew (anyone), should dove tail with net
|
||||
class editor from a UI perspective.
|
||||
|
||||
|
||||
2008-Feb-8 Assigned To: dick
|
||||
asked by: dick
|
||||
================================================================================
|
||||
specctra:
|
||||
Add net class support to pcbnew so that the export to specctra becomes richer.
|
||||
A netclass should hold a list of nets, track width, track spacing,
|
||||
via drill size and via copper diameter.
|
||||
|
||||
|
||||
2007-Nov-4 Assigned To: nobody
|
||||
asked by: jp Charras
|
||||
================================================================================
|
||||
Use the collector classes in eeschema.
|
||||
|
||||
|
||||
|
||||
2008-Apr-29 Assigned To:
|
||||
asked by: Dick Hollenbeck
|
||||
================================================================================
|
||||
+pcbnew
|
||||
When picking new board from the menu, when an existing board is already
|
||||
in memory, the number of layers in the new board is not set to the default
|
||||
but rather to the number of layers in the previously loaded board, and with
|
||||
the default layer names, rather than the layer names of the previously
|
||||
loaded board. I think the number of layers should be reduced to the
|
||||
default and the default layer names should be used.
|
Loading…
Reference in New Issue