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

#include <panel_project_defaults.h>

Inheritance diagram for PANEL_PROJECT_DEFAULTS:
PANEL_PROJECT_DEFAULTS_BASE RESETTABLE_PANEL

Public Member Functions

 PANEL_PROJECT_DEFAULTS (wxWindow *aParent)
 
bool TransferDataFromWindow () override
 
bool TransferDataToWindow () 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

wxStaticText * m_defaultOpacityLabel
 
wxStaticLine * m_staticline6
 
wxStaticText * m_trackOpacityLabel
 
wxSpinCtrl * m_OptTrackOpacity
 
wxStaticText * m_opacityUnit
 
wxStaticText * m_viaOpacityLabel
 
wxSpinCtrl * m_OptViaOpacity
 
wxStaticText * m_opacityUnit1
 
wxStaticText * m_padOpacityLabel
 
wxSpinCtrl * m_OptPadOpacity
 
wxStaticText * m_opacityUnit2
 
wxStaticText * m_zoneOpacityLabel
 
wxSpinCtrl * m_OptZoneOpacity
 
wxStaticText * m_opacityUnit3
 
wxStaticText * m_filledShapesOpacityLabel
 
wxSpinCtrl * m_OptFilledShapeOpacity
 
wxStaticText * m_opacityUnit4
 
wxStaticText * m_imageOpacityLabel
 
wxSpinCtrl * m_OptImageOpacity
 
wxStaticText * m_opacityUnit5
 
wxStaticText * m_outsideGroupOpacityLabel
 
wxSpinCtrl * m_OptOutsideGroupOpacity
 
wxStaticText * m_opacityUnit6
 

Private Member Functions

void applyOpacities (const BOARD_OPACITY_DEFAULTS &aOpacities)
 

Detailed Description

Definition at line 27 of file panel_project_defaults.h.

Constructor & Destructor Documentation

◆ PANEL_PROJECT_DEFAULTS()

PANEL_PROJECT_DEFAULTS::PANEL_PROJECT_DEFAULTS ( wxWindow * aParent)

Member Function Documentation

◆ applyOpacities()

◆ 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 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 GetHelpTextAtPoint().

◆ ResetPanel()

void PANEL_PROJECT_DEFAULTS::ResetPanel ( )
overridevirtual

Reset the contents of this panel.

Implements RESETTABLE_PANEL.

Definition at line 72 of file panel_project_defaults.cpp.

References applyOpacities().

◆ TransferDataFromWindow()

◆ TransferDataToWindow()

bool PANEL_PROJECT_DEFAULTS::TransferDataToWindow ( )
override

Definition at line 44 of file panel_project_defaults.cpp.

References applyOpacities(), and Pgm().

Member Data Documentation

◆ m_defaultOpacityLabel

wxStaticText* PANEL_PROJECT_DEFAULTS_BASE::m_defaultOpacityLabel
protectedinherited

Definition at line 35 of file panel_project_defaults_base.h.

Referenced by PANEL_PROJECT_DEFAULTS_BASE().

◆ m_filledShapesOpacityLabel

wxStaticText* PANEL_PROJECT_DEFAULTS_BASE::m_filledShapesOpacityLabel
protectedinherited

Definition at line 49 of file panel_project_defaults_base.h.

Referenced by PANEL_PROJECT_DEFAULTS_BASE().

◆ m_imageOpacityLabel

wxStaticText* PANEL_PROJECT_DEFAULTS_BASE::m_imageOpacityLabel
protectedinherited

Definition at line 52 of file panel_project_defaults_base.h.

Referenced by PANEL_PROJECT_DEFAULTS_BASE().

◆ m_opacityUnit

wxStaticText* PANEL_PROJECT_DEFAULTS_BASE::m_opacityUnit
protectedinherited

Definition at line 39 of file panel_project_defaults_base.h.

Referenced by PANEL_PROJECT_DEFAULTS_BASE().

◆ m_opacityUnit1

wxStaticText* PANEL_PROJECT_DEFAULTS_BASE::m_opacityUnit1
protectedinherited

Definition at line 42 of file panel_project_defaults_base.h.

Referenced by PANEL_PROJECT_DEFAULTS_BASE().

◆ m_opacityUnit2

wxStaticText* PANEL_PROJECT_DEFAULTS_BASE::m_opacityUnit2
protectedinherited

