dialog_pcbnew_config_libs_and_paths_fbp.h 3.16 KB
Newer Older
1
///////////////////////////////////////////////////////////////////////////
2
// C++ code generated with wxFormBuilder (version Oct  8 2012)
3 4 5 6 7
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

8 9
#ifndef __DIALOG_PCBNEW_CONFIG_LIBS_AND_PATHS_FBP_H__
#define __DIALOG_PCBNEW_CONFIG_LIBS_AND_PATHS_FBP_H__
10

11 12
#include <wx/artprov.h>
#include <wx/xrc/xmlres.h>
13
#include <wx/intl.h>
14 15
class DIALOG_SHIM;

16
#include "dialog_shim.h"
17
#include <wx/string.h>
18 19
#include <wx/stattext.h>
#include <wx/gdicmn.h>
20 21 22
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
23
#include <wx/listbox.h>
24
#include <wx/button.h>
25
#include <wx/sizer.h>
26 27 28 29 30 31 32 33 34
#include <wx/textctrl.h>
#include <wx/statline.h>
#include <wx/dialog.h>

///////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////
/// Class DIALOG_PCBNEW_CONFIG_LIBS_FBP
///////////////////////////////////////////////////////////////////////////////
35
class DIALOG_PCBNEW_CONFIG_LIBS_FBP : public DIALOG_SHIM
36 37 38 39 40 41 42 43 44 45 46
{
	private:
	
	protected:
		enum
		{
			ID_ADD_LIB = 1000,
			ID_REMOVE_LIB,
			wxID_BROWSE_MOD_DOC,
			ID_LIB_PATH_SEL,
			wxID_INSERT_PATH,
47
			wxID_REMOVE_PATH
48 49
		};
		
50
		wxStaticText* m_staticTextLibs;
51 52 53 54 55 56
		wxListBox* m_ListLibr;
		wxButton* m_buttonAddLib;
		wxButton* m_buttonIns;
		wxButton* m_buttonRemoveLib;
		wxButton* m_buttonUp;
		wxButton* m_buttonDown;
57
		wxStaticText* m_staticTextModulesDoc;
58 59
		wxTextCtrl* m_TextHelpModulesFileName;
		wxButton* m_buttonModDoc;
60
		wxStaticText* m_staticTextPaths;
61 62 63 64
		wxListBox* m_listUserPaths;
		wxButton* m_buttonAddPath;
		wxButton* m_buttonInsPath;
		wxButton* m_buttonRemovePath;
65
		wxStaticText* m_staticTextPathList;
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
		wxListBox* m_DefaultLibraryPathslistBox;
		wxStaticLine* m_staticline1;
		wxStdDialogButtonSizer* m_sdbSizer1;
		wxButton* m_sdbSizer1OK;
		wxButton* m_sdbSizer1Cancel;
		
		// Virtual event handlers, overide them in your derived class
		virtual void OnCloseWindow( wxCloseEvent& event ) { event.Skip(); }
		virtual void OnAddOrInsertLibClick( wxCommandEvent& event ) { event.Skip(); }
		virtual void OnRemoveLibClick( wxCommandEvent& event ) { event.Skip(); }
		virtual void OnButtonUpClick( wxCommandEvent& event ) { event.Skip(); }
		virtual void OnButtonDownClick( wxCommandEvent& event ) { event.Skip(); }
		virtual void OnBrowseModDocFile( wxCommandEvent& event ) { event.Skip(); }
		virtual void OnAddOrInsertPath( wxCommandEvent& event ) { event.Skip(); }
		virtual void OnRemoveUserPath( wxCommandEvent& event ) { event.Skip(); }
		virtual void OnCancelClick( wxCommandEvent& event ) { event.Skip(); }
		virtual void OnOkClick( wxCommandEvent& event ) { event.Skip(); }
		
	
	public:
		
87
		DIALOG_PCBNEW_CONFIG_LIBS_FBP( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 530,540 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER ); 
88 89 90 91
		~DIALOG_PCBNEW_CONFIG_LIBS_FBP();
	
};

92
#endif //__DIALOG_PCBNEW_CONFIG_LIBS_AND_PATHS_FBP_H__