KiCad PCB EDA Suite
File Wildcard Definitions

Functions

wxString AllFilesWildcard ()
 
wxString ComponentFileWildcard ()
 
wxString PageLayoutDescrFileWildcard ()
 
wxString SchematicSymbolFileWildcard ()
 
wxString SchematicLibraryFileWildcard ()
 
wxString ProjectFileWildcard ()
 
wxString SchematicFileWildcard ()
 
wxString BoardFileWildcard ()
 
wxString NetlistFileWildcard ()
 
wxString GerberFileWildcard ()
 
wxString HtmlFileWildcard ()
 
wxString CsvFileWildcard ()
 
wxString LegacyPcbFileWildcard ()
 
wxString PcbFileWildcard ()
 
wxString EaglePcbFileWildcard ()
 
wxString EagleSchematicFileWildcard ()
 
wxString EagleFilesWildcard ()
 
wxString PCadPcbFileWildcard ()
 
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

wxString AllFilesWildcard ( )

Definition at line 147 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

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

148 {
149  return _( "All files" ) + AddFileExtListToFilter( {} );
150 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString BoardFileWildcard ( )
wxString CadstarNetlistFileWildcard ( )

Definition at line 359 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by NETLIST_DIALOG::FilenamePrms().

360 {
361  return _( "CadStar netlist file" ) + AddFileExtListToFilter( { "frp" } );
362 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString ComponentFileWildcard ( )

Definition at line 262 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by TREE_PROJECT_FRAME::GetFileWildcard(), SCH_EDIT_FRAME::LoadCmpToFootprintLinkFile(), and PCB_EDIT_FRAME::RecreateCmpFileFromBoard().

263 {
264  return _( "KiCad symbol footprint link files" ) + AddFileExtListToFilter( { "cmp" } );
265 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString CsvFileWildcard ( )

Definition at line 287 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

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

288 {
289  return _( "CSV Files" ) + AddFileExtListToFilter( { "csv" } );
290 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString DocModulesFileName ( )
wxString DrillFileWildcard ( )

Definition at line 269 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by TREE_PROJECT_FRAME::GetFileWildcard(), and GERBVIEW_FRAME::LoadExcellonFiles().

270 {
271  return _( "Drill files" ) + AddFileExtListToFilter( { "drl", "nc", "xnc" } );
272 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString DxfFileWildcard ( )

Definition at line 383 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

384 {
385  return _( "DXF Files" ) + AddFileExtListToFilter( { "dxf" } );
386 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString EagleFilesWildcard ( )

Definition at line 183 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by KICAD_MANAGER_FRAME::OnImportEagleFiles().

184 {
185  return _( "Eagle XML files" ) + AddFileExtListToFilter( { "sch", "brd" } );
186 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString EagleFootprintLibPathWildcard ( )

Definition at line 243 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

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

Definition at line 207 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by AskLoadBoardFileName().

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

Definition at line 177 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by SCH_EDIT_FRAME::OnImportProject().

178 {
179  return _( "Eagle XML schematic files" ) + AddFileExtListToFilter( { "sch" } );
180 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString EquFileWildcard ( )

Definition at line 365 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by DIALOG_CONFIG_EQUFILES::OnAddFiles().

366 {
367  return _( "Symbol footprint association files" ) + AddFileExtListToFilter( { "equ" } );
368 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString ErcFileWildcard ( )

Definition at line 341 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by DIALOG_ERC::TestErc().

342 {
343  return _( "Electronic rule check file" ) + AddFileExtListToFilter( { "erc" } );
344 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString FootprintPlaceFileWildcard ( )

Definition at line 311 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by TREE_PROJECT_FRAME::GetFileWildcard().

312 {
313  return _( "Footprint place files" ) + AddFileExtListToFilter( { "pos" } );
314 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString GedaPcbFootprintLibFileWildcard ( )

Definition at line 249 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by getFootprintFilenameFromUser().

250 {
251  return _( "Geda PCB footprint library files" ) + AddFileExtListToFilter( { "fp" } );
252 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString GencadFileWildcard ( )

Definition at line 377 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by DIALOG_GENCAD_EXPORT_OPTIONS::onBrowse().

378 {
379  return _( "GenCAD 1.4 board files" ) + AddFileExtListToFilter( { "cad" } );
380 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString GerberFileWildcard ( )

Definition at line 195 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by TREE_PROJECT_FRAME::GetFileWildcard().

196 {
197  return _( "Gerber files" ) + AddFileExtListToFilter( { "pho" } );
198 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString GerberJobFileWildcard ( )

Definition at line 389 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by GERBVIEW_FRAME::LoadGerberJobFile().

390 {
391  return _( "Gerber job file" ) + AddFileExtListToFilter( { "gbrjob" } );
392 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString HtmlFileWildcard ( )

Definition at line 281 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by TREE_PROJECT_FRAME::GetFileWildcard().

282 {
283  return _( "HTML files" ) + AddFileExtListToFilter( { "htm", "html" } );
284 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString IDF3DFileWildcard ( )

Definition at line 323 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

324 {
325  return _( "IDFv3 footprint files" ) + AddFileExtListToFilter( { "idf" } );
326 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString IpcD356FileWildcard ( )

Definition at line 401 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by PCB_EDIT_FRAME::GenD356File().

402 {
403  return _( "IPC-D-356 Test Files" ) + AddFileExtListToFilter( { "d356" } );
404 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString JpegFileWildcard ( )

Definition at line 419 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by EDA_3D_VIEWER::takeScreenshot().

420 {
421  return _( "Jpeg file" ) + AddFileExtListToFilter( { "jpg", "jpeg" } );
422 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString KiCadFootprintLibFileWildcard ( )

Definition at line 225 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by FOOTPRINT_EDIT_FRAME::Export_Module(), TREE_PROJECT_FRAME::GetFileWildcard(), and getFootprintFilenameFromUser().

226 {
227  return _( "KiCad footprint files" ) + AddFileExtListToFilter( { "kicad_mod" } );
228 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString KiCadFootprintLibPathWildcard ( )

Definition at line 231 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

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

232 {
233  return _( "KiCad footprint library paths" ) + AddFileExtListToFilter( { "pretty" } );
234 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString LegacyFootprintLibPathWildcard ( )

Definition at line 237 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

238 {
239  return _( "Legacy footprint library files" ) + AddFileExtListToFilter( { "mod" } );
240 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString LegacyPcbFileWildcard ( )

Definition at line 201 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by AskLoadBoardFileName().

202 {
203  return _( "KiCad printed circuit board files" ) + AddFileExtListToFilter( { "brd" } );
204 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString MacrosFileWildcard ( )
wxString ModLegacyExportFileWildcard ( )

Definition at line 335 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by getFootprintFilenameFromUser().

336 {
337  return _( "Legacy footprint export files" ) + AddFileExtListToFilter( { "emp" } );
338 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString NetlistFileWildcard ( )

Definition at line 189 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

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

190 {
191  return _( "KiCad netlist files" ) + AddFileExtListToFilter( { "net" } );
192 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString PageLayoutDescrFileWildcard ( )

Definition at line 255 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by PL_EDITOR_FRAME::Files_io(), TREE_PROJECT_FRAME::GetFileWildcard(), and DIALOG_PAGES_SETTINGS::OnWksFileSelection().

256 {
257  return _( "Page layout design files" ) + AddFileExtListToFilter( { "kicad_wks" } );
258 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString PCadPcbFileWildcard ( )

Definition at line 213 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by AskLoadBoardFileName().

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

Definition at line 219 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by AskLoadBoardFileName(), AskSaveBoardFileName(), GERBVIEW_FRAME::ExportDataInPcbnewFormat(), and TREE_PROJECT_FRAME::GetFileWildcard().

220 {
221  return _( "KiCad printed circuit board files" ) + AddFileExtListToFilter( { "kicad_pcb" } );
222 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString PdfFileWildcard ( )

Definition at line 293 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by TREE_PROJECT_FRAME::GetFileWildcard().

294 {
295  return _( "Portable document format files" ) + AddFileExtListToFilter( { "pdf" } );
296 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString PngFileWildcard ( )

Definition at line 413 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by SIM_PLOT_FRAME::menuSaveImage(), LIB_EDIT_FRAME::OnPlotCurrentComponent(), FOOTPRINT_EDIT_FRAME::OnSaveFootprintAsPng(), and EDA_3D_VIEWER::takeScreenshot().

414 {
415  return _( "PNG file" ) + AddFileExtListToFilter( { "png" } );
416 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString ProjectFileWildcard ( )

Definition at line 165 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by TREE_PROJECT_FRAME::GetFileWildcard(), DIALOG_IMPORT_SETTINGS::OnBrowseClicked(), KICAD_MANAGER_FRAME::OnLoadProject(), KICAD_MANAGER_FRAME::OnNewProject(), SCH_EDIT_FRAME::Process_Config(), SCH_EDIT_FRAME::SaveProjectSettings(), and PCB_EDIT_FRAME::SaveProjectSettings().

166 {
167  return _( "KiCad project files" ) + AddFileExtListToFilter( { "pro" } );
168 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString PSFileWildcard ( )

Definition at line 299 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

300 {
301  return _( "PostScript files" ) + AddFileExtListToFilter( { "ps" } );
302 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString ReportFileWildcard ( )

Definition at line 305 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by TREE_PROJECT_FRAME::GetFileWildcard(), DIALOG_DRC_CONTROL::OnButtonBrowseRptFileClick(), and DIALOG_GENDRILL::OnGenReportFile().

306 {
307  return _( "Report files" ) + AddFileExtListToFilter( { "rpt" } );
308 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString SchematicFileWildcard ( )

Definition at line 171 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by SCH_EDIT_FRAME::AppendSchematic(), TREE_PROJECT_FRAME::GetFileWildcard(), SCH_EDIT_FRAME::OnLoadProject(), SCH_EDIT_FRAME::OnNewProject(), and SCH_EDIT_FRAME::SaveEEFile().

172 {
173  return _( "KiCad schematic files" ) + AddFileExtListToFilter( { "sch" } );
174 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString SchematicLibraryFileWildcard ( )

Definition at line 159 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by LIB_EDIT_FRAME::addLibraryFile(), PANEL_SYM_LIB_TABLE::browseLibrariesHandler(), TREE_PROJECT_FRAME::GetFileWildcard(), LIB_EDIT_FRAME::OnExportPart(), LIB_EDIT_FRAME::OnImportPart(), and LIB_EDIT_FRAME::saveLibrary().

160 {
161  return _( "KiCad symbol library files" ) + AddFileExtListToFilter( { "lib" } );
162 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString SchematicSymbolFileWildcard ( )

Definition at line 153 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by LIB_EDIT_FRAME::LoadOneSymbol(), and LIB_EDIT_FRAME::SaveOneSymbol().

154 {
155  return _( "KiCad drawing symbol files" ) + AddFileExtListToFilter( { "sym" } );
156 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString Shapes3DFileWildcard ( )

Definition at line 317 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

318 {
319  return _( "VRML and X3D files" ) + AddFileExtListToFilter( { "wrl", "x3d" } );
320 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString SpecctraDsnFileWildcard ( )

Definition at line 395 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by PCB_EDIT_FRAME::ExportToSpecctra().

396 {
397  return _( "Specctra DSN file" ) + AddFileExtListToFilter( { "dsn" } );
398 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString SpiceLibraryFileWildcard ( )

Definition at line 347 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by DIALOG_SPICE_MODEL::onSelectLibrary().

348 {
349  return _( "Spice library file" ) + AddFileExtListToFilter( { "lib" } );
350 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString SpiceNetlistFileWildcard ( )

Definition at line 353 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by NETLIST_DIALOG::FilenamePrms().

354 {
355  return _( "SPICE netlist file" ) + AddFileExtListToFilter( { "cir" } );
356 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString SVGFileWildcard ( )

Definition at line 275 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by TREE_PROJECT_FRAME::GetFileWildcard().

276 {
277  return _( "SVG files" ) + AddFileExtListToFilter( { "svg" } );
278 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString TextFileWildcard ( )

Definition at line 329 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

Referenced by TREE_PROJECT_FRAME::GetFileWildcard(), and WX_HTML_REPORT_PANEL::onBtnSaveToFile().

330 {
331  return _( "Text files" ) + AddFileExtListToFilter( { "txt" } );
332 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString WorkbookFileWildcard ( )

Definition at line 407 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

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

408 {
409  return _( "Workbook file" ) + AddFileExtListToFilter( { "wbk" } );
410 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...
wxString ZipFileWildcard ( )

Definition at line 371 of file wildcards_and_files_ext.cpp.

References AddFileExtListToFilter().

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

372 {
373  return _( "Zip file" ) + AddFileExtListToFilter( { "zip" } );
374 }
wxString AddFileExtListToFilter(const std::vector< std::string > &aExts)
Build the wildcard extension file dialog wildcard filter to add to the base message dialog...