Definition at line 45 of file panel_project_defaults_base.h.

Referenced by PANEL_PROJECT_DEFAULTS_BASE().

◆ m_opacityUnit3

wxStaticText* PANEL_PROJECT_DEFAULTS_BASE::m_opacityUnit3
protectedinherited

Definition at line 48 of file panel_project_defaults_base.h.

Referenced by PANEL_PROJECT_DEFAULTS_BASE().

◆ m_opacityUnit4

wxStaticText* PANEL_PROJECT_DEFAULTS_BASE::m_opacityUnit4
protectedinherited

Definition at line 51 of file panel_project_defaults_base.h.

Referenced by PANEL_PROJECT_DEFAULTS_BASE().

◆ m_opacityUnit5

wxStaticText* PANEL_PROJECT_DEFAULTS_BASE::m_opacityUnit5
protectedinherited

Definition at line 54 of file panel_project_defaults_base.h.

Referenced by PANEL_PROJECT_DEFAULTS_BASE().

◆ m_opacityUnit6

wxStaticText* PANEL_PROJECT_DEFAULTS_BASE::m_opacityUnit6
protectedinherited

Definition at line 57 of file panel_project_defaults_base.h.

Referenced by PANEL_PROJECT_DEFAULTS_BASE().

◆ m_OptFilledShapeOpacity

wxSpinCtrl* PANEL_PROJECT_DEFAULTS_BASE::m_OptFilledShapeOpacity
protectedinherited

◆ m_OptImageOpacity

wxSpinCtrl* PANEL_PROJECT_DEFAULTS_BASE::m_OptImageOpacity
protectedinherited

◆ m_OptOutsideGroupOpacity

wxSpinCtrl* PANEL_PROJECT_DEFAULTS_BASE::m_OptOutsideGroupOpacity
protectedinherited

◆ m_OptPadOpacity

wxSpinCtrl* PANEL_PROJECT_DEFAULTS_BASE::m_OptPadOpacity
protectedinherited

◆ m_OptTrackOpacity

wxSpinCtrl* PANEL_PROJECT_DEFAULTS_BASE::m_OptTrackOpacity
protectedinherited

◆ m_OptViaOpacity

wxSpinCtrl* PANEL_PROJECT_DEFAULTS_BASE::m_OptViaOpacity
protectedinherited

◆ m_OptZoneOpacity

wxSpinCtrl* PANEL_PROJECT_DEFAULTS_BASE::m_OptZoneOpacity
protectedinherited

◆ m_outsideGroupOpacityLabel

wxStaticText* PANEL_PROJECT_DEFAULTS_BASE::m_outsideGroupOpacityLabel
protectedinherited

Definition at line 55 of file panel_project_defaults_base.h.

Referenced by PANEL_PROJECT_DEFAULTS_BASE().

◆ m_padOpacityLabel

wxStaticText* PANEL_PROJECT_DEFAULTS_BASE::m_padOpacityLabel
protectedinherited

Definition at line 43 of file panel_project_defaults_base.h.

Referenced by PANEL_PROJECT_DEFAULTS_BASE().

◆ m_staticline6

wxStaticLine* PANEL_PROJECT_DEFAULTS_BASE::m_staticline6
protectedinherited

Definition at line 36 of file panel_project_defaults_base.h.

Referenced by PANEL_PROJECT_DEFAULTS_BASE().

◆ m_trackOpacityLabel

wxStaticText* PANEL_PROJECT_DEFAULTS_BASE::m_trackOpacityLabel
protectedinherited

Definition at line 37 of file panel_project_defaults_base.h.

Referenced by PANEL_PROJECT_DEFAULTS_BASE().

◆ m_viaOpacityLabel

wxStaticText* PANEL_PROJECT_DEFAULTS_BASE::m_viaOpacityLabel
protectedinherited

Definition at line 40 of file panel_project_defaults_base.h.

Referenced by PANEL_PROJECT_DEFAULTS_BASE().

◆ m_zoneOpacityLabel

wxStaticText* PANEL_PROJECT_DEFAULTS_BASE::m_zoneOpacityLabel
protectedinherited

Definition at line 46 of file panel_project_defaults_base.h.

Referenced by PANEL_PROJECT_DEFAULTS_BASE().


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