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 IpcD356FileWildcard ()
 
wxString WorkbookFileWildcard ()
 
wxString PngFileWildcard ()
 
wxString JpegFileWildcard ()
 

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 177 of file wildcards_and_files_ext.cpp.

178 {
179  return _( "All files" ) + AddFileExtListToFilter( {} );
180 }
#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 219 of file wildcards_and_files_ext.cpp.

220 {
221  return _( "All KiCad project files" ) + AddFileExtListToFilter( { "kicad_pro", "pro" } );
222 }
#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_CONTROL::OpenProject().

◆ AllSymbolLibFilesWildcard()

wxString AllSymbolLibFilesWildcard ( )

Definition at line 201 of file wildcards_and_files_ext.cpp.

202 {
203  return _( "All KiCad symbol library files" ) + AddFileExtListToFilter( { "kicad_sym", "lib" } );
204 }
#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(), and PANEL_SYM_LIB_TABLE::PANEL_SYM_LIB_TABLE().

◆ AltiumCircuitMakerPcbFileWildcard()

wxString AltiumCircuitMakerPcbFileWildcard ( )

Definition at line 310 of file wildcards_and_files_ext.cpp.

311 {
312  return _( "Altium Circuit Maker PCB files" ) + AddFileExtListToFilter( { "CMPcbDoc" } );
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().

◆ AltiumCircuitStudioPcbFileWildcard()

wxString AltiumCircuitStudioPcbFileWildcard ( )

Definition at line 305 of file wildcards_and_files_ext.cpp.

306 {
307  return _( "Altium Circuit Studio PCB files" ) + AddFileExtListToFilter( { "CSPcbDoc" } );
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().

◆ AltiumDesignerPcbFileWildcard()

wxString AltiumDesignerPcbFileWildcard ( )

Definition at line 300 of file wildcards_and_files_ext.cpp.

301 {
302  return _( "Altium Designer PCB files" ) + AddFileExtListToFilter( { "PcbDoc" } );
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().

◆ AltiumSchematicFileWildcard()

wxString AltiumSchematicFileWildcard ( )

Definition at line 237 of file wildcards_and_files_ext.cpp.

238 {
239  return _( "Altium schematic files" ) + AddFileExtListToFilter( { "SchDoc" } );
240 }
#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 249 of file wildcards_and_files_ext.cpp.

250 {
251  return _( "CADSTAR Archive files" ) + AddFileExtListToFilter( { "csa", "cpa" } );
252 }
#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 460 of file wildcards_and_files_ext.cpp.

461 {
462  return _( "CadStar netlist file" ) + AddFileExtListToFilter( { "frp" } );
463 }
#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 290 of file wildcards_and_files_ext.cpp.

291 {
292  return _( "CADSTAR PCB Archive files" ) + AddFileExtListToFilter( { "cpa" } );
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().

Referenced by AskLoadBoardFileName().

◆ CadstarSchematicArchiveFileWildcard()

wxString CadstarSchematicArchiveFileWildcard ( )

Definition at line 243 of file wildcards_and_files_ext.cpp.

244 {
245  return _( "CADSTAR Schematic Archive files" ) + AddFileExtListToFilter( { "csa" } );
246 }
#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 388 of file wildcards_and_files_ext.cpp.

389 {
390  return _( "CSV Files" ) + AddFileExtListToFilter( { "csv" } );
391 }
#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 356 of file wildcards_and_files_ext.cpp.

357 {
358  return _( "Drawing sheet files" ) + AddFileExtListToFilter( { "kicad_wks" } );
359 }
#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 PL_EDITOR_FRAME::Files_io(), BM2CMP_FRAME::OnExportLogo(), and DIALOG_PAGES_SETTINGS::OnWksFileSelection().

◆ DrillFileWildcard()

wxString DrillFileWildcard ( )

Definition at line 370 of file wildcards_and_files_ext.cpp.

371 {
372  return _( "Drill files" ) + AddFileExtListToFilter( { "drl", "nc", "xnc", "txt" } );
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 GERBVIEW_FRAME::LoadExcellonFiles().

◆ DxfFileWildcard()

wxString DxfFileWildcard ( )

Definition at line 484 of file wildcards_and_files_ext.cpp.

485 {
486  return _( "DXF Files" ) + AddFileExtListToFilter( { "dxf" } );
487 }
#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 261 of file wildcards_and_files_ext.cpp.

262 {
263  return _( "Eagle XML files" ) + AddFileExtListToFilter( { "sch", "brd" } );
264 }
#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 344 of file wildcards_and_files_ext.cpp.

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

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

256 {
257  return _( "Eagle XML schematic files" ) + AddFileExtListToFilter( { "sch" } );
258 }
#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 466 of file wildcards_and_files_ext.cpp.

467 {
468  return _( "Symbol footprint association files" ) + AddFileExtListToFilter( { "equ" } );
469 }
#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 442 of file wildcards_and_files_ext.cpp.

443 {
444  return _( "Electrical rule check file" ) + AddFileExtListToFilter( { "erc" } );
445 }
#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 315 of file wildcards_and_files_ext.cpp.

316 {
317  return _( "Fabmaster PCB files" ) + AddFileExtListToFilter( { "txt", "fab" } );
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().

◆ FootprintAssignmentFileWildcard()

wxString FootprintAssignmentFileWildcard ( )

Definition at line 363 of file wildcards_and_files_ext.cpp.

364 {
365  return _( "KiCad symbol footprint link files" ) + AddFileExtListToFilter( { "cmp" } );
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 SCH_EDITOR_CONTROL::ImportFPAssignments(), and PCB_EDIT_FRAME::RecreateCmpFileFromBoard().

◆ FootprintPlaceFileWildcard()

wxString FootprintPlaceFileWildcard ( )

Definition at line 412 of file wildcards_and_files_ext.cpp.

413 {
414  return _( "Component placement files" ) + AddFileExtListToFilter( { "pos" } );
415 }
#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 350 of file wildcards_and_files_ext.cpp.

351 {
352  return _( "Geda PCB footprint library files" ) + AddFileExtListToFilter( { "fp" } );
353 }
#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 478 of file wildcards_and_files_ext.cpp.

479 {
480  return _( "GenCAD 1.4 board files" ) + AddFileExtListToFilter( { "cad" } );
481 }
#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 273 of file wildcards_and_files_ext.cpp.

274 {
275  return _( "Gerber files" ) + AddFileExtListToFilter( { "pho" } );
276 }
#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 490 of file wildcards_and_files_ext.cpp.

491 {
492  return _( "Gerber job file" ) + AddFileExtListToFilter( { "gbrjob" } );
493 }
#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::LoadGerberJobFile().

◆ HtmlFileWildcard()

wxString HtmlFileWildcard ( )

Definition at line 382 of file wildcards_and_files_ext.cpp.

383 {
384  return _( "HTML files" ) + AddFileExtListToFilter( { "htm", "html" } );
385 }
#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 424 of file wildcards_and_files_ext.cpp.

425 {
426  return _( "IDFv3 footprint files" ) + AddFileExtListToFilter( { "idf" } );
427 }
#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 502 of file wildcards_and_files_ext.cpp.

503 {
504  return _( "IPC-D-356 Test Files" ) + AddFileExtListToFilter( { "d356" } );
505 }
#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 PCB_EDIT_FRAME::GenD356File().

◆ JpegFileWildcard()

wxString JpegFileWildcard ( )

Definition at line 520 of file wildcards_and_files_ext.cpp.

521 {
522  return _( "Jpeg file" ) + AddFileExtListToFilter( { "jpg", "jpeg" } );
523 }
#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 326 of file wildcards_and_files_ext.cpp.

327 {
328  return _( "KiCad footprint files" ) + AddFileExtListToFilter( { "kicad_mod" } );
329 }
#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 FOOTPRINT_EDIT_FRAME::ExportFootprint(), BM2CMP_FRAME::exportPcbnewFormat(), and getFootprintFilenameFromUser().

◆ KiCadFootprintLibPathWildcard()

wxString KiCadFootprintLibPathWildcard ( )

Definition at line 332 of file wildcards_and_files_ext.cpp.

333 {
334  return _( "KiCad footprint library paths" ) + AddFileExtListToFilter( { "pretty" } );
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 PCB_BASE_EDIT_FRAME::AddLibrary(), and PCB_BASE_EDIT_FRAME::createNewLibrary().

◆ KiCadSchematicFileWildcard()

wxString KiCadSchematicFileWildcard ( )

Definition at line 231 of file wildcards_and_files_ext.cpp.

232 {
233  return _( "KiCad s-expression schematic files" ) + AddFileExtListToFilter( { "kicad_sch" } );
234 }
#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::AppendSchematic(), SCH_EDIT_FRAME::LoadProject(), SCH_EDIT_FRAME::NewProject(), SCH_EDIT_FRAME::SaveEEFile(), and SCH_EDIT_FRAME::SaveProject().

◆ KiCadSymbolLibFileWildcard()

wxString KiCadSymbolLibFileWildcard ( )

Definition at line 189 of file wildcards_and_files_ext.cpp.

190 {
191  return _( "KiCad symbol library files" ) + AddFileExtListToFilter( { "kicad_sym" } );
192 }
#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_EDIT_FRAME::AddLibraryFile(), PANEL_SYM_LIB_TABLE::browseLibrariesHandler(), 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 338 of file wildcards_and_files_ext.cpp.

339 {
340  return _( "Legacy footprint library files" ) + AddFileExtListToFilter( { "mod" } );
341 }
#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 279 of file wildcards_and_files_ext.cpp.

280 {
281  return _( "KiCad printed circuit board files" ) + AddFileExtListToFilter( { "brd" } );
282 }
#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 213 of file wildcards_and_files_ext.cpp.

214 {
215  return _( "KiCad legacy project files" ) + AddFileExtListToFilter( { "pro" } );
216 }
#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_CONTROL::OpenProject().

◆ LegacySchematicFileWildcard()

wxString LegacySchematicFileWildcard ( )

Definition at line 225 of file wildcards_and_files_ext.cpp.

226 {
227  return _( "KiCad legacy schematic files" ) + AddFileExtListToFilter( { "sch" } );
228 }
#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::LoadProject().

◆ LegacySymbolLibFileWildcard()

wxString LegacySymbolLibFileWildcard ( )

Definition at line 195 of file wildcards_and_files_ext.cpp.

196 {
197  return _( "KiCad legacy symbol library files" ) + AddFileExtListToFilter( { "lib" } );
198 }
#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(), BM2CMP_FRAME::exportEeschemaFormat(), SYMBOL_EDIT_FRAME::ImportSymbol(), and PANEL_SYM_LIB_TABLE::PANEL_SYM_LIB_TABLE().

◆ MacrosFileWildcard()

wxString MacrosFileWildcard ( )

◆ ModLegacyExportFileWildcard()

wxString ModLegacyExportFileWildcard ( )

Definition at line 436 of file wildcards_and_files_ext.cpp.

437 {
438  return _( "Legacy footprint export files" ) + AddFileExtListToFilter( { "emp" } );
439 }
#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 267 of file wildcards_and_files_ext.cpp.

268 {
269  return _( "KiCad netlist files" ) + AddFileExtListToFilter( { "net" } );
270 }
#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 295 of file wildcards_and_files_ext.cpp.

296 {
297  return _( "P-Cad 200x ASCII PCB files" ) + AddFileExtListToFilter( { "pcb" } );
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().

◆ PcbFileWildcard()

wxString PcbFileWildcard ( )

Definition at line 320 of file wildcards_and_files_ext.cpp.

321 {
322  return _( "KiCad printed circuit board files" ) + AddFileExtListToFilter( { "kicad_pcb" } );
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(), AskSaveBoardFileName(), GERBVIEW_CONTROL::ExportToPcbnew(), and DIALOG_IMPORT_SETTINGS::OnBrowseClicked().

◆ PdfFileWildcard()

wxString PdfFileWildcard ( )

Definition at line 394 of file wildcards_and_files_ext.cpp.

395 {
396  return _( "Portable document format files" ) + AddFileExtListToFilter( { "pdf" } );
397 }
#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 514 of file wildcards_and_files_ext.cpp.

515 {
516  return _( "PNG file" ) + AddFileExtListToFilter( { "png" } );
517 }
#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 207 of file wildcards_and_files_ext.cpp.

208 {
209  return _( "KiCad project files" ) + AddFileExtListToFilter( { "kicad_pro" } );
210 }
#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_CONTROL::NewFromTemplate(), KICAD_MANAGER_CONTROL::NewProject(), DIALOG_SCH_IMPORT_SETTINGS::OnBrowseClicked(), and KICAD_MANAGER_CONTROL::OpenProject().

◆ PSFileWildcard()

wxString PSFileWildcard ( )

Definition at line 400 of file wildcards_and_files_ext.cpp.

401 {
402  return _( "PostScript files" ) + AddFileExtListToFilter( { "ps" } );
403 }
#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 406 of file wildcards_and_files_ext.cpp.

407 {
408  return _( "Report files" ) + AddFileExtListToFilter( { "rpt" } );
409 }
#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 183 of file wildcards_and_files_ext.cpp.

184 {
185  return _( "KiCad drawing symbol files" ) + AddFileExtListToFilter( { "sym" } );
186 }
#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 418 of file wildcards_and_files_ext.cpp.

419 {
420  return _( "VRML and X3D files" ) + AddFileExtListToFilter( { "wrl", "x3d" } );
421 }
#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 496 of file wildcards_and_files_ext.cpp.

497 {
498  return _( "Specctra DSN file" ) + AddFileExtListToFilter( { "dsn" } );
499 }
#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 BOARD_EDITOR_CONTROL::ExportSpecctraDSN().

◆ SpiceLibraryFileWildcard()

wxString SpiceLibraryFileWildcard ( )

Definition at line 448 of file wildcards_and_files_ext.cpp.

449 {
450  return _( "Spice library file" ) + AddFileExtListToFilter( { "lib", "mod" } );
451 }
#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 454 of file wildcards_and_files_ext.cpp.

455 {
456  return _( "SPICE netlist file" ) + AddFileExtListToFilter( { "cir" } );
457 }
#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 376 of file wildcards_and_files_ext.cpp.

377 {
378  return _( "SVG files" ) + AddFileExtListToFilter( { "svg" } );
379 }
#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().

◆ TextFileWildcard()

wxString TextFileWildcard ( )

Definition at line 430 of file wildcards_and_files_ext.cpp.

431 {
432  return _( "Text files" ) + AddFileExtListToFilter( { "txt" } );
433 }
#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 WX_HTML_REPORT_PANEL::onBtnSaveToFile(), and DIALOG_BOARD_STATISTICS::saveReportClicked().

◆ WorkbookFileWildcard()

wxString WorkbookFileWildcard ( )

Definition at line 508 of file wildcards_and_files_ext.cpp.

509 {
510  return _( "Workbook file" ) + AddFileExtListToFilter( { "wbk" } );
511 }
#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::menuOpenWorkbook(), and SIM_PLOT_FRAME::menuSaveWorkbookAs().

◆ ZipFileWildcard()

wxString ZipFileWildcard ( )

Definition at line 472 of file wildcards_and_files_ext.cpp.

473 {
474  return _( "Zip file" ) + AddFileExtListToFilter( { "zip" } );
475 }
#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().