2007-06-05 12:10:51 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: dialog_edit_component_in_lib.h
|
|
|
|
// Author: jean-pierre Charras
|
2009-08-18 11:07:21 +00:00
|
|
|
// Licence: GPL
|
2007-06-05 12:10:51 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef _DIALOG_EDIT_COMPONENT_IN_LIB_H_
|
|
|
|
#define _DIALOG_EDIT_COMPONENT_IN_LIB_H_
|
|
|
|
|
2012-01-23 04:33:36 +00:00
|
|
|
#include <dialog_edit_component_in_lib_base.h>
|
2007-06-05 12:10:51 +00:00
|
|
|
|
|
|
|
|
2009-08-18 11:07:21 +00:00
|
|
|
class DIALOG_EDIT_COMPONENT_IN_LIBRARY: public DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE
|
2008-12-31 15:01:29 +00:00
|
|
|
{
|
2009-08-18 11:07:21 +00:00
|
|
|
public:
|
2012-01-23 04:33:36 +00:00
|
|
|
LIB_EDIT_FRAME* m_Parent;
|
|
|
|
bool m_RecreateToolbar;
|
|
|
|
int m_AliasLocation;
|
2007-06-05 12:10:51 +00:00
|
|
|
|
|
|
|
public:
|
|
|
|
/// Constructors
|
2010-11-19 16:28:46 +00:00
|
|
|
DIALOG_EDIT_COMPONENT_IN_LIBRARY( LIB_EDIT_FRAME* parent);
|
2009-08-18 11:07:21 +00:00
|
|
|
~DIALOG_EDIT_COMPONENT_IN_LIBRARY();
|
|
|
|
|
|
|
|
private:
|
2011-09-20 18:19:09 +00:00
|
|
|
void initDlg();
|
2009-08-18 11:07:21 +00:00
|
|
|
void InitPanelDoc();
|
|
|
|
void InitBasicPanel();
|
2012-01-23 04:33:36 +00:00
|
|
|
void OnCancelClick( wxCommandEvent& event );
|
|
|
|
void OnOkClick(wxCommandEvent& event);
|
|
|
|
void DeleteAllAliasOfPart(wxCommandEvent& event);
|
|
|
|
void DeleteAliasOfPart(wxCommandEvent& event);
|
|
|
|
void AddAliasOfPart(wxCommandEvent& event);
|
|
|
|
bool ChangeNbUnitsPerPackage(int newUnit);
|
|
|
|
bool SetUnsetConvert();
|
2012-05-23 10:06:33 +00:00
|
|
|
void CopyDocFromRootToAlias(wxCommandEvent& event);
|
2012-01-23 04:33:36 +00:00
|
|
|
void BrowseAndSelectDocFile(wxCommandEvent& event);
|
|
|
|
|
|
|
|
void DeleteAllFootprintFilter(wxCommandEvent& event);
|
|
|
|
void DeleteOneFootprintFilter(wxCommandEvent& event);
|
|
|
|
void AddFootprintFilter(wxCommandEvent& event);
|
2007-06-05 12:10:51 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
// _DIALOG_EDIT_COMPONENT_IN_LIB_H_
|