KiCad PCB EDA Suite
File Wildcard Definitions

Functions

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

Variables

const wxString AllFilesWildcard
 

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 BoardFileWildcard ( )
wxString CadstarNetlistFileWildcard ( )

Definition at line 320 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

Referenced by NETLIST_DIALOG::FilenamePrms().

321 {
322  return _( "CadStar netlist file (.frp)|*." ) + FormatWildcardExt( "frp" );
323 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString ComponentFileWildcard ( )

Definition at line 221 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

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

222 {
223  return _( "KiCad symbol footprint link files (*.cmp)|*." ) + FormatWildcardExt( "cmp" );
224 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString CsvFileWildcard ( )

Definition at line 247 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

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

248 {
249  return _( "CSV Files (*.csv)|*." ) + FormatWildcardExt( "csv" );
250 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString DocModulesFileName ( )
wxString DrillFileWildcard ( )

Definition at line 228 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

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

229 {
230  return _( "Drill files (*.drl)|*." ) + FormatWildcardExt( "drl" );
231 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString DxfFileWildcard ( )

Definition at line 344 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

Referenced by DIALOG_DXF_IMPORT::OnBrowseDxfFiles().

345 {
346  return _( "DXF Files (*.dxf)|*." ) + FormatWildcardExt( "dxf" );
347 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString EagleFilesWildcard ( )

Definition at line 140 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

Referenced by KICAD_MANAGER_FRAME::OnImportEagleFiles().

141 {
142  return _( "Eagle XML files (*.sch *.brd)|*." ) +
143  FormatWildcardExt( "sch" ) + ";*." + FormatWildcardExt( "brd" );
144 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString EagleFootprintLibPathWildcard ( )

Definition at line 202 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

203 {
204  return _( "Eagle ver. 6.x XML library files (*.lbr)|*." ) + FormatWildcardExt( "lbr" );
205 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString EaglePcbFileWildcard ( )

Definition at line 165 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

Referenced by AskLoadBoardFileName().

166 {
167  return _( "Eagle ver. 6.x XML PCB files (*.brd)|*." ) + FormatWildcardExt( "brd" );
168 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString EagleSchematicFileWildcard ( )

Definition at line 134 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

Referenced by SCH_EDIT_FRAME::OnImportProject().

135 {
136  return _( "Eagle XML schematic files (*.sch)|*." ) + FormatWildcardExt( "sch" );
137 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString EquFileWildcard ( )

Definition at line 326 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

Referenced by DIALOG_CONFIG_EQUFILES::OnAddFiles().

327 {
328  return _( "Symbol footprint association files (*.equ)|*." ) + FormatWildcardExt( "equ" );
329 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString ErcFileWildcard ( )

Definition at line 302 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

Referenced by DIALOG_ERC::TestErc().

303 {
304  return _( "Electronic rule check file (.erc)|*." ) + FormatWildcardExt( "erc" );
305 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString FootprintPlaceFileWildcard ( )

Definition at line 271 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

Referenced by TREE_PROJECT_FRAME::GetFileWildcard().

272 {
273  return _( "Footprint place files (*.pos)|*." ) + FormatWildcardExt( "pos" );
274 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString GedaPcbFootprintLibFileWildcard ( )

Definition at line 208 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

Referenced by getFootprintFilenameFromUser().

209 {
210  return _( "Geda PCB footprint library files (*.fp)|*." ) + FormatWildcardExt( "fp" );
211 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString GencadFileWildcard ( )

Definition at line 338 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

Referenced by DIALOG_GENCAD_EXPORT_OPTIONS::onBrowse().

339 {
340  return _( "GenCAD 1.4 board files (.cad)|*." ) + FormatWildcardExt( "cad" );
341 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString GerberFileWildcard ( )

Definition at line 153 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

Referenced by TREE_PROJECT_FRAME::GetFileWildcard().

154 {
155  return _( "Gerber files (*.pho)|*." ) + FormatWildcardExt( "pho" );
156 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString GerberJobFileWildcard ( )

Definition at line 350 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

Referenced by GERBVIEW_FRAME::LoadGerberJobFile().

351 {
352  return _( "Gerber job file (*.gbrjob)|*." ) + FormatWildcardExt( "gbrjob" ) +
353  ";.gbrjob";
354 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString HtmlFileWildcard ( )

Definition at line 240 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

Referenced by TREE_PROJECT_FRAME::GetFileWildcard().

241 {
242  return _( "HTML files (*.html)|*." ) + FormatWildcardExt( "htm" ) + ";*.," +
243  FormatWildcardExt( "html" );
244 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString IDF3DFileWildcard ( )

Definition at line 284 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

285 {
286  return _( "IDFv3 footprint files (*.idf)|*." ) + FormatWildcardExt( "idf" );
287 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString IpcD356FileWildcard ( )

Definition at line 363 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

Referenced by PCB_EDIT_FRAME::GenD356File().

364 {
365  return _( "IPC-D-356 Test Files (.d356)|*." ) + FormatWildcardExt( "d356" );
366 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString KiCadFootprintLibFileWildcard ( )

Definition at line 184 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

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

185 {
186  return _( "KiCad footprint files (*.kicad_mod)|*." ) + FormatWildcardExt( "kicad_mod" );
187 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString KiCadFootprintLibPathWildcard ( )

Definition at line 190 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

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

191 {
192  return _( "KiCad footprint library paths (*.pretty)|*." ) + FormatWildcardExt( "pretty" );
193 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString LegacyFootprintLibPathWildcard ( )

Definition at line 196 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

197 {
198  return _( "Legacy footprint library files (*.mod)|*." ) + FormatWildcardExt( "mod" );
199 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString LegacyPcbFileWildcard ( )

Definition at line 159 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

Referenced by AskLoadBoardFileName().

160 {
161  return _( "KiCad printed circuit board files (*.brd)|*." ) + FormatWildcardExt( "brd" );
162 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString MacrosFileWildcard ( )
wxString ModLegacyExportFileWildcard ( )

Definition at line 296 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

Referenced by getFootprintFilenameFromUser().

297 {
298  return _( "Legacy footprint export files (*.emp)|*." ) + FormatWildcardExt( "emp" );
299 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString NetlistFileWildcard ( )

Definition at line 147 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

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

148 {
149  return _( "KiCad netlist files (*.net)|*." ) + FormatWildcardExt( "net" );
150 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString PageLayoutDescrFileWildcard ( )

Definition at line 214 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

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

215 {
216  return _( "Page layout design files (*.kicad_wks)|*." ) + FormatWildcardExt( "kicad_wks" );
217 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString PCadPcbFileWildcard ( )

Definition at line 171 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

Referenced by AskLoadBoardFileName().

172 {
173  return _( "P-Cad 200x ASCII PCB files (*.pcb)|*." ) + FormatWildcardExt( "pcb" );
174 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString PcbFileWildcard ( )

Definition at line 177 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

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

178 {
179  return _( "KiCad printed circuit board files (*.kicad_pcb)|*." ) +
180  FormatWildcardExt( "kicad_pcb" );
181 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString PdfFileWildcard ( )

Definition at line 253 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

Referenced by TREE_PROJECT_FRAME::GetFileWildcard().

254 {
255  return _( "Portable document format files (*.pdf)|*." ) + FormatWildcardExt( "pdf" );
256 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString PngFileWildcard ( )

Definition at line 375 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

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

376 {
377  return _( "PNG file (*.png)|*." ) + FormatWildcardExt( "png" );
378 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString ProjectFileWildcard ( )

Definition at line 122 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

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

123 {
124  return _( "KiCad project files (*.pro)|*." ) + FormatWildcardExt( "pro" );
125 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString PSFileWildcard ( )

Definition at line 259 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

260 {
261  return _( "PostScript files (.ps)|*." ) + FormatWildcardExt( "ps" );
262 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString ReportFileWildcard ( )

Definition at line 265 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

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

266 {
267  return _( "Report files (*.rpt)|*." ) + FormatWildcardExt( "rpt" );
268 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString SchematicFileWildcard ( )

Definition at line 128 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

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

129 {
130  return _( "KiCad schematic files (*.sch)|*." ) + FormatWildcardExt( "sch" );
131 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString SchematicLibraryFileWildcard ( )

Definition at line 116 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

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

117 {
118  return _( "KiCad symbol library files (*.lib)|*." ) + FormatWildcardExt( "lib" );
119 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString SchematicSymbolFileWildcard ( )

Definition at line 110 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

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

111 {
112  return _( "KiCad drawing symbol files (*.sym)|*." ) + FormatWildcardExt( "sym" );
113 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString Shapes3DFileWildcard ( )

Definition at line 277 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

278 {
279  return _( "VRML and X3D files (*.wrl *.x3d)|*." ) + FormatWildcardExt( "wrl" ) +
280  ";*." + FormatWildcardExt( "x3d" );
281 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString SpecctraDsnFileWildcard ( )

Definition at line 357 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

Referenced by PCB_EDIT_FRAME::ExportToSpecctra().

358 {
359  return _( "Specctra DSN file (*.dsn)|*." ) + FormatWildcardExt( "dsn" );
360 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString SpiceLibraryFileWildcard ( )

Definition at line 308 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

Referenced by DIALOG_SPICE_MODEL::onSelectLibrary().

309 {
310  return _( "Spice library file (*.lib)|*." ) + FormatWildcardExt( "lib" );
311 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString SpiceNetlistFileWildcard ( )

Definition at line 314 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

Referenced by NETLIST_DIALOG::FilenamePrms().

315 {
316  return _( "SPICE netlist file (.cir)|*." ) + FormatWildcardExt( "cir" );
317 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString SVGFileWildcard ( )

Definition at line 234 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

Referenced by TREE_PROJECT_FRAME::GetFileWildcard().

235 {
236  return _( "SVG files (*.svg)|*." ) + FormatWildcardExt( "svg" );
237 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString TextFileWildcard ( )

Definition at line 290 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

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

291 {
292  return _( "Text files (*.txt)|*." ) + FormatWildcardExt( "txt" );
293 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString WorkbookFileWildcard ( )

Definition at line 369 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

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

370 {
371  return _( "Workbook file (*.wbk)|*." ) + FormatWildcardExt( "wbk" );
372 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.
wxString ZipFileWildcard ( )

Definition at line 332 of file wildcards_and_files_ext.cpp.

References FormatWildcardExt().

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

333 {
334  return _( "Zip file (*.zip)|*." ) + FormatWildcardExt( "zip" );
335 }
static wxString FormatWildcardExt(const wxString &aWildcard)
Format wildcard extension to support case sensitive file dialogs.

Variable Documentation