KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PANEL_SETUP_ANNOTATION_BASE Class Referenceabstract

Class PANEL_SETUP_ANNOTATION_BASE. More...

#include <panel_setup_annotation_base.h>

Inheritance diagram for PANEL_SETUP_ANNOTATION_BASE:
RESETTABLE_PANEL PANEL_SETUP_ANNOTATION

Public Member Functions

 PANEL_SETUP_ANNOTATION_BASE (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
 
 ~PANEL_SETUP_ANNOTATION_BASE ()
 
virtual void ResetPanel ()=0
 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

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

Detailed Description

Constructor & Destructor Documentation

◆ PANEL_SETUP_ANNOTATION_BASE()

PANEL_SETUP_ANNOTATION_BASE::PANEL_SETUP_ANNOTATION_BASE ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize( -1,-1 ),
long  style = wxTAB_TRAVERSAL,
const wxString &  name = wxEmptyString 
)

◆ ~PANEL_SETUP_ANNOTATION_BASE()

PANEL_SETUP_ANNOTATION_BASE::~PANEL_SETUP_ANNOTATION_BASE ( )

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

Member Data Documentation

◆ m_checkReuseRefdes

◆ m_choiceSeparatorRefId

◆ m_staticline2

wxStaticLine* PANEL_SETUP_ANNOTATION_BASE::m_staticline2
protected

Definition at line 38 of file panel_setup_annotation_base.h.

Referenced by PANEL_SETUP_ANNOTATION_BASE().

◆ m_staticText3

wxStaticText* PANEL_SETUP_ANNOTATION_BASE::m_staticText3
protected

Definition at line 39 of file panel_setup_annotation_base.h.

Referenced by PANEL_SETUP_ANNOTATION_BASE().

◆ m_unitsLabel

wxStaticText* PANEL_SETUP_ANNOTATION_BASE::m_unitsLabel
protected

Definition at line 37 of file panel_setup_annotation_base.h.

Referenced by PANEL_SETUP_ANNOTATION_BASE().


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