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

#include <panel_setup_annotation.h>

Inheritance diagram for PANEL_SETUP_ANNOTATION:
PANEL_SETUP_ANNOTATION_BASE RESETTABLE_PANEL

Public Member Functions

 PANEL_SETUP_ANNOTATION (wxWindow *aWindow, SCH_EDIT_FRAME *aFrame)
 
bool TransferDataToWindow () override
 
bool TransferDataFromWindow () override
 
void ResetPanel () override
 Reset the contents of this panel.
 
void ImportSettingsFrom (SCHEMATIC_SETTINGS &aSettings)
 
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

wxCheckBox * m_checkReuseRefdes
 
wxStaticText * m_unitsLabel
 
wxStaticLine * m_staticline2
 
wxStaticText * m_staticText3
 
wxChoice * m_choiceSeparatorRefId
 

Private Attributes

SCH_EDIT_FRAMEm_frame
 

Detailed Description

Definition at line 31 of file panel_setup_annotation.h.

Constructor & Destructor Documentation

◆ PANEL_SETUP_ANNOTATION()

PANEL_SETUP_ANNOTATION::PANEL_SETUP_ANNOTATION ( wxWindow *  aWindow,
SCH_EDIT_FRAME aFrame 
)

Definition at line 29 of file panel_setup_annotation.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().

◆ ImportSettingsFrom()

◆ ResetPanel()

void PANEL_SETUP_ANNOTATION::ResetPanel ( )
overridevirtual

Reset the contents of this panel.

Implements RESETTABLE_PANEL.

Definition at line 93 of file panel_setup_annotation.cpp.

References PANEL_SETUP_ANNOTATION_BASE::m_checkReuseRefdes, and PANEL_SETUP_ANNOTATION_BASE::m_choiceSeparatorRefId.

◆ TransferDataFromWindow()

◆ TransferDataToWindow()

Member Data Documentation

◆ m_checkReuseRefdes

wxCheckBox* PANEL_SETUP_ANNOTATION_BASE::m_checkReuseRefdes
protectedinherited

◆ m_choiceSeparatorRefId

wxChoice* PANEL_SETUP_ANNOTATION_BASE::m_choiceSeparatorRefId
protectedinherited

◆ m_frame

SCH_EDIT_FRAME* PANEL_SETUP_ANNOTATION::m_frame
private

Definition at line 44 of file panel_setup_annotation.h.

Referenced by TransferDataFromWindow(), and TransferDataToWindow().

◆ m_staticline2

wxStaticLine* PANEL_SETUP_ANNOTATION_BASE::m_staticline2
protectedinherited

◆ m_staticText3

wxStaticText* PANEL_SETUP_ANNOTATION_BASE::m_staticText3
protectedinherited

◆ m_unitsLabel

wxStaticText* PANEL_SETUP_ANNOTATION_BASE::m_unitsLabel
protectedinherited

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