2018-04-28 15:22:25 +00:00
///////////////////////////////////////////////////////////////////////////
2023-05-06 22:16:58 +00:00
// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
2018-04-28 15:22:25 +00:00
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
2021-02-16 03:14:28 +00:00
# pragma once
2018-04-28 15:22:25 +00:00
# include <wx/artprov.h>
# include <wx/xrc/xmlres.h>
# include <wx/intl.h>
class PCB_LAYER_BOX_SELECTOR ;
# include "dialog_shim.h"
# include <wx/string.h>
# include <wx/checkbox.h>
# include <wx/gdicmn.h>
# include <wx/font.h>
# include <wx/colour.h>
# include <wx/settings.h>
# include <wx/sizer.h>
# include <wx/statbox.h>
2018-08-19 16:11:58 +00:00
# include <widgets/net_selector.h>
2018-04-28 15:22:25 +00:00
# include <wx/choice.h>
# include <wx/bmpcbox.h>
2023-05-06 22:16:58 +00:00
# include <wx/textctrl.h>
2021-09-05 12:49:44 +00:00
# include <wx/stattext.h>
2023-05-06 22:16:58 +00:00
# include <wx/radiobut.h>
2018-04-28 15:22:25 +00:00
# include <wx/grid.h>
# include <wx/button.h>
# include <wx/dialog.h>
///////////////////////////////////////////////////////////////////////////
# define ID_SPECIFIED_NET_TO_SPECIFIED_VALUES 1000
# define ID_SPECIFIED_NET_TO_NETCLASS_VALUES 1001
///////////////////////////////////////////////////////////////////////////////
/// Class DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS_BASE
///////////////////////////////////////////////////////////////////////////////
class DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS_BASE : public DIALOG_SHIM
{
private :
2021-02-16 03:14:28 +00:00
2018-04-28 15:22:25 +00:00
protected :
wxCheckBox * m_tracks ;
wxCheckBox * m_vias ;
wxCheckBox * m_netFilterOpt ;
2021-02-16 03:14:28 +00:00
NET_SELECTOR * m_netFilter ;
2018-04-28 15:22:25 +00:00
wxCheckBox * m_netclassFilterOpt ;
wxChoice * m_netclassFilter ;
wxCheckBox * m_layerFilterOpt ;
PCB_LAYER_BOX_SELECTOR * m_layerFilter ;
2023-05-06 22:16:58 +00:00
wxCheckBox * m_filterByTrackWidth ;
wxTextCtrl * m_trackWidthFilterCtrl ;
wxStaticText * m_trackWidthFilterUnits ;
wxCheckBox * m_filterByViaSize ;
wxTextCtrl * m_viaSizeFilterCtrl ;
wxStaticText * m_viaSizeFilterUnits ;
2021-02-16 03:14:28 +00:00
wxCheckBox * m_selectedItemsFilter ;
2018-04-28 15:22:25 +00:00
wxRadioButton * m_setToSpecifiedValues ;
2023-07-17 17:30:07 +00:00
wxStaticText * m_trackWidthLabel ;
wxStaticText * m_viaSizeLabel ;
wxStaticText * m_layerLabel ;
wxChoice * m_trackWidthCtrl ;
wxChoice * m_viaSizesCtrl ;
PCB_LAYER_BOX_SELECTOR * m_layerCtrl ;
2018-04-28 15:22:25 +00:00
wxRadioButton * m_setToNetclassValues ;
wxGrid * m_netclassGrid ;
wxStdDialogButtonSizer * m_sdbSizer ;
wxButton * m_sdbSizerOK ;
wxButton * m_sdbSizerCancel ;
2021-02-16 03:14:28 +00:00
2023-05-06 22:16:58 +00:00
// Virtual event handlers, override them in your derived class
2018-04-28 15:22:25 +00:00
virtual void OnNetclassFilterSelect ( wxCommandEvent & event ) { event . Skip ( ) ; }
virtual void OnLayerFilterSelect ( wxCommandEvent & event ) { event . Skip ( ) ; }
2023-05-06 22:16:58 +00:00
virtual void OnTrackWidthText ( wxCommandEvent & event ) { event . Skip ( ) ; }
virtual void OnViaSizeText ( wxCommandEvent & event ) { event . Skip ( ) ; }
2023-07-17 17:30:07 +00:00
virtual void onActionButtonChange ( wxCommandEvent & event ) { event . Skip ( ) ; }
2018-04-28 15:22:25 +00:00
virtual void OnSizeNetclassGrid ( wxSizeEvent & event ) { event . Skip ( ) ; }
2021-02-16 03:14:28 +00:00
2018-04-28 15:22:25 +00:00
public :
2021-02-16 03:14:28 +00:00
DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS_BASE ( wxWindow * parent , wxWindowID id = wxID_ANY , const wxString & title = _ ( " Set Track and Via Properties " ) , const wxPoint & pos = wxDefaultPosition , const wxSize & size = wxSize ( - 1 , - 1 ) , long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER ) ;
2023-05-06 22:16:58 +00:00
2018-04-28 15:22:25 +00:00
~ DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS_BASE ( ) ;
2021-02-16 03:14:28 +00:00
2018-04-28 15:22:25 +00:00
} ;