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

Class PANEL_TOOLBAR_CUSTOMIZATION_BASE. More...

#include <panel_toolbar_customization_base.h>

Inheritance diagram for PANEL_TOOLBAR_CUSTOMIZATION_BASE:
RESETTABLE_PANEL PANEL_TOOLBAR_CUSTOMIZATION

Public Member Functions

 PANEL_TOOLBAR_CUSTOMIZATION_BASE (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(561, 333), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
 
 ~PANEL_TOOLBAR_CUSTOMIZATION_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 Member Functions

virtual void OnUpdateUI (wxUpdateUIEvent &event)
 
virtual void onCustomizeTbCb (wxCommandEvent &event)
 
virtual void onTbChoiceSelect (wxCommandEvent &event)
 
virtual void onTreeBeginLabelEdit (wxTreeEvent &event)
 
virtual void onTreeEndLabelEdit (wxTreeEvent &event)
 
virtual void onToolDelete (wxCommandEvent &event)
 
virtual void onToolMoveUp (wxCommandEvent &event)
 
virtual void onToolMoveDown (wxCommandEvent &event)
 
virtual void onBtnAddAction (wxCommandEvent &event)
 

Protected Attributes

wxCheckBox * m_customToolbars
 
wxStaticLine * m_staticline1
 
wxChoice * m_tbChoice
 
wxTreeCtrl * m_toolbarTree
 
STD_BITMAP_BUTTONm_btnToolDelete
 
STD_BITMAP_BUTTONm_btnToolMoveUp
 
STD_BITMAP_BUTTONm_btnToolMoveDown
 
SPLIT_BUTTONm_insertButton
 
STD_BITMAP_BUTTONm_btnAddTool
 
wxListCtrl * m_actionsList
 

Detailed Description

Constructor & Destructor Documentation

◆ PANEL_TOOLBAR_CUSTOMIZATION_BASE()

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

◆ ~PANEL_TOOLBAR_CUSTOMIZATION_BASE()

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

◆ onBtnAddAction()

virtual void PANEL_TOOLBAR_CUSTOMIZATION_BASE::onBtnAddAction ( wxCommandEvent &  event)
inlineprotectedvirtual

◆ onCustomizeTbCb()

virtual void PANEL_TOOLBAR_CUSTOMIZATION_BASE::onCustomizeTbCb ( wxCommandEvent &  event)
inlineprotectedvirtual

◆ onTbChoiceSelect()

virtual void PANEL_TOOLBAR_CUSTOMIZATION_BASE::onTbChoiceSelect ( wxCommandEvent &  event)
inlineprotectedvirtual

◆ onToolDelete()

virtual void PANEL_TOOLBAR_CUSTOMIZATION_BASE::onToolDelete ( wxCommandEvent &  event)
inlineprotectedvirtual

◆ onToolMoveDown()

virtual void PANEL_TOOLBAR_CUSTOMIZATION_BASE::onToolMoveDown ( wxCommandEvent &  event)
inlineprotectedvirtual

◆ onToolMoveUp()

virtual void PANEL_TOOLBAR_CUSTOMIZATION_BASE::onToolMoveUp ( wxCommandEvent &  event)
inlineprotectedvirtual

◆ onTreeBeginLabelEdit()

virtual void PANEL_TOOLBAR_CUSTOMIZATION_BASE::onTreeBeginLabelEdit ( wxTreeEvent &  event)
inlineprotectedvirtual

◆ onTreeEndLabelEdit()

virtual void PANEL_TOOLBAR_CUSTOMIZATION_BASE::onTreeEndLabelEdit ( wxTreeEvent &  event)
inlineprotectedvirtual

◆ OnUpdateUI()

virtual void PANEL_TOOLBAR_CUSTOMIZATION_BASE::OnUpdateUI ( wxUpdateUIEvent &  event)
inlineprotectedvirtual

◆ ResetPanel()

Member Data Documentation

◆ m_actionsList

◆ m_btnAddTool

◆ m_btnToolDelete

◆ m_btnToolMoveDown

◆ m_btnToolMoveUp

◆ m_customToolbars

◆ m_insertButton

◆ m_staticline1

wxStaticLine* PANEL_TOOLBAR_CUSTOMIZATION_BASE::m_staticline1
protected

Definition at line 46 of file panel_toolbar_customization_base.h.

Referenced by PANEL_TOOLBAR_CUSTOMIZATION_BASE().

◆ m_tbChoice

◆ m_toolbarTree


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