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

#include <panel_pl_editor_color_settings.h>

Inheritance diagram for PANEL_PL_EDITOR_COLOR_SETTINGS:
PANEL_PL_EDITOR_COLOR_SETTINGS_BASE RESETTABLE_PANEL

Public Member Functions

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

wxStaticText * m_txtTheme
 
wxChoice * m_themes
 

Detailed Description

Definition at line 26 of file panel_pl_editor_color_settings.h.

Constructor & Destructor Documentation

◆ PANEL_PL_EDITOR_COLOR_SETTINGS()

PANEL_PL_EDITOR_COLOR_SETTINGS::PANEL_PL_EDITOR_COLOR_SETTINGS ( wxWindow *  aParent)

Definition at line 26 of file panel_pl_editor_color_settings.cpp.

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_COLOR_SETTINGS::ResetPanel ( )
overridevirtual

Reset the contents of this panel.

Implements RESETTABLE_PANEL.

Definition at line 78 of file panel_pl_editor_color_settings.cpp.

References _, and PANEL_PL_EDITOR_COLOR_SETTINGS_BASE::m_themes.

◆ TransferDataFromWindow()

bool PANEL_PL_EDITOR_COLOR_SETTINGS::TransferDataFromWindow ( )
override

◆ TransferDataToWindow()

Member Data Documentation

◆ m_themes

wxChoice* PANEL_PL_EDITOR_COLOR_SETTINGS_BASE::m_themes
protectedinherited

◆ m_txtTheme

wxStaticText* PANEL_PL_EDITOR_COLOR_SETTINGS_BASE::m_txtTheme
protectedinherited

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