2012-09-07 16:15:18 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2018-08-02 17:00:41 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Aug 2 2018)
|
2012-09-07 16:15:18 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2017-12-26 14:38:45 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2012-09-07 16:15:18 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __DIALOG_LIB_EDIT_PIN_BASE_H__
|
|
|
|
#define __DIALOG_LIB_EDIT_PIN_BASE_H__
|
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2016-02-28 17:33:29 +00:00
|
|
|
class PinShapeComboBox;
|
|
|
|
class PinTypeComboBox;
|
2013-06-27 19:12:01 +00:00
|
|
|
class wxBitmapComboBox;
|
|
|
|
|
2012-09-07 16:15:18 +00:00
|
|
|
#include "dialog_shim.h"
|
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/stattext.h>
|
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
|
|
|
#include <wx/textctrl.h>
|
|
|
|
#include <wx/combobox.h>
|
2018-05-23 17:41:37 +00:00
|
|
|
#include <wx/gbsizer.h>
|
2012-09-07 16:15:18 +00:00
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/checkbox.h>
|
|
|
|
#include <wx/panel.h>
|
|
|
|
#include <wx/statline.h>
|
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_LIB_EDIT_PIN_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_LIB_EDIT_PIN_BASE : public DIALOG_SHIM
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
ID_M_TEXTPINNAME = 1000,
|
|
|
|
ID_M_STATICTEXTPADNAME,
|
|
|
|
ID_M_TEXTPADNAME,
|
2018-05-23 17:41:37 +00:00
|
|
|
ID_M_STATICTEXTPINLEN,
|
|
|
|
ID_M_TEXTLENGTH,
|
|
|
|
ID_M_STATICLENGTHUNITS,
|
2012-09-07 16:15:18 +00:00
|
|
|
ID_M_STATICTEXTNAMESIZE,
|
|
|
|
ID_M_TEXTPINNAMETEXTSIZE,
|
|
|
|
ID_M_STATICNAMETEXTSIZEUNITS,
|
|
|
|
ID_M_STATICTEXTPADNAMESIZE,
|
|
|
|
ID_M_TEXTPADNAMETEXTSIZE,
|
2018-05-23 17:41:37 +00:00
|
|
|
ID_M_STATICNUMBERTEXTSIZEUNITS
|
2012-09-07 16:15:18 +00:00
|
|
|
};
|
|
|
|
|
2018-05-23 17:41:37 +00:00
|
|
|
wxStaticText* m_pinNameLabel;
|
2012-09-07 16:15:18 +00:00
|
|
|
wxTextCtrl* m_textPinName;
|
2018-05-23 17:41:37 +00:00
|
|
|
wxStaticText* m_pinNumberLabel;
|
|
|
|
wxTextCtrl* m_textPinNumber;
|
2012-09-07 16:15:18 +00:00
|
|
|
wxStaticText* m_staticTextEType;
|
2016-02-28 17:33:29 +00:00
|
|
|
PinTypeComboBox* m_choiceElectricalType;
|
2012-09-07 16:15:18 +00:00
|
|
|
wxStaticText* m_staticTextGstyle;
|
2016-02-28 17:33:29 +00:00
|
|
|
PinShapeComboBox* m_choiceStyle;
|
2018-05-23 17:41:37 +00:00
|
|
|
wxStaticText* m_posXLabel;
|
|
|
|
wxTextCtrl* m_posXCtrl;
|
|
|
|
wxStaticText* m_posXUnits;
|
|
|
|
wxStaticText* m_posYLabel;
|
|
|
|
wxTextCtrl* m_posYCtrl;
|
|
|
|
wxStaticText* m_posYUnits;
|
|
|
|
wxStaticText* m_staticTextOrient;
|
|
|
|
wxBitmapComboBox* m_choiceOrientation;
|
|
|
|
wxStaticText* m_pinLengthLabel;
|
|
|
|
wxTextCtrl* m_pinLengthCtrl;
|
|
|
|
wxStaticText* m_pinLengthUnits;
|
|
|
|
wxStaticText* m_nameSizeLabel;
|
|
|
|
wxTextCtrl* m_nameSizeCtrl;
|
|
|
|
wxStaticText* m_nameSizeUnits;
|
|
|
|
wxStaticText* m_numberSizeLabel;
|
|
|
|
wxTextCtrl* m_numberSizeCtrl;
|
|
|
|
wxStaticText* m_numberSizeUnits;
|
2012-09-07 16:15:18 +00:00
|
|
|
wxCheckBox* m_checkApplyToAllParts;
|
|
|
|
wxCheckBox* m_checkApplyToAllConversions;
|
|
|
|
wxCheckBox* m_checkShow;
|
|
|
|
wxPanel* m_panelShowPin;
|
|
|
|
wxStaticLine* m_staticline1;
|
|
|
|
wxStdDialogButtonSizer* m_sdbSizerButtons;
|
|
|
|
wxButton* m_sdbSizerButtonsOK;
|
|
|
|
wxButton* m_sdbSizerButtonsCancel;
|
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
|
|
|
virtual void OnPropertiesChange( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnPaintShowPanel( wxPaintEvent& event ) { event.Skip(); }
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2017-12-26 14:38:45 +00:00
|
|
|
DIALOG_LIB_EDIT_PIN_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Pin Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2012-09-07 16:15:18 +00:00
|
|
|
~DIALOG_LIB_EDIT_PIN_BASE();
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //__DIALOG_LIB_EDIT_PIN_BASE_H__
|