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

#include <panel_mouse_settings.h>

Inheritance diagram for PANEL_MOUSE_SETTINGS:
PANEL_MOUSE_SETTINGS_BASE RESETTABLE_PANEL

Public Member Functions

 PANEL_MOUSE_SETTINGS (wxWindow *aParent)
 
 ~PANEL_MOUSE_SETTINGS ()
 
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 Member Functions

bool TransferDataFromWindow () override
 
bool TransferDataToWindow () override
 
void OnScrollRadioButton (wxCommandEvent &event) override
 
void onMouseDefaults (wxCommandEvent &event) override
 
void onTrackpadDefaults (wxCommandEvent &event) override
 

Protected Attributes

wxStaticText * m_panZoomLabel
 
wxStaticLine * m_staticline1
 
wxCheckBox * m_checkZoomCenter
 
wxCheckBox * m_checkAutoPan
 
wxCheckBox * m_checkZoomAcceleration
 
wxBoxSizer * m_zoomSizer
 
wxStaticText * m_staticText1
 
wxSlider * m_zoomSpeed
 
wxCheckBox * m_checkAutoZoomSpeed
 
wxBoxSizer * m_panSizer
 
wxStaticText * m_staticText22
 
wxSlider * m_autoPanSpeed
 
wxStaticText * m_dragLabel
 
wxStaticLine * m_staticline3
 
wxStaticText * m_leftButtonDragLabel
 
wxChoice * m_choiceLeftButtonDrag
 
wxStaticText * m_staticText3
 
wxChoice * m_choiceMiddleButtonDrag
 
wxStaticText * m_staticText31
 
wxChoice * m_choiceRightButtonDrag
 
wxStaticText * m_scrollLabel
 
wxStaticLine * m_staticline2
 
wxStaticText * m_staticText21
 
wxStaticBitmap * m_scrollWarning
 
wxStaticText * m_staticText19
 
wxStaticText * m_staticText17
 
wxStaticText * m_lblCtrl
 
wxStaticText * m_staticText8
 
wxStaticText * m_lblAlt
 
wxStaticText * m_staticText18
 
wxStaticText * m_staticText10
 
wxRadioButton * m_rbZoomNone
 
wxRadioButton * m_rbZoomCtrl
 
wxRadioButton * m_rbZoomShift
 
wxRadioButton * m_rbZoomAlt
 
wxStaticText * m_staticText201
 
wxStaticText * m_staticText11
 
wxRadioButton * m_rbPanVNone
 
wxRadioButton * m_rbPanVCtrl
 
wxRadioButton * m_rbPanVShift
 
wxRadioButton * m_rbPanVAlt
 
wxStaticText * m_staticText211
 
wxStaticText * m_staticText20
 
wxRadioButton * m_rbPanHNone
 
wxRadioButton * m_rbPanHCtrl
 
wxRadioButton * m_rbPanHShift
 
wxRadioButton * m_rbPanHAlt
 
wxCheckBox * m_checkPanHReverse
 
wxCheckBox * m_checkEnablePanH
 
wxButton * m_mouseDefaults
 
wxButton * m_trackpadDefaults
 

Private Member Functions

void applySettingsToPanel (const COMMON_SETTINGS &aSettings)
 
SCROLL_MOD_SET getScrollModSet ()
 
void updateScrollModButtons ()
 
bool isScrollModSetValid (const SCROLL_MOD_SET &aSet)
 

Private Attributes

SCROLL_MOD_SET m_currentScrollMod
 

Detailed Description

Definition at line 40 of file panel_mouse_settings.h.

Constructor & Destructor Documentation

◆ PANEL_MOUSE_SETTINGS()

PANEL_MOUSE_SETTINGS::PANEL_MOUSE_SETTINGS ( wxWindow *  aParent)

Definition at line 29 of file panel_mouse_settings.cpp.

◆ ~PANEL_MOUSE_SETTINGS()

PANEL_MOUSE_SETTINGS::~PANEL_MOUSE_SETTINGS ( )

Definition at line 61 of file panel_mouse_settings.cpp.

Member Function Documentation

◆ applySettingsToPanel()

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

◆ getScrollModSet()

◆ isScrollModSetValid()

bool PANEL_MOUSE_SETTINGS::isScrollModSetValid ( const SCROLL_MOD_SET aSet)
private

◆ onMouseDefaults()

