30 const wxString& aTitle ) :
49 m_frame->ExecuteRemoteCommand( aEvent.GetLinkInfo().GetHref().ToStdString().c_str() );
55 wxPanel* panel =
new wxPanel(
m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize,
57 wxBoxSizer* sizer =
new wxBoxSizer( wxVERTICAL );
61 wxHW_SCROLLBAR_AUTO | wxBORDER_SIMPLE );
63 sizer->Add(
reporter, 1, wxEXPAND | wxALL, 5 );
64 panel->SetSizer( sizer );
69 reporter->Connect( wxEVT_COMMAND_HTML_LINK_CLICKED,
79 wxPanel* panel =
new wxPanel(
m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize,
98 wxCommandEvent* evt =
new wxCommandEvent( EDA_EVT_CLOSE_DIALOG_BOOK_REPORTER, aEvent.GetId() );
100 evt->SetEventObject(
this );
101 evt->SetString( GetName() );
102 wxWindow* parent = GetParent();
105 wxQueueEvent( parent, evt );
114 wxCloseEvent closeEvent;
122 wxCloseEvent closeEvent;
wxButton * m_sdbSizerApply
DIALOG_BOOK_REPORTER_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Report"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
void OnErrorLinkClicked(wxHtmlLinkEvent &aEvent)
void OnOK(wxCommandEvent &event) override
void OnClose(wxCloseEvent &aEvent) override
void OnApply(wxCommandEvent &event) override
DIALOG_BOOK_REPORTER(KIWAY_PLAYER *aParent, const wxString &aName, const wxString &aDialogTitle)
wxPanel * AddBlankPage(const wxString &aTitle)
WX_HTML_REPORT_BOX * AddHTMLPage(const wxString &aTitle)
void SetupStandardButtons(std::map< int, wxString > aLabels={})
bool IsQuasiModal() const
void finishDialogSettings()
In all dialogs, we must call the same functions to fix minimal dlg size, the default position and per...
A wxFrame capable of the OpenProjectFiles function, meaning it can load a portion of a KiCad project.
A slimmed down version of WX_HTML_REPORT_PANEL.
wxDEFINE_EVENT(EDA_EVT_CLOSE_DIALOG_BOOK_REPORTER, wxCommandEvent)
IbisParser parser & reporter