2014-12-21 14:13:14 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2015-03-31 11:14:21 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Jun 5 2014)
|
2014-12-21 14:13:14 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO "NOT" EDIT THIS FILE!
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __WIZARD_ADD_FPLIB_BASE_H__
|
|
|
|
#define __WIZARD_ADD_FPLIB_BASE_H__
|
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
2015-03-31 11:14:21 +00:00
|
|
|
#include <wx/intl.h>
|
2014-12-21 14:13:14 +00:00
|
|
|
#include <wx/string.h>
|
2015-03-30 16:42:39 +00:00
|
|
|
#include <wx/stattext.h>
|
2014-12-21 14:13:14 +00:00
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
2015-03-30 16:42:39 +00:00
|
|
|
#include <wx/radiobut.h>
|
|
|
|
#include <wx/textctrl.h>
|
|
|
|
#include <wx/checkbox.h>
|
|
|
|
#include <wx/button.h>
|
2015-03-31 11:14:21 +00:00
|
|
|
#include <wx/sizer.h>
|
2014-12-21 14:13:14 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
2015-03-31 11:14:21 +00:00
|
|
|
#include <wx/statbmp.h>
|
|
|
|
#include <wx/hyperlink.h>
|
2015-03-30 16:42:39 +00:00
|
|
|
#include <wx/dirctrl.h>
|
|
|
|
#include <wx/checklst.h>
|
|
|
|
#include <wx/srchctrl.h>
|
|
|
|
#include <wx/dataview.h>
|
2014-12-21 14:13:14 +00:00
|
|
|
#include <wx/wizard.h>
|
|
|
|
#include <wx/dynarray.h>
|
|
|
|
WX_DEFINE_ARRAY_PTR( wxWizardPageSimple*, WizardPages );
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class WIZARD_FPLIB_TABLE_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class WIZARD_FPLIB_TABLE_BASE : public wxWizard
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
wxStaticText* m_staticText1;
|
2015-03-30 16:42:39 +00:00
|
|
|
wxRadioButton* m_radioAddLocal;
|
|
|
|
wxRadioButton* m_radioAddGithub;
|
|
|
|
wxTextCtrl* m_textCtrlGithubURL;
|
|
|
|
wxCheckBox* m_downloadGithub;
|
|
|
|
wxStaticText* m_downloadDir;
|
|
|
|
wxButton* m_btnBrowse;
|
|
|
|
wxStaticText* m_invalidDir;
|
2015-03-31 11:14:21 +00:00
|
|
|
wxStaticBitmap* m_bitmapRepo;
|
|
|
|
wxHyperlinkCtrl* m_hyperlinkGithubKicad;
|
2015-03-30 16:42:39 +00:00
|
|
|
wxStaticText* m_staticText7;
|
|
|
|
wxGenericDirCtrl* m_filePicker;
|
|
|
|
wxStaticText* m_staticText112;
|
|
|
|
wxCheckListBox* m_checkListGH;
|
|
|
|
wxButton* m_btnSelectAllGH;
|
|
|
|
wxButton* m_btnUnselectAllGH;
|
|
|
|
wxSearchCtrl* m_searchCtrlGH;
|
|
|
|
wxStaticText* m_staticText1121;
|
|
|
|
wxDataViewListCtrl* m_listCtrlReview;
|
|
|
|
wxDataViewColumn* m_dvLibName;
|
|
|
|
wxDataViewColumn* m_dvLibStatus;
|
|
|
|
wxDataViewColumn* m_dvLibFormat;
|
|
|
|
wxStaticText* m_staticText12;
|
|
|
|
wxRadioButton* m_radioGlobal;
|
|
|
|
wxRadioButton* m_radioProject;
|
2014-12-21 14:13:14 +00:00
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
2015-03-30 16:42:39 +00:00
|
|
|
virtual void OnWizardFinished( wxWizardEvent& event ) { event.Skip(); }
|
2014-12-21 14:13:14 +00:00
|
|
|
virtual void OnPageChanged( wxWizardEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnPageChanging( wxWizardEvent& event ) { event.Skip(); }
|
2015-03-30 16:42:39 +00:00
|
|
|
virtual void OnCheckSaveCopy( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnBrowseButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnSelectAllGH( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnUnselectAllGH( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnChangeSearch( wxCommandEvent& event ) { event.Skip(); }
|
2014-12-21 14:13:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2015-03-31 11:14:21 +00:00
|
|
|
WIZARD_FPLIB_TABLE_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Add Footprint Libraries Wizard"), const wxBitmap& bitmap = wxArtProvider::GetBitmap( wxART_HELP_BOOK, wxART_FRAME_ICON ), const wxPoint& pos = wxDefaultPosition, long style = wxCAPTION|wxCLOSE_BOX|wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxRESIZE_BORDER );
|
2014-12-21 14:13:14 +00:00
|
|
|
WizardPages m_pages;
|
|
|
|
~WIZARD_FPLIB_TABLE_BASE();
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //__WIZARD_ADD_FPLIB_BASE_H__
|