void PANEL_MOUSE_SETTINGS::onMouseDefaults ( wxCommandEvent &  event)
overrideprotectedvirtual

◆ OnScrollRadioButton()

void PANEL_MOUSE_SETTINGS::OnScrollRadioButton ( wxCommandEvent &  event)
overrideprotectedvirtual

◆ onTrackpadDefaults()

void PANEL_MOUSE_SETTINGS::onTrackpadDefaults ( wxCommandEvent &  event)
overrideprotectedvirtual

◆ ResetPanel()

void PANEL_MOUSE_SETTINGS::ResetPanel ( )
overridevirtual

Reset the contents of this panel.

Implements RESETTABLE_PANEL.

Definition at line 132 of file panel_mouse_settings.cpp.

References applySettingsToPanel(), and JSON_SETTINGS::ResetToDefaults().

◆ TransferDataFromWindow()

◆ TransferDataToWindow()

bool PANEL_MOUSE_SETTINGS::TransferDataToWindow ( )
overrideprotected

◆ updateScrollModButtons()

Member Data Documentation

◆ m_autoPanSpeed

wxSlider* PANEL_MOUSE_SETTINGS_BASE::m_autoPanSpeed
protectedinherited

◆ m_checkAutoPan

wxCheckBox* PANEL_MOUSE_SETTINGS_BASE::m_checkAutoPan
protectedinherited

◆ m_checkAutoZoomSpeed

wxCheckBox* PANEL_MOUSE_SETTINGS_BASE::m_checkAutoZoomSpeed
protectedinherited

◆ m_checkEnablePanH

wxCheckBox* PANEL_MOUSE_SETTINGS_BASE::m_checkEnablePanH
protectedinherited

◆ m_checkPanHReverse

wxCheckBox* PANEL_MOUSE_SETTINGS_BASE::m_checkPanHReverse
protectedinherited

◆ m_checkZoomAcceleration

wxCheckBox* PANEL_MOUSE_SETTINGS_BASE::m_checkZoomAcceleration
protectedinherited

◆ m_checkZoomCenter

wxCheckBox* PANEL_MOUSE_SETTINGS_BASE::m_checkZoomCenter
protectedinherited

◆ m_choiceLeftButtonDrag

wxChoice* PANEL_MOUSE_SETTINGS_BASE::m_choiceLeftButtonDrag
protectedinherited

◆ m_choiceMiddleButtonDrag

wxChoice* PANEL_MOUSE_SETTINGS_BASE::m_choiceMiddleButtonDrag
protectedinherited

◆ m_choiceRightButtonDrag

wxChoice* PANEL_MOUSE_SETTINGS_BASE::m_choiceRightButtonDrag
protectedinherited

◆ m_currentScrollMod

SCROLL_MOD_SET PANEL_MOUSE_SETTINGS::m_currentScrollMod
private

◆ m_dragLabel

wxStaticText* PANEL_MOUSE_SETTINGS_BASE::m_dragLabel
protectedinherited

◆ m_lblAlt

wxStaticText* PANEL_MOUSE_SETTINGS_BASE::m_lblAlt
protectedinherited

◆ m_lblCtrl

wxStaticText* PANEL_MOUSE_SETTINGS_BASE::m_lblCtrl
protectedinherited

◆ m_leftButtonDragLabel

wxStaticText* PANEL_MOUSE_SETTINGS_BASE::m_leftButtonDragLabel
protectedinherited

◆ m_mouseDefaults

wxButton* PANEL_MOUSE_SETTINGS_BASE::m_mouseDefaults
protectedinherited

◆ m_panSizer

wxBoxSizer* PANEL_MOUSE_SETTINGS_BASE::m_panSizer
protectedinherited

◆ m_panZoomLabel

wxStaticText* PANEL_MOUSE_SETTINGS_BASE::m_panZoomLabel
protectedinherited

◆ m_rbPanHAlt

wxRadioButton* PANEL_MOUSE_SETTINGS_BASE::m_rbPanHAlt
protectedinherited

◆ m_rbPanHCtrl

wxRadioButton* PANEL_MOUSE_SETTINGS_BASE::m_rbPanHCtrl
protectedinherited

◆ m_rbPanHNone

wxRadioButton* PANEL_MOUSE_SETTINGS_BASE::m_rbPanHNone
protectedinherited

◆ m_rbPanHShift

