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 AllSchematicFilesWildcard ()
 
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().

◆ AllSchematicFilesWildcard()

wxString AllSchematicFilesWildcard ( )

Definition at line 233 of file wildcards_and_files_ext.cpp.

234 {
235  return _( "All KiCad schematic files" )
237 }
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.
const std::string LegacySchematicFileExtension("sch")

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

Referenced by SCH_EDIT_FRAME::LoadProject().

◆ 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(), SYMBOL_EDIT_FRAME::ImportSymbol(), and PANEL_SYM_LIB_TABLE::PANEL_SYM_LIB_TABLE().

◆ AltiumCircuitMakerPcbFileWildcard()

wxString AltiumCircuitMakerPcbFileWildcard ( )

Definition at line 327 of file wildcards_and_files_ext.cpp.

328 {
329  return _( "Altium Circuit Maker PCB files" ) + AddFileExtListToFilter( { "CMPcbDoc" } );
330 }
#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 322 of file wildcards_and_files_ext.cpp.

323 {
324  return _( "Altium Circuit Studio PCB files" ) + AddFileExtListToFilter( { "CSPcbDoc" } );
325 }
#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 317 of file wildcards_and_files_ext.cpp.

318 {
319  return _( "Altium Designer PCB files" ) + AddFileExtListToFilter( { "PcbDoc" } );
320 }
#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 254 of file wildcards_and_files_ext.cpp.

255 {
256  return _( "Altium schematic files" ) + AddFileExtListToFilter( { "SchDoc" } );
257 }
#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 266 of file wildcards_and_files_ext.cpp.

267 {
268  return _( "CADSTAR Archive files" ) + AddFileExtListToFilter( { "csa", "cpa" } );
269 }
#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 483 of file wildcards_and_files_ext.cpp.

484 {
485  return _( "CadStar netlist file" ) + AddFileExtListToFilter( { "frp" } );
486 }
#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 307 of file wildcards_and_files_ext.cpp.

308 {
309  return _( "CADSTAR PCB Archive files" ) + AddFileExtListToFilter( { "cpa" } );
310 }
#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 260 of file wildcards_and_files_ext.cpp.

261 {
262  return _( "CADSTAR Schematic Archive files" ) + AddFileExtListToFilter( { "csa" } );
263 }
#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 411 of file wildcards_and_files_ext.cpp.

412 {
413  return _( "CSV Files" ) + AddFileExtListToFilter( { "csv" } );
414 }
#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 376 of file wildcards_and_files_ext.cpp.

377 {
378  return _( "Drawing sheet files" )
380 }
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 392 of file wildcards_and_files_ext.cpp.

393 {
394  return _( "Drill files" )
395  + AddFileExtListToFilter( { DrillFileExtension, "nc", "xnc", "txt" } );
396 }
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 507 of file wildcards_and_files_ext.cpp.

508 {
509  return _( "DXF Files" ) + AddFileExtListToFilter( { "dxf" } );
510 }
#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 278 of file wildcards_and_files_ext.cpp.

279 {
280  return _( "Eagle XML files" ) + AddFileExtListToFilter( { "sch", "brd" } );
281 }
#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 364 of file wildcards_and_files_ext.cpp.

365 {
366  return _( "Eagle ver. 6.x XML library files" ) + AddFileExtListToFilter( { "lbr" } );
367 }
#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 302 of file wildcards_and_files_ext.cpp.

303 {
304  return _( "Eagle ver. 6.x XML PCB files" ) + AddFileExtListToFilter( { "brd" } );
305 }
#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 272 of file wildcards_and_files_ext.cpp.

273 {
274  return _( "Eagle XML schematic files" ) + AddFileExtListToFilter( { "sch" } );
275 }
#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 489 of file wildcards_and_files_ext.cpp.

490 {
491  return _( "Symbol footprint association files" ) + AddFileExtListToFilter( { "equ" } );
492 }
#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 465 of file wildcards_and_files_ext.cpp.

466 {
467  return _( "Electrical rule check file" ) + AddFileExtListToFilter( { "erc" } );
468 }
#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 332 of file wildcards_and_files_ext.cpp.

333 {
334  return _( "Fabmaster PCB files" ) + AddFileExtListToFilter( { "txt", "fab" } );
335 }
#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 384 of file wildcards_and_files_ext.cpp.

385 {
386  return _( "KiCad symbol footprint link files" )
388 }
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 435 of file wildcards_and_files_ext.cpp.

436 {
437  return _( "Component placement files" ) + AddFileExtListToFilter( { "pos" } );
438 }
#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 370 of file wildcards_and_files_ext.cpp.

371 {
372  return _( "Geda PCB footprint library files" ) + AddFileExtListToFilter( { "fp" } );
373 }
#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 501 of file wildcards_and_files_ext.cpp.

502 {
503  return _( "GenCAD 1.4 board files" ) + AddFileExtListToFilter( { "cad" } );
504 }
#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 290 of file wildcards_and_files_ext.cpp.

291 {
292  return _( "Gerber files" ) + AddFileExtListToFilter( { "pho" } );
293 }
#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 513 of file wildcards_and_files_ext.cpp.

