KiCad PCB EDA Suite
WX_HTML_REPORT_PANEL Class Reference

Class WX_HTML_REPORT_PANEL. More...

#include <wx_html_report_panel.h>

Inheritance diagram for WX_HTML_REPORT_PANEL:
WX_HTML_REPORT_PANEL_BASE

Classes

struct  REPORT_LINE
 

Public Member Functions

 WX_HTML_REPORT_PANEL (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(500, 300), long style=wxTAB_TRAVERSAL)
 
 ~WX_HTML_REPORT_PANEL ()
 
void MsgPanelSetMinSize (const wxSize &aMinSize)
 

Set the min size of the area which displays html messages:

More...
 
REPORTERReporter ()
 

returns the reporter object that reports to this panel

More...
 
void Report (const wxString &aText, REPORTER::SEVERITY aSeverity)
 

reports a string directly.

More...
 
void Clear ()
 

clears the report panel

More...
 
int Count (int severityMask)
 

return the number of messages matching the given severity mask.

More...
 
void SetLabel (const wxString &aLabel) override
 

sets the frame label

More...
 
void SetLazyUpdate (bool aLazyUpdate)
 

Sets the lasy update.

More...
 
void Flush ()
 

Forces updating the HTML page, after the report is built in lazy mode

More...
 
void SetVisibleSeverities (int aSeverities)
 

Set the visible severity filter.

More...
 
int GetVisibleSeverities ()
 > More...
 

Protected Attributes

wxStaticBoxSizer * m_box
 
wxFlexGridSizer * m_fgSizer
 
wxHtmlWindow * m_htmlView
 
wxStaticText * m_staticText3
 
wxCheckBox * m_checkBoxShowAll
 
wxCheckBox * m_checkBoxShowErrors
 
wxStaticBitmap * m_errorsBadge
 
wxCheckBox * m_checkBoxShowWarnings
 
wxStaticBitmap * m_warningsBadge
 
wxCheckBox * m_checkBoxShowInfos
 
wxCheckBox * m_checkBoxShowActions
 
wxButton * m_btnSaveReportToFile
 

Private Types

typedef std::vector< REPORT_LINEREPORT_LINES
 

Private Member Functions

wxString addHeader (const wxString &aBody)
 
wxString generateHtml (const REPORT_LINE &aLine)
 
wxString generatePlainText (const REPORT_LINE &aLine)
 
void updateBadges ()
 
void refreshView ()
 
void scrollToBottom ()
 
void syncCheckboxes ()
 
void onRightClick (wxMouseEvent &event) override
 
void onMenuEvent (wxMenuEvent &event)
 
void onCheckBoxShowAll (wxCommandEvent &event) override
 
void onCheckBoxShowWarnings (wxCommandEvent &event) override
 
void onCheckBoxShowErrors (wxCommandEvent &event) override
 
void onCheckBoxShowInfos (wxCommandEvent &event) override
 
void onCheckBoxShowActions (wxCommandEvent &event) override
 
void onBtnSaveToFile (wxCommandEvent &event) override
 

Private Attributes

REPORT_LINES m_report
 

copy of the report, stored for filtering

More...
 
WX_HTML_PANEL_REPORTER m_reporter
 

the reporter

More...
 
int m_severities
 

message severities to display (mask)

More...
 
bool m_showAll
 

show all messages flag (overrides m_severities)

More...
 
wxString m_html
 
bool m_lazyUpdate
 

Detailed Description

Class WX_HTML_REPORT_PANEL.

A widget for browsing a rich text error/status report. Used in numerous dialogs in eeschema and pcbnew. Provides error filtering functionality and saving report files.

The messages are reported throuth a REPORTER object

Definition at line 41 of file wx_html_report_panel.h.

Member Typedef Documentation

typedef std::vector<REPORT_LINE> WX_HTML_REPORT_PANEL::REPORT_LINES
private

Definition at line 90 of file wx_html_report_panel.h.

Constructor & Destructor Documentation

WX_HTML_REPORT_PANEL::WX_HTML_REPORT_PANEL ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxPoint pos = wxDefaultPosition,
const wxSize &  size = wxSize( 500,300 ),
long  style = wxTAB_TRAVERSAL 
)

Definition at line 28 of file wx_html_report_panel.cpp.

References addHeader(), WX_HTML_REPORT_PANEL_BASE::m_htmlView, onMenuEvent(), and syncCheckboxes().