wxRadioButton* PANEL_MOUSE_SETTINGS_BASE::m_rbPanHShift
protectedinherited

◆ m_rbPanVAlt

wxRadioButton* PANEL_MOUSE_SETTINGS_BASE::m_rbPanVAlt
protectedinherited

◆ m_rbPanVCtrl

wxRadioButton* PANEL_MOUSE_SETTINGS_BASE::m_rbPanVCtrl
protectedinherited

◆ m_rbPanVNone

wxRadioButton* PANEL_MOUSE_SETTINGS_BASE::m_rbPanVNone
protectedinherited

◆ m_rbPanVShift

wxRadioButton* PANEL_MOUSE_SETTINGS_BASE::m_rbPanVShift
protectedinherited

◆ m_rbZoomAlt

wxRadioButton* PANEL_MOUSE_SETTINGS_BASE::m_rbZoomAlt
protectedinherited

◆ m_rbZoomCtrl

wxRadioButton* PANEL_MOUSE_SETTINGS_BASE::m_rbZoomCtrl
protectedinherited

◆ m_rbZoomNone

wxRadioButton* PANEL_MOUSE_SETTINGS_BASE::m_rbZoomNone
protectedinherited

◆ m_rbZoomShift

wxRadioButton* PANEL_MOUSE_SETTINGS_BASE::m_rbZoomShift
protectedinherited

◆ m_scrollLabel

wxStaticText* PANEL_MOUSE_SETTINGS_BASE::m_scrollLabel
protectedinherited

◆ m_scrollWarning

wxStaticBitmap* PANEL_MOUSE_SETTINGS_BASE::m_scrollWarning
protectedinherited

◆ m_staticline1

wxStaticLine* PANEL_MOUSE_SETTINGS_BASE::m_staticline1
protectedinherited

◆ m_staticline2

wxStaticLine* PANEL_MOUSE_SETTINGS_BASE::m_staticline2
protectedinherited

◆ m_staticline3

wxStaticLine* PANEL_MOUSE_SETTINGS_BASE::m_staticline3
protectedinherited

◆ m_staticText1

wxStaticText* PANEL_MOUSE_SETTINGS_BASE::m_staticText1
protectedinherited

◆ m_staticText10

wxStaticText* PANEL_MOUSE_SETTINGS_BASE::m_staticText10
protectedinherited

◆ m_staticText11

wxStaticText* PANEL_MOUSE_SETTINGS_BASE::m_staticText11
protectedinherited

◆ m_staticText17

wxStaticText* PANEL_MOUSE_SETTINGS_BASE::m_staticText17
protectedinherited

◆ m_staticText18

wxStaticText* PANEL_MOUSE_SETTINGS_BASE::m_staticText18
protectedinherited

◆ m_staticText19

wxStaticText* PANEL_MOUSE_SETTINGS_BASE::m_staticText19
protectedinherited

◆ m_staticText20

wxStaticText* PANEL_MOUSE_SETTINGS_BASE::m_staticText20
protectedinherited

◆ m_staticText201

wxStaticText* PANEL_MOUSE_SETTINGS_BASE::m_staticText201
protectedinherited

◆ m_staticText21

wxStaticText* PANEL_MOUSE_SETTINGS_BASE::m_staticText21
protectedinherited

◆ m_staticText211

wxStaticText* PANEL_MOUSE_SETTINGS_BASE::m_staticText211
protectedinherited

◆ m_staticText22

wxStaticText* PANEL_MOUSE_SETTINGS_BASE::m_staticText22
protectedinherited

◆ m_staticText3

wxStaticText* PANEL_MOUSE_SETTINGS_BASE::m_staticText3
protectedinherited

◆ m_staticText31

wxStaticText* PANEL_MOUSE_SETTINGS_BASE::m_staticText31
protectedinherited

◆ m_staticText8

wxStaticText* PANEL_MOUSE_SETTINGS_BASE::m_staticText8
protectedinherited

◆ m_trackpadDefaults

wxButton* PANEL_MOUSE_SETTINGS_BASE::m_trackpadDefaults
protectedinherited

◆ m_zoomSizer

wxBoxSizer* PANEL_MOUSE_SETTINGS_BASE::m_zoomSizer
protectedinherited

◆ m_zoomSpeed

wxSlider* PANEL_MOUSE_SETTINGS_BASE::m_zoomSpeed
protectedinherited

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