2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2019-03-15 16:35:32 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version v3.8.0)
|
2013-05-26 04:36:44 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2018-03-09 05:31:23 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2019-03-15 16:35:32 +00:00
|
|
|
#pragma once
|
2013-05-26 04:36:44 +00:00
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
|
|
|
class UNIT_SELECTOR_ANGLE;
|
|
|
|
class UNIT_SELECTOR_FREQUENCY;
|
|
|
|
class UNIT_SELECTOR_LEN;
|
|
|
|
class UNIT_SELECTOR_RESISTOR;
|
2016-01-06 00:04:45 +00:00
|
|
|
class UNIT_SELECTOR_THICKNESS;
|
2013-05-26 04:36:44 +00:00
|
|
|
|
* KIWAY Milestone A): Make major modules into DLL/DSOs.
! The initial testing of this commit should be done using a Debug build so that
all the wxASSERT()s are enabled. Also, be sure and keep enabled the
USE_KIWAY_DLLs option. The tree won't likely build without it. Turning it
off is senseless anyways. If you want stable code, go back to a prior version,
the one tagged with "stable".
* Relocate all functionality out of the wxApp derivative into more finely
targeted purposes:
a) DLL/DSO specific
b) PROJECT specific
c) EXE or process specific
d) configuration file specific data
e) configuration file manipulations functions.
All of this functionality was blended into an extremely large wxApp derivative
and that was incompatible with the desire to support multiple concurrently
loaded DLL/DSO's ("KIFACE")s and multiple concurrently open projects.
An amazing amount of organization come from simply sorting each bit of
functionality into the proper box.
* Switch to wxConfigBase from wxConfig everywhere except instantiation.
* Add classes KIWAY, KIFACE, KIFACE_I, SEARCH_STACK, PGM_BASE, PGM_KICAD,
PGM_SINGLE_TOP,
* Remove "Return" prefix on many function names.
* Remove obvious comments from CMakeLists.txt files, and from else() and endif()s.
* Fix building boost for use in a DSO on linux.
* Remove some of the assumptions in the CMakeLists.txt files that windows had
to be the host platform when building windows binaries.
* Reduce the number of wxStrings being constructed at program load time via
static construction.
* Pass wxConfigBase* to all SaveSettings() and LoadSettings() functions so that
these functions are useful even when the wxConfigBase comes from another
source, as is the case in the KICAD_MANAGER_FRAME.
* Move the setting of the KIPRJMOD environment variable into class PROJECT,
so that it can be moved into a project variable soon, and out of FP_LIB_TABLE.
* Add the KIWAY_PLAYER which is associated with a particular PROJECT, and all
its child wxFrames and wxDialogs now have a Kiway() member function which
returns a KIWAY& that that window tree branch is in support of. This is like
wxWindows DNA in that child windows get this member with proper value at time
of construction.
* Anticipate some of the needs for milestones B) and C) and make code
adjustments now in an effort to reduce work in those milestones.
* No testing has been done for python scripting, since milestone C) has that
being largely reworked and re-thought-out.
2014-03-20 00:42:08 +00:00
|
|
|
#include "kiway_player.h"
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/menu.h>
|
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
|
|
|
#include <wx/statusbr.h>
|
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
|
|
|
#include <wx/statbmp.h>
|
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/stattext.h>
|
|
|
|
#include <wx/statbox.h>
|
|
|
|
#include <wx/radiobut.h>
|
|
|
|
#include <wx/textctrl.h>
|
|
|
|
#include <wx/choice.h>
|
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/panel.h>
|
|
|
|
#include <wx/html/htmlwin.h>
|
|
|
|
#include <wx/statline.h>
|
|
|
|
#include <wx/grid.h>
|
|
|
|
#include <wx/radiobox.h>
|
2016-06-08 07:25:43 +00:00
|
|
|
#include <wx/bmpbuttn.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/notebook.h>
|
|
|
|
#include <wx/frame.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class PCB_CALCULATOR_FRAME_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
* KIWAY Milestone A): Make major modules into DLL/DSOs.
! The initial testing of this commit should be done using a Debug build so that
all the wxASSERT()s are enabled. Also, be sure and keep enabled the
USE_KIWAY_DLLs option. The tree won't likely build without it. Turning it
off is senseless anyways. If you want stable code, go back to a prior version,
the one tagged with "stable".
* Relocate all functionality out of the wxApp derivative into more finely
targeted purposes:
a) DLL/DSO specific
b) PROJECT specific
c) EXE or process specific
d) configuration file specific data
e) configuration file manipulations functions.
All of this functionality was blended into an extremely large wxApp derivative
and that was incompatible with the desire to support multiple concurrently
loaded DLL/DSO's ("KIFACE")s and multiple concurrently open projects.
An amazing amount of organization come from simply sorting each bit of
functionality into the proper box.
* Switch to wxConfigBase from wxConfig everywhere except instantiation.
* Add classes KIWAY, KIFACE, KIFACE_I, SEARCH_STACK, PGM_BASE, PGM_KICAD,
PGM_SINGLE_TOP,
* Remove "Return" prefix on many function names.
* Remove obvious comments from CMakeLists.txt files, and from else() and endif()s.
* Fix building boost for use in a DSO on linux.
* Remove some of the assumptions in the CMakeLists.txt files that windows had
to be the host platform when building windows binaries.
* Reduce the number of wxStrings being constructed at program load time via
static construction.
* Pass wxConfigBase* to all SaveSettings() and LoadSettings() functions so that
these functions are useful even when the wxConfigBase comes from another
source, as is the case in the KICAD_MANAGER_FRAME.
* Move the setting of the KIPRJMOD environment variable into class PROJECT,
so that it can be moved into a project variable soon, and out of FP_LIB_TABLE.
* Add the KIWAY_PLAYER which is associated with a particular PROJECT, and all
its child wxFrames and wxDialogs now have a Kiway() member function which
returns a KIWAY& that that window tree branch is in support of. This is like
wxWindows DNA in that child windows get this member with proper value at time
of construction.
* Anticipate some of the needs for milestones B) and C) and make code
adjustments now in an effort to reduce work in those milestones.
* No testing has been done for python scripting, since milestone C) has that
being largely reworked and re-thought-out.
2014-03-20 00:42:08 +00:00
|
|
|
class PCB_CALCULATOR_FRAME_BASE : public KIWAY_PLAYER
|
2013-05-26 04:36:44 +00:00
|
|
|
{
|
|
|
|
private:
|
2019-03-15 16:35:32 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
protected:
|
|
|
|
wxMenuBar* m_menubar;
|
|
|
|
wxStatusBar* m_statusBar;
|
|
|
|
wxNotebook* m_Notebook;
|
|
|
|
wxPanel* m_panelRegulators;
|
|
|
|
wxStaticBitmap* m_bitmapRegul4pins;
|
|
|
|
wxStaticBitmap* m_bitmapRegul3pins;
|
|
|
|
wxStaticText* m_RegulFormula;
|
|
|
|
wxRadioButton* m_rbRegulR1;
|
|
|
|
wxStaticText* m_labelRegultR1;
|
|
|
|
wxTextCtrl* m_RegulR1Value;
|
|
|
|
wxStaticText* m_UnitRegultR11;
|
|
|
|
wxRadioButton* m_rbRegulR2;
|
|
|
|
wxStaticText* m_labelRegultR2;
|
|
|
|
wxTextCtrl* m_RegulR2Value;
|
|
|
|
wxStaticText* m_UnitRegultR1;
|
|
|
|
wxRadioButton* m_rbRegulVout;
|
|
|
|
wxStaticText* m_labelVout;
|
|
|
|
wxTextCtrl* m_RegulVoutValue;
|
|
|
|
wxStaticText* m_unitsVout;
|
|
|
|
wxStaticText* m_labelVRef;
|
|
|
|
wxTextCtrl* m_RegulVrefValue;
|
|
|
|
wxStaticText* m_unitsVref;
|
|
|
|
wxStaticText* m_RegulIadjTitle;
|
|
|
|
wxTextCtrl* m_RegulIadjValue;
|
|
|
|
wxStaticText* m_IadjUnitLabel;
|
|
|
|
wxStaticText* m_staticTextRegType;
|
|
|
|
wxChoice* m_choiceRegType;
|
|
|
|
wxButton* m_buttonCalculate;
|
|
|
|
wxChoice* m_choiceRegulatorSelector;
|
|
|
|
wxStaticText* m_staticTextRegFile;
|
|
|
|
wxTextCtrl* m_regulators_fileNameCtrl;
|
|
|
|
wxButton* m_buttonDataFile;
|
|
|
|
wxButton* m_buttonEditItem;
|
|
|
|
wxButton* m_buttonAddItem;
|
|
|
|
wxButton* m_buttonRemoveItem;
|
|
|
|
wxStaticText* m_RegulMessage;
|
|
|
|
wxPanel* m_panelTrackWidth;
|
|
|
|
wxStaticText* m_staticTextCurrent;
|
|
|
|
wxTextCtrl* m_TrackCurrentValue;
|
|
|
|
wxStaticText* m_staticText62;
|
|
|
|
wxStaticText* m_staticText63;
|
|
|
|
wxTextCtrl* m_TrackDeltaTValue;
|
|
|
|
wxStaticText* m_staticText64;
|
|
|
|
wxStaticText* m_staticText66;
|
|
|
|
wxTextCtrl* m_TrackLengthValue;
|
|
|
|
UNIT_SELECTOR_LEN* m_TW_CuLength_choiceUnit;
|
2015-08-09 07:15:42 +00:00
|
|
|
wxStaticText* m_staticText103;
|
|
|
|
wxTextCtrl* m_TWResistivity;
|
|
|
|
wxStaticText* m_staticText104;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxHtmlWindow* m_htmlWinFormulas;
|
2015-08-09 07:15:42 +00:00
|
|
|
wxStaticText* m_staticTextExtWidth;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxTextCtrl* m_ExtTrackWidthValue;
|
|
|
|
UNIT_SELECTOR_LEN* m_TW_ExtTrackWidth_choiceUnit;
|
2015-08-09 07:15:42 +00:00
|
|
|
wxStaticText* m_staticText65;
|
|
|
|
wxTextCtrl* m_ExtTrackThicknessValue;
|
2016-01-06 00:04:45 +00:00
|
|
|
UNIT_SELECTOR_THICKNESS* m_ExtTrackThicknessUnit;
|
2016-01-07 20:01:45 +00:00
|
|
|
wxStaticLine* m_staticline3;
|
|
|
|
wxStaticLine* m_staticline4;
|
|
|
|
wxStaticLine* m_staticline5;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_staticTextArea;
|
2015-08-09 07:15:42 +00:00
|
|
|
wxStaticText* m_ExtTrackAreaValue;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_ExtTrackAreaUnitLabel;
|
|
|
|
wxStaticText* m_staticText651;
|
2015-08-09 07:15:42 +00:00
|
|
|
wxStaticText* m_ExtTrackResistValue;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_staticText84;
|
|
|
|
wxStaticText* m_staticText661;
|
2015-08-09 07:15:42 +00:00
|
|
|
wxStaticText* m_ExtTrackVDropValue;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_staticText83;
|
|
|
|
wxStaticText* m_staticText79;
|
2015-08-09 07:15:42 +00:00
|
|
|
wxStaticText* m_ExtTrackLossValue;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_staticText791;
|
2015-08-09 07:15:42 +00:00
|
|
|
wxStaticText* m_staticTextIntWidth;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxTextCtrl* m_IntTrackWidthValue;
|
|
|
|
UNIT_SELECTOR_LEN* m_TW_IntTrackWidth_choiceUnit;
|
2015-08-09 07:15:42 +00:00
|
|
|
wxStaticText* m_staticText652;
|
|
|
|
wxTextCtrl* m_IntTrackThicknessValue;
|
2016-01-06 00:04:45 +00:00
|
|
|
UNIT_SELECTOR_THICKNESS* m_IntTrackThicknessUnit;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_staticTextArea1;
|
2015-08-09 07:15:42 +00:00
|
|
|
wxStaticText* m_IntTrackAreaValue;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_IntTrackAreaUnitLabel;
|
|
|
|
wxStaticText* m_staticText6511;
|
2015-08-09 07:15:42 +00:00
|
|
|
wxStaticText* m_IntTrackResistValue;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_staticText841;
|
|
|
|
wxStaticText* m_staticText6611;
|
2015-08-09 07:15:42 +00:00
|
|
|
wxStaticText* m_IntTrackVDropValue;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_staticText831;
|
|
|
|
wxStaticText* m_staticText792;
|
2015-08-09 07:15:42 +00:00
|
|
|
wxStaticText* m_IntTrackLossValue;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_staticText7911;
|
|
|
|
wxPanel* m_panelElectricalSpacing;
|
|
|
|
UNIT_SELECTOR_LEN* m_ElectricalSpacingUnitsSelector;
|
|
|
|
wxStaticLine* m_staticline2;
|
|
|
|
wxStaticText* m_staticText891;
|
|
|
|
wxTextCtrl* m_ElectricalSpacingVoltage;
|
|
|
|
wxButton* m_buttonElectSpacingRefresh;
|
|
|
|
wxStaticText* m_staticTextElectricalSpacing;
|
|
|
|
wxGrid* m_gridElectricalSpacingValues;
|
|
|
|
wxStaticText* m_staticText88;
|
|
|
|
wxPanel* m_panelTransline;
|
|
|
|
wxRadioBox* m_TranslineSelection;
|
|
|
|
wxPanel* m_panelDisplayshape;
|
|
|
|
wxStaticLine* m_staticline1;
|
|
|
|
wxStaticText* m_EpsilonR_label;
|
|
|
|
wxTextCtrl* m_Value_EpsilonR;
|
|
|
|
wxButton* m_button_EpsilonR;
|
|
|
|
wxStaticText* m_TanD_label;
|
|
|
|
wxTextCtrl* m_Value_TanD;
|
|
|
|
wxButton* m_button_TanD;
|
|
|
|
wxStaticText* m_Rho_label;
|
|
|
|
wxTextCtrl* m_Value_Rho;
|
|
|
|
wxButton* m_button_Rho;
|
|
|
|
wxStaticText* m_substrate_prm4_label;
|
|
|
|
wxTextCtrl* m_Substrate_prm4_Value;
|
|
|
|
UNIT_SELECTOR_LEN* m_SubsPrm4_choiceUnit;
|
|
|
|
wxStaticText* m_substrate_prm5_label;
|
|
|
|
wxTextCtrl* m_Substrate_prm5_Value;
|
|
|
|
UNIT_SELECTOR_LEN* m_SubsPrm5_choiceUnit;
|
|
|
|
wxStaticText* m_substrate_prm6_label;
|
|
|
|
wxTextCtrl* m_Substrate_prm6_Value;
|
|
|
|
UNIT_SELECTOR_LEN* m_SubsPrm6_choiceUnit;
|
|
|
|
wxStaticText* m_substrate_prm7_label;
|
|
|
|
wxTextCtrl* m_Substrate_prm7_Value;
|
|
|
|
UNIT_SELECTOR_LEN* m_SubsPrm7_choiceUnit;
|
|
|
|
wxStaticText* m_substrate_prm8_label;
|
|
|
|
wxTextCtrl* m_Substrate_prm8_Value;
|
|
|
|
UNIT_SELECTOR_LEN* m_SubsPrm8_choiceUnit;
|
|
|
|
wxStaticText* m_substrate_prm9_label;
|
|
|
|
wxTextCtrl* m_Substrate_prm9_Value;
|
|
|
|
UNIT_SELECTOR_LEN* m_SubsPrm9_choiceUnit;
|
|
|
|
wxStaticText* m_Frequency_label;
|
|
|
|
wxTextCtrl* m_Value_Frequency_Ctrl;
|
|
|
|
UNIT_SELECTOR_FREQUENCY* m_choiceUnit_Frequency;
|
2015-08-09 09:03:25 +00:00
|
|
|
wxStaticBitmap* m_bmCMicrostripZoddZeven;
|
2017-08-15 17:46:37 +00:00
|
|
|
wxFlexGridSizer* m_fgSizerZcomment;
|
|
|
|
wxStaticText* m_staticTextZdiff;
|
|
|
|
wxStaticText* m_staticTextZcommon;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_phys_prm1_label;
|
|
|
|
wxTextCtrl* m_Phys_prm1_Value;
|
|
|
|
UNIT_SELECTOR_LEN* m_choiceUnit_Param1;
|
|
|
|
wxRadioButton* m_radioBtnPrm1;
|
|
|
|
wxStaticText* m_phys_prm2_label;
|
|
|
|
wxTextCtrl* m_Phys_prm2_Value;
|
|
|
|
UNIT_SELECTOR_LEN* m_choiceUnit_Param2;
|
|
|
|
wxRadioButton* m_radioBtnPrm2;
|
|
|
|
wxStaticText* m_phys_prm3_label;
|
|
|
|
wxTextCtrl* m_Phys_prm3_Value;
|
|
|
|
UNIT_SELECTOR_LEN* m_choiceUnit_Param3;
|
2016-06-08 07:25:43 +00:00
|
|
|
wxBitmapButton* m_bpButtonAnalyze;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxButton* m_AnalyseButton;
|
|
|
|
wxButton* m_SynthetizeButton;
|
2016-06-08 07:25:43 +00:00
|
|
|
wxBitmapButton* m_bpButtonSynthetize;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_elec_prm1_label;
|
|
|
|
wxTextCtrl* m_Elec_prm1_Value;
|
|
|
|
UNIT_SELECTOR_RESISTOR* m_choiceUnit_ElecPrm1;
|
|
|
|
wxStaticText* m_elec_prm2_label;
|
|
|
|
wxTextCtrl* m_Elec_prm2_Value;
|
|
|
|
UNIT_SELECTOR_RESISTOR* m_choiceUnit_ElecPrm2;
|
|
|
|
wxStaticText* m_elec_prm3_label;
|
|
|
|
wxTextCtrl* m_Elec_prm3_Value;
|
|
|
|
UNIT_SELECTOR_ANGLE* m_choiceUnit_ElecPrm3;
|
|
|
|
wxStaticText* m_left_message1;
|
|
|
|
wxStaticText* m_Message1;
|
|
|
|
wxStaticText* m_left_message2;
|
|
|
|
wxStaticText* m_Message2;
|
|
|
|
wxStaticText* m_left_message3;
|
|
|
|
wxStaticText* m_Message3;
|
|
|
|
wxStaticText* m_left_message4;
|
|
|
|
wxStaticText* m_Message4;
|
|
|
|
wxStaticText* m_left_message5;
|
|
|
|
wxStaticText* m_Message5;
|
|
|
|
wxStaticText* m_left_message6;
|
|
|
|
wxStaticText* m_Message6;
|
|
|
|
wxStaticText* m_left_message7;
|
|
|
|
wxStaticText* m_Message7;
|
|
|
|
wxPanel* m_panelAttenuators;
|
|
|
|
wxRadioBox* m_AttenuatorsSelection;
|
|
|
|
wxPanel* m_panelDisplayAttenuator;
|
|
|
|
wxStaticText* m_attenuationLabel;
|
|
|
|
wxTextCtrl* m_AttValueCtrl;
|
|
|
|
wxStaticText* m_attUnit;
|
|
|
|
wxStaticText* m_attenuationZinLabel;
|
|
|
|
wxTextCtrl* m_ZinValueCtrl;
|
|
|
|
wxStaticText* m_attZinUnit;
|
|
|
|
wxStaticText* m_ZoutLabel;
|
|
|
|
wxTextCtrl* m_ZoutValueCtrl;
|
|
|
|
wxStaticText* m_attZoutUnit;
|
|
|
|
wxButton* m_buttonAlcAtt;
|
2016-06-08 07:25:43 +00:00
|
|
|
wxBitmapButton* m_bpButtonCalcAtt;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_attenuatorR1Label;
|
|
|
|
wxTextCtrl* m_Att_R1_Value;
|
|
|
|
wxStaticText* m_attR1Unit;
|
|
|
|
wxStaticText* m_attenuatorR2Label;
|
|
|
|
wxTextCtrl* m_Att_R2_Value;
|
|
|
|
wxStaticText* m_attR2Unit1;
|
|
|
|
wxStaticText* m_attenuatorR3Label;
|
|
|
|
wxTextCtrl* m_Att_R3_Value;
|
|
|
|
wxStaticText* m_attR3Unit;
|
|
|
|
wxStaticText* m_staticTextAttMsg;
|
2015-06-21 15:10:14 +00:00
|
|
|
wxHtmlWindow* m_Attenuator_Messages;
|
2016-01-16 14:27:42 +00:00
|
|
|
wxHtmlWindow* m_panelAttFormula;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxPanel* m_panelColorCode;
|
|
|
|
wxRadioBox* m_rbToleranceSelection;
|
|
|
|
wxStaticText* m_staticText31;
|
|
|
|
wxStaticText* m_staticText34;
|
|
|
|
wxStaticText* m_staticText35;
|
|
|
|
wxStaticText* m_Band4Label;
|
|
|
|
wxStaticText* m_staticText37;
|
|
|
|
wxStaticText* m_staticText38;
|
|
|
|
wxStaticBitmap* m_Band1bitmap;
|
|
|
|
wxStaticBitmap* m_Band2bitmap;
|
|
|
|
wxStaticBitmap* m_Band3bitmap;
|
|
|
|
wxStaticBitmap* m_Band4bitmap;
|
|
|
|
wxStaticBitmap* m_Band_mult_bitmap;
|
|
|
|
wxStaticBitmap* m_Band_tol_bitmap;
|
|
|
|
wxPanel* m_panelBoardClass;
|
|
|
|
UNIT_SELECTOR_LEN* m_BoardClassesUnitsSelector;
|
|
|
|
wxStaticText* m_staticTextBrdClass;
|
|
|
|
wxGrid* m_gridClassesValuesDisplay;
|
|
|
|
wxPanel* m_panelShowClassPrms;
|
2019-03-15 16:35:32 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
// Virtual event handlers, overide them in your derived class
|
|
|
|
virtual void OnClosePcbCalc( wxCloseEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnRegulTypeSelection( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnRegulatorCalcButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnRegulatorSelection( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnDataFileSelection( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnEditRegulator( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnAddRegulator( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnRemoveRegulator( wxCommandEvent& event ) { event.Skip(); }
|
2015-08-09 07:15:42 +00:00
|
|
|
virtual void OnTWCalculateFromCurrent( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnTWParametersChanged( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnTWCalculateFromExtWidth( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnTWCalculateFromIntWidth( wxCommandEvent& event ) { event.Skip(); }
|
2013-05-26 04:36:44 +00:00
|
|
|
virtual void OnElectricalSpacingUnitsSelection( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnElectricalSpacingRefresh( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnTranslineSelection( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnPaintTranslinePanel( wxPaintEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnTranslineEpsilonR_Button( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnTranslineTanD_Button( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnTranslineRho_Button( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnTranslineAnalyse( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnTranslineSynthetize( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnAttenuatorSelection( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnPaintAttenuatorPanel( wxPaintEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnCalculateAttenuator( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnToleranceSelection( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnBoardClassesUnitsSelection( wxCommandEvent& event ) { event.Skip(); }
|
2019-03-15 16:35:32 +00:00
|
|
|
|
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
public:
|
2019-03-15 16:35:32 +00:00
|
|
|
|
2017-08-15 17:46:37 +00:00
|
|
|
PCB_CALCULATOR_FRAME_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("PCB Calculator"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 877,580 ), long style = wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER|wxFULL_REPAINT_ON_RESIZE|wxTAB_TRAVERSAL, const wxString& name = wxT("pcb_calculator") );
|
2019-03-15 16:35:32 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
~PCB_CALCULATOR_FRAME_BASE();
|
2019-03-15 16:35:32 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
};
|
|
|
|
|