| 
    KiCad PCB EDA Suite
    
   | 
 
#include <panel_fp_editor_graphics_defaults.h>
  
Public Member Functions | |
| PANEL_FP_EDITOR_GRAPHICS_DEFAULTS (wxWindow *aParent, UNITS_PROVIDER *aUnitsProvider) | |
| ~PANEL_FP_EDITOR_GRAPHICS_DEFAULTS () override | |
| bool | TransferDataToWindow () override | 
| bool | TransferDataFromWindow () override | 
| void | ResetPanel () override | 
| Reset the contents of this panel.   | |
| virtual wxString | GetResetTooltip () const | 
| Get the tooltip the reset button should display when showing this panel.   | |
| wxString | GetHelpTextAtPoint (const wxPoint &aPt, wxHelpEvent::Origin aOrigin) const override | 
| Overridden to supply the reset button tooltip when queried with { -INT_MAX, INT_MAX }.   | |
Protected Attributes | |
| wxStaticLine * | m_staticline1 | 
| WX_GRID * | m_graphicsGrid | 
Private Member Functions | |
| bool | Show (bool aShow) override | 
| void | loadFPSettings (const FOOTPRINT_EDITOR_SETTINGS *aCfg) | 
Private Attributes | |
| bool | m_firstShow = true | 
| UNITS_PROVIDER * | m_unitProvider | 
| BOARD_DESIGN_SETTINGS & | m_designSettings | 
| std::unique_ptr< PANEL_SETUP_DIMENSIONS > | m_dimensionsPanel | 
Definition at line 33 of file panel_fp_editor_graphics_defaults.h.
| PANEL_FP_EDITOR_GRAPHICS_DEFAULTS::PANEL_FP_EDITOR_GRAPHICS_DEFAULTS | ( | wxWindow * | aParent, | 
| UNITS_PROVIDER * | aUnitsProvider ) | 
Definition at line 67 of file panel_fp_editor_graphics_defaults.cpp.
References COL_LINE_THICKNESS, COL_TEXT_HEIGHT, COL_TEXT_THICKNESS, COL_TEXT_WIDTH, GetPgmSettings(), m_designSettings, m_dimensionsPanel, PANEL_FP_EDITOR_GRAPHICS_DEFAULTS_BASE::m_graphicsGrid, m_unitProvider, and PANEL_FP_EDITOR_GRAPHICS_DEFAULTS_BASE::PANEL_FP_EDITOR_GRAPHICS_DEFAULTS_BASE().
      
  | 
  override | 
Definition at line 91 of file panel_fp_editor_graphics_defaults.cpp.
References PANEL_FP_EDITOR_GRAPHICS_DEFAULTS_BASE::m_graphicsGrid.
      
  | 
  inlineoverrideinherited | 
Overridden to supply the reset button tooltip when queried with { -INT_MAX, INT_MAX }.
Definition at line 72 of file resettable_panel.h.
References GetResetTooltip().
      
  | 
  inlinevirtualinherited | 
Get the tooltip the reset button should display when showing this panel.
Reimplemented in PANEL_COLOR_SETTINGS, and PANEL_HOTKEYS_EDITOR.
Definition at line 64 of file resettable_panel.h.
References _.
Referenced by GetHelpTextAtPoint().
      
  | 
  private | 
Definition at line 98 of file panel_fp_editor_graphics_defaults.cpp.
References COL_LINE_THICKNESS, COL_TEXT_HEIGHT, COL_TEXT_ITALIC, COL_TEXT_THICKNESS, COL_TEXT_WIDTH, FOOTPRINT_EDITOR_SETTINGS::m_DesignSettings, m_dimensionsPanel, PANEL_FP_EDITOR_GRAPHICS_DEFAULTS_BASE::m_graphicsGrid, BOARD_DESIGN_SETTINGS::m_LineThickness, BOARD_DESIGN_SETTINGS::m_TextItalic, BOARD_DESIGN_SETTINGS::m_TextSize, BOARD_DESIGN_SETTINGS::m_TextThickness, ROW_COUNT, ROW_COURTYARD, ROW_EDGES, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by ResetPanel(), and TransferDataToWindow().
      
  | 
  overridevirtual | 
