KiCad PCB EDA Suite
PANEL_COMMON_SETTINGS_BASE Class Reference

Class PANEL_COMMON_SETTINGS_BASE. More...

#include <panel_common_settings_base.h>

Inheritance diagram for PANEL_COMMON_SETTINGS_BASE:
PANEL_COMMON_SETTINGS

Public Member Functions

 PANEL_COMMON_SETTINGS_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_COMMON_SETTINGS_BASE ()
 

Protected Types

enum  { wxID_AUTOPAN = 1000 }
 

Protected Member Functions

virtual void OnTextEditorClick (wxCommandEvent &event)
 
virtual void onUpdateUIPdfPath (wxUpdateUIEvent &event)
 
virtual void OnPDFViewerClick (wxCommandEvent &event)
 
virtual void OnScaleSlider (wxScrollEvent &event)
 
virtual void OnScaleAuto (wxCommandEvent &event)
 

Protected Attributes

wxStaticText * m_staticTextautosave
 
wxSpinCtrl * m_SaveTime
 
wxStaticText * m_staticTextFileHistorySize
 
wxSpinCtrl * m_fileHistorySize
 
wxChoice * m_antialiasing
 
wxChoice * m_antialiasingFallback
 
wxTextCtrl * m_textEditorPath
 
wxBitmapButton * m_textEditorBtn
 
wxRadioButton * m_defaultPDFViewer
 
wxRadioButton * m_otherPDFViewer
 
wxTextCtrl * m_PDFViewerPath
 
wxBitmapButton * m_pdfViewerBtn
 
wxStaticText * m_staticTexticonscale
 
STEPPED_SLIDERm_scaleSlider
 
wxStaticText * m_staticTextPerCent
 
wxCheckBox * m_scaleAuto
 
wxCheckBox * m_checkBoxIconsInMenus
 
wxCheckBox * m_ZoomCenterOpt
 
wxCheckBox * m_MousewheelPANOpt
 
wxCheckBox * m_AutoPANOpt
 

Detailed Description

Class PANEL_COMMON_SETTINGS_BASE.

Definition at line 41 of file panel_common_settings_base.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
wxID_AUTOPAN 

Definition at line 46 of file panel_common_settings_base.h.

Constructor & Destructor Documentation

◆ PANEL_COMMON_SETTINGS_BASE()

PANEL_COMMON_SETTINGS_BASE::PANEL_COMMON_SETTINGS_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 
)

Definition at line 12 of file panel_common_settings_base.cpp.

References m_antialiasing, m_antialiasingFallback, m_AutoPANOpt, m_checkBoxIconsInMenus, m_defaultPDFViewer, m_fileHistorySize, m_MousewheelPANOpt, m_otherPDFViewer, m_pdfViewerBtn, m_PDFViewerPath, m_SaveTime, m_scaleAuto, m_scaleSlider, m_staticTextautosave, m_staticTextFileHistorySize, m_staticTexticonscale, m_staticTextPerCent, m_textEditorBtn, m_textEditorPath, m_ZoomCenterOpt, OnPDFViewerClick(), OnScaleAuto(), OnScaleSlider(), OnTextEditorClick(), onUpdateUIPdfPath(), and wxID_AUTOPAN.