32  :
33  WX_HTML_REPORT_PANEL_BASE( parent, id, pos, size, style ),
34  m_reporter( this ),
35  m_severities( -1 ),
36  m_showAll( true ),
37  m_lazyUpdate( false )
38 {
40  m_htmlView->SetPage( addHeader( "" ) );
41 
42  Connect( wxEVT_COMMAND_MENU_SELECTED,
43  wxMenuEventHandler( WX_HTML_REPORT_PANEL::onMenuEvent ), NULL, this );
44 }
wxString addHeader(const wxString &aBody)
WX_HTML_REPORT_PANEL_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL)
WX_HTML_PANEL_REPORTER m_reporter
the reporter
bool m_showAll
show all messages flag (overrides m_severities)
void onMenuEvent(wxMenuEvent &event)
int m_severities
message severities to display (mask)
WX_HTML_REPORT_PANEL::~WX_HTML_REPORT_PANEL ( )

Definition at line 47 of file wx_html_report_panel.cpp.

48 {
49 }

Member Function Documentation

wxString WX_HTML_REPORT_PANEL::addHeader ( const wxString &  aBody)
private

Definition at line 209 of file wx_html_report_panel.cpp.

References Format().

Referenced by Flush(), refreshView(), and WX_HTML_REPORT_PANEL().

210 {
211  wxColour bgcolor = wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOW );
212  wxColour fgcolor = wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOWTEXT );
213 
214  return wxString::Format( wxT( "<html><body bgcolor='%s' text='%s'>%s</body></html>" ),
215  bgcolor.GetAsString( wxC2S_HTML_SYNTAX ),
216  fgcolor.GetAsString( wxC2S_HTML_SYNTAX ),
217  aBody );
218 }
void Format(OUTPUTFORMATTER *out, int aNestLevel, int aCtl, CPTREE &aTree)
Function Format outputs a PTREE into s-expression format via an OUTPUTFORMATTER derivative.
Definition: ptree.cpp:205
void WX_HTML_REPORT_PANEL::Clear ( )

clears the report panel

Definition at line 407 of file wx_html_report_panel.cpp.

References m_html, and m_report.

Referenced by DIALOG_EXCHANGE_FOOTPRINTS::OnApplyClick(), DIALOG_ANNOTATE::OnApplyClick(), DIALOG_NETLIST::OnReadNetlistFileClick(), DIALOG_UPDATE_PCB::PerformUpdate(), and DIALOG_EXCHANGE_FOOTPRINTS::RebuildCmpList().

408 {
409  m_html.clear();
410  m_report.clear();
411 }
REPORT_LINES m_report
copy of the report, stored for filtering
int WX_HTML_REPORT_PANEL::Count ( int  severityMask)

return the number of messages matching the given severity mask.

Definition at line 221 of file wx_html_report_panel.cpp.

References m_report.

Referenced by updateBadges().

222 {
223  int count = 0;
224 
225  for( const REPORT_LINE& reportLine : m_report )
226  if( severityMask & reportLine.severity )
227  count++;
228 
229  return count;
230 }
REPORT_LINES m_report
copy of the report, stored for filtering
void WX_HTML_REPORT_PANEL::Flush ( )
wxString WX_HTML_REPORT_PANEL::generateHtml ( const REPORT_LINE aLine)
private

Definition at line 233 of file wx_html_report_panel.cpp.

References m_severities, m_showAll, WX_HTML_REPORT_PANEL::REPORT_LINE::message, REPORTER::RPT_ACTION, REPORTER::RPT_ERROR, REPORTER::RPT_INFO, REPORTER::RPT_WARNING, and WX_HTML_REPORT_PANEL::REPORT_LINE::severity.

Referenced by refreshView(), and Report().

234 {
235  wxString retv;
236 
237  if( !m_showAll && ! ( m_severities & aLine.severity ) )
238  return retv;
239 
240  switch( aLine.severity )
241  {
242  case REPORTER::RPT_ERROR:
243  retv = "<font color=\"red\" size=2><b>" + _( "Error: " ) + "</b></font><font size=2>" +
244  aLine.message + "</font><br>";
245  break;
247  retv = "<font color=\"orange\" size=2><b>" + _( "Warning: " ) +
248  "</b></font><font size=2>" + aLine.message + "</font><br>";
249  break;
250  case REPORTER::RPT_INFO:
251  retv = "<font color=\"dark gray\" size=2><b>" + _( "Info: " ) + "</b>" + aLine.message +
252  "</font><br>";
253  break;
255  retv = "<font color=\"dark green\" size=2>" + aLine.message + "</font><br>";
256  break;
257  default:
258  retv = "<font size=2>" + aLine.message + "</font><br>";
259  }
260 
261  return retv;
262 }
bool m_showAll
show all messages flag (overrides m_severities)
int m_severities
message severities to display (mask)
wxString WX_HTML_REPORT_PANEL::generatePlainText ( const REPORT_LINE aLine)
private

