KiCad Pcbnew Python Scripting
Loading...
Searching...
No Matches
pcbnew.SETTINGS_MANAGER Class Reference
Inheritance diagram for pcbnew.SETTINGS_MANAGER:

Public Member Functions

 __init__ (self)
 
 SettingsDirectoryValid (self)
 
 IsOK (self)
 
 SetKiway (self, aKiway)
 
 Load (self, *args)
 
 Save (self, *args)
 
 FlushAndRelease (self, aSettings, aSave=True)
 
 ResetToDefaults (self)
 
 ClearFileHistory (self)
 
 GetColorSettings (self, aName)
 
 GetColorSettingsList (self)
 
 SaveColorSettings (self, *args)
 
 AddNewColorSettings (self, aFilename)
 
 GetMigratedColorSettings (self)
 
 GetCommonSettings (self)
 
 GetPathForSettingsFile (self, aSettings)
 
 MigrateFromPreviousVersion (self, aSourcePath)
 
 GetPreviousVersionPaths (self, aName=None)
 
 ReloadColorSettings (self)
 
 LoadProject (self, aFullPath, aSetActive=True)
 
 UnloadProject (self, aProject, aSave=True)
 
 IsProjectOpen (self)
 
 IsProjectOpenNotDummy (self)
 
 Prj (self)
 
 GetProject (self, aFullPath)
 
 GetOpenProjects (self)
 
 SaveProject (self, *args)
 
 SaveProjectAs (self, aFullPath, aProject=None)
 
 SaveProjectCopy (self, aFullPath, aProject=None)
 
 GetProjectBackupsPath (self)
 
 BackupProject (self, aReporter, aTarget)
 
 TriggerBackupIfNeeded (self, aReporter)
 

Static Public Member Functions

 IsSettingsPathValid (aPath)
 
 GetColorSettingsPath ()
 
 GetToolbarSettingsPath ()
 
 GetSettingsVersion ()
 
 GetUserSettingsPath ()
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Detailed Description

Proxy of C++ SETTINGS_MANAGER class.

Definition at line 3801 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

pcbnew.SETTINGS_MANAGER.__init__ ( self)
__init__(SETTINGS_MANAGER self) -> SETTINGS_MANAGER

Definition at line 3807 of file pcbnew.py.

Member Function Documentation

◆ AddNewColorSettings()

pcbnew.SETTINGS_MANAGER.AddNewColorSettings ( self,
aFilename )
AddNewColorSettings(SETTINGS_MANAGER self, wxString aFilename) -> COLOR_SETTINGS *

Definition at line 3862 of file pcbnew.py.

◆ BackupProject()

pcbnew.SETTINGS_MANAGER.BackupProject ( self,
aReporter,
aTarget )
BackupProject(SETTINGS_MANAGER self, REPORTER & aReporter, wxFileName & aTarget) -> bool

Definition at line 3934 of file pcbnew.py.

◆ ClearFileHistory()

pcbnew.SETTINGS_MANAGER.ClearFileHistory ( self)
ClearFileHistory(SETTINGS_MANAGER self)

Definition at line 3846 of file pcbnew.py.

◆ FlushAndRelease()

pcbnew.SETTINGS_MANAGER.FlushAndRelease ( self,
aSettings,
aSave = True )
FlushAndRelease(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings, bool aSave=True)

Definition at line 3838 of file pcbnew.py.

◆ GetColorSettings()

pcbnew.SETTINGS_MANAGER.GetColorSettings ( self,
aName )
GetColorSettings(SETTINGS_MANAGER self, wxString aName) -> COLOR_SETTINGS *

Definition at line 3850 of file pcbnew.py.

◆ GetColorSettingsList()

pcbnew.SETTINGS_MANAGER.GetColorSettingsList ( self)
GetColorSettingsList(SETTINGS_MANAGER self) -> std::vector< COLOR_SETTINGS *,std::allocator< COLOR_SETTINGS * > >

Definition at line 3854 of file pcbnew.py.