514 {
515  return _( "Gerber job file" ) + AddFileExtListToFilter( { GerberJobFileExtension } );
516 }
#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 559 of file wildcards_and_files_ext.cpp.

560 {
561  return _( "Hotkey file" ) + AddFileExtListToFilter( { HotkeyFileExtension } );
562 }
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 405 of file wildcards_and_files_ext.cpp.

406 {
407  return _( "HTML files" ) + AddFileExtListToFilter( { "htm", "html" } );
408 }
#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 447 of file wildcards_and_files_ext.cpp.

448 {
449  return _( "IDFv3 footprint files" ) + AddFileExtListToFilter( { "idf" } );
450 }
#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 533 of file wildcards_and_files_ext.cpp.

534 {
535  return _( "IPC-D-356 Test Files" )
537 }
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 553 of file wildcards_and_files_ext.cpp.

554 {
555  return _( "Jpeg file" ) + AddFileExtListToFilter( { "jpg", "jpeg" } );
556 }
#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 344 of file wildcards_and_files_ext.cpp.

345 {
346  return _( "KiCad footprint files" )
348 }
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 351 of file wildcards_and_files_ext.cpp.

352 {
353  return _( "KiCad footprint library paths" )
355 }
#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 247 of file wildcards_and_files_ext.cpp.

248 {
249  return _( "KiCad s-expression schematic files" )
251 }
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(), SCH_EDITOR_CONTROL::SaveCurrSheetCopyAs(), 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 358 of file wildcards_and_files_ext.cpp.

359 {
360  return _( "Legacy footprint library files" ) + AddFileExtListToFilter( { "mod" } );
361 }
#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 296 of file wildcards_and_files_ext.cpp.

297 {
298  return _( "KiCad printed circuit board files" ) + AddFileExtListToFilter( { "brd" } );
299 }
#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 240 of file wildcards_and_files_ext.cpp.

241 {
242  return _( "KiCad legacy schematic files" )
244 }
#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 459 of file wildcards_and_files_ext.cpp.

460 {
461  return _( "Legacy footprint export files" ) + AddFileExtListToFilter( { "emp" } );
462 }
#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 284 of file wildcards_and_files_ext.cpp.

285 {
286  return _( "KiCad netlist files" ) + AddFileExtListToFilter( { "net" } );
287 }
#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_IMPORT::onBrowseNetlistFiles().

◆ PCadPcbFileWildcard()

wxString PCadPcbFileWildcard ( )

Definition at line 312 of file wildcards_and_files_ext.cpp.

313 {
314  return _( "P-Cad 200x ASCII PCB files" ) + AddFileExtListToFilter( { "pcb" } );
315 }
#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 337 of file wildcards_and_files_ext.cpp.

338 {
339  return _( "KiCad printed circuit board files" ) +
341 }
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 417 of file wildcards_and_files_ext.cpp.

418 {
419  return _( "Portable document format files" ) + AddFileExtListToFilter( { "pdf" } );
420 }
#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 547 of file wildcards_and_files_ext.cpp.

548 {
549  return _( "PNG file" ) + AddFileExtListToFilter( { "png" } );
550 }
#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 423 of file wildcards_and_files_ext.cpp.

424 {
425  return _( "PostScript files" ) + AddFileExtListToFilter( { "ps" } );
426 }
#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 429 of file wildcards_and_files_ext.cpp.

430 {
431  return _( "Report files" ) + AddFileExtListToFilter( { "rpt" } );
432 }
#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 441 of file wildcards_and_files_ext.cpp.

442 {
443  return _( "VRML and X3D files" ) + AddFileExtListToFilter( { "wrl", "x3d" } );
444 }
#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 519 of file wildcards_and_files_ext.cpp.

520 {
521  return _( "Specctra DSN file" )
523 }
#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 526 of file wildcards_and_files_ext.cpp.

527 {
528  return _( "Specctra Session file" )
530 }
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 471 of file wildcards_and_files_ext.cpp.

472 {
473  return _( "Spice library file" ) + AddFileExtListToFilter( { "lib", "mod" } );
474 }
#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 477 of file wildcards_and_files_ext.cpp.

478 {
479  return _( "SPICE netlist file" ) + AddFileExtListToFilter( { "cir" } );
480 }
#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 399 of file wildcards_and_files_ext.cpp.

400 {
401  return _( "SVG files" ) + AddFileExtListToFilter( { SVGFileExtension } );
402 }
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 453 of file wildcards_and_files_ext.cpp.

454 {
455  return _( "Text files" ) + AddFileExtListToFilter( { "txt" } );
456 }
#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 540 of file wildcards_and_files_ext.cpp.

541 {
542  return _( "Workbook file" )
544 }
#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 495 of file wildcards_and_files_ext.cpp.

496 {
497  return _( "Zip file" ) + AddFileExtListToFilter( { "zip" } );
498 }
#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(), PANEL_PACKAGES_VIEW::OnDownloadVersionClicked(), DIALOG_PCM::OnInstallFromFileClicked(), and KICAD_MANAGER_FRAME::OnUnarchiveFiles().