KiCad PCB EDA Suite
eeschema/dialogs/dialog_netlist.cpp File Reference
#include <pgm_base.h>
#include <kiface_base.h>
#include <gestfich.h>
#include <sch_edit_frame.h>
#include <general.h>
#include <netlist.h>
#include <dialogs/dialog_netlist_base.h>
#include <wildcards_and_files_ext.h>
#include <invoke_sch_dialog.h>
#include <netlist_exporters/netlist_exporter_spice.h>
#include <eeschema_settings.h>
#include <schematic.h>
#include <paths.h>
#include <eeschema_id.h>
#include <wx/checkbox.h>
#include <wx/filedlg.h>
#include <wx/msgdlg.h>
#include <wx/regex.h>

Go to the source code of this file.

Classes

class  NETLIST_PAGE_DIALOG
 
class  NETLIST_DIALOG
 
class  NETLIST_DIALOG_ADD_GENERATOR
 

Macros

#define CUSTOMPANEL_COUNTMAX   8
 

Enumerations

enum  panel_netlist_index {
  PANELPCBNEW = 0 , PANELORCADPCB2 , PANELCADSTAR , PANELSPICE ,
  PANELCUSTOMBASE
}
 
enum  id_netlist { ID_CREATE_NETLIST = ID_END_EESCHEMA_ID_LIST + 1 , ID_SAVE_ALL_VOLTAGES , ID_SAVE_ALL_CURRENTS , ID_RUN_SIMULATOR }
 

Functions

int InvokeDialogNetList (SCH_EDIT_FRAME *aCaller)
 

Macro Definition Documentation

◆ CUSTOMPANEL_COUNTMAX

#define CUSTOMPANEL_COUNTMAX   8

Definition at line 58 of file eeschema/dialogs/dialog_netlist.cpp.

Enumeration Type Documentation

◆ id_netlist

enum id_netlist
Enumerator
ID_CREATE_NETLIST 
ID_SAVE_ALL_VOLTAGES 
ID_SAVE_ALL_CURRENTS 
ID_RUN_SIMULATOR 

Definition at line 197 of file eeschema/dialogs/dialog_netlist.cpp.

◆ panel_netlist_index

Enumerator
PANELPCBNEW 
PANELORCADPCB2 
PANELCADSTAR 
PANELSPICE 
PANELCUSTOMBASE 

Definition at line 62 of file eeschema/dialogs/dialog_netlist.cpp.

62 {
63 PANELPCBNEW = 0, /* Handle Netlist format Pcbnew */
64 PANELORCADPCB2, /* Handle Netlist format OracdPcb2 */
65 PANELCADSTAR, /* Handle Netlist format CadStar */
66 PANELSPICE, /* Handle Netlist format Pspice */
67 PANELCUSTOMBASE /* First auxiliary panel (custom netlists).
68 * others use PANELCUSTOMBASE+1, PANELCUSTOMBASE+2.. */
69};

Function Documentation

◆ InvokeDialogNetList()

int InvokeDialogNetList ( SCH_EDIT_FRAME aCaller)

Definition at line 733 of file eeschema/dialogs/dialog_netlist.cpp.

734{
735 NETLIST_DIALOG dlg( aCaller );
736
737 int ret = dlg.ShowModal();
738 aCaller->SaveProjectSettings();
739
740 return ret;
741}
void SaveProjectSettings() override
Save changes to the project settings to the project (.pro) file.

References SCH_EDIT_FRAME::SaveProjectSettings().

Referenced by SCH_EDITOR_CONTROL::ExportNetlist().