KiCad PCB EDA Suite
PANEL_COMMON_SETTINGS Class Reference

#include <panel_common_settings.h>

Inheritance diagram for PANEL_COMMON_SETTINGS:
PANEL_COMMON_SETTINGS_BASE

Public Member Functions

 PANEL_COMMON_SETTINGS (DIALOG_SHIM *aDialog, wxWindow *aParent)
 

Protected Types

enum  { wxID_AUTOPAN = 1000 }
 

Protected Member Functions

bool TransferDataFromWindow () override
 
bool TransferDataToWindow () override
 
void OnScaleSlider (wxScrollEvent &aEvent) override
 
void OnIconScaleAuto (wxCommandEvent &aEvent) override
 
void OnTextEditorClick (wxCommandEvent &event) override
 
void OnPDFViewerClick (wxCommandEvent &event) override
 
void onUpdateUIPdfPath (wxUpdateUIEvent &event) override
 
void OnCanvasScaleChange (wxCommandEvent &aEvent) override
 Event fired when the canvas scale field is modified. More...
 
void OnCanvasScaleAuto (wxCommandEvent &aEvent) override
 Event fired when the canvas auto-scale option is changed. More...
 

Protected Attributes

DIALOG_SHIMm_dialog
 
int m_last_scale
 saved icon scale when Auto selected More...
 
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_iconScaleSlider
 
wxCheckBox * m_iconScaleAuto
 
wxStaticText * m_staticTextCanvasScale
 
wxSpinCtrlDouble * m_canvasScaleCtrl
 
wxCheckBox * m_canvasScaleAuto
 
wxCheckBox * m_checkBoxIconsInMenus
 
wxCheckBox * m_ZoomCenterOpt
 
wxCheckBox * m_MousewheelPANOpt
 
wxCheckBox * m_AutoPANOpt
 

Detailed Description

Definition at line 33 of file panel_common_settings.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protectedinherited
Enumerator
wxID_AUTOPAN 

Definition at line 46 of file panel_common_settings_base.h.

Constructor & Destructor Documentation

◆ PANEL_COMMON_SETTINGS()

PANEL_COMMON_SETTINGS::PANEL_COMMON_SETTINGS ( DIALOG_SHIM aDialog,
wxWindow *  aParent 
)

Definition at line 40 of file panel_common_settings.cpp.

41  : PANEL_COMMON_SETTINGS_BASE( aParent ),
42  m_dialog( aDialog ),
43  m_last_scale( -1 )
44 {
45  m_canvasScaleCtrl->SetRange(
50 
51  m_canvasScaleCtrl->SetToolTip(
52  _( "Set the scale for the canvas."
53  "\n\n"
54  "On high-DPI displays on some platforms, KiCad cannot determine the "
55  "scaling factor. In this case you may need to set this to a value to "
56  "match your system's DPI scaling. 2.0 is a common value. "
57  "\n\n"
58  "If this does not match the system DPI scaling, the canvas will "
59  "not match the window size and cursor position." ) );
60 
61  m_canvasScaleAuto->SetToolTip(
62  _( "Use an automatic value for the canvas scale."
63  "\n\n"
64  "On some platforms, the automatic value is incorrect and should be "
65  "set manually." ) );
66 
68 
69  m_textEditorBtn->SetBitmap( KiBitmap( folder_xpm ) );
70  m_pdfViewerBtn->SetBitmap( KiBitmap( folder_xpm ) );
71 }
static double GetDefaultScaleFactor()
Get the "default" scaling factor to use if not other config is available.
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)
wxBitmap KiBitmap(BITMAP_DEF aBitmap)
Construct a wxBitmap from a memory record, held in a BITMAP_DEF.
Definition: bitmap.cpp:79
static constexpr int dpi_scaling_precision
static constexpr double dpi_scaling_increment
static double GetMaxScaleFactor()
static double GetMinScaleFactor()
int m_last_scale
saved icon scale when Auto selected
void SetStep(int aSize)
Set the step size.

