mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-15 02:33:15 +02:00
* Create separate NETLIST object to hold contents of netlist files. * Read entire netlist and footprint link files before making applying changes to board. * Add BOARD::ReplaceNetlist() function to eliminate the calls between the NETLIST_READER, PCB_EDIT_FRAME, and BOARD objects. * Change placement of new components below the center of the current board or in the center of the page if the BOARD is empty. * Add dry run option to netlist dialog to print changes to message control without making changes. * Add button to netlist dialog to allow saving contents of message control to a file. * Eliminate the need to compile netlist_reader_*.cpp in both CvPcb and Pcbnew. * Add netlist_reader_*.cpp to the pcbcommon library. * Remove redundant load component link file code from CvPcb. * Modify CvPcb new to work with the new NETLIST_READER object. * Add compare() function and < and == operators to FPID object. * Add REPORTER class to hide an underlying string writing implementation for use in low level objects. Thank you Dick for the idea. * Lots of minor coding policy, Doxygen comment, and missing license fixes.
86 lines
2.8 KiB
C++
86 lines
2.8 KiB
C++
///////////////////////////////////////////////////////////////////////////
|
|
// C++ code generated with wxFormBuilder (version Oct 8 2012)
|
|
// http://www.wxformbuilder.org/
|
|
//
|
|
// PLEASE DO "NOT" EDIT THIS FILE!
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef __DIALOG_NETLIST_FBP_H__
|
|
#define __DIALOG_NETLIST_FBP_H__
|
|
|
|
#include <wx/artprov.h>
|
|
#include <wx/xrc/xmlres.h>
|
|
#include <wx/intl.h>
|
|
class DIALOG_SHIM;
|
|
|
|
#include "dialog_shim.h"
|
|
#include <wx/string.h>
|
|
#include <wx/radiobox.h>
|
|
#include <wx/gdicmn.h>
|
|
#include <wx/font.h>
|
|
#include <wx/colour.h>
|
|
#include <wx/settings.h>
|
|
#include <wx/sizer.h>
|
|
#include <wx/button.h>
|
|
#include <wx/checkbox.h>
|
|
#include <wx/statline.h>
|
|
#include <wx/stattext.h>
|
|
#include <wx/textctrl.h>
|
|
#include <wx/dialog.h>
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
/// Class DIALOG_NETLIST_FBP
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
class DIALOG_NETLIST_FBP : public DIALOG_SHIM
|
|
{
|
|
private:
|
|
|
|
protected:
|
|
enum
|
|
{
|
|
ID_OPEN_NELIST = 1000,
|
|
ID_READ_NETLIST_FILE,
|
|
ID_TEST_NETLIST,
|
|
ID_COMPILE_RATSNEST
|
|
};
|
|
|
|
wxRadioBox* m_Select_By_Timestamp;
|
|
wxRadioBox* m_cmpNameSourceOpt;
|
|
wxRadioBox* m_ChangeExistingFootprintCtrl;
|
|
wxRadioBox* m_DeleteBadTracks;
|
|
wxRadioBox* m_RemoveExtraFootprintsCtrl;
|
|
wxButton* m_buttonBrowse;
|
|
wxButton* m_buttonRead;
|
|
wxButton* m_buttonFPTest;
|
|
wxButton* m_buttonRebild;
|
|
wxButton* m_buttonSaveMessages;
|
|
wxButton* m_buttonClose;
|
|
wxCheckBox* m_checkDryRun;
|
|
wxStaticLine* m_staticline1;
|
|
wxStaticText* m_staticTextNetfilename;
|
|
wxTextCtrl* m_NetlistFilenameCtrl;
|
|
wxStaticText* m_staticText1;
|
|
wxTextCtrl* m_MessageWindow;
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
|
virtual void OnOpenNetlistClick( wxCommandEvent& event ) { event.Skip(); }
|
|
virtual void OnReadNetlistFileClick( wxCommandEvent& event ) { event.Skip(); }
|
|
virtual void OnUpdateUIValidNetlistFile( wxUpdateUIEvent& event ) { event.Skip(); }
|
|
virtual void OnTestFootprintsClick( wxCommandEvent& event ) { event.Skip(); }
|
|
virtual void OnCompileRatsnestClick( wxCommandEvent& event ) { event.Skip(); }
|
|
virtual void OnSaveMessagesToFile( wxCommandEvent& event ) { event.Skip(); }
|
|
virtual void OnUpdateUISaveMessagesToFile( wxUpdateUIEvent& event ) { event.Skip(); }
|
|
virtual void OnCancelClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
|
|
public:
|
|
|
|
DIALOG_NETLIST_FBP( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Netlist"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
|
~DIALOG_NETLIST_FBP();
|
|
|
|
};
|
|
|
|
#endif //__DIALOG_NETLIST_FBP_H__
|