Definition at line 265 of file wx_html_report_panel.cpp.

References WX_HTML_REPORT_PANEL::REPORT_LINE::message, REPORTER::RPT_ERROR, REPORTER::RPT_INFO, REPORTER::RPT_WARNING, and WX_HTML_REPORT_PANEL::REPORT_LINE::severity.

Referenced by onBtnSaveToFile().

266 {
267  switch( aLine.severity )
268  {
269  case REPORTER::RPT_ERROR:
270  return _( "Error: " ) + aLine.message + wxT( "\n" );
272  return _( "Warning: " ) + aLine.message + wxT( "\n" );
273  case REPORTER::RPT_INFO:
274  return _( "Info: " ) + aLine.message + wxT( "\n" );
275  default:
276  return aLine.message + wxT( "\n" );
277  }
278 }
int WX_HTML_REPORT_PANEL::GetVisibleSeverities ( )

>

Returns
the visible severity filter.

If the m_showAll option is set, the mask is < 0

Definition at line 434 of file wx_html_report_panel.cpp.

References m_severities, and m_showAll.

Referenced by DIALOG_ANNOTATE::~DIALOG_ANNOTATE(), and DIALOG_NETLIST::~DIALOG_NETLIST().

435 {
436  return m_showAll ? m_severities | 0x80000000 : m_severities & ~0x80000000;
437 }
bool m_showAll
show all messages flag (overrides m_severities)
int m_severities
message severities to display (mask)
void WX_HTML_REPORT_PANEL::MsgPanelSetMinSize ( const wxSize &  aMinSize)

Set the min size of the area which displays html messages:

Definition at line 52 of file wx_html_report_panel.cpp.

References WX_HTML_REPORT_PANEL_BASE::m_fgSizer.

Referenced by DIALOG_NETLIST::DIALOG_NETLIST(), and DIALOG_ANNOTATE::InitValues().

53 {
54  m_fgSizer->SetMinSize( aMinSize );
55  GetSizer()->SetSizeHints( this );
56 }
void WX_HTML_REPORT_PANEL::onBtnSaveToFile ( wxCommandEvent &  event)
overrideprivatevirtual

Reimplemented from WX_HTML_REPORT_PANEL_BASE.

Definition at line 371 of file wx_html_report_panel.cpp.

References generatePlainText(), m_report, and TextFileWildcard().

372 {
373  wxFileName fn( "./report.txt" );
374 
375  wxFileDialog dlg( this, _( "Save Report to File" ), fn.GetPath(), fn.GetFullName(),
376  TextFileWildcard(), wxFD_SAVE | wxFD_OVERWRITE_PROMPT );
377 
378  if( dlg.ShowModal() != wxID_OK )
379  return;
380 
381  fn = dlg.GetPath();
382 
383  if( fn.GetExt().IsEmpty() )
384  fn.SetExt( "txt" );
385 
386  wxFile f( fn.GetFullPath(), wxFile::write );
387 
388  if( !f.IsOpened() )
389  {
390  wxString msg;
391 
392  msg.Printf( _( "Cannot write report to file \"%s\"." ),
393  fn.GetFullPath().GetData() );
394  wxMessageBox( msg, _( "File save error" ), wxOK | wxICON_ERROR, this );
395  return;
396  }
397 
398  for( const REPORT_LINE& l : m_report )
399  {
400  f.Write( generatePlainText( l ) );
401  }
402 
403  f.Close();
404 }
wxString generatePlainText(const REPORT_LINE &aLine)
REPORT_LINES m_report
copy of the report, stored for filtering
wxString TextFileWildcard()
void WX_HTML_REPORT_PANEL::onCheckBoxShowActions ( wxCommandEvent &  event)
overrideprivatevirtual

Reimplemented from WX_HTML_REPORT_PANEL_BASE.

Definition at line 360 of file wx_html_report_panel.cpp.

References m_severities, refreshView(), and REPORTER::RPT_ACTION.