References dpi_scaling_increment, dpi_scaling_precision, DPI_SCALING::GetDefaultScaleFactor(), DPI_SCALING::GetMaxScaleFactor(), DPI_SCALING::GetMinScaleFactor(), KiBitmap(), PANEL_COMMON_SETTINGS_BASE::m_canvasScaleAuto, PANEL_COMMON_SETTINGS_BASE::m_canvasScaleCtrl, PANEL_COMMON_SETTINGS_BASE::m_iconScaleSlider, PANEL_COMMON_SETTINGS_BASE::m_pdfViewerBtn, PANEL_COMMON_SETTINGS_BASE::m_textEditorBtn, and STEPPED_SLIDER::SetStep().

Member Function Documentation

◆ OnCanvasScaleAuto()

void PANEL_COMMON_SETTINGS::OnCanvasScaleAuto ( wxCommandEvent &  aEvent)
overrideprotectedvirtual

Event fired when the canvas auto-scale option is changed.

Reimplemented from PANEL_COMMON_SETTINGS_BASE.

Definition at line 200 of file panel_common_settings.cpp.

201 {
202  const bool automatic = m_canvasScaleAuto->GetValue();
203 
204  if( automatic )
205  {
206  // set the scale to the auto value, without consulting the config
207  DPI_SCALING dpi( nullptr, this );
208 
209  // update the field (no events sent)
210  m_canvasScaleCtrl->SetValue( dpi.GetScaleFactor() );
211  }
212 }
Class to handle configuration and automatic determination of the DPI scale to use for canvases.
Definition: dpi_scaling.h:35

References DPI_SCALING::GetScaleFactor(), PANEL_COMMON_SETTINGS_BASE::m_canvasScaleAuto, and PANEL_COMMON_SETTINGS_BASE::m_canvasScaleCtrl.

◆ OnCanvasScaleChange()

void PANEL_COMMON_SETTINGS::OnCanvasScaleChange ( wxCommandEvent &  aEvent)
overrideprotectedvirtual

Event fired when the canvas scale field is modified.

Reimplemented from PANEL_COMMON_SETTINGS_BASE.

Definition at line 194 of file panel_common_settings.cpp.

195 {
196  m_canvasScaleAuto->SetValue( false );
197 }

References PANEL_COMMON_SETTINGS_BASE::m_canvasScaleAuto.

◆ OnIconScaleAuto()

void PANEL_COMMON_SETTINGS::OnIconScaleAuto ( wxCommandEvent &  aEvent)
overrideprotectedvirtual

Reimplemented from PANEL_COMMON_SETTINGS_BASE.

Definition at line 179 of file panel_common_settings.cpp.

180 {
181  if( m_iconScaleAuto->GetValue() )
182  {
183  m_last_scale = m_iconScaleAuto->GetValue();
184  m_iconScaleSlider->SetValue( 25 * KiIconScale( GetParent() ) );
185  }
186  else
187  {
188  if( m_last_scale >= 0 )
189  m_iconScaleSlider->SetValue( m_last_scale );
190  }
191 }
int KiIconScale(wxWindow *aWindow)
Return the automatic scale factor that would be used for a given window by KiScaledBitmap and KiScale...
Definition: bitmap.cpp:89
int m_last_scale
saved icon scale when Auto selected

References KiIconScale(), PANEL_COMMON_SETTINGS_BASE::m_iconScaleAuto, PANEL_COMMON_SETTINGS_BASE::m_iconScaleSlider, and m_last_scale.

◆ OnPDFViewerClick()

void PANEL_COMMON_SETTINGS::OnPDFViewerClick ( wxCommandEvent &  event)
overrideprotectedvirtual

Reimplemented from PANEL_COMMON_SETTINGS_BASE.

Definition at line 228 of file panel_common_settings.cpp.