◆ GetColorSettingsPath()

pcbnew.SETTINGS_MANAGER.GetColorSettingsPath ( )
static
GetColorSettingsPath() -> wxString

Definition at line 3948 of file pcbnew.py.

◆ GetCommonSettings()

pcbnew.SETTINGS_MANAGER.GetCommonSettings ( self)
GetCommonSettings(SETTINGS_MANAGER self) -> COMMON_SETTINGS *

Definition at line 3870 of file pcbnew.py.

◆ GetMigratedColorSettings()

pcbnew.SETTINGS_MANAGER.GetMigratedColorSettings ( self)
GetMigratedColorSettings(SETTINGS_MANAGER self) -> COLOR_SETTINGS *

Definition at line 3866 of file pcbnew.py.

◆ GetOpenProjects()

pcbnew.SETTINGS_MANAGER.GetOpenProjects ( self)
GetOpenProjects(SETTINGS_MANAGER self) -> std::vector< wxString,std::allocator< wxString > >

Definition at line 3914 of file pcbnew.py.

◆ GetPathForSettingsFile()

pcbnew.SETTINGS_MANAGER.GetPathForSettingsFile ( self,
aSettings )
GetPathForSettingsFile(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings) -> wxString

Definition at line 3874 of file pcbnew.py.

◆ GetPreviousVersionPaths()

pcbnew.SETTINGS_MANAGER.GetPreviousVersionPaths ( self,
aName = None )
GetPreviousVersionPaths(SETTINGS_MANAGER self, std::vector< wxString,std::allocator< wxString > > * aName=None) -> bool

Definition at line 3882 of file pcbnew.py.

◆ GetProject()

pcbnew.SETTINGS_MANAGER.GetProject ( self,
aFullPath )
GetProject(SETTINGS_MANAGER self, wxString aFullPath) -> PROJECT *

Definition at line 3910 of file pcbnew.py.

◆ GetProjectBackupsPath()

pcbnew.SETTINGS_MANAGER.GetProjectBackupsPath ( self)
GetProjectBackupsPath(SETTINGS_MANAGER self) -> wxString

Definition at line 3930 of file pcbnew.py.

◆ GetSettingsVersion()

pcbnew.SETTINGS_MANAGER.GetSettingsVersion ( )
static
GetSettingsVersion() -> string

Definition at line 3958 of file pcbnew.py.

◆ GetToolbarSettingsPath()

pcbnew.SETTINGS_MANAGER.GetToolbarSettingsPath ( )
static
GetToolbarSettingsPath() -> wxString

Definition at line 3953 of file pcbnew.py.

◆ GetUserSettingsPath()

pcbnew.SETTINGS_MANAGER.GetUserSettingsPath ( )
static
GetUserSettingsPath() -> wxString

Definition at line 3963 of file pcbnew.py.

◆ IsOK()

pcbnew.SETTINGS_MANAGER.IsOK ( self)
IsOK(SETTINGS_MANAGER self) -> bool

Definition at line 3816 of file pcbnew.py.

◆ IsProjectOpen()

pcbnew.SETTINGS_MANAGER.IsProjectOpen ( self)
IsProjectOpen(SETTINGS_MANAGER self) -> bool

Definition at line 3898 of file pcbnew.py.

◆ IsProjectOpenNotDummy()

pcbnew.SETTINGS_MANAGER.IsProjectOpenNotDummy ( self)
IsProjectOpenNotDummy(SETTINGS_MANAGER self) -> bool

Definition at line 3902 of file pcbnew.py.

◆ IsSettingsPathValid()

pcbnew.SETTINGS_MANAGER.IsSettingsPathValid ( aPath)
static
IsSettingsPathValid(wxString aPath) -> bool

Definition at line 3943 of file pcbnew.py.

◆ Load()

pcbnew.SETTINGS_MANAGER.Load ( self,
* args )
    Load(SETTINGS_MANAGER self)
    Load(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings)

Definition at line 3824 of file pcbnew.py.

◆ LoadProject()

