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.

115 lines
4.2 KiB

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