229 {
230  wxString mask( wxT( "*" ) );
231 
232 #ifdef __WINDOWS__
233  mask += wxT( ".exe" );
234 #endif
235 
236  wxString wildcard = _( "Executable files (" ) + mask + wxT( ")|" ) + mask;
237 
239  wxFileName fn = Pgm().GetPdfBrowserName();
240 
241  wxFileDialog dlg( this, _( "Select Preferred PDF Browser" ), fn.GetPath(), fn.GetFullPath(),
242  wildcard, wxFD_OPEN | wxFD_FILE_MUST_EXIST );
243 
244  if( dlg.ShowModal() == wxID_CANCEL )
245  return;
246 
247  m_otherPDFViewer->SetValue( true );
248  m_PDFViewerPath->SetValue( dlg.GetPath() );
249 }
PGM_BASE & Pgm()
The global Program "get" accessor.
Definition: kicad.cpp:66
VTBL_ENTRY const wxString & GetPdfBrowserName() const
Definition: pgm_base.h:222
VTBL_ENTRY void ReadPdfBrowserInfos()
Function ReadPdfBrowserInfos reads the PDF browser choice from the common configuration.
Definition: eda_doc.cpp:42

References PGM_BASE::GetPdfBrowserName(), PANEL_COMMON_SETTINGS_BASE::m_otherPDFViewer, PANEL_COMMON_SETTINGS_BASE::m_PDFViewerPath, Pgm(), and PGM_BASE::ReadPdfBrowserInfos().

◆ OnScaleSlider()

void PANEL_COMMON_SETTINGS::OnScaleSlider ( wxScrollEvent &  aEvent)
overrideprotectedvirtual

Reimplemented from PANEL_COMMON_SETTINGS_BASE.

Definition at line 173 of file panel_common_settings.cpp.

174 {
175  m_iconScaleAuto->SetValue( false );
176 }

References PANEL_COMMON_SETTINGS_BASE::m_iconScaleAuto.

◆ OnTextEditorClick()

void PANEL_COMMON_SETTINGS::OnTextEditorClick ( wxCommandEvent &  event)
overrideprotectedvirtual

Reimplemented from PANEL_COMMON_SETTINGS_BASE.

Definition at line 215 of file panel_common_settings.cpp.

216 {
217  // Ask the user to select a new editor, but suggest the current one as the default.
218  wxString editorname = Pgm().AskUserForPreferredEditor( m_textEditorPath->GetValue() );
219 
220  // If we have a new editor name request it to be copied to m_editor_name and saved
221  // to the preferences file. If the user cancelled the dialog then the previous
222  // value will be retained.
223  if( !editorname.IsEmpty() )
224  m_textEditorPath->SetValue( editorname );
225 }
PGM_BASE & Pgm()
The global Program "get" accessor.
Definition: kicad.cpp:66
VTBL_ENTRY const wxString AskUserForPreferredEditor(const wxString &aDefaultEditor=wxEmptyString)
Shows a dialog that instructs the user to select a new preferred editor.
Definition: pgm_base.cpp:237

References PGM_BASE::AskUserForPreferredEditor(), PANEL_COMMON_SETTINGS_BASE::m_textEditorPath, and Pgm().

◆ onUpdateUIPdfPath()

void PANEL_COMMON_SETTINGS::onUpdateUIPdfPath ( wxUpdateUIEvent &  event)
overrideprotectedvirtual

Reimplemented from PANEL_COMMON_SETTINGS_BASE.

Definition at line 252 of file panel_common_settings.cpp.

253 {
254  bool enabled = m_otherPDFViewer->GetValue();
255  m_PDFViewerPath->Enable( enabled );
256  m_pdfViewerBtn->Enable( enabled );
257 }

References PANEL_COMMON_SETTINGS_BASE::m_otherPDFViewer, PANEL_COMMON_SETTINGS_BASE::m_pdfViewerBtn, and PANEL_COMMON_SETTINGS_BASE::m_PDFViewerPath.

