KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PANEL_GERBVIEW_DISPLAY_OPTIONS Class Reference

#include <panel_gerbview_display_options.h>

Inheritance diagram for PANEL_GERBVIEW_DISPLAY_OPTIONS:
PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE RESETTABLE_PANEL

Public Member Functions

 PANEL_GERBVIEW_DISPLAY_OPTIONS (wxWindow *aParent)
 
 ~PANEL_GERBVIEW_DISPLAY_OPTIONS ()
 
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

wxBoxSizer * m_UpperSizer
 
wxBoxSizer * m_galOptionsSizer
 
wxStaticText * m_staticText1
 
wxStaticLine * m_staticline1
 
wxCheckBox * m_OptDisplayDCodes
 
wxCheckBox * m_ShowPageLimitsOpt
 
wxStaticText * m_staticText2
 
wxStaticLine * m_staticline2
 
wxCheckBox * m_OptDisplayFlashedItems
 
wxCheckBox * m_OptDisplayLines
 
wxCheckBox * m_OptDisplayPolygons
 
wxStaticText * m_staticTextOpacity
 
wxSpinCtrlDouble * m_spOpacityCtrl
 
wxStaticText * m_staticText3
 
wxStaticLine * m_staticline3
 
wxRadioBox * m_PageSize
 

Private Member Functions

void loadSettings (GERBVIEW_SETTINGS *aCfg)
 

Private Attributes

GAL_OPTIONS_PANELm_galOptsPanel
 

Detailed Description

Definition at line 33 of file panel_gerbview_display_options.h.

Constructor & Destructor Documentation

◆ PANEL_GERBVIEW_DISPLAY_OPTIONS()

PANEL_GERBVIEW_DISPLAY_OPTIONS::PANEL_GERBVIEW_DISPLAY_OPTIONS ( wxWindow *  aParent)

◆ ~PANEL_GERBVIEW_DISPLAY_OPTIONS()

PANEL_GERBVIEW_DISPLAY_OPTIONS::~PANEL_GERBVIEW_DISPLAY_OPTIONS ( )
inline

Definition at line 37 of file panel_gerbview_display_options.h.

Member Function Documentation

◆ GetHelpTextAtPoint()

wxString RESETTABLE_PANEL::GetHelpTextAtPoint ( const wxPoint &  aPt,
wxHelpEvent::Origin  aOrigin 
) const
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 RESETTABLE_PANEL::GetResetTooltip().

◆ GetResetTooltip()

virtual wxString RESETTABLE_PANEL::GetResetTooltip ( ) const
inlinevirtualinherited

Get the tooltip the reset button should display when showing this panel.

Returns
the tooltip

Reimplemented in PANEL_COLOR_SETTINGS, and PANEL_HOTKEYS_EDITOR.

Definition at line 64 of file resettable_panel.h.

References _.

Referenced by RESETTABLE_PANEL::GetHelpTextAtPoint().

◆ loadSettings()

◆ ResetPanel()

void PANEL_GERBVIEW_DISPLAY_OPTIONS::ResetPanel ( )
overridevirtual

Reset the contents of this panel.

Implements RESETTABLE_PANEL.

Definition at line 108 of file panel_gerbview_display_options.cpp.

References JSON_SETTINGS::Load(), loadSettings(), m_galOptsPanel, and GAL_OPTIONS_PANEL::ResetPanel().

◆ TransferDataFromWindow()

◆ TransferDataToWindow()

bool PANEL_GERBVIEW_DISPLAY_OPTIONS::TransferDataToWindow ( )
override

Member Data Documentation

◆ m_galOptionsSizer

wxBoxSizer* PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_galOptionsSizer
protectedinherited

◆ m_galOptsPanel

GAL_OPTIONS_PANEL* PANEL_GERBVIEW_DISPLAY_OPTIONS::m_galOptsPanel
private

◆ m_OptDisplayDCodes

wxCheckBox* PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_OptDisplayDCodes
protectedinherited

◆ m_OptDisplayFlashedItems

wxCheckBox* PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_OptDisplayFlashedItems
protectedinherited

◆ m_OptDisplayLines

wxCheckBox* PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_OptDisplayLines
protectedinherited

◆ m_OptDisplayPolygons

wxCheckBox* PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_OptDisplayPolygons
protectedinherited

◆ m_PageSize

wxRadioBox* PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_PageSize
protectedinherited

◆ m_ShowPageLimitsOpt

wxCheckBox* PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_ShowPageLimitsOpt
protectedinherited

◆ m_spOpacityCtrl

wxSpinCtrlDouble* PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_spOpacityCtrl
protectedinherited

◆ m_staticline1

wxStaticLine* PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_staticline1
protectedinherited

◆ m_staticline2

wxStaticLine* PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_staticline2
protectedinherited

◆ m_staticline3

wxStaticLine* PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_staticline3
protectedinherited

◆ m_staticText1

wxStaticText* PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_staticText1
protectedinherited

◆ m_staticText2

wxStaticText* PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_staticText2
protectedinherited

◆ m_staticText3

wxStaticText* PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_staticText3
protectedinherited

◆ m_staticTextOpacity

wxStaticText* PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_staticTextOpacity
protectedinherited

◆ m_UpperSizer

wxBoxSizer* PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_UpperSizer
protectedinherited

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