22#ifndef KICAD_PROJECT_LOCAL_SETTINGS_H
23#define KICAD_PROJECT_LOCAL_SETTINGS_H
61 bool MigrateFromLegacy( wxConfigBase* aLegacyConfig )
override;
63 bool SaveAs(
const wxString& aDirectory,
const wxString& aFile );
65 bool SaveToFile(
const wxString& aDirectory =
"",
bool aForce =
false )
override;
69 void SaveFileState(
const wxString& aFileName,
const WINDOW_SETTINGS* aWindowCfg,
bool aOpen );
73 void ClearFileState();
83 return wxT(
"NO_SUCH_FILE_EXTENSION" );
HIGH_CONTRAST_MODE
Determine how inactive layers should be displayed.
Helper for storing and iterating over GAL_LAYER_IDs.
LSET is a set of PCB_LAYER_IDs.
The project local settings are things that are attached to a particular project, but also might be pa...
wxString getFileExt() const override
LSET m_VisibleLayers
Board settings.
wxString m_GitRepoPassword
SCH_SELECTION_FILTER_OPTIONS m_SchSelectionFilter
wxString getLegacyFileExt() const override
double m_PadOpacity
Opacity override for SMD pads and PTH.
void SetProject(PROJECT *aProject)
std::vector< PROJECT_FILE_STATE > m_files
Project scope.
double m_ViaOpacity
Opacity override for all types of via.
virtual ~PROJECT_LOCAL_SETTINGS()
PANEL_NET_INSPECTOR_SETTINGS m_NetInspectorPanel
The state of the net inspector panel.
PCB_SELECTION_FILTER_OPTIONS m_PcbSelectionFilter
State of the selection filter widgets.
wxString m_ActiveLayerPreset
The name of a LAYER_PRESET that is currently activated (or blank if none)
double m_TrackOpacity
Opacity override for all tracks.
wxString m_GitRepoUsername
PROJECT * m_project
A link to the owning project.
double m_ZoneOpacity
Opacity override for filled zones.
bool m_AutoTrackWidth
The current setting for whether to automatically adjust track widths to match.
ZONE_DISPLAY_MODE m_ZoneDisplayMode
How zones are drawn.
double m_ShapeOpacity
Opacity override for graphic shapes.
PCB_LAYER_ID m_ActiveLayer
The current (active) board layer for editing.
HIGH_CONTRAST_MODE m_ContrastModeDisplay
The current contrast mode.
NET_COLOR_MODE m_NetColorMode
The current net color mode.
GAL_SET m_VisibleItems
The GAL layers (aka items) that are turned on for viewing (.
std::vector< wxString > m_HiddenNets
A list of netnames that have been manually hidden in the board editor.
std::set< wxString > m_HiddenNetclasses
double m_ImageOpacity
Opacity override for user images.
Container for project specific data.
static const std::string ProjectLocalSettingsFileExtension
PCB_LAYER_ID
A quick note on layer IDs:
Persisted state for the net inspector panel.
This file contains data structures that are saved in the project file or project local settings file ...
Stores the common settings that are saved and loaded for each window / frame.
Stores the window positioning/state.
Definition of file extensions used in Kicad.