KiCad PCB EDA Suite
File Wildcard Definitions

Functions

wxString AllFilesWildcard ()
 
wxString FootprintAssignmentFileWildcard ()
 
wxString DrawingSheetFileWildcard ()
 
wxString SchematicSymbolFileWildcard ()
 
wxString KiCadSymbolLibFileWildcard ()
 
wxString LegacySymbolLibFileWildcard ()
 
wxString AllSymbolLibFilesWildcard ()
 
wxString ProjectFileWildcard ()
 
wxString LegacyProjectFileWildcard ()
 
wxString AllProjectFilesWildcard ()
 
wxString KiCadSchematicFileWildcard ()
 
wxString LegacySchematicFileWildcard ()
 
wxString BoardFileWildcard ()
 
wxString NetlistFileWildcard ()
 
wxString GerberFileWildcard ()
 
wxString HtmlFileWildcard ()
 
wxString CsvFileWildcard ()
 
wxString LegacyPcbFileWildcard ()
 
wxString PcbFileWildcard ()
 
wxString EaglePcbFileWildcard ()
 
wxString AltiumSchematicFileWildcard ()
 
wxString CadstarSchematicArchiveFileWildcard ()
 
wxString CadstarArchiveFilesWildcard ()
 
wxString EagleSchematicFileWildcard ()
 
wxString EagleFilesWildcard ()
 
wxString PCadPcbFileWildcard ()
 
wxString CadstarPcbArchiveFileWildcard ()
 
wxString AltiumDesignerPcbFileWildcard ()
 
wxString AltiumCircuitStudioPcbFileWildcard ()
 
wxString AltiumCircuitMakerPcbFileWildcard ()
 
wxString FabmasterPcbFileWildcard ()
 
wxString PdfFileWildcard ()
 
wxString PSFileWildcard ()
 
wxString MacrosFileWildcard ()
 
wxString DrillFileWildcard ()
 
wxString SVGFileWildcard ()
 
wxString ReportFileWildcard ()
 
wxString FootprintPlaceFileWildcard ()
 
wxString Shapes3DFileWildcard ()
 
wxString IDF3DFileWildcard ()
 
wxString DocModulesFileName ()
 
wxString LegacyFootprintLibPathWildcard ()
 
wxString KiCadFootprintLibFileWildcard ()
 
wxString KiCadFootprintLibPathWildcard ()
 
wxString GedaPcbFootprintLibFileWildcard ()
 
wxString EagleFootprintLibPathWildcard ()
 
wxString TextFileWildcard ()
 
wxString ModLegacyExportFileWildcard ()
 
wxString ErcFileWildcard ()
 
wxString SpiceLibraryFileWildcard ()
 
wxString SpiceNetlistFileWildcard ()
 
wxString CadstarNetlistFileWildcard ()
 
wxString EquFileWildcard ()
 
wxString ZipFileWildcard ()
 
wxString GencadFileWildcard ()
 
wxString DxfFileWildcard ()
 
wxString GerberJobFileWildcard ()
 
wxString SpecctraDsnFileWildcard ()
 
wxString SpecctraSessionFileWildcard ()
 
wxString IpcD356FileWildcard ()
 
wxString WorkbookFileWildcard ()
 
wxString PngFileWildcard ()
 
wxString JpegFileWildcard ()
 
wxString HotkeyFileWildcard ()
 

Detailed Description

Note
Please do not changes these. If a different file wildcard is needed, create a new definition in here. If you create a wildcard definition in another file, make sure to add it to the Doxygen group "file_extensions" using the "addtogroup" tag and correct handle the GTK+ file dialog case sensitivity issue.

Function Documentation

◆ AllFilesWildcard()

wxString AllFilesWildcard ( )

Definition at line 181 of file wildcards_and_files_ext.cpp.

