You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

83 lines
2.6 KiB

  1. ///////////////////////////////////////////////////////////////////////////
  2. // C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
  3. // http://www.wxformbuilder.org/
  4. //
  5. // PLEASE DO *NOT* EDIT THIS FILE!
  6. ///////////////////////////////////////////////////////////////////////////
  7. #pragma once
  8. #include <wx/artprov.h>
  9. #include <wx/xrc/xmlres.h>
  10. #include <wx/intl.h>
  11. class WX_INFOBAR;
  12. #include "dialog_shim.h"
  13. #include <wx/infobar.h>
  14. #include <wx/gdicmn.h>
  15. #include <wx/font.h>
  16. #include <wx/colour.h>
  17. #include <wx/settings.h>
  18. #include <wx/string.h>
  19. #include <wx/stattext.h>
  20. #include <wx/textctrl.h>
  21. #include <wx/combobox.h>
  22. #include <wx/spinctrl.h>
  23. #include <wx/sizer.h>
  24. #include <wx/checkbox.h>
  25. #include <wx/button.h>
  26. #include <wx/dialog.h>
  27. ///////////////////////////////////////////////////////////////////////////
  28. ///////////////////////////////////////////////////////////////////////////////
  29. /// Class DIALOG_LIB_NEW_SYMBOL_BASE
  30. ///////////////////////////////////////////////////////////////////////////////
  31. class DIALOG_LIB_NEW_SYMBOL_BASE : public DIALOG_SHIM
  32. {
  33. DECLARE_EVENT_TABLE()
  34. private:
  35. // Private event handlers
  36. void _wxFB_OnParentSymbolSelect( wxCommandEvent& event ){ OnParentSymbolSelect( event ); }
  37. void _wxFB_onPowerCheckBox( wxCommandEvent& event ){ onPowerCheckBox( event ); }
  38. protected:
  39. WX_INFOBAR* m_infoBar;
  40. wxStaticText* m_staticTextName;
  41. wxTextCtrl* m_textName;
  42. wxStaticText* m_staticText5;
  43. wxComboBox* m_comboInheritanceSelect;
  44. wxStaticText* m_staticTextDes;
  45. wxTextCtrl* m_textReference;
  46. wxStaticText* m_staticTextUnits;
  47. wxSpinCtrl* m_spinPartCount;
  48. wxCheckBox* m_checkUnitsInterchangeable;
  49. wxCheckBox* m_checkHasConversion;
  50. wxCheckBox* m_checkIsPowerSymbol;
  51. wxCheckBox* m_excludeFromBomCheckBox;
  52. wxCheckBox* m_excludeFromBoardCheckBox;
  53. wxStaticText* m_staticPinTextPositionLabel;
  54. wxTextCtrl* m_textPinTextPosition;
  55. wxStaticText* m_staticPinTextPositionUnits;
  56. wxCheckBox* m_checkShowPinNumber;
  57. wxCheckBox* m_checkShowPinName;
  58. wxCheckBox* m_checkShowPinNameInside;
  59. wxStdDialogButtonSizer* m_sdbSizer;
  60. wxButton* m_sdbSizerOK;
  61. wxButton* m_sdbSizerCancel;
  62. // Virtual event handlers, override them in your derived class
  63. virtual void OnParentSymbolSelect( wxCommandEvent& event ) { event.Skip(); }
  64. virtual void onPowerCheckBox( wxCommandEvent& event ) { event.Skip(); }
  65. public:
  66. DIALOG_LIB_NEW_SYMBOL_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("New Symbol"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
  67. ~DIALOG_LIB_NEW_SYMBOL_BASE();
  68. };