34 const wxString& aTitle ) :
58 wxPanel* panel =
new wxPanel(
m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize,
60 wxBoxSizer* sizer =
new wxBoxSizer( wxVERTICAL );
64 wxHW_SCROLLBAR_AUTO | wxBORDER_SIMPLE );
66 sizer->Add( reporter, 1, wxEXPAND | wxALL, 5 );
67 panel->SetSizer( sizer );
72 reporter->Connect( wxEVT_COMMAND_HTML_LINK_CLICKED,
82 wxPanel* panel =
new wxPanel(
m_notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize,
101 wxCommandEvent* evt =
new wxCommandEvent( EDA_EVT_CLOSE_DIALOG_BOOK_REPORTER, wxID_ANY );
103 evt->SetEventObject(
this );
104 evt->SetString( GetName() );
105 wxWindow* parent = GetParent();
108 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)