41 m_isPCBEdit( dynamic_cast<
PCBNEW_SETTINGS*>( aAppSettings ) != nullptr )
APP_SETTINGS_BASE is a settings class that should be derived for each standalone KiCad application.
CROSS_PROBING_SETTINGS m_CrossProbing
bool ResetPanel(APP_SETTINGS_BASE *aAppSettings)
bool TransferDataToWindow() override
Load the panel controls from the given opt.
bool TransferDataFromWindow() override
Read the options set in the UI into the given options object.
virtual void Load()
Updates the parameters of this object based on the current JSON document contents.
Class PANEL_PCB_DISPLAY_OPTIONS_BASE.
wxCheckBox * m_checkForceShowFieldsWhenFPSelected
wxCheckBox * m_checkCrossProbeOnSelection
wxBoxSizer * m_galOptionsSizer
wxCheckBox * m_checkCrossProbeAutoHighlight
wxChoice * m_ShowNetNamesOption
wxCheckBox * m_OptDisplayPadClearence
wxSimplebook * m_optionsBook
wxCheckBox * m_checkCrossProbeCenter
wxChoice * m_OptDisplayTracksClearance
wxCheckBox * m_live3Drefresh
wxCheckBox * m_OptDisplayPadNumber
wxCheckBox * m_checkCrossProbeZoom
PANEL_PCB_DISPLAY_OPTIONS(wxWindow *aParent, APP_SETTINGS_BASE *aAppSettings)
void ResetPanel() override
Reset the contents of this panel.
GAL_OPTIONS_PANEL * m_galOptsPanel
void loadPCBSettings(PCBNEW_SETTINGS *aCfg)
bool TransferDataToWindow() override
bool TransferDataFromWindow() override
DISPLAY_OPTIONS m_Display
VIEWERS_DISPLAY_OPTIONS m_ViewersDisplay
virtual SETTINGS_MANAGER & GetSettingsManager() const
T * GetAppSettings(const wxString &aFilename)
Returns a handle to the a given settings by type If the settings have already been loaded,...
std::vector< std::pair< T, long > > CFG_MAP
A config value table is a list of native values (usually enums) to a different set of values,...
static long GetConfigForVal(const MAP &aMap, CFG_NATIVE_VAL< MAP > aVal)
Get the mapped config value (the one to write to file, or use in an index) from the given native (pro...
static CFG_NATIVE_VAL< MAP > GetValFromConfig(const MAP &aMap, long aConf)
Get the native value corresponding to the config value (read from file or UI, probably) and find it i...
static const UTIL::CFG_MAP< TRACK_CLEARANCE_MODE > clearanceModeMap
@ SHOW_WITH_VIA_WHILE_ROUTING_OR_DRAGGING
@ SHOW_WITH_VIA_WHILE_ROUTING
PGM_BASE & Pgm()
The global Program "get" accessor.
bool on_selection
Synchronize the selection for multiple items too.
bool zoom_to_fit
Zoom to fit items (ignored if center_on_items is off)
bool center_on_items
Automatically pan to cross-probed items.
bool auto_highlight
Automatically turn on highlight mode in the target frame.
TRACK_CLEARANCE_MODE m_TrackClearance
bool m_ForceShowFieldsWhenFPSelected