361 {
362  if ( event.IsChecked() )
364  else
365  m_severities &= ~REPORTER::RPT_ACTION;
366 
367  refreshView();
368 }
Class REPORTER is a pure virtual class used to derive REPORTER objects from.
Definition: reporter.h:61
int m_severities
message severities to display (mask)
void WX_HTML_REPORT_PANEL::onCheckBoxShowAll ( wxCommandEvent &  event)
overrideprivatevirtual

Reimplemented from WX_HTML_REPORT_PANEL_BASE.

Definition at line 305 of file wx_html_report_panel.cpp.

References m_showAll, refreshView(), and syncCheckboxes().

306 {
307  if( event.IsChecked() )
308  m_showAll = true;
309  else
310  m_showAll = false;
311 
312  syncCheckboxes();
313  refreshView();
314 }
bool m_showAll
show all messages flag (overrides m_severities)
void WX_HTML_REPORT_PANEL::onCheckBoxShowErrors ( wxCommandEvent &  event)
overrideprivatevirtual

Reimplemented from WX_HTML_REPORT_PANEL_BASE.

Definition at line 338 of file wx_html_report_panel.cpp.

References m_severities, refreshView(), and REPORTER::RPT_ERROR.

339 {
340  if ( event.IsChecked() )
342  else
343  m_severities &= ~REPORTER::RPT_ERROR;
344 
345  refreshView();
346 }
Class REPORTER is a pure virtual class used to derive REPORTER objects from.
Definition: reporter.h:61
int m_severities
message severities to display (mask)
void WX_HTML_REPORT_PANEL::onCheckBoxShowInfos ( wxCommandEvent &  event)
overrideprivatevirtual

Reimplemented from WX_HTML_REPORT_PANEL_BASE.

Definition at line 349 of file wx_html_report_panel.cpp.

References m_severities, refreshView(), and REPORTER::RPT_INFO.

350 {
351  if ( event.IsChecked() )
353  else
354  m_severities &= ~REPORTER::RPT_INFO;
355 
356  refreshView();
357 }
Class REPORTER is a pure virtual class used to derive REPORTER objects from.
Definition: reporter.h:61
int m_severities
message severities to display (mask)
void WX_HTML_REPORT_PANEL::onCheckBoxShowWarnings ( wxCommandEvent &  event)
overrideprivatevirtual

Reimplemented from WX_HTML_REPORT_PANEL_BASE.

Definition at line 327 of file wx_html_report_panel.cpp.

References m_severities, refreshView(), and REPORTER::RPT_WARNING.

328 {
329  if ( event.IsChecked() )
331  else
332  m_severities &= ~REPORTER::RPT_WARNING;
333 
334  refreshView();
335 }
Class REPORTER is a pure virtual class used to derive REPORTER objects from.
Definition: reporter.h:61
int m_severities
message severities to display (mask)
void WX_HTML_REPORT_PANEL::onMenuEvent ( wxMenuEvent &  event)
private

Definition at line 289 of file wx_html_report_panel.cpp.

References WX_HTML_REPORT_PANEL_BASE::m_htmlView.

Referenced by WX_HTML_REPORT_PANEL().

290 {
291  if( event.GetId() == wxID_COPY )
292  {
293  if( wxTheClipboard->Open() )
294  {
295  bool primarySelection = wxTheClipboard->IsUsingPrimarySelection();
296  wxTheClipboard->UsePrimarySelection( false ); // required to use the main clipboard
297  wxTheClipboard->SetData( new wxTextDataObject( m_htmlView->SelectionToText() ) );
298  wxTheClipboard->Close();
299  wxTheClipboard->UsePrimarySelection( primarySelection );
300  }
301  }
302 }
void WX_HTML_REPORT_PANEL::onRightClick ( wxMouseEvent &  event)
overrideprivatevirtual

Reimplemented from WX_HTML_REPORT_PANEL_BASE.

Definition at line 281 of file wx_html_report_panel.cpp.

282 {
283  wxMenu popup;
284  popup.Append( wxID_COPY, "Copy" );
285  PopupMenu( &popup );
286 }
void WX_HTML_REPORT_PANEL::refreshView ( )
private

Definition at line 195 of file wx_html_report_panel.cpp.

References addHeader(), generateHtml(), WX_HTML_REPORT_PANEL_BASE::m_htmlView, m_report, and scrollToBottom().

