| 
    KiCad PCB EDA Suite
    
   | 
 
Helper functions to do things like load schematics behind the scenes for special functions. More...
#include <eeschema_helpers.h>
Static Public Member Functions | |
| static SETTINGS_MANAGER * | GetSettingsManager () | 
| static void | SetSchEditFrame (SCH_EDIT_FRAME *aSchEditFrame) | 
| static PROJECT * | GetDefaultProject (bool aSetActive) | 
| static SCHEMATIC * | LoadSchematic (const wxString &aFileName, bool aSetActive, bool aForceDefaultProject, PROJECT *aProject=nullptr, bool aCalculateConnectivity=true) | 
| static SCHEMATIC * | LoadSchematic (const wxString &aFileName, SCH_IO_MGR::SCH_FILE_T aFormat, bool aSetActive, bool aForceDefaultProject, PROJECT *aProject=nullptr, bool aCalculateConnectivity=true) | 
Static Private Attributes | |
| static SCH_EDIT_FRAME * | s_SchEditFrame = nullptr | 
| static SETTINGS_MANAGER * | s_SettingsManager = nullptr | 
Helper functions to do things like load schematics behind the scenes for special functions.
Similar to the Pcbnew scripting helpers, this is just to have one spot for these types of "hacky" solutions
Definition at line 41 of file eeschema_helpers.h.
      
  | 
  static | 
Definition at line 70 of file eeschema_helpers.cpp.
References dummy, SETTINGS_MANAGER::GetProject(), GetSettingsManager(), SETTINGS_MANAGER::LoadProject(), and project.
      
  | 
  static | 
Definition at line 52 of file eeschema_helpers.cpp.
References s_SchEditFrame, and s_SettingsManager.
Referenced by GetDefaultProject(), and LoadSchematic().
      
  | 
  static | 
Definition at line 88 of file eeschema_helpers.cpp.
References FILEEXT::KiCadSchematicFileExtension, FILEEXT::LegacySchematicFileExtension, and LoadSchematic().
Referenced by BOOST_AUTO_TEST_CASE(), SCH_DESIGN_BLOCK_PREVIEW_WIDGET::DisplayDesignBlock(), EESCHEMA_JOBS_HANDLER::getSchematic(), and LoadSchematic().
      
  | 
  static | 
Definition at line 104 of file eeschema_helpers.cpp.
References SCH_SHEET_LIST::AnnotatePowerSymbols(), SCHEMATIC::BuildSheetListSortedByPageNumbers(), SCHEMATIC::ConnectionGraph(), dummy, SCH_SCREENS::FixLegacyPowerSymbolMismatches(), GetDefaultProject(), SCH_SCREEN::GetFileFormatVersionAtLoad(), SCH_SCREENS::GetFirst(), SCH_SCREENS::GetNext(), SETTINGS_MANAGER::GetProject(), GetSettingsManager(), SCH_SCREEN::GetSheetInstances(), SCH_SCREEN::GetSymbolInstances(), SCH_SCREEN::GetUuid(), GLOBAL_CLEANUP, Kiface(), SETTINGS_MANAGER::LoadProject(), EDA_ITEM::m_Uuid, Prj(), project, FILEEXT::ProjectFileExtension, CONNECTION_GRAPH::Recalculate(), SCHEMATIC::RecalculateConnections(), SCHEMATIC::RecomputeIntersheetRefs(), CONNECTION_GRAPH::Reset(), SCHEMATIC::ResolveERCExclusionsPostUpdate(), SCHEMATIC::Root(), SCHEMATIC::RootScreen(), s_SchEditFrame, SCHEMATIC, TOOL_MANAGER::SetEnvironment(), SCH_SCREEN::SetFileName(), BASE_SCREEN::SetPageNumber(), SCHEMATIC::SetRoot(), SCH_SHEET::SetScreen(), SCHEMATIC::SetSheetNumberAndCount(), SCH_SHEET_LIST::UpdateSheetInstanceData(), and SCH_SHEET_LIST::UpdateSymbolInstanceData().
      
  | 
  static | 
Definition at line 46 of file eeschema_helpers.cpp.
References s_SchEditFrame.
Referenced by SCH::IFACE::CreateKiWindow().
      
  | 
  staticprivate | 
Definition at line 58 of file eeschema_helpers.h.
Referenced by GetSettingsManager(), LoadSchematic(), and SetSchEditFrame().
      
  | 
  staticprivate | 
Definition at line 59 of file eeschema_helpers.h.
Referenced by GetSettingsManager().