12  : wxPanel( parent, id, pos, size, style, name )
13 {
14  wxBoxSizer* bPanelSizer;
15  bPanelSizer = new wxBoxSizer( wxVERTICAL );
16 
17  wxBoxSizer* bLeftSizer;
18  bLeftSizer = new wxBoxSizer( wxVERTICAL );
19 
20  wxGridBagSizer* gbSizer1;
21  gbSizer1 = new wxGridBagSizer( 4, 4 );
22  gbSizer1->SetFlexibleDirection( wxBOTH );
23  gbSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
24  gbSizer1->SetEmptyCellSize( wxSize( -1,2 ) );
25 
26  m_staticTextautosave = new wxStaticText( this, wxID_ANY, _("&Auto save:"), wxDefaultPosition, wxDefaultSize, 0 );
27  m_staticTextautosave->Wrap( -1 );
28  gbSizer1->Add( m_staticTextautosave, wxGBPosition( 0, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
29 
30  wxBoxSizer* bSizer6;
31  bSizer6 = new wxBoxSizer( wxHORIZONTAL );
32 
33  m_SaveTime = new wxSpinCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 10, 0 );
34  m_SaveTime->SetToolTip( _("Delay after the first change to create a backup file of the board on disk.\nIf set to 0, auto backup is disabled") );
35 
36  bSizer6->Add( m_SaveTime, 0, wxALIGN_CENTER_VERTICAL, 5 );
37 
38  wxStaticText* minutesLabel;
39  minutesLabel = new wxStaticText( this, wxID_ANY, _("minutes"), wxDefaultPosition, wxDefaultSize, 0 );
40  minutesLabel->Wrap( -1 );
41  bSizer6->Add( minutesLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
42 
43 
44  gbSizer1->Add( bSizer6, wxGBPosition( 0, 1 ), wxGBSpan( 1, 1 ), wxEXPAND, 5 );
45 
46  m_staticTextFileHistorySize = new wxStaticText( this, wxID_ANY, _("File history size:"), wxDefaultPosition, wxDefaultSize, 0 );
47  m_staticTextFileHistorySize->Wrap( -1 );
48  gbSizer1->Add( m_staticTextFileHistorySize, wxGBPosition( 1, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
49 
50  m_fileHistorySize = new wxSpinCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 1, 100, 0 );
51  gbSizer1->Add( m_fileHistorySize, wxGBPosition( 1, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
52 
53  wxStaticText* antialiasingLabel;
54  antialiasingLabel = new wxStaticText( this, wxID_ANY, _("Graphics (Accelerated):"), wxDefaultPosition, wxDefaultSize, 0 );
55  antialiasingLabel->Wrap( -1 );
56  gbSizer1->Add( antialiasingLabel, wxGBPosition( 3, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
57 
58  wxString m_antialiasingChoices[] = { _("No Antialiasing"), _("Subpixel Antialiasing (High Quality)"), _("Subpixel Antialiasing (Ultra Quality)"), _("Supersampling (2x)"), _("Supersampling (4x)") };
59  int m_antialiasingNChoices = sizeof( m_antialiasingChoices ) / sizeof( wxString );
60  m_antialiasing = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_antialiasingNChoices, m_antialiasingChoices, 0 );
61  m_antialiasing->SetSelection( 0 );
62  gbSizer1->Add( m_antialiasing, wxGBPosition( 3, 1 ), wxGBSpan( 1, 2 ), wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
63 
64  wxStaticText* antialiasingLabel1;
65  antialiasingLabel1 = new wxStaticText( this, wxID_ANY, _("Graphics (Fallback):"), wxDefaultPosition, wxDefaultSize, 0 );
66  antialiasingLabel1->Wrap( -1 );
67  gbSizer1->Add( antialiasingLabel1, wxGBPosition( 4, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
68 
69  wxString m_antialiasingFallbackChoices[] = { _("No Antialiasing"), _("Fast Antialiasing"), _("Balanced Antialiasing"), _("High Quality Antialiasing") };
70  int m_antialiasingFallbackNChoices = sizeof( m_antialiasingFallbackChoices ) / sizeof( wxString );
71  m_antialiasingFallback = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_antialiasingFallbackNChoices, m_antialiasingFallbackChoices, 0 );
72  m_antialiasingFallback->SetSelection( 0 );
73  gbSizer1->Add( m_antialiasingFallback, wxGBPosition( 4, 1 ), wxGBSpan( 1, 2 ), wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
74 
75 
76  gbSizer1->AddGrowableCol( 1 );
77 
78  bLeftSizer->Add( gbSizer1, 1, wxEXPAND|wxALL, 5 );
79 
80  wxStaticBoxSizer* sizerHelperApps;
81  sizerHelperApps = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Helper Applications") ), wxVERTICAL );
82 
83  wxGridBagSizer* gridHelperApps;
84  gridHelperApps = new wxGridBagSizer( 3, 3 );
85  gridHelperApps->SetFlexibleDirection( wxBOTH );
86  gridHelperApps->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
87  gridHelperApps->SetEmptyCellSize( wxSize( -1,5 ) );
88 
89  wxStaticText* textEditorLabel;
90  textEditorLabel = new wxStaticText( sizerHelperApps->GetStaticBox(), wxID_ANY, _("Text editor:"), wxDefaultPosition, wxDefaultSize, 0 );
91  textEditorLabel->Wrap( -1 );
92  gridHelperApps->Add( textEditorLabel, wxGBPosition( 0, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 4 );
93 
94  m_textEditorPath = new wxTextCtrl( sizerHelperApps->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
95  m_textEditorPath->SetMinSize( wxSize( 360,-1 ) );
96 
97  gridHelperApps->Add( m_textEditorPath, wxGBPosition( 0, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
98 
99  m_textEditorBtn = new wxBitmapButton( sizerHelperApps->GetStaticBox(), wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
100  m_textEditorBtn->SetMinSize( wxSize( 29,29 ) );
101 
102  gridHelperApps->Add( m_textEditorBtn, wxGBPosition( 0, 2 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
103 
104  m_defaultPDFViewer = new wxRadioButton( sizerHelperApps->GetStaticBox(), wxID_ANY, _("System default PDF viewer"), wxDefaultPosition, wxDefaultSize, 0 );
105  gridHelperApps->Add( m_defaultPDFViewer, wxGBPosition( 2, 0 ), wxGBSpan( 1, 3 ), 0, 4 );
106 
107  m_otherPDFViewer = new wxRadioButton( sizerHelperApps->GetStaticBox(), wxID_ANY, _("Other:"), wxDefaultPosition, wxDefaultSize, 0 );
108  gridHelperApps->Add( m_otherPDFViewer, wxGBPosition( 3, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 4 );
109 
110  m_PDFViewerPath = new wxTextCtrl( sizerHelperApps->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
111  m_PDFViewerPath->SetMinSize( wxSize( 360,-1 ) );
112 
113  gridHelperApps->Add( m_PDFViewerPath, wxGBPosition( 3, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
114 
115  m_pdfViewerBtn = new wxBitmapButton( sizerHelperApps->GetStaticBox(), wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
116  m_pdfViewerBtn->SetMinSize( wxSize( 29,29 ) );
117 
118  gridHelperApps->Add( m_pdfViewerBtn, wxGBPosition( 3, 2 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL, 5 );
119 
120 
121  gridHelperApps->AddGrowableCol( 1 );
122 
123  sizerHelperApps->Add( gridHelperApps, 0, wxALL|wxEXPAND, 5 );
124 
125 
126  bLeftSizer->Add( sizerHelperApps, 0, wxEXPAND|wxALL, 5 );
127 
128  wxStaticBoxSizer* sbSizerIconsOpts;
129  sbSizerIconsOpts = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("User Interface") ), wxVERTICAL );
130 
131  wxFlexGridSizer* fgSizer11;
132  fgSizer11 = new wxFlexGridSizer( 0, 3, 0, 0 );
133  fgSizer11->AddGrowableCol( 1 );
134  fgSizer11->SetFlexibleDirection( wxBOTH );
135  fgSizer11->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
136 
137  m_staticTexticonscale = new wxStaticText( sbSizerIconsOpts->GetStaticBox(), wxID_ANY, _("Icon scale:"), wxDefaultPosition, wxDefaultSize, 0 );
138  m_staticTexticonscale->Wrap( -1 );
139  fgSizer11->Add( m_staticTexticonscale, 0, wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 4 );
140 
141  wxBoxSizer* bSizer4;
142  bSizer4 = new wxBoxSizer( wxHORIZONTAL );
143 
144  m_scaleSlider = new STEPPED_SLIDER( sbSizerIconsOpts->GetStaticBox(), wxID_ANY, 50, 50, 275, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
145  m_scaleSlider->SetMinSize( wxSize( 240,-1 ) );
146 
147  bSizer4->Add( m_scaleSlider, 1, wxBOTTOM|wxEXPAND, 4 );
148 
149  m_staticTextPerCent = new wxStaticText( sbSizerIconsOpts->GetStaticBox(), wxID_ANY, _("%"), wxDefaultPosition, wxDefaultSize, 0 );
150  m_staticTextPerCent->Wrap( -1 );
151  bSizer4->Add( m_staticTextPerCent, 0, wxALIGN_CENTER_VERTICAL|wxALL, 2 );
152 
153 
154  fgSizer11->Add( bSizer4, 1, wxEXPAND, 5 );
155 
156  m_scaleAuto = new wxCheckBox( sbSizerIconsOpts->GetStaticBox(), wxID_ANY, _("Automatic"), wxDefaultPosition, wxDefaultSize, 0 );
157  fgSizer11->Add( m_scaleAuto, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 25 );
158 
159 
160  fgSizer11->Add( 0, 0, 0, wxEXPAND, 5 );
161 
162 
163  sbSizerIconsOpts->Add( fgSizer11, 0, wxEXPAND|wxBOTTOM|wxRIGHT, 5 );
164 
165  m_checkBoxIconsInMenus = new wxCheckBox( sbSizerIconsOpts->GetStaticBox(), wxID_ANY, _("Show icons in menus"), wxDefaultPosition, wxDefaultSize, 0 );
166  sbSizerIconsOpts->Add( m_checkBoxIconsInMenus, 0, wxALL, 4 );
167 
168 
169  bLeftSizer->Add( sbSizerIconsOpts, 0, wxEXPAND|wxALL, 5 );
170 
171  wxStaticBoxSizer* sbSizer51;
172  sbSizer51 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Pan and Zoom") ), wxVERTICAL );
173 
174  m_ZoomCenterOpt = new wxCheckBox( sbSizer51->GetStaticBox(), wxID_ANY, _("Ce&nter and warp cursor on zoom"), wxDefaultPosition, wxDefaultSize, 0 );
175  m_ZoomCenterOpt->SetToolTip( _("Center the cursor on screen when zooming.") );
176 
177  sbSizer51->Add( m_ZoomCenterOpt, 0, wxTOP|wxRIGHT|wxLEFT, 4 );
178 
179  m_MousewheelPANOpt = new wxCheckBox( sbSizer51->GetStaticBox(), wxID_ANY, _("Use touchpad to pan"), wxDefaultPosition, wxDefaultSize, 0 );
180  m_MousewheelPANOpt->SetToolTip( _("Enable touchpad-friendly controls (pan with scroll action, zoom with Ctrl+scroll).") );
181 
182  sbSizer51->Add( m_MousewheelPANOpt, 0, wxALL, 4 );
183 
184  m_AutoPANOpt = new wxCheckBox( sbSizer51->GetStaticBox(), wxID_AUTOPAN, _("&Pan while moving object"), wxDefaultPosition, wxDefaultSize, 0 );
185  m_AutoPANOpt->SetToolTip( _("When drawing a track or moving an item, pan when approaching the edge of the display.") );
186 
187  sbSizer51->Add( m_AutoPANOpt, 0, wxBOTTOM|wxRIGHT|wxLEFT, 4 );
188 
189 
190  bLeftSizer->Add( sbSizer51, 0, wxEXPAND|wxALL, 5 );
191 
192 
193  bPanelSizer->Add( bLeftSizer, 0, 0, 5 );
194 
195 
196  this->SetSizer( bPanelSizer );
197  this->Layout();
198  bPanelSizer->Fit( this );
199 
200  // Connect Events
201  m_textEditorBtn->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_COMMON_SETTINGS_BASE::OnTextEditorClick ), NULL, this );
202  m_PDFViewerPath->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( PANEL_COMMON_SETTINGS_BASE::onUpdateUIPdfPath ), NULL, this );
203  m_pdfViewerBtn->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_COMMON_SETTINGS_BASE::OnPDFViewerClick ), NULL, this );
204  m_pdfViewerBtn->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( PANEL_COMMON_SETTINGS_BASE::onUpdateUIPdfPath ), NULL, this );
205  m_scaleSlider->Connect( wxEVT_SCROLL_TOP, wxScrollEventHandler( PANEL_COMMON_SETTINGS_BASE::OnScaleSlider ), NULL, this );
206  m_scaleSlider->Connect( wxEVT_SCROLL_BOTTOM, wxScrollEventHandler( PANEL_COMMON_SETTINGS_BASE::OnScaleSlider ), NULL, this );
207  m_scaleSlider->Connect( wxEVT_SCROLL_LINEUP, wxScrollEventHandler( PANEL_COMMON_SETTINGS_BASE::OnScaleSlider ), NULL, this );
208  m_scaleSlider->Connect( wxEVT_SCROLL_LINEDOWN, wxScrollEventHandler( PANEL_COMMON_SETTINGS_BASE::OnScaleSlider ), NULL, this );
209  m_scaleSlider->Connect( wxEVT_SCROLL_PAGEUP, wxScrollEventHandler( PANEL_COMMON_SETTINGS_BASE::OnScaleSlider ), NULL, this );
210  m_scaleSlider->Connect( wxEVT_SCROLL_PAGEDOWN, wxScrollEventHandler( PANEL_COMMON_SETTINGS_BASE::OnScaleSlider ), NULL, this );
211  m_scaleSlider->Connect( wxEVT_SCROLL_THUMBTRACK, wxScrollEventHandler( PANEL_COMMON_SETTINGS_BASE::OnScaleSlider ), NULL, this );
212  m_scaleSlider->Connect( wxEVT_SCROLL_THUMBRELEASE, wxScrollEventHandler( PANEL_COMMON_SETTINGS_BASE::OnScaleSlider ), NULL, this );
213  m_scaleSlider->Connect( wxEVT_SCROLL_CHANGED, wxScrollEventHandler( PANEL_COMMON_SETTINGS_BASE::OnScaleSlider ), NULL, this );
214  m_scaleAuto->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( PANEL_COMMON_SETTINGS_BASE::OnScaleAuto ), NULL, this );
215 }
virtual void onUpdateUIPdfPath(wxUpdateUIEvent &event)
virtual void OnPDFViewerClick(wxCommandEvent &event)
virtual void OnTextEditorClick(wxCommandEvent &event)
virtual void OnScaleSlider(wxScrollEvent &event)
virtual void OnScaleAuto(wxCommandEvent &event)
const char * name
Definition: DXF_plotter.cpp:61
Customized wxSlider with forced stepping.

◆ ~PANEL_COMMON_SETTINGS_BASE()

PANEL_COMMON_SETTINGS_BASE::~PANEL_COMMON_SETTINGS_BASE ( )

Definition at line 217 of file panel_common_settings_base.cpp.

References m_pdfViewerBtn, m_PDFViewerPath, m_scaleAuto, m_scaleSlider, m_textEditorBtn, OnPDFViewerClick(), OnScaleAuto(), OnScaleSlider(), OnTextEditorClick(), and onUpdateUIPdfPath().

218 {
219  // Disconnect Events
220  m_textEditorBtn->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_COMMON_SETTINGS_BASE::OnTextEditorClick ), NULL, this );
221  m_PDFViewerPath->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( PANEL_COMMON_SETTINGS_BASE::onUpdateUIPdfPath ), NULL, this );
222  m_pdfViewerBtn->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_COMMON_SETTINGS_BASE::OnPDFViewerClick ), NULL, this );
223  m_pdfViewerBtn->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( PANEL_COMMON_SETTINGS_BASE::onUpdateUIPdfPath ), NULL, this );
224  m_scaleSlider->Disconnect( wxEVT_SCROLL_TOP, wxScrollEventHandler( PANEL_COMMON_SETTINGS_BASE::OnScaleSlider ), NULL, this );
225  m_scaleSlider->Disconnect( wxEVT_SCROLL_BOTTOM, wxScrollEventHandler( PANEL_COMMON_SETTINGS_BASE::OnScaleSlider ), NULL, this );
226  m_scaleSlider->Disconnect( wxEVT_SCROLL_LINEUP, wxScrollEventHandler( PANEL_COMMON_SETTINGS_BASE::OnScaleSlider ), NULL, this );
227  m_scaleSlider->Disconnect( wxEVT_SCROLL_LINEDOWN, wxScrollEventHandler( PANEL_COMMON_SETTINGS_BASE::OnScaleSlider ), NULL, this );
228  m_scaleSlider->Disconnect( wxEVT_SCROLL_PAGEUP, wxScrollEventHandler( PANEL_COMMON_SETTINGS_BASE::OnScaleSlider ), NULL, this );
229  m_scaleSlider->Disconnect( wxEVT_SCROLL_PAGEDOWN, wxScrollEventHandler( PANEL_COMMON_SETTINGS_BASE::OnScaleSlider ), NULL, this );
230  m_scaleSlider->Disconnect( wxEVT_SCROLL_THUMBTRACK, wxScrollEventHandler( PANEL_COMMON_SETTINGS_BASE::OnScaleSlider ), NULL, this );
231  m_scaleSlider->Disconnect( wxEVT_SCROLL_THUMBRELEASE, wxScrollEventHandler( PANEL_COMMON_SETTINGS_BASE::OnScaleSlider ), NULL, this );
232  m_scaleSlider->Disconnect( wxEVT_SCROLL_CHANGED, wxScrollEventHandler( PANEL_COMMON_SETTINGS_BASE::OnScaleSlider ), NULL, this );
233  m_scaleAuto->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( PANEL_COMMON_SETTINGS_BASE::OnScaleAuto ), NULL, this );
234 
235 }
virtual void onUpdateUIPdfPath(wxUpdateUIEvent &event)
virtual void OnPDFViewerClick(wxCommandEvent &event)
virtual void OnTextEditorClick(wxCommandEvent &event)
virtual void OnScaleSlider(wxScrollEvent &event)
virtual void OnScaleAuto(wxCommandEvent &event)

Member Function Documentation

◆ OnPDFViewerClick()

virtual void PANEL_COMMON_SETTINGS_BASE::OnPDFViewerClick ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_COMMON_SETTINGS.

Definition at line 75 of file panel_common_settings_base.h.

Referenced by PANEL_COMMON_SETTINGS_BASE(), and ~PANEL_COMMON_SETTINGS_BASE().

75 { event.Skip(); }

◆ OnScaleAuto()

virtual void PANEL_COMMON_SETTINGS_BASE::OnScaleAuto ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_COMMON_SETTINGS.

Definition at line 77 of file panel_common_settings_base.h.

Referenced by PANEL_COMMON_SETTINGS_BASE(), and ~PANEL_COMMON_SETTINGS_BASE().

77 { event.Skip(); }

◆ OnScaleSlider()

virtual void PANEL_COMMON_SETTINGS_BASE::OnScaleSlider ( wxScrollEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_COMMON_SETTINGS.

Definition at line 76 of file panel_common_settings_base.h.

Referenced by PANEL_COMMON_SETTINGS_BASE(), and ~PANEL_COMMON_SETTINGS_BASE().

76 { event.Skip(); }

◆ OnTextEditorClick()

virtual void PANEL_COMMON_SETTINGS_BASE::OnTextEditorClick ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_COMMON_SETTINGS.

Definition at line 73 of file panel_common_settings_base.h.

Referenced by PANEL_COMMON_SETTINGS_BASE(), and ~PANEL_COMMON_SETTINGS_BASE().

73 { event.Skip(); }

◆ onUpdateUIPdfPath()

virtual void PANEL_COMMON_SETTINGS_BASE::onUpdateUIPdfPath ( wxUpdateUIEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_COMMON_SETTINGS.

Definition at line 74 of file panel_common_settings_base.h.

Referenced by PANEL_COMMON_SETTINGS_BASE(), and ~PANEL_COMMON_SETTINGS_BASE().

74 { event.Skip(); }

Member Data Documentation

◆ m_antialiasing

wxChoice* PANEL_COMMON_SETTINGS_BASE::m_antialiasing
protected

◆ m_antialiasingFallback

wxChoice* PANEL_COMMON_SETTINGS_BASE::m_antialiasingFallback
protected

◆ m_AutoPANOpt

wxCheckBox* PANEL_COMMON_SETTINGS_BASE::m_AutoPANOpt
protected

◆ m_checkBoxIconsInMenus

wxCheckBox* PANEL_COMMON_SETTINGS_BASE::m_checkBoxIconsInMenus
protected

◆ m_defaultPDFViewer

wxRadioButton* PANEL_COMMON_SETTINGS_BASE::m_defaultPDFViewer
protected

◆ m_fileHistorySize

wxSpinCtrl* PANEL_COMMON_SETTINGS_BASE::m_fileHistorySize
protected

◆ m_MousewheelPANOpt

wxCheckBox* PANEL_COMMON_SETTINGS_BASE::m_MousewheelPANOpt
protected

◆ m_otherPDFViewer

wxRadioButton* PANEL_COMMON_SETTINGS_BASE::m_otherPDFViewer
protected

◆ m_pdfViewerBtn

wxBitmapButton* PANEL_COMMON_SETTINGS_BASE::m_pdfViewerBtn
protected

◆ m_PDFViewerPath

◆ m_SaveTime

wxSpinCtrl* PANEL_COMMON_SETTINGS_BASE::m_SaveTime
protected

◆ m_scaleAuto

◆ m_scaleSlider

◆ m_staticTextautosave

wxStaticText* PANEL_COMMON_SETTINGS_BASE::m_staticTextautosave
protected

Definition at line 51 of file panel_common_settings_base.h.

Referenced by PANEL_COMMON_SETTINGS_BASE().

◆ m_staticTextFileHistorySize

wxStaticText* PANEL_COMMON_SETTINGS_BASE::m_staticTextFileHistorySize
protected

Definition at line 53 of file panel_common_settings_base.h.

Referenced by PANEL_COMMON_SETTINGS_BASE().

◆ m_staticTexticonscale

wxStaticText* PANEL_COMMON_SETTINGS_BASE::m_staticTexticonscale
protected

Definition at line 63 of file panel_common_settings_base.h.

Referenced by PANEL_COMMON_SETTINGS_BASE().

◆ m_staticTextPerCent

wxStaticText* PANEL_COMMON_SETTINGS_BASE::m_staticTextPerCent
protected

Definition at line 65 of file panel_common_settings_base.h.

Referenced by PANEL_COMMON_SETTINGS_BASE().

◆ m_textEditorBtn

wxBitmapButton* PANEL_COMMON_SETTINGS_BASE::m_textEditorBtn
protected

◆ m_textEditorPath

◆ m_ZoomCenterOpt

wxCheckBox* PANEL_COMMON_SETTINGS_BASE::m_ZoomCenterOpt
protected

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