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_
|
|
|
|
|
2009-08-18 11:07:21 +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:
|
2010-11-19 16:28:46 +00:00
|
|
|
LIB_EDIT_FRAME* m_Parent;
|
2009-08-18 11:07:21 +00:00
|
|
|
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:
|
|
|
|
void Init();
|
|
|
|
void InitPanelDoc();
|
|
|
|
void InitBasicPanel();
|
|
|
|
void OnCancelClick( wxCommandEvent& event );
|
|
|
|
void OnOkClick(wxCommandEvent& event);
|
2007-06-05 12:10:51 +00:00
|
|
|
void DeleteAllAliasOfPart(wxCommandEvent& event);
|
|
|
|
void DeleteAliasOfPart(wxCommandEvent& event);
|
|
|
|
void AddAliasOfPart(wxCommandEvent& event);
|
|
|
|
bool ChangeNbUnitsPerPackage(int newUnit);
|
2007-09-13 11:55:46 +00:00
|
|
|
bool SetUnsetConvert();
|
2007-06-05 12:10:51 +00:00
|
|
|
void CopyDocToAlias(wxCommandEvent& event);
|
|
|
|
void BrowseAndSelectDocFile(wxCommandEvent& event);
|
|
|
|
|
|
|
|
void DeleteAllFootprintFilter(wxCommandEvent& event);
|
|
|
|
void DeleteOneFootprintFilter(wxCommandEvent& event);
|
|
|
|
void AddFootprintFilter(wxCommandEvent& event);
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
// _DIALOG_EDIT_COMPONENT_IN_LIB_H_
|