Referenced by onCheckBoxShowActions(), onCheckBoxShowAll(), onCheckBoxShowErrors(), onCheckBoxShowInfos(), and onCheckBoxShowWarnings().

196 {
197  wxString html;
198 
199  for( const REPORT_LINE& l : m_report )
200  {
201  html += generateHtml( l );
202  }
203 
204  m_htmlView->SetPage( addHeader( html ) );
205  scrollToBottom();
206 }
wxString addHeader(const wxString &aBody)
REPORT_LINES m_report
copy of the report, stored for filtering
wxString generateHtml(const REPORT_LINE &aLine)
void WX_HTML_REPORT_PANEL::Report ( const wxString &  aText,
REPORTER::SEVERITY  aSeverity 
)

reports a string directly.

Definition at line 65 of file wx_html_report_panel.cpp.

References generateHtml(), m_html, WX_HTML_REPORT_PANEL_BASE::m_htmlView, m_lazyUpdate, m_report, WX_HTML_REPORT_PANEL::REPORT_LINE::message, scrollToBottom(), and WX_HTML_REPORT_PANEL::REPORT_LINE::severity.

66 {
67  REPORT_LINE line;
68  line.message = aText;
69  line.severity = aSeverity;
70 
71  m_report.push_back( line );
72 
73  m_html += generateHtml( line );
74 
75  if( !m_lazyUpdate )
76  {
77  m_htmlView->AppendToPage( generateHtml( line ) );
79  }
80 }
REPORT_LINES m_report
copy of the report, stored for filtering
wxString generateHtml(const REPORT_LINE &aLine)
void WX_HTML_REPORT_PANEL::scrollToBottom ( )
private

Definition at line 96 of file wx_html_report_panel.cpp.

References BADGE_SIZE_DU(), WX_HTML_REPORT_PANEL_BASE::m_htmlView, and updateBadges().

Referenced by Flush(), refreshView(), and Report().

97 {
98  int x, y, xUnit, yUnit;
99 
100  m_htmlView->GetVirtualSize( &x, &y );
101  m_htmlView->GetScrollPixelsPerUnit( &xUnit, &yUnit );
102  m_htmlView->Scroll( 0, y / yUnit );
103 
104  updateBadges();
105 }
void WX_HTML_REPORT_PANEL::SetLabel ( const wxString &  aLabel)
override

sets the frame label

Definition at line 414 of file wx_html_report_panel.cpp.

References WX_HTML_REPORT_PANEL_BASE::m_box.

Referenced by DIALOG_ANNOTATE::DIALOG_ANNOTATE(), DIALOG_UPDATE_PCB::DIALOG_UPDATE_PCB(), and DIALOG_UPDATE_PCB::OnUpdateClick().

415 {
416  m_box->GetStaticBox()->SetLabel( aLabel );
417 }
void WX_HTML_REPORT_PANEL::SetLazyUpdate ( bool  aLazyUpdate)

Sets the lasy update.

If this mode is on, messages are stored but the display

is not updated (Updating display can be very time consumming if there are many messages) A call to Flush() will be needed after build the report

Definition at line 83 of file wx_html_report_panel.cpp.

References m_lazyUpdate.

Referenced by DIALOG_UPDATE_PCB::DIALOG_UPDATE_PCB(), DIALOG_ANNOTATE::OnApplyClick(), and DIALOG_NETLIST::OnReadNetlistFileClick().

84 {
85  m_lazyUpdate = aLazyUpdate;
86 }
void WX_HTML_REPORT_PANEL::SetVisibleSeverities ( int  aSeverities)

Set the visible severity filter.

if aSeverities < 0 the m_showAll option is set

Definition at line 420 of file wx_html_report_panel.cpp.

References m_severities, m_showAll, and syncCheckboxes().

Referenced by DIALOG_NETLIST::DIALOG_NETLIST(), DIALOG_UPDATE_PCB::DIALOG_UPDATE_PCB(), and DIALOG_ANNOTATE::InitValues().

421 {
422  if( aSeverities < 0 )
423  m_showAll = true;
424  else
425  {
426  m_showAll = false;
427  m_severities = aSeverities;
428  }
429 
430  syncCheckboxes();
431 }
bool m_showAll
show all messages flag (overrides m_severities)
int m_severities
message severities to display (mask)
void WX_HTML_REPORT_PANEL::syncCheckboxes ( )
private

Definition at line 317 of file wx_html_report_panel.cpp.

