2013-05-22 08:45:25 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2018-01-03 02:52:35 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Jan 2 2018)
|
2013-05-22 08:45:25 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2017-12-24 15:04:02 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2013-05-22 08:45:25 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __DIALOG_EESCHEMA_OPTIONS_BASE_H__
|
|
|
|
#define __DIALOG_EESCHEMA_OPTIONS_BASE_H__
|
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2018-01-08 04:05:03 +00:00
|
|
|
#include "widgets/stepped_slider.h"
|
2013-05-22 08:45:25 +00:00
|
|
|
#include "dialog_shim.h"
|
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/stattext.h>
|
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
|
|
|
#include <wx/choice.h>
|
|
|
|
#include <wx/spinctrl.h>
|
2018-01-08 04:05:03 +00:00
|
|
|
#include <wx/slider.h>
|
|
|
|
#include <wx/checkbox.h>
|
2013-05-22 08:45:25 +00:00
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/statline.h>
|
|
|
|
#include <wx/panel.h>
|
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
2015-12-31 15:12:09 +00:00
|
|
|
#include <wx/grid.h>
|
2013-05-22 08:45:25 +00:00
|
|
|
#include <wx/button.h>
|
2014-02-14 23:45:58 +00:00
|
|
|
#include <wx/notebook.h>
|
2013-05-22 08:45:25 +00:00
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_EESCHEMA_OPTIONS_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_EESCHEMA_OPTIONS_BASE : public DIALOG_SHIM
|
|
|
|
{
|
|
|
|
DECLARE_EVENT_TABLE()
|
|
|
|
private:
|
2016-05-12 16:51:32 +00:00
|
|
|
|
2013-05-22 08:45:25 +00:00
|
|
|
// Private event handlers
|
2014-09-30 19:55:18 +00:00
|
|
|
void _wxFB_OnSize( wxSizeEvent& event ){ OnSize( event ); }
|
2018-01-08 04:05:03 +00:00
|
|
|
void _wxFB_OnScaleSlider( wxScrollEvent& event ){ OnScaleSlider( event ); }
|
|
|
|
void _wxFB_OnScaleAuto( wxCommandEvent& event ){ OnScaleAuto( event ); }
|
2013-05-22 08:45:25 +00:00
|
|
|
void _wxFB_OnChooseUnits( wxCommandEvent& event ){ OnChooseUnits( event ); }
|
2014-03-07 17:52:43 +00:00
|
|
|
void _wxFB_OnAddButtonClick( wxCommandEvent& event ){ OnAddButtonClick( event ); }
|
|
|
|
void _wxFB_OnDeleteButtonClick( wxCommandEvent& event ){ OnDeleteButtonClick( event ); }
|
2016-05-12 16:51:32 +00:00
|
|
|
|
|
|
|
|
2013-05-22 08:45:25 +00:00
|
|
|
protected:
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
ID_M_SPINAUTOSAVEINTERVAL = 1000,
|
2014-03-07 17:52:43 +00:00
|
|
|
xwID_ANY,
|
|
|
|
wxID_ADD_FIELD,
|
2016-01-16 02:06:41 +00:00
|
|
|
wxID_DELETE_FIELD
|
2013-05-22 08:45:25 +00:00
|
|
|
};
|
2016-05-12 16:51:32 +00:00
|
|
|
|
2014-12-19 15:37:14 +00:00
|
|
|
wxNotebook* m_notebook;
|
2015-12-28 13:33:21 +00:00
|
|
|
wxPanel* m_panel5;
|
2013-05-22 08:45:25 +00:00
|
|
|
wxStaticText* m_staticText3;
|
|
|
|
wxChoice* m_choiceGridSize;
|
|
|
|
wxStaticText* m_staticGridUnits;
|
|
|
|
wxStaticText* m_staticText51;
|
|
|
|
wxSpinCtrl* m_spinBusWidth;
|
|
|
|
wxStaticText* m_staticBusWidthUnits;
|
|
|
|
wxStaticText* m_staticText5;
|
|
|
|
wxSpinCtrl* m_spinLineWidth;
|
|
|
|
wxStaticText* m_staticLineWidthUnits;
|
2015-12-28 13:33:21 +00:00
|
|
|
wxStaticText* m_staticText26;
|
|
|
|
wxChoice* m_choiceSeparatorRefId;
|
2018-01-08 04:05:03 +00:00
|
|
|
wxStaticText* m_stIconScale;
|
|
|
|
STEPPED_SLIDER* m_scaleSlider;
|
|
|
|
wxStaticText* m_staticText211;
|
|
|
|
wxCheckBox* m_scaleAuto;
|
2015-12-28 13:33:21 +00:00
|
|
|
wxStaticLine* m_staticline3;
|
|
|
|
wxCheckBox* m_checkShowGrid;
|
|
|
|
wxCheckBox* m_checkHVOrientation;
|
|
|
|
wxCheckBox* m_checkShowHiddenPins;
|
|
|
|
wxCheckBox* m_checkPageLimits;
|
2018-01-03 02:52:35 +00:00
|
|
|
wxCheckBox* m_footprintPreview;
|
2015-12-28 13:33:21 +00:00
|
|
|
wxPanel* m_panel3;
|
|
|
|
wxStaticText* m_staticText2;
|
|
|
|
wxChoice* m_choiceUnits;
|
2016-11-22 10:23:12 +00:00
|
|
|
wxStaticText* m_staticTextHpitch;
|
2013-05-22 08:45:25 +00:00
|
|
|
wxSpinCtrl* m_spinRepeatHorizontal;
|
|
|
|
wxStaticText* m_staticRepeatXUnits;
|
2016-11-22 10:23:12 +00:00
|
|
|
wxStaticText* m_staticTextVpitch;
|
2013-05-22 08:45:25 +00:00
|
|
|
wxSpinCtrl* m_spinRepeatVertical;
|
|
|
|
wxStaticText* m_staticRepeatYUnits;
|
|
|
|
wxStaticText* m_staticText16;
|
|
|
|
wxSpinCtrl* m_spinRepeatLabel;
|
2016-11-22 10:23:12 +00:00
|
|
|
wxStaticText* m_staticTextTsize;
|
2015-12-28 13:33:21 +00:00
|
|
|
wxSpinCtrl* m_spinTextSize;
|
|
|
|
wxStaticText* m_staticTextSizeUnits;
|
2016-11-22 10:23:12 +00:00
|
|
|
wxStaticText* m_staticTextTimeInterval;
|
2016-01-01 09:47:17 +00:00
|
|
|
wxSpinCtrl* m_spinAutoSaveInterval;
|
|
|
|
wxStaticText* m_staticText23;
|
2015-12-28 13:33:21 +00:00
|
|
|
wxStaticLine* m_staticline2;
|
|
|
|
wxCheckBox* m_checkAutoplaceFields;
|
|
|
|
wxCheckBox* m_checkAutoplaceJustify;
|
|
|
|
wxCheckBox* m_checkAutoplaceAlign;
|
2016-01-16 23:51:38 +00:00
|
|
|
wxPanel* m_tabControls;
|
2016-01-16 01:55:50 +00:00
|
|
|
wxBoxSizer* m_controlsSizer;
|
|
|
|
wxStaticText* m_staticText20;
|
2016-01-16 01:58:39 +00:00
|
|
|
wxStaticText* m_staticText21;
|
|
|
|
wxPanel* m_panelHotkeys;
|
2015-08-06 18:40:22 +00:00
|
|
|
wxCheckBox* m_checkEnableZoomCenter;
|
2016-02-24 19:53:02 +00:00
|
|
|
wxCheckBox* m_checkEnableMousewheelPan;
|
2013-05-22 08:45:25 +00:00
|
|
|
wxCheckBox* m_checkAutoPan;
|
2016-01-16 23:51:38 +00:00
|
|
|
wxPanel* m_tabColors;
|
|
|
|
wxPanel* m_panelColors;
|
2013-05-22 08:45:25 +00:00
|
|
|
wxPanel* m_panel2;
|
2015-12-31 15:12:09 +00:00
|
|
|
wxGrid* m_fieldGrid;
|
2014-02-14 23:45:58 +00:00
|
|
|
wxButton* addFieldButton;
|
|
|
|
wxButton* deleteFieldButton;
|
2014-12-19 15:37:14 +00:00
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
2016-05-12 16:51:32 +00:00
|
|
|
|
2013-05-22 08:45:25 +00:00
|
|
|
// Virtual event handlers, overide them in your derived class
|
2014-09-30 19:55:18 +00:00
|
|
|
virtual void OnSize( wxSizeEvent& event ) { event.Skip(); }
|
2018-01-08 04:05:03 +00:00
|
|
|
virtual void OnScaleSlider( wxScrollEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnScaleAuto( wxCommandEvent& event ) { event.Skip(); }
|
2013-05-22 08:45:25 +00:00
|
|
|
virtual void OnChooseUnits( wxCommandEvent& event ) { event.Skip(); }
|
2014-03-07 17:52:43 +00:00
|
|
|
virtual void OnAddButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnDeleteButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
2016-05-12 16:51:32 +00:00
|
|
|
|
|
|
|
|
2013-05-22 08:45:25 +00:00
|
|
|
public:
|
2016-05-12 16:51:32 +00:00
|
|
|
|
|
|
|
DIALOG_EESCHEMA_OPTIONS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Schematic Editor Options"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2013-05-22 08:45:25 +00:00
|
|
|
~DIALOG_EESCHEMA_OPTIONS_BASE();
|
2016-05-12 16:51:32 +00:00
|
|
|
|
2013-05-22 08:45:25 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //__DIALOG_EESCHEMA_OPTIONS_BASE_H__
|