pcbnew.SETTINGS_MANAGER.LoadProject ( self,
aFullPath,
aSetActive = True )
LoadProject(SETTINGS_MANAGER self, wxString aFullPath, bool aSetActive=True) -> bool

Definition at line 3890 of file pcbnew.py.

◆ MigrateFromPreviousVersion()

pcbnew.SETTINGS_MANAGER.MigrateFromPreviousVersion ( self,
aSourcePath )
MigrateFromPreviousVersion(SETTINGS_MANAGER self, wxString aSourcePath) -> bool

Definition at line 3878 of file pcbnew.py.

◆ Prj()

pcbnew.SETTINGS_MANAGER.Prj ( self)
Prj(SETTINGS_MANAGER self) -> PROJECT &

Definition at line 3906 of file pcbnew.py.

◆ ReloadColorSettings()

pcbnew.SETTINGS_MANAGER.ReloadColorSettings ( self)
ReloadColorSettings(SETTINGS_MANAGER self)

Definition at line 3886 of file pcbnew.py.

◆ ResetToDefaults()

pcbnew.SETTINGS_MANAGER.ResetToDefaults ( self)
ResetToDefaults(SETTINGS_MANAGER self)

Definition at line 3842 of file pcbnew.py.

◆ Save()

pcbnew.SETTINGS_MANAGER.Save ( self,
* args )
    Save(SETTINGS_MANAGER self)
    Save(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings)

Definition at line 3831 of file pcbnew.py.

◆ SaveColorSettings()

pcbnew.SETTINGS_MANAGER.SaveColorSettings ( self,
* args )
SaveColorSettings(SETTINGS_MANAGER self, COLOR_SETTINGS * aSettings, string aNamespace="")

Definition at line 3858 of file pcbnew.py.

◆ SaveProject()

pcbnew.SETTINGS_MANAGER.SaveProject ( self,
* args )
SaveProject(SETTINGS_MANAGER self, wxString aFullPath=wxEmptyString, PROJECT * aProject=None) -> bool

Definition at line 3918 of file pcbnew.py.

◆ SaveProjectAs()

pcbnew.SETTINGS_MANAGER.SaveProjectAs ( self,
aFullPath,
aProject = None )
SaveProjectAs(SETTINGS_MANAGER self, wxString aFullPath, PROJECT * aProject=None)

Definition at line 3922 of file pcbnew.py.

◆ SaveProjectCopy()

pcbnew.SETTINGS_MANAGER.SaveProjectCopy ( self,
aFullPath,
aProject = None )
SaveProjectCopy(SETTINGS_MANAGER self, wxString aFullPath, PROJECT * aProject=None)

Definition at line 3926 of file pcbnew.py.

◆ SetKiway()

pcbnew.SETTINGS_MANAGER.SetKiway ( self,
aKiway )
SetKiway(SETTINGS_MANAGER self, KIWAY * aKiway)

Definition at line 3820 of file pcbnew.py.

◆ SettingsDirectoryValid()

pcbnew.SETTINGS_MANAGER.SettingsDirectoryValid ( self)
SettingsDirectoryValid(SETTINGS_MANAGER self) -> bool

Definition at line 3812 of file pcbnew.py.

◆ TriggerBackupIfNeeded()

pcbnew.SETTINGS_MANAGER.TriggerBackupIfNeeded ( self,
aReporter )
TriggerBackupIfNeeded(SETTINGS_MANAGER self, REPORTER & aReporter) -> bool

Definition at line 3938 of file pcbnew.py.

◆ UnloadProject()

pcbnew.SETTINGS_MANAGER.UnloadProject ( self,
aProject,
aSave = True )
UnloadProject(SETTINGS_MANAGER self, PROJECT * aProject, bool aSave=True) -> bool

Definition at line 3894 of file pcbnew.py.

Property Documentation

◆ thisown

pcbnew.SETTINGS_MANAGER.thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static

Definition at line 3804 of file pcbnew.py.


The documentation for this class was generated from the following file: