KiCad PCB EDA Suite
|
#include <panel_gerbview_display_options.h>
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_PANEL * | m_galOptsPanel |
Definition at line 33 of file panel_gerbview_display_options.h.
PANEL_GERBVIEW_DISPLAY_OPTIONS::PANEL_GERBVIEW_DISPLAY_OPTIONS | ( | wxWindow * | aParent | ) |
Definition at line 43 of file panel_gerbview_display_options.cpp.
References SETTINGS_MANAGER::GetAppSettings(), PGM_BASE::GetSettingsManager(), PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_galOptionsSizer, m_galOptsPanel, and Pgm().
|
inline |
Definition at line 37 of file panel_gerbview_display_options.h.
|
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().
|
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 RESETTABLE_PANEL::GetHelpTextAtPoint().
|
private |
Definition at line 54 of file panel_gerbview_display_options.cpp.
References arrayDim(), gerberPageSizeList, GERBVIEW_SETTINGS::m_Appearance, GERBVIEW_SETTINGS::m_Display, GBR_DISPLAY_OPTIONS::m_DisplayFlashedItemsFill, GBR_DISPLAY_OPTIONS::m_DisplayLinesFill, GBR_DISPLAY_OPTIONS::m_DisplayPageLimits, GBR_DISPLAY_OPTIONS::m_DisplayPolygonsFill, GBR_DISPLAY_OPTIONS::m_OpacityModeAlphaValue, PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_OptDisplayDCodes, PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_OptDisplayFlashedItems, PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_OptDisplayLines, PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_OptDisplayPolygons, PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_PageSize, PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_ShowPageLimitsOpt, PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_spOpacityCtrl, GERBVIEW_SETTINGS::APPEARANCE::page_type, and GERBVIEW_SETTINGS::APPEARANCE::show_dcodes.
Referenced by ResetPanel(), and TransferDataToWindow().
|
overridevirtual |
Reset the contents of this panel.
Implements RESETTABLE_PANEL.
Definition at line 111 of file panel_gerbview_display_options.cpp.
References JSON_SETTINGS::Load(), loadSettings(), m_galOptsPanel, and GAL_OPTIONS_PANEL::ResetPanel().
|
override |
Definition at line 91 of file panel_gerbview_display_options.cpp.
References gerberPageSizeList, SETTINGS_MANAGER::GetAppSettings(), PGM_BASE::GetSettingsManager(), GERBVIEW_SETTINGS::m_Appearance, GERBVIEW_SETTINGS::m_Display, GBR_DISPLAY_OPTIONS::m_DisplayFlashedItemsFill, GBR_DISPLAY_OPTIONS::m_DisplayLinesFill, GBR_DISPLAY_OPTIONS::m_DisplayPageLimits, GBR_DISPLAY_OPTIONS::m_DisplayPolygonsFill, m_galOptsPanel, GBR_DISPLAY_OPTIONS::m_OpacityModeAlphaValue, PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_OptDisplayDCodes, PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_OptDisplayFlashedItems, PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_OptDisplayLines, PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_OptDisplayPolygons, PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_PageSize, PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_ShowPageLimitsOpt, PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::m_spOpacityCtrl, GERBVIEW_SETTINGS::APPEARANCE::page_type, Pgm(), GERBVIEW_SETTINGS::APPEARANCE::show_dcodes, and GAL_OPTIONS_PANEL::TransferDataFromWindow().
|
override |
Definition at line 78 of file panel_gerbview_display_options.cpp.
References SETTINGS_MANAGER::GetAppSettings(), PGM_BASE::GetSettingsManager(), loadSettings(), m_galOptsPanel, Pgm(), and GAL_OPTIONS_PANEL::TransferDataToWindow().
|
protectedinherited |
Definition at line 40 of file panel_gerbview_display_options_base.h.
Referenced by PANEL_GERBVIEW_DISPLAY_OPTIONS(), and PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE().
|
private |
Definition at line 48 of file panel_gerbview_display_options.h.
Referenced by PANEL_GERBVIEW_DISPLAY_OPTIONS(), ResetPanel(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 43 of file panel_gerbview_display_options_base.h.
Referenced by loadSettings(), PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 47 of file panel_gerbview_display_options_base.h.
Referenced by loadSettings(), PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 48 of file panel_gerbview_display_options_base.h.
Referenced by loadSettings(), PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 49 of file panel_gerbview_display_options_base.h.
Referenced by loadSettings(), PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 54 of file panel_gerbview_display_options_base.h.
Referenced by loadSettings(), PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 44 of file panel_gerbview_display_options_base.h.
Referenced by loadSettings(), PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 51 of file panel_gerbview_display_options_base.h.
Referenced by loadSettings(), PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 42 of file panel_gerbview_display_options_base.h.
Referenced by PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 46 of file panel_gerbview_display_options_base.h.
Referenced by PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 53 of file panel_gerbview_display_options_base.h.
Referenced by PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 41 of file panel_gerbview_display_options_base.h.
Referenced by PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 45 of file panel_gerbview_display_options_base.h.
Referenced by PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 52 of file panel_gerbview_display_options_base.h.
Referenced by PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 50 of file panel_gerbview_display_options_base.h.
Referenced by PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 39 of file panel_gerbview_display_options_base.h.
Referenced by PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE().