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

#include <panel_spacemouse.h>

Inheritance diagram for PANEL_SPACEMOUSE:
PANEL_SPACEMOUSE_BASE RESETTABLE_PANEL

Public Member Functions

 PANEL_SPACEMOUSE (wxWindow *aParent)
 
 ~PANEL_SPACEMOUSE ()=default
 
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
 

Protected Attributes

wxStaticText * m_panRotateLabel
 
wxStaticLine * m_staticline1
 
wxGridBagSizer * m_gbSizer
 
wxStaticText * m_rotationSpeedLabel
 
wxSlider * m_rotationSpeed
 
wxCheckBox * m_checkEnablePanH
 
wxStaticText * m_panSpeedLabel
 
wxSlider * m_autoPanSpeed
 
wxCheckBox * m_reverseY
 
wxCheckBox * m_reverseX
 
wxCheckBox * m_reverseZ
 

Private Member Functions

void applySettingsToPanel (const COMMON_SETTINGS &aSettings)
 

Detailed Description

Definition at line 26 of file panel_spacemouse.h.

Constructor & Destructor Documentation

◆ PANEL_SPACEMOUSE()

PANEL_SPACEMOUSE::PANEL_SPACEMOUSE ( wxWindow * aParent)

◆ ~PANEL_SPACEMOUSE()

PANEL_SPACEMOUSE::~PANEL_SPACEMOUSE ( )
default

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

◆ ResetPanel()

void PANEL_SPACEMOUSE::ResetPanel ( )
overridevirtual

Reset the contents of this panel.

Implements RESETTABLE_PANEL.

Definition at line 61 of file panel_spacemouse.cpp.

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

◆ TransferDataFromWindow()

◆ TransferDataToWindow()

bool PANEL_SPACEMOUSE::TransferDataToWindow ( )
overrideprotected

Definition at line 38 of file panel_spacemouse.cpp.

References applySettingsToPanel(), PGM_BASE::GetCommonSettings(), and Pgm().

Member Data Documentation

◆ m_autoPanSpeed

wxSlider* PANEL_SPACEMOUSE_BASE::m_autoPanSpeed
protectedinherited

◆ m_checkEnablePanH

wxCheckBox* PANEL_SPACEMOUSE_BASE::m_checkEnablePanH
protectedinherited

◆ m_gbSizer

wxGridBagSizer* PANEL_SPACEMOUSE_BASE::m_gbSizer
protectedinherited

◆ m_panRotateLabel

wxStaticText* PANEL_SPACEMOUSE_BASE::m_panRotateLabel
protectedinherited

Definition at line 37 of file panel_spacemouse_base.h.

Referenced by PANEL_SPACEMOUSE_BASE().

◆ m_panSpeedLabel

wxStaticText* PANEL_SPACEMOUSE_BASE::m_panSpeedLabel
protectedinherited

Definition at line 43 of file panel_spacemouse_base.h.

Referenced by PANEL_SPACEMOUSE_BASE().

◆ m_reverseX

wxCheckBox* PANEL_SPACEMOUSE_BASE::m_reverseX
protectedinherited

◆ m_reverseY

wxCheckBox* PANEL_SPACEMOUSE_BASE::m_reverseY
protectedinherited

◆ m_reverseZ

wxCheckBox* PANEL_SPACEMOUSE_BASE::m_reverseZ
protectedinherited

◆ m_rotationSpeed

wxSlider* PANEL_SPACEMOUSE_BASE::m_rotationSpeed
protectedinherited

◆ m_rotationSpeedLabel

wxStaticText* PANEL_SPACEMOUSE_BASE::m_rotationSpeedLabel
protectedinherited

Definition at line 40 of file panel_spacemouse_base.h.

Referenced by PANEL_SPACEMOUSE_BASE().

◆ m_staticline1

wxStaticLine* PANEL_SPACEMOUSE_BASE::m_staticline1
protectedinherited

Definition at line 38 of file panel_spacemouse_base.h.

Referenced by PANEL_SPACEMOUSE_BASE().


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