KiCad PCB EDA Suite
|
#include <panel_gal_options.h>
Public Member Functions | |
PANEL_GAL_OPTIONS (wxWindow *aParent, APP_SETTINGS_BASE *aAppSettings) | |
bool | TransferDataToWindow () override |
Load the panel controls from the given opt. | |
bool | TransferDataFromWindow () override |
Read the options set in the UI into the given options object. | |
bool | ResetPanel (APP_SETTINGS_BASE *aAppSettings) |
Protected Attributes | |
wxStaticText * | m_staticText1 |
wxStaticLine * | m_staticline1 |
wxStaticText * | m_gridStyleLabel |
wxRadioButton * | m_rbDots |
wxRadioButton * | m_rbLines |
wxRadioButton * | m_rbCrosses |
wxStaticText * | l_gridLineWidth |
wxChoice * | m_gridLineWidth |
wxStaticText * | l_gridLineWidthUnits |
wxStaticText * | l_gridMinSpacing |
wxSpinCtrl * | m_gridMinSpacing |
wxStaticText * | l_gridMinSpacingUnits |
wxStaticText * | l_gridSnapOptions |
wxChoice * | m_gridSnapOptions |
wxStaticText * | m_stGridLabel |
wxStaticLine * | m_staticline2 |
wxRadioButton * | m_rbSmallCrosshairs |
wxRadioButton * | m_rbFullWindowCrosshairs |
wxRadioButton * | m_rb45DegreeCrosshairs |
wxCheckBox * | m_forceCursorDisplay |
Private Attributes | |
std::vector< double > | m_gridThicknessList |
APP_SETTINGS_BASE * | m_cfg |
Definition at line 39 of file panel_gal_options.h.
PANEL_GAL_OPTIONS::PANEL_GAL_OPTIONS | ( | wxWindow * | aParent, |
APP_SETTINGS_BASE * | aAppSettings ) |
Definition at line 60 of file panel_gal_options.cpp.
References gridMinSpacingMax, gridMinSpacingMin, gridMinSpacingStep, gridThicknessMax, gridThicknessMin, gridThicknessStep, m_cfg, PANEL_GAL_OPTIONS_BASE::m_gridLineWidth, PANEL_GAL_OPTIONS_BASE::m_gridMinSpacing, m_gridThicknessList, and PANEL_GAL_OPTIONS_BASE::PANEL_GAL_OPTIONS_BASE().
bool PANEL_GAL_OPTIONS::ResetPanel | ( | APP_SETTINGS_BASE * | aAppSettings | ) |
Definition at line 137 of file panel_gal_options.cpp.
References m_cfg, and TransferDataToWindow().
|
override |
Read the options set in the UI into the given options object.
Definition at line 109 of file panel_gal_options.cpp.
References KIGFX::FULLSCREEN_CROSS, KIGFX::FULLSCREEN_DIAGONAL, m_cfg, PANEL_GAL_OPTIONS_BASE::m_forceCursorDisplay, PANEL_GAL_OPTIONS_BASE::m_gridLineWidth, PANEL_GAL_OPTIONS_BASE::m_gridMinSpacing, PANEL_GAL_OPTIONS_BASE::m_gridSnapOptions, m_gridThicknessList, PANEL_GAL_OPTIONS_BASE::m_rb45DegreeCrosshairs, PANEL_GAL_OPTIONS_BASE::m_rbDots, PANEL_GAL_OPTIONS_BASE::m_rbFullWindowCrosshairs, PANEL_GAL_OPTIONS_BASE::m_rbLines, and KIGFX::SMALL_CROSS.
|
override |
Load the panel controls from the given opt.
Definition at line 83 of file panel_gal_options.cpp.
References KIGFX::FULLSCREEN_DIAGONAL, m_cfg, PANEL_GAL_OPTIONS_BASE::m_forceCursorDisplay, PANEL_GAL_OPTIONS_BASE::m_gridMinSpacing, PANEL_GAL_OPTIONS_BASE::m_gridSnapOptions, PANEL_GAL_OPTIONS_BASE::m_rb45DegreeCrosshairs, PANEL_GAL_OPTIONS_BASE::m_rbCrosses, PANEL_GAL_OPTIONS_BASE::m_rbDots, PANEL_GAL_OPTIONS_BASE::m_rbFullWindowCrosshairs, PANEL_GAL_OPTIONS_BASE::m_rbLines, PANEL_GAL_OPTIONS_BASE::m_rbSmallCrosshairs, and KIGFX::SMALL_CROSS.
Referenced by ResetPanel().
|
protectedinherited |
Definition at line 44 of file panel_gal_options_base.h.
Referenced by PANEL_GAL_OPTIONS_BASE().
|
protectedinherited |
Definition at line 46 of file panel_gal_options_base.h.
Referenced by PANEL_GAL_OPTIONS_BASE().
|
protectedinherited |
Definition at line 47 of file panel_gal_options_base.h.
Referenced by PANEL_GAL_OPTIONS_BASE().
|
protectedinherited |
Definition at line 49 of file panel_gal_options_base.h.
Referenced by PANEL_GAL_OPTIONS_BASE().
|
protectedinherited |
Definition at line 50 of file panel_gal_options_base.h.
Referenced by PANEL_GAL_OPTIONS_BASE().
|
private |
Definition at line 59 of file panel_gal_options.h.
Referenced by PANEL_GAL_OPTIONS(), ResetPanel(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 57 of file panel_gal_options_base.h.
Referenced by PANEL_GAL_OPTIONS_BASE(), PANEL_GAL_OPTIONS::TransferDataFromWindow(), and PANEL_GAL_OPTIONS::TransferDataToWindow().
|
protectedinherited |
Definition at line 45 of file panel_gal_options_base.h.
Referenced by PANEL_GAL_OPTIONS::PANEL_GAL_OPTIONS(), PANEL_GAL_OPTIONS_BASE(), and PANEL_GAL_OPTIONS::TransferDataFromWindow().
|
protectedinherited |
Definition at line 48 of file panel_gal_options_base.h.
Referenced by PANEL_GAL_OPTIONS::PANEL_GAL_OPTIONS(), PANEL_GAL_OPTIONS_BASE(), PANEL_GAL_OPTIONS::TransferDataFromWindow(), and PANEL_GAL_OPTIONS::TransferDataToWindow().
|
protectedinherited |
Definition at line 51 of file panel_gal_options_base.h.
Referenced by PANEL_GAL_OPTIONS_BASE(), PANEL_GAL_OPTIONS::TransferDataFromWindow(), and PANEL_GAL_OPTIONS::TransferDataToWindow().
|
protectedinherited |
Definition at line 40 of file panel_gal_options_base.h.
Referenced by PANEL_GAL_OPTIONS_BASE().
|
private |
Definition at line 58 of file panel_gal_options.h.
Referenced by PANEL_GAL_OPTIONS(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 56 of file panel_gal_options_base.h.
Referenced by PANEL_GAL_OPTIONS_BASE(), PANEL_GAL_OPTIONS::TransferDataFromWindow(), and PANEL_GAL_OPTIONS::TransferDataToWindow().
|
protectedinherited |
Definition at line 43 of file panel_gal_options_base.h.
Referenced by PANEL_GAL_OPTIONS_BASE(), and PANEL_GAL_OPTIONS::TransferDataToWindow().
|
protectedinherited |
Definition at line 41 of file panel_gal_options_base.h.
Referenced by PANEL_GAL_OPTIONS_BASE(), PANEL_GAL_OPTIONS::TransferDataFromWindow(), and PANEL_GAL_OPTIONS::TransferDataToWindow().
|
protectedinherited |
Definition at line 55 of file panel_gal_options_base.h.
Referenced by PANEL_GAL_OPTIONS_BASE(), PANEL_GAL_OPTIONS::TransferDataFromWindow(), and PANEL_GAL_OPTIONS::TransferDataToWindow().
|
protectedinherited |
Definition at line 42 of file panel_gal_options_base.h.
Referenced by PANEL_GAL_OPTIONS_BASE(), PANEL_GAL_OPTIONS::TransferDataFromWindow(), and PANEL_GAL_OPTIONS::TransferDataToWindow().
|
protectedinherited |
Definition at line 54 of file panel_gal_options_base.h.
Referenced by PANEL_GAL_OPTIONS_BASE(), and PANEL_GAL_OPTIONS::TransferDataToWindow().
|
protectedinherited |
Definition at line 39 of file panel_gal_options_base.h.
Referenced by PANEL_GAL_OPTIONS_BASE().
|
protectedinherited |
Definition at line 53 of file panel_gal_options_base.h.
Referenced by PANEL_GAL_OPTIONS_BASE().
|
protectedinherited |
Definition at line 38 of file panel_gal_options_base.h.
Referenced by PANEL_GAL_OPTIONS_BASE().
|
protectedinherited |
Definition at line 52 of file panel_gal_options_base.h.
Referenced by PANEL_GAL_OPTIONS_BASE().