182 {
183  return _( "All files" ) + AddFileExtListToFilter( {} );
184 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by NETLIST_DIALOG::FilenamePrms(), getFootprintFilenameFromUser(), GERBVIEW_FRAME::LoadExcellonFiles(), GERBVIEW_FRAME::LoadGerberFiles(), KICAD_MANAGER_FRAME::OnOpenFileInTextEditor(), and DIALOG_SPICE_MODEL::onSelectLibrary().

◆ AllProjectFilesWildcard()

wxString AllProjectFilesWildcard ( )

Definition at line 226 of file wildcards_and_files_ext.cpp.

227 {
228  return _( "All KiCad project files" )
230 }
const std::string LegacyProjectFileExtension("pro")
#define _(s)
const std::string ProjectFileExtension("kicad_pro")
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, AddFileExtListToFilter(), LegacyProjectFileExtension(), and ProjectFileExtension().

Referenced by KICAD_MANAGER_CONTROL::openProject().

◆ AllSymbolLibFilesWildcard()

wxString AllSymbolLibFilesWildcard ( )

Definition at line 206 of file wildcards_and_files_ext.cpp.

207 {
208  return _( "All KiCad symbol library files" )
210 }
const std::string KiCadSymbolLibFileExtension("kicad_sym")
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, AddFileExtListToFilter(), and KiCadSymbolLibFileExtension().

Referenced by PANEL_SYM_LIB_TABLE::browseLibrariesHandler(), and PANEL_SYM_LIB_TABLE::PANEL_SYM_LIB_TABLE().

◆ AltiumCircuitMakerPcbFileWildcard()

wxString AltiumCircuitMakerPcbFileWildcard ( )

Definition at line 320 of file wildcards_and_files_ext.cpp.

321 {
322  return _( "Altium Circuit Maker PCB files" ) + AddFileExtListToFilter( { "CMPcbDoc" } );
323 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by AskLoadBoardFileName().

◆ AltiumCircuitStudioPcbFileWildcard()

wxString AltiumCircuitStudioPcbFileWildcard ( )

Definition at line 315 of file wildcards_and_files_ext.cpp.

316 {
317  return _( "Altium Circuit Studio PCB files" ) + AddFileExtListToFilter( { "CSPcbDoc" } );
318 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by AskLoadBoardFileName().

◆ AltiumDesignerPcbFileWildcard()

wxString AltiumDesignerPcbFileWildcard ( )

Definition at line 310 of file wildcards_and_files_ext.cpp.

311 {
312  return _( "Altium Designer PCB files" ) + AddFileExtListToFilter( { "PcbDoc" } );
313 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by AskLoadBoardFileName().

◆ AltiumSchematicFileWildcard()

wxString AltiumSchematicFileWildcard ( )

Definition at line 247 of file wildcards_and_files_ext.cpp.

248 {
249  return _( "Altium schematic files" ) + AddFileExtListToFilter( { "SchDoc" } );
250 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by SCH_EDIT_FRAME::OnImportProject().

◆ BoardFileWildcard()

wxString BoardFileWildcard ( )

◆ CadstarArchiveFilesWildcard()

wxString CadstarArchiveFilesWildcard ( )

Definition at line 259 of file wildcards_and_files_ext.cpp.

260 {
261  return _( "CADSTAR Archive files" ) + AddFileExtListToFilter( { "csa", "cpa" } );
262 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by KICAD_MANAGER_FRAME::OnImportCadstarArchiveFiles().

◆ CadstarNetlistFileWildcard()

wxString CadstarNetlistFileWildcard ( )

Definition at line 476 of file wildcards_and_files_ext.cpp.

477 {
478  return _( "CadStar netlist file" ) + AddFileExtListToFilter( { "frp" } );
479 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by NETLIST_DIALOG::FilenamePrms().

◆ CadstarPcbArchiveFileWildcard()

wxString CadstarPcbArchiveFileWildcard ( )

Definition at line 300 of file wildcards_and_files_ext.cpp.

301 {
302  return _( "CADSTAR PCB Archive files" ) + AddFileExtListToFilter( { "cpa" } );
303 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by AskLoadBoardFileName().

◆ CadstarSchematicArchiveFileWildcard()

wxString CadstarSchematicArchiveFileWildcard ( )

Definition at line 253 of file wildcards_and_files_ext.cpp.

254 {
255  return _( "CADSTAR Schematic Archive files" ) + AddFileExtListToFilter( { "csa" } );
256 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by SCH_EDIT_FRAME::OnImportProject().

◆ CsvFileWildcard()

wxString CsvFileWildcard ( )

Definition at line 404 of file wildcards_and_files_ext.cpp.

405 {
406  return _( "CSV Files" ) + AddFileExtListToFilter( { "csv" } );
407 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by SIM_PLOT_FRAME::menuSaveCsv(), and PCB_EDIT_FRAME::RecreateBOMFileFromBoard().

◆ DocModulesFileName()

wxString DocModulesFileName ( )

◆ DrawingSheetFileWildcard()

wxString DrawingSheetFileWildcard ( )

Definition at line 369 of file wildcards_and_files_ext.cpp.

370 {
371  return _( "Drawing sheet files" )
373 }
const std::string DrawingSheetFileExtension("kicad_wks")
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, AddFileExtListToFilter(), and DrawingSheetFileExtension().

Referenced by PL_EDITOR_FRAME::Files_io(), BM2CMP_FRAME::OnExportLogo(), and DIALOG_PAGES_SETTINGS::OnWksFileSelection().

◆ DrillFileWildcard()

wxString DrillFileWildcard ( )

Definition at line 385 of file wildcards_and_files_ext.cpp.

386 {
387  return _( "Drill files" )
388  + AddFileExtListToFilter( { DrillFileExtension, "nc", "xnc", "txt" } );
389 }
const std::string DrillFileExtension("drl")
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, AddFileExtListToFilter(), and DrillFileExtension().

Referenced by GERBVIEW_FRAME::LoadExcellonFiles().

◆ DxfFileWildcard()

wxString DxfFileWildcard ( )

Definition at line 500 of file wildcards_and_files_ext.cpp.

501 {
502  return _( "DXF Files" ) + AddFileExtListToFilter( { "dxf" } );
503 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

◆ EagleFilesWildcard()

wxString EagleFilesWildcard ( )

Definition at line 271 of file wildcards_and_files_ext.cpp.

272 {
273  return _( "Eagle XML files" ) + AddFileExtListToFilter( { "sch", "brd" } );
274 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by KICAD_MANAGER_FRAME::OnImportEagleFiles().

◆ EagleFootprintLibPathWildcard()

wxString EagleFootprintLibPathWildcard ( )

Definition at line 357 of file wildcards_and_files_ext.cpp.

358 {
359  return _( "Eagle ver. 6.x XML library files" ) + AddFileExtListToFilter( { "lbr" } );
360 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by fileTypes().

◆ EaglePcbFileWildcard()

wxString EaglePcbFileWildcard ( )

Definition at line 295 of file wildcards_and_files_ext.cpp.

296 {
297  return _( "Eagle ver. 6.x XML PCB files" ) + AddFileExtListToFilter( { "brd" } );
298 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by AskLoadBoardFileName().

◆ EagleSchematicFileWildcard()

wxString EagleSchematicFileWildcard ( )

Definition at line 265 of file wildcards_and_files_ext.cpp.

266 {
267  return _( "Eagle XML schematic files" ) + AddFileExtListToFilter( { "sch" } );
268 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by SCH_EDIT_FRAME::OnImportProject().

◆ EquFileWildcard()

wxString EquFileWildcard ( )

Definition at line 482 of file wildcards_and_files_ext.cpp.

483 {
484  return _( "Symbol footprint association files" ) + AddFileExtListToFilter( { "equ" } );
485 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by DIALOG_CONFIG_EQUFILES::OnAddFiles().

◆ ErcFileWildcard()

wxString ErcFileWildcard ( )

Definition at line 458 of file wildcards_and_files_ext.cpp.

459 {
460  return _( "Electrical rule check file" ) + AddFileExtListToFilter( { "erc" } );
461 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

◆ FabmasterPcbFileWildcard()

wxString FabmasterPcbFileWildcard ( )

Definition at line 325 of file wildcards_and_files_ext.cpp.

326 {
327  return _( "Fabmaster PCB files" ) + AddFileExtListToFilter( { "txt", "fab" } );
328 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by AskLoadBoardFileName().

◆ FootprintAssignmentFileWildcard()

wxString FootprintAssignmentFileWildcard ( )

Definition at line 377 of file wildcards_and_files_ext.cpp.

378 {
379  return _( "KiCad symbol footprint link files" )
381 }
const std::string FootprintAssignmentFileExtension("cmp")
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, AddFileExtListToFilter(), and FootprintAssignmentFileExtension().

Referenced by SCH_EDITOR_CONTROL::ImportFPAssignments(), and PCB_EDIT_FRAME::RecreateCmpFileFromBoard().

◆ FootprintPlaceFileWildcard()

wxString FootprintPlaceFileWildcard ( )

Definition at line 428 of file wildcards_and_files_ext.cpp.

429 {
430  return _( "Component placement files" ) + AddFileExtListToFilter( { "pos" } );
431 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

◆ GedaPcbFootprintLibFileWildcard()

wxString GedaPcbFootprintLibFileWildcard ( )

Definition at line 363 of file wildcards_and_files_ext.cpp.

364 {
365  return _( "Geda PCB footprint library files" ) + AddFileExtListToFilter( { "fp" } );
366 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by getFootprintFilenameFromUser().

◆ GencadFileWildcard()

wxString GencadFileWildcard ( )

Definition at line 494 of file wildcards_and_files_ext.cpp.

495 {
496  return _( "GenCAD 1.4 board files" ) + AddFileExtListToFilter( { "cad" } );
497 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by DIALOG_GENCAD_EXPORT_OPTIONS::DIALOG_GENCAD_EXPORT_OPTIONS().

◆ GerberFileWildcard()

wxString GerberFileWildcard ( )

Definition at line 283 of file wildcards_and_files_ext.cpp.

284 {
285  return _( "Gerber files" ) + AddFileExtListToFilter( { "pho" } );
286 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

◆ GerberJobFileWildcard()

wxString GerberJobFileWildcard ( )

Definition at line 506 of file wildcards_and_files_ext.cpp.

507 {
508  return _( "Gerber job file" ) + AddFileExtListToFilter( { GerberJobFileExtension } );
509 }
#define _(s)
const std::string GerberJobFileExtension("gbrjob")
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, AddFileExtListToFilter(), and GerberJobFileExtension().

Referenced by GERBVIEW_FRAME::LoadGerberJobFile().

◆ HotkeyFileWildcard()

wxString HotkeyFileWildcard ( )

Definition at line 552 of file wildcards_and_files_ext.cpp.

553 {
554  return _( "Hotkey file" ) + AddFileExtListToFilter( { HotkeyFileExtension } );
555 }
const std::string HotkeyFileExtension("hotkeys")
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, AddFileExtListToFilter(), and HotkeyFileExtension().

Referenced by PANEL_HOTKEYS_EDITOR::ImportHotKeys().

◆ HtmlFileWildcard()

wxString HtmlFileWildcard ( )

Definition at line 398 of file wildcards_and_files_ext.cpp.

399 {
400  return _( "HTML files" ) + AddFileExtListToFilter( { "htm", "html" } );
401 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

◆ IDF3DFileWildcard()

wxString IDF3DFileWildcard ( )

Definition at line 440 of file wildcards_and_files_ext.cpp.

441 {
442  return _( "IDFv3 footprint files" ) + AddFileExtListToFilter( { "idf" } );
443 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

◆ IpcD356FileWildcard()

wxString IpcD356FileWildcard ( )

Definition at line 526 of file wildcards_and_files_ext.cpp.

527 {
528  return _( "IPC-D-356 Test Files" )
530 }
const std::string IpcD356FileExtension("d356")
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, AddFileExtListToFilter(), and IpcD356FileExtension().

Referenced by PCB_EDIT_FRAME::GenD356File().

◆ JpegFileWildcard()

wxString JpegFileWildcard ( )

Definition at line 546 of file wildcards_and_files_ext.cpp.

547 {
548  return _( "Jpeg file" ) + AddFileExtListToFilter( { "jpg", "jpeg" } );
549 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by EDA_3D_VIEWER_FRAME::takeScreenshot().

◆ KiCadFootprintLibFileWildcard()

wxString KiCadFootprintLibFileWildcard ( )

Definition at line 337 of file wildcards_and_files_ext.cpp.

338 {
339  return _( "KiCad footprint files" )
341 }
const std::string KiCadFootprintFileExtension("kicad_mod")
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, AddFileExtListToFilter(), and KiCadFootprintFileExtension().

Referenced by FOOTPRINT_EDIT_FRAME::ExportFootprint(), BM2CMP_FRAME::exportPcbnewFormat(), and getFootprintFilenameFromUser().

◆ KiCadFootprintLibPathWildcard()

wxString KiCadFootprintLibPathWildcard ( )

Definition at line 344 of file wildcards_and_files_ext.cpp.

345 {
346  return _( "KiCad footprint library paths" )
348 }
#define _(s)
const std::string KiCadFootprintLibPathExtension("pretty")
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, AddFileExtListToFilter(), and KiCadFootprintLibPathExtension().

Referenced by PCB_BASE_EDIT_FRAME::AddLibrary(), and PCB_BASE_EDIT_FRAME::createNewLibrary().

◆ KiCadSchematicFileWildcard()

wxString KiCadSchematicFileWildcard ( )

Definition at line 240 of file wildcards_and_files_ext.cpp.

241 {
242  return _( "KiCad s-expression schematic files" )
244 }
const std::string KiCadSchematicFileExtension("kicad_sch")
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, AddFileExtListToFilter(), and KiCadSchematicFileExtension().

Referenced by SCH_EDIT_FRAME::AppendSchematic(), SCH_EDIT_FRAME::LoadProject(), SCH_EDIT_FRAME::NewProject(), and SCH_EDIT_FRAME::SaveProject().

◆ KiCadSymbolLibFileWildcard()

wxString KiCadSymbolLibFileWildcard ( )

Definition at line 193 of file wildcards_and_files_ext.cpp.

194 {
195  return _( "KiCad symbol library files" )
197 }
const std::string KiCadSymbolLibFileExtension("kicad_sym")
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, AddFileExtListToFilter(), and KiCadSymbolLibFileExtension().

Referenced by SYMBOL_EDIT_FRAME::AddLibraryFile(), PANEL_SYM_LIB_TABLE::browseLibrariesHandler(), BM2CMP_FRAME::exportEeschemaFormat(), SYMBOL_EDIT_FRAME::ExportSymbol(), SYMBOL_EDIT_FRAME::ImportSymbol(), PANEL_SYM_LIB_TABLE::PANEL_SYM_LIB_TABLE(), and SYMBOL_EDIT_FRAME::saveLibrary().

◆ LegacyFootprintLibPathWildcard()

wxString LegacyFootprintLibPathWildcard ( )

Definition at line 351 of file wildcards_and_files_ext.cpp.

352 {
353  return _( "Legacy footprint library files" ) + AddFileExtListToFilter( { "mod" } );
354 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by fileTypes().

◆ LegacyPcbFileWildcard()

wxString LegacyPcbFileWildcard ( )

Definition at line 289 of file wildcards_and_files_ext.cpp.

290 {
291  return _( "KiCad printed circuit board files" ) + AddFileExtListToFilter( { "brd" } );
292 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by AskLoadBoardFileName().

◆ LegacyProjectFileWildcard()

wxString LegacyProjectFileWildcard ( )

Definition at line 219 of file wildcards_and_files_ext.cpp.

220 {
221  return _( "KiCad legacy project files" )
223 }
const std::string LegacyProjectFileExtension("pro")
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, AddFileExtListToFilter(), and LegacyProjectFileExtension().

Referenced by KICAD_MANAGER_CONTROL::openProject().

◆ LegacySchematicFileWildcard()

wxString LegacySchematicFileWildcard ( )

Definition at line 233 of file wildcards_and_files_ext.cpp.

234 {
235  return _( "KiCad legacy schematic files" )
237 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.
const std::string LegacySchematicFileExtension("sch")

References _, AddFileExtListToFilter(), and LegacySchematicFileExtension().

Referenced by SCH_EDIT_FRAME::LoadProject().

◆ LegacySymbolLibFileWildcard()

wxString LegacySymbolLibFileWildcard ( )

Definition at line 200 of file wildcards_and_files_ext.cpp.

201 {
202  return _( "KiCad legacy symbol library files" ) + AddFileExtListToFilter( { "lib" } );
203 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by PANEL_SYM_LIB_TABLE::browseLibrariesHandler(), SYMBOL_EDIT_FRAME::ImportSymbol(), and PANEL_SYM_LIB_TABLE::PANEL_SYM_LIB_TABLE().

◆ MacrosFileWildcard()

wxString MacrosFileWildcard ( )

◆ ModLegacyExportFileWildcard()

wxString ModLegacyExportFileWildcard ( )

Definition at line 452 of file wildcards_and_files_ext.cpp.

453 {
454  return _( "Legacy footprint export files" ) + AddFileExtListToFilter( { "emp" } );
455 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by getFootprintFilenameFromUser().

◆ NetlistFileWildcard()

wxString NetlistFileWildcard ( )

Definition at line 277 of file wildcards_and_files_ext.cpp.

278 {
279  return _( "KiCad netlist files" ) + AddFileExtListToFilter( { "net" } );
280 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by NETLIST_DIALOG::FilenamePrms(), and DIALOG_NETLIST::OnOpenNetlistClick().

◆ PCadPcbFileWildcard()

wxString PCadPcbFileWildcard ( )

Definition at line 305 of file wildcards_and_files_ext.cpp.

306 {
307  return _( "P-Cad 200x ASCII PCB files" ) + AddFileExtListToFilter( { "pcb" } );
308 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by AskLoadBoardFileName().

◆ PcbFileWildcard()

wxString PcbFileWildcard ( )

Definition at line 330 of file wildcards_and_files_ext.cpp.

331 {
332  return _( "KiCad printed circuit board files" ) +
334 }
const std::string KiCadPcbFileExtension("kicad_pcb")
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, AddFileExtListToFilter(), and KiCadPcbFileExtension().

Referenced by AskLoadBoardFileName(), AskSaveBoardFileName(), GERBVIEW_CONTROL::ExportToPcbnew(), and DIALOG_IMPORT_SETTINGS::OnBrowseClicked().

◆ PdfFileWildcard()

wxString PdfFileWildcard ( )

Definition at line 410 of file wildcards_and_files_ext.cpp.

411 {
412  return _( "Portable document format files" ) + AddFileExtListToFilter( { "pdf" } );
413 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

◆ PngFileWildcard()

wxString PngFileWildcard ( )

Definition at line 540 of file wildcards_and_files_ext.cpp.

541 {
542  return _( "PNG file" ) + AddFileExtListToFilter( { "png" } );
543 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by SYMBOL_EDITOR_CONTROL::ExportView(), SIM_PLOT_FRAME::menuSaveImage(), FOOTPRINT_EDIT_FRAME::OnSaveFootprintAsPng(), and EDA_3D_VIEWER_FRAME::takeScreenshot().

◆ ProjectFileWildcard()

wxString ProjectFileWildcard ( )

Definition at line 213 of file wildcards_and_files_ext.cpp.

214 {
215  return _( "KiCad project files" ) + AddFileExtListToFilter( { ProjectFileExtension } );
216 }
#define _(s)
const std::string ProjectFileExtension("kicad_pro")
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, AddFileExtListToFilter(), and ProjectFileExtension().

Referenced by KICAD_MANAGER_CONTROL::NewFromTemplate(), KICAD_MANAGER_CONTROL::NewProject(), DIALOG_SCH_IMPORT_SETTINGS::OnBrowseClicked(), and KICAD_MANAGER_CONTROL::openProject().

◆ PSFileWildcard()

wxString PSFileWildcard ( )

Definition at line 416 of file wildcards_and_files_ext.cpp.

417 {
418  return _( "PostScript files" ) + AddFileExtListToFilter( { "ps" } );
419 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by BM2CMP_FRAME::exportPostScriptFormat().

◆ ReportFileWildcard()

wxString ReportFileWildcard ( )

Definition at line 422 of file wildcards_and_files_ext.cpp.

423 {
424  return _( "Report files" ) + AddFileExtListToFilter( { "rpt" } );
425 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by DIALOG_GENDRILL::OnGenReportFile(), DIALOG_ERC::OnSaveReport(), and DIALOG_DRC::OnSaveReport().

◆ SchematicSymbolFileWildcard()

wxString SchematicSymbolFileWildcard ( )

Definition at line 187 of file wildcards_and_files_ext.cpp.

188 {
189  return _( "KiCad drawing symbol files" ) + AddFileExtListToFilter( { "sym" } );
190 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

◆ Shapes3DFileWildcard()

wxString Shapes3DFileWildcard ( )

Definition at line 434 of file wildcards_and_files_ext.cpp.

435 {
436  return _( "VRML and X3D files" ) + AddFileExtListToFilter( { "wrl", "x3d" } );
437 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

◆ SpecctraDsnFileWildcard()

wxString SpecctraDsnFileWildcard ( )

Definition at line 512 of file wildcards_and_files_ext.cpp.

513 {
514  return _( "Specctra DSN file" )
516 }
#define _(s)
const std::string SpecctraDsnFileExtension("dsn")
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, AddFileExtListToFilter(), and SpecctraDsnFileExtension().

Referenced by BOARD_EDITOR_CONTROL::ExportSpecctraDSN().

◆ SpecctraSessionFileWildcard()

wxString SpecctraSessionFileWildcard ( )

Definition at line 519 of file wildcards_and_files_ext.cpp.

520 {
521  return _( "Specctra Session file" )
523 }
const std::string SpecctraSessionFileExtension("ses")
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, AddFileExtListToFilter(), and SpecctraSessionFileExtension().

Referenced by BOARD_EDITOR_CONTROL::ImportSpecctraSession().

◆ SpiceLibraryFileWildcard()

wxString SpiceLibraryFileWildcard ( )

Definition at line 464 of file wildcards_and_files_ext.cpp.

465 {
466  return _( "Spice library file" ) + AddFileExtListToFilter( { "lib", "mod" } );
467 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by DIALOG_SPICE_MODEL::onSelectLibrary().

◆ SpiceNetlistFileWildcard()

wxString SpiceNetlistFileWildcard ( )

Definition at line 470 of file wildcards_and_files_ext.cpp.

471 {
472  return _( "SPICE netlist file" ) + AddFileExtListToFilter( { "cir" } );
473 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by NETLIST_DIALOG::FilenamePrms().

◆ SVGFileWildcard()

wxString SVGFileWildcard ( )

Definition at line 392 of file wildcards_and_files_ext.cpp.

393 {
394  return _( "SVG files" ) + AddFileExtListToFilter( { SVGFileExtension } );
395 }
const std::string SVGFileExtension("svg")
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, AddFileExtListToFilter(), and SVGFileExtension().

Referenced by SYMBOL_EDITOR_CONTROL::ExportSymbolAsSVG().

◆ TextFileWildcard()

wxString TextFileWildcard ( )

Definition at line 446 of file wildcards_and_files_ext.cpp.

447 {
448  return _( "Text files" ) + AddFileExtListToFilter( { "txt" } );
449 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by PANEL_HOTKEYS_EDITOR::dumpHotkeys(), WX_HTML_REPORT_PANEL::onBtnSaveToFile(), and DIALOG_BOARD_STATISTICS::saveReportClicked().

◆ WorkbookFileWildcard()

wxString WorkbookFileWildcard ( )

Definition at line 533 of file wildcards_and_files_ext.cpp.

534 {
535  return _( "Workbook file" )
537 }
#define _(s)
const std::string WorkbookFileExtension("wbk")
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, AddFileExtListToFilter(), and WorkbookFileExtension().

Referenced by SIM_PLOT_FRAME::menuOpenWorkbook(), and SIM_PLOT_FRAME::menuSaveWorkbookAs().

◆ ZipFileWildcard()

wxString ZipFileWildcard ( )

Definition at line 488 of file wildcards_and_files_ext.cpp.

489 {
490  return _( "Zip file" ) + AddFileExtListToFilter( { "zip" } );
491 }
#define _(s)
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog.

References _, and AddFileExtListToFilter().

Referenced by GERBVIEW_FRAME::LoadZipArchiveFile(), KICAD_MANAGER_FRAME::OnArchiveFiles(), and KICAD_MANAGER_FRAME::OnUnarchiveFiles().