kicad/pcbnew/dialogs/panel_setup_rules_base.h

67 lines
1.9 KiB
C
Raw Normal View History

2020-05-16 22:30:30 +00:00
///////////////////////////////////////////////////////////////////////////
2024-05-26 21:12:51 +00:00
// C++ code generated with wxFormBuilder (version 4.1.0-0-g733bf3d)
2020-05-16 22:30:30 +00:00
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#pragma once
#include <wx/artprov.h>
#include <wx/xrc/xmlres.h>
#include <wx/intl.h>
class STD_BITMAP_BUTTON;
class WX_HTML_REPORT_BOX;
2020-05-16 22:30:30 +00:00
#include <wx/string.h>
#include <wx/stattext.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/hyperlink.h>
2020-05-16 22:30:30 +00:00
#include <wx/sizer.h>
#include <wx/stc/stc.h>
#include <wx/bmpbuttn.h>
#include <wx/bitmap.h>
#include <wx/image.h>
#include <wx/icon.h>
#include <wx/button.h>
#include <wx/html/htmlwin.h>
2020-05-16 22:30:30 +00:00
#include <wx/panel.h>
///////////////////////////////////////////////////////////////////////////
#define ID_RULES_EDITOR 2240
2020-05-16 22:30:30 +00:00
///////////////////////////////////////////////////////////////////////////////
/// Class PANEL_SETUP_RULES_BASE
///////////////////////////////////////////////////////////////////////////////
class PANEL_SETUP_RULES_BASE : public wxPanel
{
private:
protected:
wxStaticText* m_title;
wxHyperlinkCtrl* m_syntaxHelp;
2023-01-11 01:00:47 +00:00
wxBoxSizer* m_topMargin;
2020-05-16 22:30:30 +00:00
wxStyledTextCtrl* m_textEditor;
STD_BITMAP_BUTTON* m_compileButton;
WX_HTML_REPORT_BOX* m_errorsReport;
2020-05-16 22:30:30 +00:00
// Virtual event handlers, override them in your derived class
virtual void OnSyntaxHelp( wxHyperlinkEvent& event ) { event.Skip(); }
virtual void OnContextMenu( wxMouseEvent& event ) { event.Skip(); }
virtual void OnCompile( wxCommandEvent& event ) { event.Skip(); }
virtual void OnErrorLinkClicked( wxHtmlLinkEvent& event ) { event.Skip(); }
2020-05-16 22:30:30 +00:00
public:
PANEL_SETUP_RULES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
2020-05-16 22:30:30 +00:00
~PANEL_SETUP_RULES_BASE();
};