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.

112 lines
3.9 KiB

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