Reset the contents of this panel.
Implements RESETTABLE_PANEL.
Definition at line 290 of file panel_fp_editor_graphics_defaults.cpp.
References JSON_SETTINGS::Load(), and loadFPSettings().
      
  | 
  overrideprivate | 
Definition at line 168 of file panel_fp_editor_graphics_defaults.cpp.
References m_firstShow, and PANEL_FP_EDITOR_GRAPHICS_DEFAULTS_BASE::m_graphicsGrid.
      
  | 
  override | 
Definition at line 182 of file panel_fp_editor_graphics_defaults.cpp.
References _, COL_LINE_THICKNESS, COL_TEXT_HEIGHT, COL_TEXT_ITALIC, COL_TEXT_THICKNESS, COL_TEXT_WIDTH, KIDIALOG::KD_ERROR, m_designSettings, m_dimensionsPanel, PANEL_FP_EDITOR_GRAPHICS_DEFAULTS_BASE::m_graphicsGrid, BOARD_DESIGN_SETTINGS::m_LineThickness, BOARD_DESIGN_SETTINGS::m_TextItalic, BOARD_DESIGN_SETTINGS::m_TextSize, BOARD_DESIGN_SETTINGS::m_TextThickness, m_unitProvider, MAXIMUM_LINE_WIDTH_MM, MINIMUM_LINE_WIDTH_MM, minSize, pcbIUScale, ROW_COUNT, ROW_COURTYARD, ROW_EDGES, KIDIALOG::ShowModal(), TEXT_MAX_SIZE_MM, and TEXT_MIN_SIZE_MM.
      
  | 
  override | 
Definition at line 158 of file panel_fp_editor_graphics_defaults.cpp.
References GetPgmSettings(), and loadFPSettings().
      
  | 
  private | 
Definition at line 52 of file panel_fp_editor_graphics_defaults.h.
Referenced by PANEL_FP_EDITOR_GRAPHICS_DEFAULTS(), and TransferDataFromWindow().
      
  | 
  private | 
Definition at line 53 of file panel_fp_editor_graphics_defaults.h.
Referenced by loadFPSettings(), PANEL_FP_EDITOR_GRAPHICS_DEFAULTS(), and TransferDataFromWindow().
      
  | 
  private | 
Definition at line 50 of file panel_fp_editor_graphics_defaults.h.
Referenced by Show().
      
  | 
  protectedinherited | 
Definition at line 38 of file panel_fp_editor_graphics_defaults_base.h.
Referenced by PANEL_FP_EDITOR_GRAPHICS_DEFAULTS::loadFPSettings(), PANEL_FP_EDITOR_GRAPHICS_DEFAULTS::PANEL_FP_EDITOR_GRAPHICS_DEFAULTS(), PANEL_FP_EDITOR_GRAPHICS_DEFAULTS_BASE(), PANEL_FP_EDITOR_GRAPHICS_DEFAULTS::Show(), PANEL_FP_EDITOR_GRAPHICS_DEFAULTS::TransferDataFromWindow(), and PANEL_FP_EDITOR_GRAPHICS_DEFAULTS::~PANEL_FP_EDITOR_GRAPHICS_DEFAULTS().
      
  | 
  protectedinherited | 
Definition at line 37 of file panel_fp_editor_graphics_defaults_base.h.
Referenced by PANEL_FP_EDITOR_GRAPHICS_DEFAULTS_BASE().
      
  | 
  private | 
Definition at line 51 of file panel_fp_editor_graphics_defaults.h.
Referenced by PANEL_FP_EDITOR_GRAPHICS_DEFAULTS(), and TransferDataFromWindow().