2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2021-08-06 19:54:26 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Oct 26 2018)
|
2013-05-26 04:36:44 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2018-04-23 18:48:01 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2021-08-06 19:54:26 +00:00
|
|
|
#include "dialog_lib_shape_properties_base.h"
|
2013-05-26 04:36:44 +00:00
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2021-08-06 19:54:26 +00:00
|
|
|
DIALOG_LIB_SHAPE_PROPERTIES_BASE::DIALOG_LIB_SHAPE_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 );
|
2021-06-14 18:00:08 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
wxBoxSizer* mainSizer;
|
2018-08-31 23:18:47 +00:00
|
|
|
mainSizer = new wxBoxSizer( wxVERTICAL );
|
2021-06-14 18:00:08 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
wxBoxSizer* dlgBorderSizer;
|
|
|
|
dlgBorderSizer = new wxBoxSizer( wxVERTICAL );
|
2021-06-14 18:00:08 +00:00
|
|
|
|
2018-10-20 10:38:36 +00:00
|
|
|
wxBoxSizer* bSizerLineWidth;
|
|
|
|
bSizerLineWidth = new wxBoxSizer( wxHORIZONTAL );
|
2021-06-14 18:00:08 +00:00
|
|
|
|
2018-08-31 23:18:47 +00:00
|
|
|
m_widthLabel = new wxStaticText( this, wxID_ANY, _("Line width:"), wxDefaultPosition, wxDefaultSize, 0 );
|
2018-06-14 08:26:11 +00:00
|
|
|
m_widthLabel->Wrap( -1 );
|
2018-10-20 10:38:36 +00:00
|
|
|
bSizerLineWidth->Add( m_widthLabel, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3 );
|
2021-06-14 18:00:08 +00:00
|
|
|
|
2018-06-14 08:26:11 +00:00
|
|
|
m_widthCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
2018-10-20 10:38:36 +00:00
|
|
|
bSizerLineWidth->Add( m_widthCtrl, 1, wxALIGN_CENTER_VERTICAL|wxALL, 3 );
|
2021-06-14 18:00:08 +00:00
|
|
|
|
2018-06-14 08:26:11 +00:00
|
|
|
m_widthUnits = new wxStaticText( this, wxID_ANY, _("mm"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_widthUnits->Wrap( -1 );
|
2018-10-20 10:38:36 +00:00
|
|
|
bSizerLineWidth->Add( m_widthUnits, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM|wxRIGHT, 3 );
|
2021-06-14 18:00:08 +00:00
|
|
|
|
|
|
|
|
2018-10-20 10:38:36 +00:00
|
|
|
dlgBorderSizer->Add( bSizerLineWidth, 0, wxEXPAND, 5 );
|
2021-06-14 18:00:08 +00:00
|
|
|
|
2018-08-31 23:18:47 +00:00
|
|
|
wxString m_fillCtrlChoices[] = { _("Do not fill"), _("Fill with body outline color"), _("Fill with body background color") };
|
|
|
|
int m_fillCtrlNChoices = sizeof( m_fillCtrlChoices ) / sizeof( wxString );
|
|
|
|
m_fillCtrl = new wxRadioBox( this, wxID_ANY, _("Fill Style"), wxDefaultPosition, wxDefaultSize, m_fillCtrlNChoices, m_fillCtrlChoices, 1, wxRA_SPECIFY_COLS );
|
|
|
|
m_fillCtrl->SetSelection( 0 );
|
|
|
|
dlgBorderSizer->Add( m_fillCtrl, 0, wxEXPAND|wxTOP|wxBOTTOM, 10 );
|
2021-06-14 18:00:08 +00:00
|
|
|
|
|
|
|
m_checkApplyToAllUnits = new wxCheckBox( this, wxID_ANY, _("Common to all &units in symbol"), wxDefaultPosition, wxDefaultSize, 0 );
|
2018-10-20 10:38:36 +00:00
|
|
|
dlgBorderSizer->Add( m_checkApplyToAllUnits, 0, wxALL, 3 );
|
2021-06-14 18:00:08 +00:00
|
|
|
|
2013-11-09 16:30:49 +00:00
|
|
|
m_checkApplyToAllConversions = new wxCheckBox( this, wxID_ANY, _("Common to all body &styles (DeMorgan)"), wxDefaultPosition, wxDefaultSize, 0 );
|
2018-10-20 10:38:36 +00:00
|
|
|
dlgBorderSizer->Add( m_checkApplyToAllConversions, 0, wxALL, 3 );
|
2021-06-14 18:00:08 +00:00
|
|
|
|
|
|
|
|
2018-10-20 10:38:36 +00:00
|
|
|
mainSizer->Add( dlgBorderSizer, 1, wxALL|wxEXPAND, 10 );
|
2021-06-14 18:00:08 +00:00
|
|
|
|
2018-10-20 10:38:36 +00:00
|
|
|
m_staticline = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
|
|
|
|
mainSizer->Add( m_staticline, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
|
2021-06-14 18:00:08 +00:00
|
|
|
|
2018-10-20 10:38:36 +00:00
|
|
|
m_sdbSizer = new wxStdDialogButtonSizer();
|
|
|
|
m_sdbSizerOK = new wxButton( this, wxID_OK );
|
|
|
|
m_sdbSizer->AddButton( m_sdbSizerOK );
|
|
|
|
m_sdbSizerCancel = new wxButton( this, wxID_CANCEL );
|
|
|
|
m_sdbSizer->AddButton( m_sdbSizerCancel );
|
|
|
|
m_sdbSizer->Realize();
|
2021-06-14 18:00:08 +00:00
|
|
|
|
2018-10-20 10:38:36 +00:00
|
|
|
mainSizer->Add( m_sdbSizer, 0, wxALL|wxEXPAND, 5 );
|
2021-06-14 18:00:08 +00:00
|
|
|
|
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
this->SetSizer( mainSizer );
|
|
|
|
this->Layout();
|
2021-06-14 18:00:08 +00:00
|
|
|
mainSizer->Fit( this );
|
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
this->Centre( wxBOTH );
|
|
|
|
}
|
|
|
|
|
2021-08-06 19:54:26 +00:00
|
|
|
DIALOG_LIB_SHAPE_PROPERTIES_BASE::~DIALOG_LIB_SHAPE_PROPERTIES_BASE()
|
2013-05-26 04:36:44 +00:00
|
|
|
{
|
|
|
|
}
|