2015-07-09 11:35:51 +00:00
///////////////////////////////////////////////////////////////////////////
2024-06-09 16:44:30 +00:00
// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6)
2015-07-09 11:35:51 +00:00
// http://www.wxformbuilder.org/
//
2018-02-18 00:53:19 +00:00
// PLEASE DO *NOT* EDIT THIS FILE!
2015-07-09 11:35:51 +00:00
///////////////////////////////////////////////////////////////////////////
2019-08-25 10:06:01 +00:00
# pragma once
2015-07-09 11:35:51 +00:00
# include <wx/artprov.h>
# include <wx/xrc/xmlres.h>
# include <wx/intl.h>
class PCB_LAYER_BOX_SELECTOR ;
2016-07-14 14:25:35 +00:00
# include "dialog_shim.h"
2015-07-09 11:35:51 +00:00
# include <wx/string.h>
2017-04-22 15:45:32 +00:00
# include <wx/stattext.h>
2015-07-09 11:35:51 +00:00
# include <wx/gdicmn.h>
# include <wx/font.h>
# include <wx/colour.h>
# include <wx/settings.h>
2018-08-19 16:11:58 +00:00
# include <widgets/net_selector.h>
2021-01-06 15:35:25 +00:00
# include <wx/sizer.h>
2023-05-12 21:03:54 +00:00
# include <wx/checkbox.h>
2021-01-06 15:35:25 +00:00
# include <wx/statline.h>
2016-08-15 15:16:48 +00:00
# include <wx/statbox.h>
# include <wx/textctrl.h>
2017-04-22 15:45:32 +00:00
# include <wx/choice.h>
2023-10-21 17:19:17 +00:00
# include <wx/gbsizer.h>
2018-08-16 19:58:24 +00:00
# include <wx/bmpcbox.h>
2024-06-09 22:28:19 +00:00
# include <wx/tglbtn.h>
2023-05-12 21:03:54 +00:00
# include <wx/bitmap.h>
# include <wx/image.h>
# include <wx/icon.h>
# include <wx/statbmp.h>
2023-05-23 16:45:26 +00:00
# include <wx/spinctrl.h>
2015-07-09 11:35:51 +00:00
# include <wx/button.h>
# include <wx/dialog.h>
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
/// Class DIALOG_TRACK_VIA_PROPERTIES_BASE
///////////////////////////////////////////////////////////////////////////////
2016-07-14 14:25:35 +00:00
class DIALOG_TRACK_VIA_PROPERTIES_BASE : public DIALOG_SHIM
2015-07-09 11:35:51 +00:00
{
private :
2024-02-23 14:38:22 +00:00
wxStaticText * m_stLenPercentUnits ;
wxStaticText * m_stLenPercentHint ;
wxStaticText * m_stLenPercentSuffix ;
wxStaticText * m_stWidthPercentUnits ;
wxStaticText * m_stWidthPercentHint ;
wxStaticText * m_stWidthPercentSuffix ;
2019-08-25 10:06:01 +00:00
2015-07-09 11:35:51 +00:00
protected :
2015-08-18 16:15:57 +00:00
wxBoxSizer * m_MainSizer ;
2016-08-15 15:16:48 +00:00
wxStaticBoxSizer * m_sbCommonSizer ;
2018-08-19 16:11:58 +00:00
wxStaticText * m_netSelectorLabel ;
2019-08-25 10:06:01 +00:00
NET_SELECTOR * m_netSelector ;
2021-01-06 15:35:25 +00:00
wxCheckBox * m_viaNotFree ;
wxStaticLine * m_staticline1 ;
2016-08-15 15:16:48 +00:00
wxCheckBox * m_lockedCbox ;
2015-08-18 16:15:57 +00:00
wxStaticBoxSizer * m_sbTrackSizer ;
2015-07-09 11:35:51 +00:00
wxStaticText * m_TrackStartXLabel ;
2018-02-03 09:09:53 +00:00
wxTextCtrl * m_TrackStartXCtrl ;
2015-07-09 11:35:51 +00:00
wxStaticText * m_TrackStartYLabel ;
2018-02-03 09:09:53 +00:00
wxTextCtrl * m_TrackStartYCtrl ;
2015-07-09 11:35:51 +00:00
wxStaticText * m_TrackStartYUnit ;
wxStaticText * m_TrackEndXLabel ;
2018-02-03 09:09:53 +00:00
wxTextCtrl * m_TrackEndXCtrl ;
2015-07-09 11:35:51 +00:00
wxStaticText * m_TrackEndYLabel ;
2018-02-03 09:09:53 +00:00
wxTextCtrl * m_TrackEndYCtrl ;
2015-07-09 11:35:51 +00:00
wxStaticText * m_TrackEndYUnit ;
2023-12-13 14:14:34 +00:00
wxStaticText * m_predefinedTrackWidthsLabel ;
wxChoice * m_predefinedTrackWidthsCtrl ;
wxStaticText * m_predefinedTrackWidthsUnits ;
2015-07-09 11:35:51 +00:00
wxStaticText * m_TrackWidthLabel ;
2018-08-16 19:58:24 +00:00
wxTextCtrl * m_TrackWidthCtrl ;
2015-07-09 11:35:51 +00:00
wxStaticText * m_TrackWidthUnit ;
wxStaticText * m_TrackLayerLabel ;
PCB_LAYER_BOX_SELECTOR * m_TrackLayerCtrl ;
2015-08-18 16:15:57 +00:00
wxStaticBoxSizer * m_sbViaSizer ;
2015-07-09 11:35:51 +00:00
wxStaticText * m_ViaXLabel ;
2018-02-03 09:09:53 +00:00
wxTextCtrl * m_ViaXCtrl ;
2015-07-09 11:35:51 +00:00
wxStaticText * m_ViaYLabel ;
2018-02-03 09:09:53 +00:00
wxTextCtrl * m_ViaYCtrl ;
2015-07-09 11:35:51 +00:00
wxStaticText * m_ViaYUnit ;
2023-12-13 14:14:34 +00:00
wxStaticText * m_predefinedViaSizesLabel ;
wxChoice * m_predefinedViaSizesCtrl ;
wxStaticText * m_predefinedViaSizesUnits ;
2015-07-09 11:35:51 +00:00
wxStaticText * m_ViaDiameterLabel ;
2018-02-03 09:09:53 +00:00
wxTextCtrl * m_ViaDiameterCtrl ;
2015-07-09 11:35:51 +00:00
wxStaticText * m_ViaDiameterUnit ;
wxStaticText * m_ViaDrillLabel ;
2018-02-03 09:09:53 +00:00
wxTextCtrl * m_ViaDrillCtrl ;
2015-07-09 11:35:51 +00:00
wxStaticText * m_ViaDrillUnit ;
2017-04-22 15:45:32 +00:00
wxStaticText * m_ViaTypeLabel ;
wxChoice * m_ViaTypeChoice ;
wxStaticText * m_ViaStartLayerLabel ;
PCB_LAYER_BOX_SELECTOR * m_ViaStartLayer ;
wxStaticText * m_ViaEndLayerLabel1 ;
PCB_LAYER_BOX_SELECTOR * m_ViaEndLayer ;
2021-08-14 00:44:23 +00:00
wxStaticText * m_annularRingsLabel ;
wxChoice * m_annularRingsCtrl ;
2024-06-09 22:28:19 +00:00
wxStaticText * m_tentingFrontLabel ;
wxChoice * m_tentingFrontCtrl ;
wxBitmapToggleButton * m_btnLinkTenting ;
wxStaticText * m_tentingBackLabel ;
wxChoice * m_tentingBackCtrl ;
2023-05-12 21:03:54 +00:00
wxStaticLine * m_staticline2 ;
wxBoxSizer * m_legacyTeardropsWarning ;
wxStaticBitmap * m_legacyTeardropsIcon ;
wxStaticText * m_staticText85 ;
wxStaticText * m_staticText851 ;
wxCheckBox * m_cbTeardrops ;
2024-02-23 16:21:28 +00:00
wxCheckBox * m_cbTeardropsUseNextTrack ;
2023-05-12 21:03:54 +00:00
wxStaticText * m_stHDRatio ;
wxTextCtrl * m_tcHDRatio ;
wxStaticText * m_stHDRatioUnits ;
wxStaticText * m_minTrackWidthHint ;
wxStaticBitmap * m_bitmapTeardrop ;
wxStaticText * m_stLenPercentLabel ;
wxTextCtrl * m_tcLenPercent ;
wxStaticText * m_stMaxLen ;
wxTextCtrl * m_tcTdMaxLen ;
wxStaticText * m_stMaxLenUnits ;
2024-02-23 14:38:22 +00:00
wxStaticText * m_stWidthPercentLabel ;
wxTextCtrl * m_tcWidthPercent ;
wxStaticText * m_stMaxWidthLabel ;
wxTextCtrl * m_tcMaxWidth ;
wxStaticText * m_stMaxWidthUnits ;
2023-05-23 16:45:26 +00:00
wxCheckBox * m_curvedEdges ;
2023-05-12 21:03:54 +00:00
wxStaticText * m_curvePointsLabel ;
2023-05-23 16:45:26 +00:00
wxSpinCtrl * m_curvePointsCtrl ;
2015-07-09 11:35:51 +00:00
wxStdDialogButtonSizer * m_StdButtons ;
wxButton * m_StdButtonsOK ;
wxButton * m_StdButtonsCancel ;
2019-08-25 10:06:01 +00:00
2021-10-21 12:59:55 +00:00
// Virtual event handlers, override them in your derived class
2021-01-06 15:35:25 +00:00
virtual void onViaNotFreeClicked ( wxCommandEvent & event ) { event . Skip ( ) ; }
2019-08-25 10:06:01 +00:00
virtual void onWidthSelect ( wxCommandEvent & event ) { event . Skip ( ) ; }
virtual void onWidthEdit ( wxCommandEvent & event ) { event . Skip ( ) ; }
virtual void onViaSelect ( wxCommandEvent & event ) { event . Skip ( ) ; }
virtual void onViaEdit ( wxCommandEvent & event ) { event . Skip ( ) ; }
2024-06-09 22:28:19 +00:00
virtual void onFrontTentingChanged ( wxCommandEvent & event ) { event . Skip ( ) ; }
virtual void onTentingLinkToggle ( wxCommandEvent & event ) { event . Skip ( ) ; }
2023-05-12 21:03:54 +00:00
virtual void onTeardropsUpdateUi ( wxUpdateUIEvent & event ) { event . Skip ( ) ; }
virtual void onCurvedEdgesUpdateUi ( wxUpdateUIEvent & event ) { event . Skip ( ) ; }
2019-08-25 10:06:01 +00:00
2015-07-09 11:35:51 +00:00
public :
2019-08-25 10:06:01 +00:00
2021-01-06 15:35:25 +00:00
DIALOG_TRACK_VIA_PROPERTIES_BASE ( wxWindow * parent , wxWindowID id = wxID_ANY , const wxString & title = _ ( " Track & Via Properties " ) , const wxPoint & pos = wxDefaultPosition , const wxSize & size = wxSize ( - 1 , - 1 ) , long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxSYSTEM_MENU ) ;
2021-10-21 12:59:55 +00:00
2015-07-09 11:35:51 +00:00
~ DIALOG_TRACK_VIA_PROPERTIES_BASE ( ) ;
2019-08-25 10:06:01 +00:00
2015-07-09 11:35:51 +00:00
} ;