◆ TransferDataFromWindow()

bool PANEL_COMMON_SETTINGS::TransferDataFromWindow ( )
overrideprotected

Definition at line 138 of file panel_common_settings.cpp.

139 {
140  wxConfigBase* commonSettings = Pgm().CommonSettings();
141 
142  commonSettings->Write( AUTOSAVE_INTERVAL_KEY, m_SaveTime->GetValue() * 60 );
143 
144  commonSettings->Write( FILE_HISTORY_SIZE_KEY, m_fileHistorySize->GetValue() );
145 
146  commonSettings->Write( GAL_ANTIALIASING_MODE_KEY, m_antialiasing->GetSelection() );
147 
148  commonSettings->Write( CAIRO_ANTIALIASING_MODE_KEY, m_antialiasingFallback->GetSelection() );
149 
150  const int scale_fourths = m_iconScaleAuto->GetValue() ? -1 : m_iconScaleSlider->GetValue() / 25;
151  commonSettings->Write( ICON_SCALE_KEY, scale_fourths );
152 
153  {
154  DPI_SCALING dpi( commonSettings, this );
155  dpi.SetDpiConfig( m_canvasScaleAuto->GetValue(), m_canvasScaleCtrl->GetValue() );
156  }
157 
158  commonSettings->Write( USE_ICONS_IN_MENUS_KEY, m_checkBoxIconsInMenus->GetValue() );
159  commonSettings->Write( ENBL_ZOOM_NO_CENTER_KEY, !m_ZoomCenterOpt->GetValue() );
160  commonSettings->Write( ENBL_MOUSEWHEEL_PAN_KEY, m_MousewheelPANOpt->GetValue() );
161  commonSettings->Write( ENBL_AUTO_PAN_KEY, m_AutoPANOpt->GetValue() );
162 
163  Pgm().SetEditorName( m_textEditorPath->GetValue() );
164 
165  Pgm().SetPdfBrowserName( m_PDFViewerPath->GetValue() );
168 
169  return true;
170 }
VTBL_ENTRY void SetEditorName(const wxString &aFileName)
Definition: pgm_base.cpp:192
VTBL_ENTRY void ForceSystemPdfBrowser(bool aFlg)
Function ForceSystemPdfBrowser forces the use of system PDF browser, even if a preferred PDF browser ...
Definition: pgm_base.h:241
PGM_BASE & Pgm()
The global Program "get" accessor.
Definition: kicad.cpp:66
VTBL_ENTRY void WritePdfBrowserInfos()
Function WritePdfBrowserInfos saves the PDF browser choice to the common configuration.
Definition: eda_doc.cpp:55
#define ENBL_ZOOM_NO_CENTER_KEY
Definition: pgm_base.h:49
Class to handle configuration and automatic determination of the DPI scale to use for canvases.
Definition: dpi_scaling.h:35
#define ENBL_AUTO_PAN_KEY
Definition: pgm_base.h:52
VTBL_ENTRY void SetPdfBrowserName(const wxString &aFileName)
Definition: pgm_base.h:224
#define ENBL_MOUSEWHEEL_PAN_KEY
Definition: pgm_base.h:50
#define FILE_HISTORY_SIZE_KEY
Definition: pgm_base.h:53
#define ICON_SCALE_KEY
Definition: pgm_base.h:46
VTBL_ENTRY wxConfigBase * CommonSettings() const
Definition: pgm_base.h:190
#define AUTOSAVE_INTERVAL_KEY
Definition: pgm_base.h:48
#define GAL_ANTIALIASING_MODE_KEY
Definition: pgm_base.h:55
#define USE_ICONS_IN_MENUS_KEY
Definition: pgm_base.h:45
#define CAIRO_ANTIALIASING_MODE_KEY
Definition: pgm_base.h:56

