2009-10-30 19:30:48 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2011-10-18 10:16:27 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Jun 30 2011)
|
2009-10-30 19:30:48 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO "NOT" EDIT THIS FILE!
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2011-10-18 10:16:27 +00:00
|
|
|
#ifndef __DIALOG_LIB_EDIT_PIN_BASE_H__
|
|
|
|
#define __DIALOG_LIB_EDIT_PIN_BASE_H__
|
2009-10-30 19:30:48 +00:00
|
|
|
|
2011-10-18 10:16:27 +00:00
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
2009-10-30 19:30:48 +00:00
|
|
|
#include <wx/intl.h>
|
2010-03-04 09:32:51 +00:00
|
|
|
class wxBitmapComboBox;
|
|
|
|
|
2009-10-30 19:30:48 +00:00
|
|
|
#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>
|
2010-03-04 09:32:51 +00:00
|
|
|
#include <wx/combobox.h>
|
2009-10-30 19:30:48 +00:00
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/checkbox.h>
|
2011-04-18 20:22:17 +00:00
|
|
|
#include <wx/statbox.h>
|
|
|
|
#include <wx/panel.h>
|
2011-04-18 09:26:02 +00:00
|
|
|
#include <wx/statline.h>
|
2009-10-30 19:30:48 +00:00
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_LIB_EDIT_PIN_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_LIB_EDIT_PIN_BASE : public wxDialog
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
2011-04-07 17:48:26 +00:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
ID_M_TEXTPINNAME = 1000,
|
|
|
|
ID_M_STATICTEXTPADNAME,
|
|
|
|
ID_M_TEXTPADNAME,
|
2011-04-18 20:22:17 +00:00
|
|
|
ID_M_STATICTEXTNAMESIZE,
|
|
|
|
ID_M_TEXTPINNAMETEXTSIZE,
|
|
|
|
ID_M_STATICNAMETEXTSIZEUNITS,
|
|
|
|
ID_M_STATICTEXTPADNAMESIZE,
|
2011-04-07 17:48:26 +00:00
|
|
|
ID_M_TEXTPADNAMETEXTSIZE,
|
2011-04-18 20:22:17 +00:00
|
|
|
ID_M_STATICNUMBERTEXTSIZEUNITS,
|
2011-04-07 17:48:26 +00:00
|
|
|
ID_M_STATICTEXTPINLEN,
|
2011-04-18 20:22:17 +00:00
|
|
|
ID_M_TEXTLENGTH,
|
|
|
|
ID_M_STATICLENGTHUNITS,
|
2011-04-07 17:48:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
wxStaticText* m_staticTextPinName;
|
|
|
|
wxTextCtrl* m_textPinName;
|
|
|
|
wxStaticText* m_staticTextPadName;
|
|
|
|
wxTextCtrl* m_textPadName;
|
|
|
|
wxStaticText* m_staticTextOrient;
|
2010-03-04 09:32:51 +00:00
|
|
|
wxBitmapComboBox* m_choiceOrientation;
|
2011-04-07 17:48:26 +00:00
|
|
|
wxStaticText* m_staticTextEType;
|
2010-03-04 09:32:51 +00:00
|
|
|
wxBitmapComboBox* m_choiceElectricalType;
|
2011-04-07 17:48:26 +00:00
|
|
|
wxStaticText* m_staticTextGstyle;
|
2010-03-04 09:32:51 +00:00
|
|
|
wxBitmapComboBox* m_choiceStyle;
|
2009-10-30 19:30:48 +00:00
|
|
|
wxCheckBox* m_checkApplyToAllParts;
|
|
|
|
wxCheckBox* m_checkApplyToAllConversions;
|
|
|
|
wxCheckBox* m_checkShow;
|
2011-04-18 20:22:17 +00:00
|
|
|
wxStaticText* m_staticTextNameSize;
|
|
|
|
wxTextCtrl* m_textPinNameTextSize;
|
|
|
|
wxStaticText* m_staticNameTextSizeUnits;
|
|
|
|
wxStaticText* m_staticTextPadNameSize;
|
|
|
|
wxTextCtrl* m_textPadNameTextSize;
|
|
|
|
wxStaticText* m_staticNumberTextSizeUnits;
|
|
|
|
wxStaticText* m_staticTextPinLen;
|
|
|
|
wxTextCtrl* m_textLength;
|
|
|
|
wxStaticText* m_staticLengthUnits;
|
|
|
|
wxPanel* m_panelShowPin;
|
2011-04-18 09:26:02 +00:00
|
|
|
wxStaticLine* m_staticline1;
|
2011-04-07 17:48:26 +00:00
|
|
|
wxStdDialogButtonSizer* m_sdbSizerButtons;
|
|
|
|
wxButton* m_sdbSizerButtonsOK;
|
|
|
|
wxButton* m_sdbSizerButtonsCancel;
|
2010-11-17 18:41:20 +00:00
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
2011-04-18 12:23:20 +00:00
|
|
|
virtual void OnCloseDialog( wxCloseEvent& event ) { event.Skip(); }
|
2011-04-18 20:22:17 +00:00
|
|
|
virtual void OnPropertiesChange( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnPaintShowPanel( wxPaintEvent& event ) { event.Skip(); }
|
2011-04-18 12:23:20 +00:00
|
|
|
virtual void OnCancelButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnOKButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
2010-11-17 18:41:20 +00:00
|
|
|
|
2009-10-30 19:30:48 +00:00
|
|
|
|
|
|
|
public:
|
2010-11-17 18:41:20 +00:00
|
|
|
|
2011-10-18 10:16:27 +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( 476,372 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2009-10-30 19:30:48 +00:00
|
|
|
~DIALOG_LIB_EDIT_PIN_BASE();
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2011-10-18 10:16:27 +00:00
|
|
|
#endif //__DIALOG_LIB_EDIT_PIN_BASE_H__
|