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

#include <panel_pl_editor_display_options.h>

Inheritance diagram for PANEL_PL_EDITOR_DISPLAY_OPTIONS:
RESETTABLE_PANEL

Public Member Functions

 PANEL_PL_EDITOR_DISPLAY_OPTIONS (wxWindow *aParent, APP_SETTINGS_BASE *aAppSettings)
 
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 }.
 

Private Attributes

GAL_OPTIONS_PANELm_galOptsPanel
 

Detailed Description

Definition at line 30 of file panel_pl_editor_display_options.h.

Constructor & Destructor Documentation

◆ PANEL_PL_EDITOR_DISPLAY_OPTIONS()

PANEL_PL_EDITOR_DISPLAY_OPTIONS::PANEL_PL_EDITOR_DISPLAY_OPTIONS ( wxWindow *  aParent,
APP_SETTINGS_BASE aAppSettings 
)

Definition at line 32 of file panel_pl_editor_display_options.cpp.

References m_galOptsPanel.

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

◆ ResetPanel()

void PANEL_PL_EDITOR_DISPLAY_OPTIONS::ResetPanel ( )
overridevirtual

Reset the contents of this panel.

Implements RESETTABLE_PANEL.

Definition at line 66 of file panel_pl_editor_display_options.cpp.

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

◆ TransferDataFromWindow()

bool PANEL_PL_EDITOR_DISPLAY_OPTIONS::TransferDataFromWindow ( )
override

◆ TransferDataToWindow()

bool PANEL_PL_EDITOR_DISPLAY_OPTIONS::TransferDataToWindow ( )
override

Member Data Documentation

◆ m_galOptsPanel

GAL_OPTIONS_PANEL* PANEL_PL_EDITOR_DISPLAY_OPTIONS::m_galOptsPanel
private

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