KiCad PCB EDA Suite
|
#include <panel_3D_opengl_options.h>
Public Member Functions | |
PANEL_3D_OPENGL_OPTIONS (wxWindow *aParent) | |
bool | TransferDataFromWindow () override |
bool | TransferDataToWindow () override |
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 Attributes | |
wxStaticText * | m_renderingLabel |
wxStaticLine * | m_staticline1 |
wxCheckBox * | m_checkBoxBoundingBoxes |
wxCheckBox * | m_checkBoxCuThickness |
wxCheckBox * | m_checkBoxHighlightOnRollOver |
wxStaticText * | m_staticText221 |
wxChoice * | m_choiceAntiAliasing |
wxStaticText * | m_selectionColorLabel |
COLOR_SWATCH * | m_selectionColorSwatch |
wxStaticText * | m_movingLabel |
wxStaticLine * | m_staticline2 |
wxCheckBox * | m_checkBoxDisableAAMove |
wxCheckBox * | m_checkBoxDisableMoveThickness |
wxCheckBox * | m_checkBoxDisableMoveVias |
wxCheckBox * | m_checkBoxDisableMoveHoles |
Private Member Functions | |
void | loadSettings (EDA_3D_VIEWER_SETTINGS *aCfg) |
Definition at line 31 of file panel_3D_opengl_options.h.
|
explicit |
Definition at line 33 of file panel_3D_opengl_options.cpp.
References PANEL_3D_OPENGL_OPTIONS_BASE::m_selectionColorSwatch, COLOR_SWATCH::SetDefaultColor(), and COLOR_SWATCH::SetSupportsOpacity().
|
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().
|
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 RESETTABLE_PANEL::GetHelpTextAtPoint().
|
private |
Definition at line 41 of file panel_3D_opengl_options.cpp.
References EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::highlight_on_rollover, PANEL_3D_OPENGL_OPTIONS_BASE::m_checkBoxBoundingBoxes, PANEL_3D_OPENGL_OPTIONS_BASE::m_checkBoxCuThickness, PANEL_3D_OPENGL_OPTIONS_BASE::m_checkBoxDisableAAMove, PANEL_3D_OPENGL_OPTIONS_BASE::m_checkBoxDisableMoveHoles, PANEL_3D_OPENGL_OPTIONS_BASE::m_checkBoxDisableMoveThickness, PANEL_3D_OPENGL_OPTIONS_BASE::m_checkBoxDisableMoveVias, PANEL_3D_OPENGL_OPTIONS_BASE::m_checkBoxHighlightOnRollOver, PANEL_3D_OPENGL_OPTIONS_BASE::m_choiceAntiAliasing, EDA_3D_VIEWER_SETTINGS::m_Render, PANEL_3D_OPENGL_OPTIONS_BASE::m_selectionColorSwatch, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::opengl_AA_disableOnMove, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::opengl_AA_mode, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::opengl_copper_thickness, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::opengl_holes_disableOnMove, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::opengl_selection_color, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::opengl_thickness_disableOnMove, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::opengl_vias_disableOnMove, COLOR_SWATCH::SetSwatchColor(), and EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::show_model_bbox.
Referenced by ResetPanel(), and TransferDataToWindow().
|
overridevirtual |
Reset the contents of this panel.
Implements RESETTABLE_PANEL.
Definition at line 87 of file panel_3D_opengl_options.cpp.
References JSON_SETTINGS::Load(), and loadSettings().
|
override |
Definition at line 67 of file panel_3D_opengl_options.cpp.
References SETTINGS_MANAGER::GetAppSettings(), PGM_BASE::GetSettingsManager(), COLOR_SWATCH::GetSwatchColor(), EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::highlight_on_rollover, PANEL_3D_OPENGL_OPTIONS_BASE::m_checkBoxBoundingBoxes, PANEL_3D_OPENGL_OPTIONS_BASE::m_checkBoxCuThickness, PANEL_3D_OPENGL_OPTIONS_BASE::m_checkBoxDisableAAMove, PANEL_3D_OPENGL_OPTIONS_BASE::m_checkBoxDisableMoveHoles, PANEL_3D_OPENGL_OPTIONS_BASE::m_checkBoxDisableMoveThickness, PANEL_3D_OPENGL_OPTIONS_BASE::m_checkBoxDisableMoveVias, PANEL_3D_OPENGL_OPTIONS_BASE::m_checkBoxHighlightOnRollOver, PANEL_3D_OPENGL_OPTIONS_BASE::m_choiceAntiAliasing, EDA_3D_VIEWER_SETTINGS::m_Render, PANEL_3D_OPENGL_OPTIONS_BASE::m_selectionColorSwatch, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::opengl_AA_disableOnMove, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::opengl_AA_mode, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::opengl_copper_thickness, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::opengl_holes_disableOnMove, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::opengl_selection_color, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::opengl_thickness_disableOnMove, EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::opengl_vias_disableOnMove, Pgm(), and EDA_3D_VIEWER_SETTINGS::RENDER_SETTINGS::show_model_bbox.
|
override |
Definition at line 57 of file panel_3D_opengl_options.cpp.
References SETTINGS_MANAGER::GetAppSettings(), PGM_BASE::GetSettingsManager(), loadSettings(), and Pgm().
|
protectedinherited |
Definition at line 41 of file panel_3D_opengl_options_base.h.
Referenced by loadSettings(), PANEL_3D_OPENGL_OPTIONS_BASE::PANEL_3D_OPENGL_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 42 of file panel_3D_opengl_options_base.h.
Referenced by loadSettings(), PANEL_3D_OPENGL_OPTIONS_BASE::PANEL_3D_OPENGL_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 50 of file panel_3D_opengl_options_base.h.
Referenced by loadSettings(), PANEL_3D_OPENGL_OPTIONS_BASE::PANEL_3D_OPENGL_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 53 of file panel_3D_opengl_options_base.h.
Referenced by loadSettings(), PANEL_3D_OPENGL_OPTIONS_BASE::PANEL_3D_OPENGL_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 51 of file panel_3D_opengl_options_base.h.
Referenced by loadSettings(), PANEL_3D_OPENGL_OPTIONS_BASE::PANEL_3D_OPENGL_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 52 of file panel_3D_opengl_options_base.h.
Referenced by loadSettings(), PANEL_3D_OPENGL_OPTIONS_BASE::PANEL_3D_OPENGL_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 43 of file panel_3D_opengl_options_base.h.
Referenced by loadSettings(), PANEL_3D_OPENGL_OPTIONS_BASE::PANEL_3D_OPENGL_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 45 of file panel_3D_opengl_options_base.h.
Referenced by loadSettings(), PANEL_3D_OPENGL_OPTIONS_BASE::PANEL_3D_OPENGL_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 48 of file panel_3D_opengl_options_base.h.
Referenced by PANEL_3D_OPENGL_OPTIONS_BASE::PANEL_3D_OPENGL_OPTIONS_BASE().
|
protectedinherited |
Definition at line 39 of file panel_3D_opengl_options_base.h.
Referenced by PANEL_3D_OPENGL_OPTIONS_BASE::PANEL_3D_OPENGL_OPTIONS_BASE().
|
protectedinherited |
Definition at line 46 of file panel_3D_opengl_options_base.h.
Referenced by PANEL_3D_OPENGL_OPTIONS_BASE::PANEL_3D_OPENGL_OPTIONS_BASE().
|
protectedinherited |
Definition at line 47 of file panel_3D_opengl_options_base.h.
Referenced by loadSettings(), PANEL_3D_OPENGL_OPTIONS(), PANEL_3D_OPENGL_OPTIONS_BASE::PANEL_3D_OPENGL_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 40 of file panel_3D_opengl_options_base.h.
Referenced by PANEL_3D_OPENGL_OPTIONS_BASE::PANEL_3D_OPENGL_OPTIONS_BASE().
|
protectedinherited |
Definition at line 49 of file panel_3D_opengl_options_base.h.
Referenced by PANEL_3D_OPENGL_OPTIONS_BASE::PANEL_3D_OPENGL_OPTIONS_BASE().
|
protectedinherited |
Definition at line 44 of file panel_3D_opengl_options_base.h.
Referenced by PANEL_3D_OPENGL_OPTIONS_BASE::PANEL_3D_OPENGL_OPTIONS_BASE().