33 const wxString& aTitle ) :
57 wxPanel* panel =
new wxPanel(
m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize,
59 wxBoxSizer* sizer =
new wxBoxSizer( wxVERTICAL );
63 wxHW_SCROLLBAR_AUTO | wxBORDER_SIMPLE );
65 sizer->Add( reporter, 1, wxEXPAND | wxALL, 5 );
66 panel->SetSizer( sizer );
71 reporter->Connect( wxEVT_COMMAND_HTML_LINK_CLICKED,
81 wxPanel* panel =
new wxPanel(
m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize,
100 wxCommandEvent* evt =
new wxCommandEvent( EDA_EVT_CLOSE_DIALOG_BOOK_REPORTER, wxID_ANY );
102 evt->SetEventObject(
this );
103 evt->SetString( GetName() );
104 wxWindow* parent = GetParent();
107 wxQueueEvent( parent, evt );
Class DIALOG_BOOK_REPORTER_BASE.
void OnErrorLinkClicked(wxHtmlLinkEvent &aEvent)
void OnClose(wxCloseEvent &aEvent) 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.
virtual void ExecuteRemoteCommand(const char *cmdline)
Execute a remote command sent via socket (to port KICAD_PCB_PORT_SERVICE_NUMBER, currently 4242).
EDA_UNITS GetUserUnits() const
A slimmed down version of WX_HTML_REPORT_PANEL.
void SetUnits(EDA_UNITS aUnits)
wxDEFINE_EVENT(EDA_EVT_CLOSE_DIALOG_BOOK_REPORTER, wxCommandEvent)