References AUTOSAVE_INTERVAL_KEY, CAIRO_ANTIALIASING_MODE_KEY, PGM_BASE::CommonSettings(), ENBL_AUTO_PAN_KEY, ENBL_MOUSEWHEEL_PAN_KEY, ENBL_ZOOM_NO_CENTER_KEY, FILE_HISTORY_SIZE_KEY, PGM_BASE::ForceSystemPdfBrowser(), GAL_ANTIALIASING_MODE_KEY, ICON_SCALE_KEY, PANEL_COMMON_SETTINGS_BASE::m_antialiasing, PANEL_COMMON_SETTINGS_BASE::m_antialiasingFallback, PANEL_COMMON_SETTINGS_BASE::m_AutoPANOpt, PANEL_COMMON_SETTINGS_BASE::m_canvasScaleAuto, PANEL_COMMON_SETTINGS_BASE::m_canvasScaleCtrl, PANEL_COMMON_SETTINGS_BASE::m_checkBoxIconsInMenus, PANEL_COMMON_SETTINGS_BASE::m_defaultPDFViewer, PANEL_COMMON_SETTINGS_BASE::m_fileHistorySize, PANEL_COMMON_SETTINGS_BASE::m_iconScaleAuto, PANEL_COMMON_SETTINGS_BASE::m_iconScaleSlider, PANEL_COMMON_SETTINGS_BASE::m_MousewheelPANOpt, PANEL_COMMON_SETTINGS_BASE::m_PDFViewerPath, PANEL_COMMON_SETTINGS_BASE::m_SaveTime, PANEL_COMMON_SETTINGS_BASE::m_textEditorPath, PANEL_COMMON_SETTINGS_BASE::m_ZoomCenterOpt, Pgm(), DPI_SCALING::SetDpiConfig(), PGM_BASE::SetEditorName(), PGM_BASE::SetPdfBrowserName(), USE_ICONS_IN_MENUS_KEY, and PGM_BASE::WritePdfBrowserInfos().

◆ TransferDataToWindow()

bool PANEL_COMMON_SETTINGS::TransferDataToWindow ( )
overrideprotected

Definition at line 74 of file panel_common_settings.cpp.

