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

Class PANEL_SPACEMOUSE_BASE. More...

#include <panel_spacemouse_base.h>

Inheritance diagram for PANEL_SPACEMOUSE_BASE:
RESETTABLE_PANEL PANEL_SPACEMOUSE

Public Member Functions

 PANEL_SPACEMOUSE_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_SPACEMOUSE_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

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
 

Detailed Description

Class PANEL_SPACEMOUSE_BASE.

Definition at line 32 of file panel_spacemouse_base.h.

Constructor & Destructor Documentation

◆ PANEL_SPACEMOUSE_BASE()

PANEL_SPACEMOUSE_BASE::PANEL_SPACEMOUSE_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_SPACEMOUSE_BASE()

PANEL_SPACEMOUSE_BASE::~PANEL_SPACEMOUSE_BASE ( )

Definition at line 88 of file panel_spacemouse_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 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()

Member Data Documentation

◆ m_autoPanSpeed

wxSlider* PANEL_SPACEMOUSE_BASE::m_autoPanSpeed
protected

◆ m_checkEnablePanH

wxCheckBox* PANEL_SPACEMOUSE_BASE::m_checkEnablePanH
protected

◆ m_gbSizer

wxGridBagSizer* PANEL_SPACEMOUSE_BASE::m_gbSizer
protected

◆ m_panRotateLabel

wxStaticText* PANEL_SPACEMOUSE_BASE::m_panRotateLabel
protected

Definition at line 37 of file panel_spacemouse_base.h.

Referenced by PANEL_SPACEMOUSE_BASE().

◆ m_panSpeedLabel

wxStaticText* PANEL_SPACEMOUSE_BASE::m_panSpeedLabel
protected

Definition at line 43 of file panel_spacemouse_base.h.

Referenced by PANEL_SPACEMOUSE_BASE().

◆ m_reverseX

wxCheckBox* PANEL_SPACEMOUSE_BASE::m_reverseX
protected

◆ m_reverseY

wxCheckBox* PANEL_SPACEMOUSE_BASE::m_reverseY
protected

◆ m_reverseZ

wxCheckBox* PANEL_SPACEMOUSE_BASE::m_reverseZ
protected

◆ m_rotationSpeed

wxSlider* PANEL_SPACEMOUSE_BASE::m_rotationSpeed
protected

◆ m_rotationSpeedLabel

wxStaticText* PANEL_SPACEMOUSE_BASE::m_rotationSpeedLabel
protected

Definition at line 40 of file panel_spacemouse_base.h.

Referenced by PANEL_SPACEMOUSE_BASE().

◆ m_staticline1

wxStaticLine* PANEL_SPACEMOUSE_BASE::m_staticline1
protected

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: