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

PANEL_GAL_OPTIONSm_galOptsPanel
 

Detailed Description

Definition at line 29 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 )

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 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_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(), and m_galOptsPanel.

◆ TransferDataFromWindow()

bool PANEL_PL_EDITOR_DISPLAY_OPTIONS::TransferDataFromWindow ( )
override

Definition at line 58 of file panel_pl_editor_display_options.cpp.

References m_galOptsPanel.

◆ TransferDataToWindow()

bool PANEL_PL_EDITOR_DISPLAY_OPTIONS::TransferDataToWindow ( )
override

Definition at line 50 of file panel_pl_editor_display_options.cpp.

References m_galOptsPanel.

Member Data Documentation

◆ m_galOptsPanel

PANEL_GAL_OPTIONS* PANEL_PL_EDITOR_DISPLAY_OPTIONS::m_galOptsPanel
private

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