75 {
76  wxConfigBase* commonSettings = Pgm().CommonSettings();
77 
78  int timevalue;
79  wxString msg;
80 
81  commonSettings->Read( AUTOSAVE_INTERVAL_KEY, &timevalue );
82  msg << timevalue / 60;
83  m_SaveTime->SetValue( msg );
84 
85  int fileHistorySize;
86  commonSettings->Read( FILE_HISTORY_SIZE_KEY, &fileHistorySize, DEFAULT_FILE_HISTORY_SIZE );
87  m_fileHistorySize->SetValue( fileHistorySize );
88 
89  int antialiasingMode;
90  commonSettings->Read( GAL_ANTIALIASING_MODE_KEY, &antialiasingMode, 0 );
91  m_antialiasing->SetSelection( antialiasingMode );
92 
93  commonSettings->Read( CAIRO_ANTIALIASING_MODE_KEY, &antialiasingMode, 0 );
94  m_antialiasingFallback->SetSelection( antialiasingMode );
95 
96  int icon_scale_fourths;
97  commonSettings->Read( ICON_SCALE_KEY, &icon_scale_fourths );
98 
99  if( icon_scale_fourths <= 0 )
100  {
101  m_iconScaleAuto->SetValue( true );
102  m_iconScaleSlider->SetValue( 25 * KiIconScale( GetParent() ) );
103  }
104  else
105  {
106  m_iconScaleAuto->SetValue( false );
107  m_iconScaleSlider->SetValue( icon_scale_fourths * 25 );
108  }
109 
110  {
111  const DPI_SCALING dpi( commonSettings, this );
112  m_canvasScaleCtrl->SetValue( dpi.GetScaleFactor() );
113  m_canvasScaleAuto->SetValue( dpi.GetCanvasIsAutoScaled() );
114  }
115 
116  bool option;
117  commonSettings->Read( USE_ICONS_IN_MENUS_KEY, &option );
118  m_checkBoxIconsInMenus->SetValue( option );
119 
120  commonSettings->Read( ENBL_ZOOM_NO_CENTER_KEY, &option );
121  m_ZoomCenterOpt->SetValue( !option );
122 
123  commonSettings->Read( ENBL_MOUSEWHEEL_PAN_KEY, &option );
124  m_MousewheelPANOpt->SetValue( option );
125 
126  commonSettings->Read( ENBL_AUTO_PAN_KEY, &option );
127  m_AutoPANOpt->SetValue( option );
128 
129  m_textEditorPath->SetValue( Pgm().GetEditorName( false ) );
130  m_defaultPDFViewer->SetValue( Pgm().UseSystemPdfBrowser() );
131  m_otherPDFViewer->SetValue( !Pgm().UseSystemPdfBrowser() );
132  m_PDFViewerPath->SetValue( Pgm().GetPdfBrowserName() );
133 
134  return true;
135 }
int KiIconScale(wxWindow *aWindow)
Return the automatic scale factor that would be used for a given window by KiScaledBitmap and KiScale...
Definition: bitmap.cpp:89
PGM_BASE & Pgm()
The global Program "get" accessor.
Definition: kicad.cpp:66
#define ENBL_ZOOM_NO_CENTER_KEY
Definition: pgm_base.h:49
Class to handle configuration and automatic determination of the DPI scale to use for canvases.
Definition: dpi_scaling.h:35
#define ENBL_AUTO_PAN_KEY
Definition: pgm_base.h:52
#define DEFAULT_FILE_HISTORY_SIZE
The default file history size is 9.
Definition: pgm_base.h:61
#define ENBL_MOUSEWHEEL_PAN_KEY
Definition: pgm_base.h:50
#define FILE_HISTORY_SIZE_KEY
Definition: pgm_base.h:53
#define ICON_SCALE_KEY
Definition: pgm_base.h:46
VTBL_ENTRY wxConfigBase * CommonSettings() const
Definition: pgm_base.h:190
#define AUTOSAVE_INTERVAL_KEY
Definition: pgm_base.h:48
#define GAL_ANTIALIASING_MODE_KEY
Definition: pgm_base.h:55
#define USE_ICONS_IN_MENUS_KEY
Definition: pgm_base.h:45
#define CAIRO_ANTIALIASING_MODE_KEY
Definition: pgm_base.h:56

References AUTOSAVE_INTERVAL_KEY, CAIRO_ANTIALIASING_MODE_KEY, PGM_BASE::CommonSettings(), DEFAULT_FILE_HISTORY_SIZE, ENBL_AUTO_PAN_KEY, ENBL_MOUSEWHEEL_PAN_KEY, ENBL_ZOOM_NO_CENTER_KEY, FILE_HISTORY_SIZE_KEY, GAL_ANTIALIASING_MODE_KEY, DPI_SCALING::GetCanvasIsAutoScaled(), DPI_SCALING::GetScaleFactor(), ICON_SCALE_KEY, KiIconScale(), PANEL_COMMON_SETTINGS_BASE::m_antialiasing, PANEL_COMMON_SETTINGS_BASE::m_antialiasingFallback, PANEL_COMMON_SETTINGS_BASE::m_AutoPANOpt, PANEL_COMMON_SETTINGS_BASE::m_canvasScaleAuto, PANEL_COMMON_SETTINGS_BASE::m_canvasScaleCtrl, PANEL_COMMON_SETTINGS_BASE::m_checkBoxIconsInMenus, PANEL_COMMON_SETTINGS_BASE::m_defaultPDFViewer, PANEL_COMMON_SETTINGS_BASE::m_fileHistorySize, PANEL_COMMON_SETTINGS_BASE::m_iconScaleAuto, PANEL_COMMON_SETTINGS_BASE::m_iconScaleSlider, PANEL_COMMON_SETTINGS_BASE::m_MousewheelPANOpt, PANEL_COMMON_SETTINGS_BASE::m_otherPDFViewer, PANEL_COMMON_SETTINGS_BASE::m_PDFViewerPath, PANEL_COMMON_SETTINGS_BASE::m_SaveTime, PANEL_COMMON_SETTINGS_BASE::m_textEditorPath, PANEL_COMMON_SETTINGS_BASE::m_ZoomCenterOpt, Pgm(), and USE_ICONS_IN_MENUS_KEY.

Member Data Documentation

◆ m_antialiasing

wxChoice* PANEL_COMMON_SETTINGS_BASE::m_antialiasing
protectedinherited

◆ m_antialiasingFallback

wxChoice* PANEL_COMMON_SETTINGS_BASE::m_antialiasingFallback
protectedinherited

◆ m_AutoPANOpt

wxCheckBox* PANEL_COMMON_SETTINGS_BASE::m_AutoPANOpt
protectedinherited

◆ m_canvasScaleAuto

◆ m_canvasScaleCtrl

◆ m_checkBoxIconsInMenus

wxCheckBox* PANEL_COMMON_SETTINGS_BASE::m_checkBoxIconsInMenus
protectedinherited

◆ m_defaultPDFViewer

wxRadioButton* PANEL_COMMON_SETTINGS_BASE::m_defaultPDFViewer
protectedinherited

◆ m_dialog

DIALOG_SHIM* PANEL_COMMON_SETTINGS::m_dialog
protected

Definition at line 58 of file panel_common_settings.h.

◆ m_fileHistorySize

wxSpinCtrl* PANEL_COMMON_SETTINGS_BASE::m_fileHistorySize
protectedinherited

◆ m_iconScaleAuto

◆ m_iconScaleSlider

◆ m_last_scale

int PANEL_COMMON_SETTINGS::m_last_scale
protected

saved icon scale when Auto selected

Definition at line 60 of file panel_common_settings.h.

Referenced by OnIconScaleAuto().

◆ m_MousewheelPANOpt

wxCheckBox* PANEL_COMMON_SETTINGS_BASE::m_MousewheelPANOpt
protectedinherited

◆ m_otherPDFViewer

wxRadioButton* PANEL_COMMON_SETTINGS_BASE::m_otherPDFViewer
protectedinherited

◆ m_pdfViewerBtn

wxBitmapButton* PANEL_COMMON_SETTINGS_BASE::m_pdfViewerBtn
protectedinherited

◆ m_PDFViewerPath

◆ m_SaveTime

wxSpinCtrl* PANEL_COMMON_SETTINGS_BASE::m_SaveTime
protectedinherited

◆ m_staticTextautosave

wxStaticText* PANEL_COMMON_SETTINGS_BASE::m_staticTextautosave
protectedinherited

◆ m_staticTextCanvasScale

wxStaticText* PANEL_COMMON_SETTINGS_BASE::m_staticTextCanvasScale
protectedinherited

◆ m_staticTextFileHistorySize

wxStaticText* PANEL_COMMON_SETTINGS_BASE::m_staticTextFileHistorySize
protectedinherited

◆ m_staticTexticonscale

wxStaticText* PANEL_COMMON_SETTINGS_BASE::m_staticTexticonscale
protectedinherited

◆ m_textEditorBtn

wxBitmapButton* PANEL_COMMON_SETTINGS_BASE::m_textEditorBtn
protectedinherited

◆ m_textEditorPath

wxTextCtrl* PANEL_COMMON_SETTINGS_BASE::m_textEditorPath
protectedinherited

◆ m_ZoomCenterOpt

wxCheckBox* PANEL_COMMON_SETTINGS_BASE::m_ZoomCenterOpt
protectedinherited

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