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.

117 lines
4.1 KiB

  1. ///////////////////////////////////////////////////////////////////////////
  2. // C++ code generated with wxFormBuilder (version Nov 6 2013)
  3. // http://www.wxformbuilder.org/
  4. //
  5. // PLEASE DO "NOT" EDIT THIS FILE!
  6. ///////////////////////////////////////////////////////////////////////////
  7. #ifndef __DIALOG_EDIT_COMPONENT_IN_LIB_BASE_H__
  8. #define __DIALOG_EDIT_COMPONENT_IN_LIB_BASE_H__
  9. #include <wx/artprov.h>
  10. #include <wx/xrc/xmlres.h>
  11. #include <wx/intl.h>
  12. class DIALOG_SHIM;
  13. #include "dialog_shim.h"
  14. #include <wx/string.h>
  15. #include <wx/checkbox.h>
  16. #include <wx/gdicmn.h>
  17. #include <wx/font.h>
  18. #include <wx/colour.h>
  19. #include <wx/settings.h>
  20. #include <wx/sizer.h>
  21. #include <wx/statbox.h>
  22. #include <wx/statline.h>
  23. #include <wx/stattext.h>
  24. #include <wx/spinctrl.h>
  25. #include <wx/panel.h>
  26. #include <wx/bitmap.h>
  27. #include <wx/image.h>
  28. #include <wx/icon.h>
  29. #include <wx/textctrl.h>
  30. #include <wx/button.h>
  31. #include <wx/listbox.h>
  32. #include <wx/notebook.h>
  33. #include <wx/dialog.h>
  34. ///////////////////////////////////////////////////////////////////////////
  35. #define ID_LIBEDIT_NOTEBOOK 1000
  36. #define ID_COPY_DOC_TO_ALIAS 1001
  37. #define ID_BROWSE_DOC_FILES 1002
  38. #define ID_ADD_ALIAS 1003
  39. #define ID_DELETE_ONE_ALIAS 1004
  40. #define ID_DELETE_ALL_ALIAS 1005
  41. #define ID_ADD_FOOTPRINT_FILTER 1006
  42. #define ID_DELETE_ONE_FOOTPRINT_FILTER 1007
  43. #define ID_DELETE_ALL_FOOTPRINT_FILTER 1008
  44. ///////////////////////////////////////////////////////////////////////////////
  45. /// Class DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE
  46. ///////////////////////////////////////////////////////////////////////////////
  47. class DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE : public DIALOG_SHIM
  48. {
  49. private:
  50. protected:
  51. wxNotebook* m_NoteBook;
  52. wxPanel* m_PanelBasic;
  53. wxCheckBox* m_AsConvertButt;
  54. wxCheckBox* m_ShowPinNumButt;
  55. wxCheckBox* m_ShowPinNameButt;
  56. wxCheckBox* m_PinsNameInsideButt;
  57. wxStaticLine* m_staticline3;
  58. wxStaticText* m_staticTextNbUnits;
  59. wxSpinCtrl* m_SelNumberOfUnits;
  60. wxStaticText* m_staticTextskew;
  61. wxSpinCtrl* m_SetSkew;
  62. wxStaticLine* m_staticline1;
  63. wxCheckBox* m_OptionPower;
  64. wxCheckBox* m_OptionPartsLocked;
  65. wxPanel* m_PanelDoc;
  66. wxStaticText* m_staticTextDescription;
  67. wxTextCtrl* m_DocCtrl;
  68. wxStaticText* m_staticTextKeywords;
  69. wxTextCtrl* m_KeywordsCtrl;
  70. wxStaticText* m_staticTextDocFileName;
  71. wxTextCtrl* m_DocfileCtrl;
  72. wxButton* m_ButtonCopyDoc;
  73. wxButton* m_buttonBrowseDocFiles;
  74. wxPanel* m_PanelAlias;
  75. wxStaticText* m_staticTextAlias;
  76. wxListBox* m_PartAliasListCtrl;
  77. wxButton* m_ButtonAddeAlias;
  78. wxButton* m_ButtonDeleteOneAlias;
  79. wxButton* m_ButtonDeleteAllAlias;
  80. wxPanel* m_PanelFootprintFilter;
  81. wxStaticText* m_staticTextFootprints;
  82. wxListBox* m_FootprintFilterListBox;
  83. wxButton* m_buttonAddFpF;
  84. wxButton* m_ButtonDeleteOneFootprintFilter;
  85. wxButton* m_ButtonDeleteAllFootprintFilter;
  86. wxStdDialogButtonSizer* m_stdSizerButton;
  87. wxButton* m_stdSizerButtonOK;
  88. wxButton* m_stdSizerButtonCancel;
  89. // Virtual event handlers, overide them in your derived class
  90. virtual void CopyDocFromRootToAlias( wxCommandEvent& event ) { event.Skip(); }
  91. virtual void BrowseAndSelectDocFile( wxCommandEvent& event ) { event.Skip(); }
  92. virtual void AddAliasOfPart( wxCommandEvent& event ) { event.Skip(); }
  93. virtual void DeleteAliasOfPart( wxCommandEvent& event ) { event.Skip(); }
  94. virtual void DeleteAllAliasOfPart( wxCommandEvent& event ) { event.Skip(); }
  95. virtual void AddFootprintFilter( wxCommandEvent& event ) { event.Skip(); }
  96. virtual void DeleteOneFootprintFilter( wxCommandEvent& event ) { event.Skip(); }
  97. virtual void DeleteAllFootprintFilter( wxCommandEvent& event ) { event.Skip(); }
  98. virtual void OnCancelClick( wxCommandEvent& event ) { event.Skip(); }
  99. virtual void OnOkClick( wxCommandEvent& event ) { event.Skip(); }
  100. public:
  101. DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE( wxWindow* parent, wxWindowID id = ID_LIBEDIT_NOTEBOOK, const wxString& title = _("Library Component Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
  102. ~DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE();
  103. };
  104. #endif //__DIALOG_EDIT_COMPONENT_IN_LIB_BASE_H__