KiCad PCB EDA Suite
|
#include <panel_spacemouse.h>
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) |
Definition at line 26 of file panel_spacemouse.h.
PANEL_SPACEMOUSE::PANEL_SPACEMOUSE | ( | wxWindow * | aParent | ) |
Definition at line 24 of file panel_spacemouse.cpp.
References PANEL_SPACEMOUSE_BASE::m_gbSizer, and PANEL_SPACEMOUSE_BASE::PANEL_SPACEMOUSE_BASE().
|
default |
|
private |
Definition at line 70 of file panel_spacemouse.cpp.
References PANEL_SPACEMOUSE_BASE::m_autoPanSpeed, PANEL_SPACEMOUSE_BASE::m_checkEnablePanH, PANEL_SPACEMOUSE_BASE::m_reverseX, PANEL_SPACEMOUSE_BASE::m_reverseY, PANEL_SPACEMOUSE_BASE::m_reverseZ, PANEL_SPACEMOUSE_BASE::m_rotationSpeed, COMMON_SETTINGS::m_SpaceMouse, COMMON_SETTINGS::SPACEMOUSE::pan_speed, COMMON_SETTINGS::SPACEMOUSE::reverse_pan_x, COMMON_SETTINGS::SPACEMOUSE::reverse_pan_y, COMMON_SETTINGS::SPACEMOUSE::reverse_rotate, COMMON_SETTINGS::SPACEMOUSE::reverse_zoom, and COMMON_SETTINGS::SPACEMOUSE::rotate_speed.
Referenced by ResetPanel(), and TransferDataToWindow().
|
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().
|
inlinevirtualinherited |
Get the tooltip the reset button should display when showing this panel.
Reimplemented in PANEL_COLOR_SETTINGS, and PANEL_HOTKEYS_EDITOR.
Definition at line 64 of file resettable_panel.h.
References _.
Referenced by GetHelpTextAtPoint().
|
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().
|
overrideprotected |
Definition at line 47 of file panel_spacemouse.cpp.
References PGM_BASE::GetCommonSettings(), PANEL_SPACEMOUSE_BASE::m_autoPanSpeed, PANEL_SPACEMOUSE_BASE::m_checkEnablePanH, PANEL_SPACEMOUSE_BASE::m_reverseX, PANEL_SPACEMOUSE_BASE::m_reverseY, PANEL_SPACEMOUSE_BASE::m_reverseZ, PANEL_SPACEMOUSE_BASE::m_rotationSpeed, COMMON_SETTINGS::m_SpaceMouse, COMMON_SETTINGS::SPACEMOUSE::pan_speed, Pgm(), COMMON_SETTINGS::SPACEMOUSE::reverse_pan_x, COMMON_SETTINGS::SPACEMOUSE::reverse_pan_y, COMMON_SETTINGS::SPACEMOUSE::reverse_rotate, COMMON_SETTINGS::SPACEMOUSE::reverse_zoom, and COMMON_SETTINGS::SPACEMOUSE::rotate_speed.
|
overrideprotected |
Definition at line 38 of file panel_spacemouse.cpp.
References applySettingsToPanel(), PGM_BASE::GetCommonSettings(), and Pgm().
|
protectedinherited |
Definition at line 44 of file panel_spacemouse_base.h.
Referenced by PANEL_SPACEMOUSE::applySettingsToPanel(), PANEL_SPACEMOUSE_BASE(), and PANEL_SPACEMOUSE::TransferDataFromWindow().
|
protectedinherited |
Definition at line 42 of file panel_spacemouse_base.h.
Referenced by PANEL_SPACEMOUSE::applySettingsToPanel(), PANEL_SPACEMOUSE_BASE(), and PANEL_SPACEMOUSE::TransferDataFromWindow().
|
protectedinherited |
Definition at line 39 of file panel_spacemouse_base.h.
Referenced by PANEL_SPACEMOUSE::PANEL_SPACEMOUSE(), and PANEL_SPACEMOUSE_BASE().
|
protectedinherited |
Definition at line 37 of file panel_spacemouse_base.h.
Referenced by PANEL_SPACEMOUSE_BASE().
|
protectedinherited |
Definition at line 43 of file panel_spacemouse_base.h.
Referenced by PANEL_SPACEMOUSE_BASE().
|
protectedinherited |
Definition at line 46 of file panel_spacemouse_base.h.
Referenced by PANEL_SPACEMOUSE::applySettingsToPanel(), PANEL_SPACEMOUSE_BASE(), and PANEL_SPACEMOUSE::TransferDataFromWindow().
|
protectedinherited |
Definition at line 45 of file panel_spacemouse_base.h.
Referenced by PANEL_SPACEMOUSE::applySettingsToPanel(), PANEL_SPACEMOUSE_BASE(), and PANEL_SPACEMOUSE::TransferDataFromWindow().
|
protectedinherited |
Definition at line 47 of file panel_spacemouse_base.h.
Referenced by PANEL_SPACEMOUSE::applySettingsToPanel(), PANEL_SPACEMOUSE_BASE(), and PANEL_SPACEMOUSE::TransferDataFromWindow().
|
protectedinherited |
Definition at line 41 of file panel_spacemouse_base.h.
Referenced by PANEL_SPACEMOUSE::applySettingsToPanel(), PANEL_SPACEMOUSE_BASE(), and PANEL_SPACEMOUSE::TransferDataFromWindow().
|
protectedinherited |
Definition at line 40 of file panel_spacemouse_base.h.
Referenced by PANEL_SPACEMOUSE_BASE().
|
protectedinherited |
Definition at line 38 of file panel_spacemouse_base.h.
Referenced by PANEL_SPACEMOUSE_BASE().