2012-09-07 16:15:18 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2024-01-26 16:16:13 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf)
|
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
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2019-08-15 19:08:42 +00:00
|
|
|
#pragma once
|
2012-09-07 16:15:18 +00:00
|
|
|
|
|
|
|
#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;
|
2022-12-13 20:47:28 +00:00
|
|
|
class STD_BITMAP_BUTTON;
|
2020-08-21 15:54:24 +00:00
|
|
|
class WX_GRID;
|
2022-03-26 15:15:36 +00:00
|
|
|
class WX_INFOBAR;
|
2013-06-27 19:12:01 +00:00
|
|
|
class wxBitmapComboBox;
|
|
|
|
|
2012-09-07 16:15:18 +00:00
|
|
|
#include "dialog_shim.h"
|
2022-03-26 15:15:36 +00:00
|
|
|
#include <wx/infobar.h>
|
2012-09-07 16:15:18 +00:00
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
2021-08-14 08:15:18 +00:00
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/stattext.h>
|
2012-09-07 16:15:18 +00:00
|
|
|
#include <wx/textctrl.h>
|
|
|
|
#include <wx/combobox.h>
|
2018-05-23 17:41:37 +00:00
|
|
|
#include <wx/gbsizer.h>
|
2022-03-26 15:15:36 +00:00
|
|
|
#include <wx/sizer.h>
|
2012-09-07 16:15:18 +00:00
|
|
|
#include <wx/checkbox.h>
|
|
|
|
#include <wx/panel.h>
|
2020-08-21 15:54:24 +00:00
|
|
|
#include <wx/grid.h>
|
|
|
|
#include <wx/bmpbuttn.h>
|
2022-03-26 15:15:36 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
2012-09-07 16:15:18 +00:00
|
|
|
#include <wx/button.h>
|
2020-08-21 15:54:24 +00:00
|
|
|
#include <wx/collpane.h>
|
2012-09-07 16:15:18 +00:00
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2020-08-03 21:12:29 +00:00
|
|
|
/// Class DIALOG_PIN_PROPERTIES_BASE
|
2012-09-07 16:15:18 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2020-08-03 21:12:29 +00:00
|
|
|
class DIALOG_PIN_PROPERTIES_BASE : public DIALOG_SHIM
|
2012-09-07 16:15:18 +00:00
|
|
|
{
|
|
|
|
private:
|
2019-08-15 19:08:42 +00:00
|
|
|
|
2012-09-07 16:15:18 +00:00
|
|
|
protected:
|
2022-03-26 15:15:36 +00:00
|
|
|
WX_INFOBAR* m_infoBar;
|
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;
|
|
|
|
wxStaticText* m_posXLabel;
|
|
|
|
wxTextCtrl* m_posXCtrl;
|
|
|
|
wxStaticText* m_posYLabel;
|
|
|
|
wxTextCtrl* m_posYCtrl;
|
|
|
|
wxStaticText* m_pinLengthLabel;
|
|
|
|
wxTextCtrl* m_pinLengthCtrl;
|
|
|
|
wxStaticText* m_nameSizeLabel;
|
|
|
|
wxTextCtrl* m_nameSizeCtrl;
|
|
|
|
wxStaticText* m_numberSizeLabel;
|
|
|
|
wxTextCtrl* m_numberSizeCtrl;
|
2019-08-15 19:08:42 +00:00
|
|
|
wxStaticText* m_staticTextEType;
|
|
|
|
PinTypeComboBox* m_choiceElectricalType;
|
|
|
|
wxStaticText* m_staticTextGstyle;
|
|
|
|
PinShapeComboBox* m_choiceStyle;
|
|
|
|
wxStaticText* m_staticTextOrient;
|
|
|
|
wxBitmapComboBox* m_choiceOrientation;
|
|
|
|
wxStaticText* m_posXUnits;
|
|
|
|
wxStaticText* m_posYUnits;
|
|
|
|
wxStaticText* m_pinLengthUnits;
|
|
|
|
wxStaticText* m_nameSizeUnits;
|
2018-05-23 17:41:37 +00:00
|
|
|
wxStaticText* m_numberSizeUnits;
|
2012-09-07 16:15:18 +00:00
|
|
|
wxCheckBox* m_checkApplyToAllParts;
|
2024-01-26 16:16:13 +00:00
|
|
|
wxCheckBox* m_checkApplyToAllBodyStyles;
|
2012-09-07 16:15:18 +00:00
|
|
|
wxCheckBox* m_checkShow;
|
2020-08-21 15:54:24 +00:00
|
|
|
wxStaticText* m_staticText16;
|
2012-09-07 16:15:18 +00:00
|
|
|
wxPanel* m_panelShowPin;
|
2020-08-21 15:54:24 +00:00
|
|
|
wxCollapsiblePane* m_alternatesTurndown;
|
|
|
|
WX_GRID* m_alternatesGrid;
|
2022-12-13 20:47:28 +00:00
|
|
|
STD_BITMAP_BUTTON* m_addAlternate;
|
|
|
|
STD_BITMAP_BUTTON* m_deleteAlternate;
|
2012-09-07 16:15:18 +00:00
|
|
|
wxStdDialogButtonSizer* m_sdbSizerButtons;
|
|
|
|
wxButton* m_sdbSizerButtonsOK;
|
|
|
|
wxButton* m_sdbSizerButtonsCancel;
|
2019-08-15 19:08:42 +00:00
|
|
|
|
2022-11-04 12:04:32 +00:00
|
|
|
// Virtual event handlers, override them in your derived class
|
2020-08-21 15:54:24 +00:00
|
|
|
virtual void OnSize( wxSizeEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
|
2012-09-07 16:15:18 +00:00
|
|
|
virtual void OnPropertiesChange( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnPaintShowPanel( wxPaintEvent& event ) { event.Skip(); }
|
2023-01-26 15:46:03 +00:00
|
|
|
virtual void OnCollapsiblePaneChange( wxCollapsiblePaneEvent& event ) { event.Skip(); }
|
2020-08-21 15:54:24 +00:00
|
|
|
virtual void OnAddAlternate( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnDeleteAlternate( wxCommandEvent& event ) { event.Skip(); }
|
2019-08-15 19:08:42 +00:00
|
|
|
|
|
|
|
|
2012-09-07 16:15:18 +00:00
|
|
|
public:
|
2019-08-15 19:08:42 +00:00
|
|
|
|
2020-08-03 21:12:29 +00:00
|
|
|
DIALOG_PIN_PROPERTIES_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 );
|
2022-11-04 12:04:32 +00:00
|
|
|
|
2020-08-03 21:12:29 +00:00
|
|
|
~DIALOG_PIN_PROPERTIES_BASE();
|
2019-08-15 19:08:42 +00:00
|
|
|
|
2012-09-07 16:15:18 +00:00
|
|
|
};
|
|
|
|
|