References WX_HTML_REPORT_PANEL_BASE::m_checkBoxShowActions, WX_HTML_REPORT_PANEL_BASE::m_checkBoxShowAll, WX_HTML_REPORT_PANEL_BASE::m_checkBoxShowErrors, WX_HTML_REPORT_PANEL_BASE::m_checkBoxShowInfos, WX_HTML_REPORT_PANEL_BASE::m_checkBoxShowWarnings, m_severities, m_showAll, REPORTER::RPT_ACTION, REPORTER::RPT_ERROR, REPORTER::RPT_INFO, and REPORTER::RPT_WARNING.

Referenced by onCheckBoxShowAll(), SetVisibleSeverities(), and WX_HTML_REPORT_PANEL().

void WX_HTML_REPORT_PANEL::updateBadges ( )
private

Definition at line 171 of file wx_html_report_panel.cpp.

References Count(), WX_HTML_REPORT_PANEL_BASE::m_errorsBadge, WX_HTML_REPORT_PANEL_BASE::m_warningsBadge, makeBadge(), REPORTER::RPT_ERROR, and REPORTER::RPT_WARNING.

Referenced by scrollToBottom().

172 {
173  int count = Count( REPORTER::RPT_ERROR );
174 
175  if( count > 0 )
176  {
177  m_errorsBadge->SetBitmap( makeBadge( REPORTER::RPT_ERROR, count, m_errorsBadge ) );
178  m_errorsBadge->Show( true );
179  }
180  else
181  m_errorsBadge->Show( false );
182 
183  count = Count( REPORTER::RPT_WARNING );
184 
185  if( count > 0 )
186  {
188  m_warningsBadge->Show( true );
189  }
190  else
191  m_warningsBadge->Show( false );
192 }
static wxBitmap makeBadge(REPORTER::SEVERITY aStyle, int aCount, wxWindow *aWindow)
int Count(int severityMask)
return the number of messages matching the given severity mask.

Member Data Documentation

wxStaticBoxSizer* WX_HTML_REPORT_PANEL_BASE::m_box
protectedinherited
wxButton* WX_HTML_REPORT_PANEL_BASE::m_btnSaveReportToFile
protectedinherited
wxCheckBox* WX_HTML_REPORT_PANEL_BASE::m_checkBoxShowActions
protectedinherited
wxCheckBox* WX_HTML_REPORT_PANEL_BASE::m_checkBoxShowAll
protectedinherited
wxCheckBox* WX_HTML_REPORT_PANEL_BASE::m_checkBoxShowErrors
protectedinherited
wxCheckBox* WX_HTML_REPORT_PANEL_BASE::m_checkBoxShowInfos
protectedinherited
wxCheckBox* WX_HTML_REPORT_PANEL_BASE::m_checkBoxShowWarnings
protectedinherited
wxStaticBitmap* WX_HTML_REPORT_PANEL_BASE::m_errorsBadge
protectedinherited
wxFlexGridSizer* WX_HTML_REPORT_PANEL_BASE::m_fgSizer
protectedinherited
wxString WX_HTML_REPORT_PANEL::m_html
private

Definition at line 123 of file wx_html_report_panel.h.

Referenced by Clear(), Flush(), and Report().

bool WX_HTML_REPORT_PANEL::m_lazyUpdate
private

Definition at line 125 of file wx_html_report_panel.h.

Referenced by Report(), and SetLazyUpdate().

REPORT_LINES WX_HTML_REPORT_PANEL::m_report
private

copy of the report, stored for filtering

Definition at line 112 of file wx_html_report_panel.h.

Referenced by Clear(), Count(), onBtnSaveToFile(), refreshView(), and Report().

WX_HTML_PANEL_REPORTER WX_HTML_REPORT_PANEL::m_reporter
private

the reporter

Definition at line 115 of file wx_html_report_panel.h.

Referenced by Reporter().

int WX_HTML_REPORT_PANEL::m_severities
private
bool WX_HTML_REPORT_PANEL::m_showAll
private

show all messages flag (overrides m_severities)

Definition at line 121 of file wx_html_report_panel.h.

Referenced by generateHtml(), GetVisibleSeverities(), onCheckBoxShowAll(), SetVisibleSeverities(), and syncCheckboxes().

wxStaticText* WX_HTML_REPORT_PANEL_BASE::m_staticText3
protectedinherited
wxStaticBitmap* WX_HTML_REPORT_PANEL_BASE::m_warningsBadge
protectedinherited

The documentation for this class was generated from the following files: