2018-05-14 17:34:18 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2021-10-21 12:59:55 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 3.10.0-4761b0c5)
|
2018-05-14 17:34:18 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2019-11-12 12:47:35 +00:00
|
|
|
#pragma once
|
2018-05-14 17:34:18 +00:00
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2020-07-21 23:13:43 +00:00
|
|
|
#include "widgets/resettable_panel.h"
|
2018-05-14 17:34:18 +00:00
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/stattext.h>
|
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
2018-09-04 00:00:17 +00:00
|
|
|
#include <wx/choice.h>
|
|
|
|
#include <wx/gbsizer.h>
|
2021-09-16 17:29:29 +00:00
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/statbox.h>
|
2018-05-14 17:34:18 +00:00
|
|
|
#include <wx/textctrl.h>
|
2019-11-12 12:47:35 +00:00
|
|
|
#include <wx/bmpbuttn.h>
|
2018-05-14 17:34:18 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/radiobut.h>
|
|
|
|
#include <wx/checkbox.h>
|
2021-09-16 17:29:29 +00:00
|
|
|
#include <wx/spinctrl.h>
|
2018-05-14 17:34:18 +00:00
|
|
|
#include <wx/panel.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class PANEL_COMMON_SETTINGS_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2020-07-21 23:13:43 +00:00
|
|
|
class PANEL_COMMON_SETTINGS_BASE : public RESETTABLE_PANEL
|
2018-05-14 17:34:18 +00:00
|
|
|
{
|
|
|
|
private:
|
2019-11-12 12:47:35 +00:00
|
|
|
|
2018-05-14 17:34:18 +00:00
|
|
|
protected:
|
2018-09-04 00:00:17 +00:00
|
|
|
wxChoice* m_antialiasing;
|
2020-09-20 11:57:55 +00:00
|
|
|
wxStaticText* m_antialiasingFallbackLabel;
|
2018-01-04 12:13:00 +00:00
|
|
|
wxChoice* m_antialiasingFallback;
|
2018-05-14 17:34:18 +00:00
|
|
|
wxTextCtrl* m_textEditorPath;
|
|
|
|
wxBitmapButton* m_textEditorBtn;
|
|
|
|
wxRadioButton* m_defaultPDFViewer;
|
|
|
|
wxRadioButton* m_otherPDFViewer;
|
|
|
|
wxTextCtrl* m_PDFViewerPath;
|
|
|
|
wxBitmapButton* m_pdfViewerBtn;
|
2021-09-16 22:45:28 +00:00
|
|
|
wxStaticBoxSizer* m_sbUserInterface;
|
|
|
|
wxGridBagSizer* m_gbUserInterface;
|
|
|
|
wxCheckBox* m_checkBoxIconsInMenus;
|
2021-09-16 17:29:29 +00:00
|
|
|
wxStaticText* m_stIconTheme;
|
|
|
|
wxRadioButton* m_rbIconThemeLight;
|
|
|
|
wxRadioButton* m_rbIconThemeDark;
|
|
|
|
wxRadioButton* m_rbIconThemeAuto;
|
2019-03-22 21:15:26 +00:00
|
|
|
wxStaticText* m_staticTextCanvasScale;
|
|
|
|
wxSpinCtrlDouble* m_canvasScaleCtrl;
|
|
|
|
wxCheckBox* m_canvasScaleAuto;
|
2021-09-16 17:29:29 +00:00
|
|
|
wxCheckBox* m_scaleFonts;
|
|
|
|
wxStaticText* m_fontScalingHelp;
|
2019-08-15 11:52:38 +00:00
|
|
|
wxCheckBox* m_warpMouseOnMove;
|
2019-07-25 16:48:11 +00:00
|
|
|
wxCheckBox* m_NonImmediateActions;
|
2021-09-16 17:29:29 +00:00
|
|
|
wxCheckBox* m_cbRememberOpenFiles;
|
|
|
|
wxStaticText* m_staticTextautosave;
|
|
|
|
wxSpinCtrl* m_SaveTime;
|
|
|
|
wxStaticText* m_staticTextFileHistorySize;
|
|
|
|
wxSpinCtrl* m_fileHistorySize;
|
|
|
|
wxStaticText* m_staticTextClear3DCache;
|
|
|
|
wxSpinCtrl* m_Clear3DCacheFilesOlder;
|
|
|
|
wxStaticText* m_staticTextDays;
|
2020-07-03 13:40:31 +00:00
|
|
|
wxCheckBox* m_cbBackupEnabled;
|
|
|
|
wxCheckBox* m_cbBackupAutosave;
|
|
|
|
wxStaticText* m_staticText9;
|
|
|
|
wxSpinCtrl* m_backupLimitTotalFiles;
|
|
|
|
wxStaticText* m_staticText10;
|
|
|
|
wxSpinCtrl* m_backupLimitDailyFiles;
|
|
|
|
wxStaticText* m_staticText11;
|
|
|
|
wxSpinCtrl* m_backupMinInterval;
|
|
|
|
wxStaticText* m_staticText15;
|
|
|
|
wxStaticText* m_staticText16;
|
|
|
|
wxSpinCtrl* m_backupLimitTotalSize;
|
|
|
|
wxStaticText* m_staticText17;
|
2019-11-12 12:47:35 +00:00
|
|
|
|
2021-10-21 12:59:55 +00:00
|
|
|
// Virtual event handlers, override them in your derived class
|
2018-05-14 17:34:18 +00:00
|
|
|
virtual void OnTextEditorClick( wxCommandEvent& event ) { event.Skip(); }
|
2018-11-22 16:11:49 +00:00
|
|
|
virtual void onUpdateUIPdfPath( wxUpdateUIEvent& event ) { event.Skip(); }
|
2018-05-14 17:34:18 +00:00
|
|
|
virtual void OnPDFViewerClick( wxCommandEvent& event ) { event.Skip(); }
|
2019-03-22 21:15:26 +00:00
|
|
|
virtual void OnCanvasScaleAuto( wxCommandEvent& event ) { event.Skip(); }
|
2019-11-12 12:47:35 +00:00
|
|
|
|
|
|
|
|
2018-05-14 17:34:18 +00:00
|
|
|
public:
|
2019-11-12 12:47:35 +00:00
|
|
|
|
2020-09-20 11:57:55 +00:00
|
|
|
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 );
|
2021-10-21 12:59:55 +00:00
|
|
|
|
2018-05-14 17:34:18 +00:00
|
|
|
~PANEL_COMMON_SETTINGS_BASE();
|
2019-11-12 12:47:35 +00:00
|
|
|
|
2018-05-14 17:34:18 +00:00
|
|
|
};
|
|
|
|
|