2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2017-12-27 17:09:27 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Nov 22 2017)
|
2013-05-26 04:36:44 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2017-12-27 17:09:27 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#include "dialog_non_copper_zones_properties_base.h"
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2014-07-15 16:53:13 +00:00
|
|
|
BEGIN_EVENT_TABLE( DIALOG_NONCOPPER_ZONES_PROPERTIES_BASE, DIALOG_SHIM )
|
|
|
|
EVT_BUTTON( wxID_CANCEL, DIALOG_NONCOPPER_ZONES_PROPERTIES_BASE::_wxFB_OnCancelClick )
|
|
|
|
EVT_BUTTON( wxID_OK, DIALOG_NONCOPPER_ZONES_PROPERTIES_BASE::_wxFB_OnOkClick )
|
2013-05-26 04:36:44 +00:00
|
|
|
END_EVENT_TABLE()
|
|
|
|
|
2014-07-15 16:53:13 +00:00
|
|
|
DIALOG_NONCOPPER_ZONES_PROPERTIES_BASE::DIALOG_NONCOPPER_ZONES_PROPERTIES_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
|
2013-05-26 04:36:44 +00:00
|
|
|
{
|
|
|
|
this->SetSizeHints( wxDefaultSize, wxDefaultSize );
|
|
|
|
|
|
|
|
wxBoxSizer* m_MainSizer;
|
|
|
|
m_MainSizer = new wxBoxSizer( wxVERTICAL );
|
|
|
|
|
|
|
|
wxBoxSizer* m_UpperSizer;
|
|
|
|
m_UpperSizer = new wxBoxSizer( wxHORIZONTAL );
|
|
|
|
|
|
|
|
wxBoxSizer* bSizerLeft;
|
|
|
|
bSizerLeft = new wxBoxSizer( wxVERTICAL );
|
|
|
|
|
2017-07-19 10:53:20 +00:00
|
|
|
m_staticTextLayerSelection = new wxStaticText( this, wxID_ANY, _("Layer selection:"), wxDefaultPosition, wxDefaultSize, 0 );
|
2013-05-26 04:36:44 +00:00
|
|
|
m_staticTextLayerSelection->Wrap( -1 );
|
|
|
|
bSizerLeft->Add( m_staticTextLayerSelection, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
2014-07-15 16:53:13 +00:00
|
|
|
m_LayerSelectionCtrl = new wxListView( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_ALIGN_LEFT|wxLC_NO_HEADER|wxLC_REPORT|wxLC_SINGLE_SEL );
|
|
|
|
bSizerLeft->Add( m_LayerSelectionCtrl, 1, wxALL|wxEXPAND, 5 );
|
2013-05-26 04:36:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
m_UpperSizer->Add( bSizerLeft, 1, wxEXPAND, 5 );
|
|
|
|
|
|
|
|
wxBoxSizer* bSizerRight;
|
|
|
|
bSizerRight = new wxBoxSizer( wxVERTICAL );
|
|
|
|
|
|
|
|
wxStaticBoxSizer* m_OutilinesBoxOpt;
|
2017-07-03 08:38:01 +00:00
|
|
|
m_OutilinesBoxOpt = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Outlines Options") ), wxVERTICAL );
|
2013-05-26 04:36:44 +00:00
|
|
|
|
|
|
|
wxString m_OrientEdgesOptChoices[] = { _("Any"), _("H, V and 45 deg") };
|
|
|
|
int m_OrientEdgesOptNChoices = sizeof( m_OrientEdgesOptChoices ) / sizeof( wxString );
|
2017-12-27 17:09:27 +00:00
|
|
|
m_OrientEdgesOpt = new wxRadioBox( m_OutilinesBoxOpt->GetStaticBox(), wxID_ANY, _("Zone Edge Orientation"), wxDefaultPosition, wxDefaultSize, m_OrientEdgesOptNChoices, m_OrientEdgesOptChoices, 1, wxRA_SPECIFY_COLS );
|
2013-05-26 04:36:44 +00:00
|
|
|
m_OrientEdgesOpt->SetSelection( 0 );
|
2015-06-15 13:54:58 +00:00
|
|
|
m_OutilinesBoxOpt->Add( m_OrientEdgesOpt, 0, wxALL|wxEXPAND, 5 );
|
2013-05-26 04:36:44 +00:00
|
|
|
|
2017-12-27 17:09:27 +00:00
|
|
|
wxString m_OutlineAppearanceCtrlChoices[] = { _("Line"), _("Hatched outline"), _("Full hatched") };
|
2013-05-26 04:36:44 +00:00
|
|
|
int m_OutlineAppearanceCtrlNChoices = sizeof( m_OutlineAppearanceCtrlChoices ) / sizeof( wxString );
|
2017-12-27 17:09:27 +00:00
|
|
|
m_OutlineAppearanceCtrl = new wxRadioBox( m_OutilinesBoxOpt->GetStaticBox(), wxID_ANY, _("Outline Appearence"), wxDefaultPosition, wxDefaultSize, m_OutlineAppearanceCtrlNChoices, m_OutlineAppearanceCtrlChoices, 1, wxRA_SPECIFY_COLS );
|
2013-05-26 04:36:44 +00:00
|
|
|
m_OutlineAppearanceCtrl->SetSelection( 1 );
|
2015-06-15 13:54:58 +00:00
|
|
|
m_OutilinesBoxOpt->Add( m_OutlineAppearanceCtrl, 0, wxALL|wxEXPAND, 5 );
|
2013-05-26 04:36:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
bSizerRight->Add( m_OutilinesBoxOpt, 0, wxEXPAND|wxALL, 5 );
|
|
|
|
|
2017-07-19 10:53:20 +00:00
|
|
|
m_MinThicknessValueTitle = new wxStaticText( this, wxID_ANY, _("Zone min thickness value:"), wxDefaultPosition, wxDefaultSize, 0 );
|
2013-05-26 04:36:44 +00:00
|
|
|
m_MinThicknessValueTitle->Wrap( -1 );
|
|
|
|
bSizerRight->Add( m_MinThicknessValueTitle, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
|
|
|
m_ZoneMinThicknessCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
bSizerRight->Add( m_ZoneMinThicknessCtrl, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
|
|
|
|
|
|
|
m_UpperSizer->Add( bSizerRight, 0, wxEXPAND, 5 );
|
|
|
|
|
|
|
|
|
2015-06-15 13:54:58 +00:00
|
|
|
m_MainSizer->Add( m_UpperSizer, 1, wxEXPAND, 5 );
|
2013-05-26 04:36:44 +00:00
|
|
|
|
|
|
|
m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
|
|
|
|
m_MainSizer->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
|
|
|
|
|
|
|
|
m_sdbSizerButtons = new wxStdDialogButtonSizer();
|
|
|
|
m_sdbSizerButtonsOK = new wxButton( this, wxID_OK );
|
|
|
|
m_sdbSizerButtons->AddButton( m_sdbSizerButtonsOK );
|
|
|
|
m_sdbSizerButtonsCancel = new wxButton( this, wxID_CANCEL );
|
|
|
|
m_sdbSizerButtons->AddButton( m_sdbSizerButtonsCancel );
|
|
|
|
m_sdbSizerButtons->Realize();
|
|
|
|
|
2017-12-27 17:09:27 +00:00
|
|
|
m_MainSizer->Add( m_sdbSizerButtons, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 5 );
|
2013-05-26 04:36:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
this->SetSizer( m_MainSizer );
|
|
|
|
this->Layout();
|
2017-12-27 17:09:27 +00:00
|
|
|
m_MainSizer->Fit( this );
|
2013-05-26 04:36:44 +00:00
|
|
|
|
|
|
|
this->Centre( wxBOTH );
|
|
|
|
}
|
|
|
|
|
2014-07-15 16:53:13 +00:00
|
|
|
DIALOG_NONCOPPER_ZONES_PROPERTIES_BASE::~DIALOG_NONCOPPER_ZONES_PROPERTIES_BASE()
|
2013-05-26 04:36:44 +00:00
|
|
|
{
|
|
|
|
}
|