KiCad PCB EDA Suite
dialog_about.cpp
Go to the documentation of this file.
1 /*
2  * This program source code file is part of KiCad, a free EDA CAD application.
3  *
4  * Copyright (C) 2010 Rafael Sokolowski <Rafael.Sokolowski@web.de>
5  * Copyright (C) 2017-2021 KiCad Developers, see CHANGELOG.TXT for contributors.
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version 2
10  * of the License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, you may find one here:
19  * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
20  * or you may search the http://www.gnu.org website for the version 2 license,
21  * or you may write to the Free Software Foundation, Inc.,
22  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
23  */
24 
25 
26 #include <config.h>
27 #include <string>
28 
29 #include <wx/clipbrd.h>
30 #include <wx/msgdlg.h>
31 #include <wx/hyperlink.h>
32 
33 /* All KiCad icons are linked into shared library 'libbitmaps.a'.
34  * Icons:
35  * preference_xpm; // Icon for 'Developers' tab
36  * editor_xpm; // Icon for 'Doc Writers' tab
37  * color_materials_xpm; // Icon for 'Artists' tab
38  * language_xpm; // Icon for 'Translators' tab
39  * right_xpm; // Right arrow icon for list items
40  * info_xpm; // Bulb for description tab
41  * tools_xpm; // Sheet of paper icon for license info tab
42  */
43 #include <bitmaps.h>
44 #include <build_version.h>
46 #include <tool/tool_manager.h>
47 
48 #include "dialog_about.h"
49 
50 
52  : DIALOG_ABOUT_BASE( aParent ), m_info( aAppInfo )
53 {
54  wxASSERT( aParent != nullptr );
55 
56  // TODO: Change these to 16x16 versions when available
57  m_images = new wxImageList( 24, 24, false, 9 );
58 
59  m_images->Add( KiBitmap( info_xpm ) ); // INFORMATION
60  m_images->Add( KiBitmap( recent_xpm ) ); // VERSION
61  m_images->Add( KiBitmap( preference_xpm ) ); // DEVELOPERS
62  m_images->Add( KiBitmap( editor_xpm ) ); // DOCWRITERS
63  m_images->Add( KiBitmap( library_xpm ) ); // LIBRARIANS
64  m_images->Add( KiBitmap( color_materials_xpm ) ); // ARTISTS
65  m_images->Add( KiBitmap( language_xpm ) ); // TRANSLATORS
66  m_images->Add( KiBitmap( zip_xpm ) ); // PACKAGERS
67  m_images->Add( KiBitmap( tools_xpm ) ); // LICENSE
68 
69  m_notebook->SetImageList( m_images );
70 
71  if( m_info.GetAppIcon().IsOk() )
72  {
73  SetIcon( m_info.GetAppIcon() );
74  m_bitmapApp->SetBitmap( m_info.GetAppIcon() );
75  }
76  else
77  {
78  wxIcon icon;
79  icon.CopyFromBitmap( KiBitmap( icon_kicad_xpm ) );
80  SetIcon( icon );
81  m_bitmapApp->SetBitmap( icon );
82  }
83 
84  m_titleName = aParent->GetAboutTitle();
85  m_staticTextAppTitle->SetLabel( m_titleName );
87  m_staticTextBuildVersion->SetLabel( "Version: " + m_info.GetBuildVersion() );
89 
90  SetTitle( wxString::Format( _( "About %s" ), m_titleName ) );
92 
93  GetSizer()->SetSizeHints( this );
94  SetFocus();
95  Centre();
96 }
97 
98 
100 {
101  delete m_images;
102 }
103 
104 
106 {
107  // three columns with vertical and horizontal extra space of two pixels
108  wxFlexGridSizer* fgSizer = new wxFlexGridSizer( 3, 2, 2 );
109  fgSizer->SetFlexibleDirection( wxHORIZONTAL );
110  fgSizer->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
111 
112  return fgSizer;
113 }
114 
115 
117 {
120 
121  wxString version = GetVersionInfoData( m_titleName, true );
122 
123  createNotebookHtmlPage( m_notebook, _( "Version" ), IMAGES::VERSION, version, true );
124 
126  m_info.GetDevelopers() );
128  m_info.GetDocWriters() );
129 
131  m_info.GetLibrarians() );
132 
134  m_info.GetArtists() );
138  m_info.GetPackagers() );
139 
141 }
142 
143 void DIALOG_ABOUT::createNotebookPage( wxNotebook* aParent, const wxString& aCaption,
144  IMAGES aIconIndex, const CONTRIBUTORS& aContributors )
145 {
146  wxPanel* outerPanel = new wxPanel( aParent );
147  wxBoxSizer* outerSizer = new wxBoxSizer( wxVERTICAL );
148 
149  wxBoxSizer* bSizer = new wxBoxSizer( wxHORIZONTAL );
150 
151  wxScrolledWindow* m_scrolledWindow1 = new wxScrolledWindow( outerPanel, wxID_ANY,
152  wxDefaultPosition,
153  wxDefaultSize,
154  wxHSCROLL|wxVSCROLL );
155  m_scrolledWindow1->SetScrollRate( 5, 5 );
156 
157  /* Panel for additional space at the left,
158  * but can also be used to show an additional bitmap.
159  */
160  wxPanel* panel1 = new wxPanel( m_scrolledWindow1 );
161 
162  wxFlexGridSizer* fgSizer1 = createFlexGridSizer();
163 
164  for( size_t i=0; i<aContributors.GetCount(); ++i )
165  {
166  CONTRIBUTOR* contributor = &aContributors.Item( i );
167 
168  // Icon at first column
169  wxStaticBitmap* m_bitmap1 = createStaticBitmap( m_scrolledWindow1, contributor->GetIcon() );
170  fgSizer1->Add( m_bitmap1, 0, wxALIGN_CENTER|wxLEFT|wxRIGHT, 5 );
171 
172  // Name of contributor at second column
173  if ( contributor->GetName() != wxEmptyString )
174  {
175  wxStaticText* m_staticText1 = new wxStaticText( m_scrolledWindow1, wxID_ANY,
176  contributor->GetName(),
177  wxDefaultPosition, wxDefaultSize, 0 );
178  m_staticText1->Wrap( -1 );
179  fgSizer1->Add( m_staticText1, 0, wxALIGN_LEFT|wxBOTTOM, 2 );
180  }
181  else
182  {
183  fgSizer1->AddSpacer( 5 );
184  }
185 
186  // Email address of contributor at third column
187  if ( contributor->GetExtra() != wxEmptyString )
188  {
189  wxStaticText* hyperlink = wxStaticTextRef( m_scrolledWindow1,
190  contributor->GetExtra() );
191  fgSizer1->Add( hyperlink, 0, wxALIGN_LEFT|wxBOTTOM, 2 );
192  }
193  else
194  {
195  fgSizer1->AddSpacer( 5 );
196  }
197  }
198 
199  bSizer->Add( panel1, 1, wxEXPAND|wxALL, 10 );
200  bSizer->Add( fgSizer1, 7, wxEXPAND|wxALL, 10 ); // adjust width of panel with first int value
201  m_scrolledWindow1->SetSizer( bSizer );
202  m_scrolledWindow1->Layout();
203  bSizer->Fit( m_scrolledWindow1 );
204 
205  outerSizer->Add( m_scrolledWindow1, 1, wxEXPAND, 0 );
206  outerPanel->SetSizer( outerSizer );
207 
208  aParent->AddPage( outerPanel, aCaption, false, static_cast<int>( aIconIndex ) );
209 }
210 
211 
212 void DIALOG_ABOUT::createNotebookPageByCategory( wxNotebook* aParent, const wxString& aCaption,
213  IMAGES aIconIndex,
214  const CONTRIBUTORS& aContributors )
215 {
216  // The left justification between wxStaticText and wxHyperlinkCtrl is different so
217  // we must pad to make the alignment look decent.
218  //
219  // @todo Just make all of the contributor lists HTML so the alignment is consistent.
220  wxString padding;
221 
222  // Of course the padding is different depending on the platform so we adjust the
223  // padding accordingly.
224 #if defined( __WXGTK__ )
225  padding += " ";
226 #endif
227  wxPanel* outerPanel = new wxPanel( aParent );
228  wxBoxSizer* outerSizer = new wxBoxSizer( wxVERTICAL );
229 
230  wxBoxSizer* bSizer = new wxBoxSizer( wxHORIZONTAL );
231 
232  wxScrolledWindow* m_scrolledWindow1 = new wxScrolledWindow( outerPanel, wxID_ANY,
233  wxDefaultPosition,
234  wxDefaultSize,
235  wxHSCROLL|wxVSCROLL );
236  m_scrolledWindow1->SetScrollRate( 5, 5 );
237 
238  /* Panel for additional space at the left,
239  * but can also be used to show an additional bitmap.
240  */
241  wxPanel* panel1 = new wxPanel( m_scrolledWindow1 );
242 
243  wxFlexGridSizer* fgSizer1 = createFlexGridSizer();
244 
245  for( size_t i=0; i < aContributors.GetCount(); ++i )
246  {
247  CONTRIBUTOR* contributor = &aContributors.Item( i );
248 
249  wxBitmap* icon = contributor->GetIcon();
250  wxString category = contributor->GetCategory();
251 
252  /* to construct the next row we expect to have
253  * a category and a contributor that was not considered up to now
254  */
255  if( ( category != wxEmptyString ) && !( contributor->IsChecked() ) )
256  {
257  // Icon at first column
258  wxStaticBitmap* m_bitmap1 = createStaticBitmap( m_scrolledWindow1, icon );
259  fgSizer1->Add( m_bitmap1, 0, wxALIGN_CENTER|wxLEFT|wxRIGHT, 5 );
260 
261  // Category name at second column
262  wxStaticText* m_staticText1 = new wxStaticText( m_scrolledWindow1, wxID_ANY,
263  contributor->GetCategory() + wxT( ":" ),
264  wxDefaultPosition, wxDefaultSize, 0 );
265  m_staticText1->SetFont( wxFont( -1, wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL,
266  wxFONTWEIGHT_BOLD, false,
267  wxEmptyString ) ); // bold font
268  m_staticText1->Wrap( -1 );
269  fgSizer1->Add( m_staticText1, 0, wxALIGN_LEFT|wxBOTTOM|wxEXPAND, 2 );
270 
271  // Nothing at third column
272  fgSizer1->AddSpacer( 5 );
273 
274  // Now, all contributors of the same category will follow
275  for( size_t j=0; j < aContributors.GetCount(); ++j )
276  {
277  CONTRIBUTOR* sub_contributor = &aContributors.Item( j );
278 
279  if ( sub_contributor->GetCategory() == category )
280  {
281  // First column is empty
282  fgSizer1->AddSpacer( 5 );
283 
284  wxControl* ctrl;
285 
286  // No URL supplied, display normal text control
287  if( sub_contributor->GetUrl().IsEmpty() )
288  {
289  ctrl = new wxStaticText( m_scrolledWindow1, wxID_ANY,
290  padding + wxT( "• " ) + sub_contributor->GetName(),
291  wxDefaultPosition,
292  wxDefaultSize, 0 );
293  }
294  else
295  {
296  // Display a hyperlink control instead
297  ctrl = new wxHyperlinkCtrl( m_scrolledWindow1, wxID_ANY,
298  wxT( "• " ) + sub_contributor->GetName(),
299  sub_contributor->GetUrl(),
300  wxDefaultPosition,
301  wxDefaultSize,
302  wxBORDER_NONE | wxHL_CONTEXTMENU | wxHL_ALIGN_LEFT );
303  }
304 
305  m_staticText1->Wrap( -1 );
306 
307  fgSizer1->Add( ctrl, 0, wxALIGN_LEFT|wxBOTTOM, 2 );
308 
309  // Email address of contributor at third column
310  if( sub_contributor->GetExtra() != wxEmptyString )
311  {
312  wxStaticText* mail = wxStaticTextRef( m_scrolledWindow1,
313  sub_contributor->GetExtra() );
314  fgSizer1->Add( mail, 0, wxALIGN_LEFT|wxBOTTOM, 2 );
315  }
316  else
317  {
318  fgSizer1->AddSpacer( 5 );
319  }
320 
321  /* this contributor was added to the GUI,
322  * thus can be ignored next time
323  */
324  sub_contributor->SetChecked( true );
325  }
326  }
327  }
328  else
329  {
330  continue;
331  }
332  }
333 
334  /* Now, lets list the remaining contributors that have not been considered
335  * because they were not assigned to any category.
336  */
337  for ( size_t k=0; k < aContributors.GetCount(); ++k )
338  {
339  CONTRIBUTOR* contributor = &aContributors.Item( k );
340 
341  if ( contributor->IsChecked() )
342  continue;
343 
344  // Icon at first column
345  wxStaticBitmap* m_bitmap1 = createStaticBitmap( m_scrolledWindow1, contributor->GetIcon() );
346  fgSizer1->Add( m_bitmap1, 0, wxALIGN_CENTER|wxLEFT|wxRIGHT, 5 );
347 
348  // Name of contributor at second column
349  if( contributor->GetName() != wxEmptyString )
350  {
351  wxStaticText* m_staticText1 = new wxStaticText( m_scrolledWindow1, wxID_ANY,
352  contributor->GetName(),
353  wxDefaultPosition, wxDefaultSize, 0 );
354  m_staticText1->Wrap( -1 );
355  fgSizer1->Add( m_staticText1, 0, wxALIGN_LEFT|wxBOTTOM, 2 );
356  }
357  else
358  {
359  fgSizer1->AddSpacer( 5 );
360  }
361 
362  // Email address of contributor at third column
363  if ( contributor->GetExtra() != wxEmptyString )
364  {
365  wxStaticText* mail = wxStaticTextRef( m_scrolledWindow1,
366  contributor->GetExtra() );
367  fgSizer1->Add( mail, 0, wxALIGN_LEFT|wxBOTTOM, 2 );
368  }
369  else
370  {
371  fgSizer1->AddSpacer( 5 );
372  }
373  }
374 
375  bSizer->Add( panel1, 1, wxEXPAND|wxALL, 10 );
376  bSizer->Add( fgSizer1, 7, wxEXPAND|wxALL, 10 ); // adjust width of panel with first int value
377  m_scrolledWindow1->SetSizer( bSizer );
378  m_scrolledWindow1->Layout();
379  bSizer->Fit( m_scrolledWindow1 );
380 
381  outerSizer->Add( m_scrolledWindow1, 1, wxEXPAND, 0 );
382  outerPanel->SetSizer( outerSizer );
383 
384  aParent->AddPage( outerPanel, aCaption, false, static_cast<int>( aIconIndex ) );
385 }
386 
387 
388 void DIALOG_ABOUT::createNotebookHtmlPage( wxNotebook* aParent, const wxString& aCaption,
389  IMAGES aIconIndex, const wxString& html,
390  bool aSelection )
391 {
392  wxPanel* panel = new wxPanel( aParent, wxID_ANY, wxDefaultPosition, wxDefaultSize,
393  wxTAB_TRAVERSAL );
394 
395  wxBoxSizer* bSizer = new wxBoxSizer( wxVERTICAL );
396 
397  wxString htmlPage = wxEmptyString, htmlContent = html;
398 
399  // to have a unique look background color for HTML pages is set to the default as it is
400  // used for all the other widgets
401  wxString htmlColor = ( GetBackgroundColour() ).GetAsString( wxC2S_HTML_SYNTAX );
402  wxString textColor = GetForegroundColour().GetAsString( wxC2S_HTML_SYNTAX );
403  wxString linkColor =
404  wxSystemSettings::GetColour( wxSYS_COLOUR_HOTLIGHT ).GetAsString( wxC2S_HTML_SYNTAX );
405 
406  // beginning of HTML structure
407  htmlPage.Append( wxString::Format( wxT( "<html><body bgcolor='%s' text='%s' link='%s'>" ),
408  htmlColor, textColor, linkColor ) );
409 
410  htmlPage.Append( htmlContent );
411 
412  // end of HTML structure indicated by closing tags
413  htmlPage.Append( wxT( "</body></html>" ) );
414 
415  int flags = aSelection ? wxHW_SCROLLBAR_AUTO : ( wxHW_SCROLLBAR_AUTO | wxHW_NO_SELECTION );
416 
417  // the HTML page is going to be created with previously created HTML content
418  auto htmlWindow = new wxHtmlWindow( panel, wxID_ANY, wxDefaultPosition, wxDefaultSize, flags );
419 
420  // HTML font set to font properties as they are used for widgets to have an unique look
421  // under different platforms with HTML
422  wxFont font = GetFont();
423  htmlWindow->SetStandardFonts( font.GetPointSize(), font.GetFaceName(), font.GetFaceName() );
424  htmlWindow->SetPage( htmlPage );
425 
426  // the HTML window shall not be used to open external links, thus this task is delegated
427  // to users default browser
428  htmlWindow->Connect( wxEVT_COMMAND_HTML_LINK_CLICKED,
429  wxHtmlLinkEventHandler( DIALOG_ABOUT::onHtmlLinkClicked ), NULL, this );
430 
431  // no additional space around the HTML window as it is also the case by the other notebook pages
432  bSizer->Add( htmlWindow, 1, wxEXPAND, 0 );
433  panel->SetSizer( bSizer );
434 
435  aParent->AddPage( panel, aCaption, false, static_cast<int>( aIconIndex ) );
436 }
437 
438 
439 wxStaticText* DIALOG_ABOUT::wxStaticTextRef( wxScrolledWindow* aParent, const wxString& aReference )
440 {
441  wxStaticText* text = new wxStaticText( aParent, wxID_ANY,
442  wxT( "(" ) + aReference + wxT( ")" ) );
443 
444  return text;
445 }
446 
447 
448 wxStaticBitmap* DIALOG_ABOUT::createStaticBitmap( wxScrolledWindow* aParent, wxBitmap* aIcon )
449 {
450  wxStaticBitmap* bitmap = new wxStaticBitmap( aParent, wxID_ANY, wxNullBitmap,
451  wxDefaultPosition, wxDefaultSize, 0 );
452 
453  if( aIcon )
454  {
455  bitmap->SetBitmap( *aIcon );
456  }
457  else
458  {
459  bitmap->SetBitmap( KiBitmap( right_xpm ) );
460  }
461 
462  return bitmap;
463 }
464 
465 
466 void DIALOG_ABOUT::onHtmlLinkClicked( wxHtmlLinkEvent& event )
467 {
468  ::wxLaunchDefaultBrowser( event.GetLinkInfo().GetHref() );
469 }
470 
471 
472 void DIALOG_ABOUT::onCopyVersionInfo( wxCommandEvent& event )
473 {
474  wxLogNull doNotLog; // disable logging of failed clipboard actions
475 
476  if( !wxTheClipboard->Open() )
477  {
478  wxMessageBox( _( "Could not open clipboard to write version information." ),
479  _( "Clipboard Error" ), wxOK | wxICON_EXCLAMATION, this );
480  return;
481  }
482 
483  wxString msg_version = GetVersionInfoData( m_titleName );
484 
485  wxTheClipboard->SetData( new wxTextDataObject( msg_version ) );
486  wxTheClipboard->Flush(); // Allow clipboard data to be available after KiCad closes
487  wxTheClipboard->Close();
488  m_btCopyVersionInfo->SetLabel( _( "Copied..." ) );
489 }
490 
491 
492 void DIALOG_ABOUT::onReportBug( wxCommandEvent& event )
493 {
494  if( TOOL_MANAGER* mgr = static_cast<EDA_BASE_FRAME*>( GetParent() )->GetToolManager() )
495  mgr->RunAction( "common.SuiteControl.reportBug", true );
496 }
497 
498 
499 void DIALOG_ABOUT::OnNotebookPageChanged( wxNotebookEvent& aEvent )
500 {
501  // Work around wxMac issue where the notebook pages are blank
502 #ifdef __WXMAC__
503  int page = aEvent.GetSelection();
504 
505  if( page >= 0 )
506  m_notebook->ChangeSelection( static_cast<unsigned>( page ) );
507 #endif
508 }
wxFlexGridSizer * createFlexGridSizer()
const BITMAP_OPAQUE right_xpm[1]
Definition: right.cpp:26
wxString & GetUrl()
Definition: aboutinfo.h:193
CONTRIBUTORS GetTranslators()
Definition: aboutinfo.h:90
wxString & GetLibVersion()
Definition: aboutinfo.h:112
const BITMAP_OPAQUE editor_xpm[1]
Definition: editor.cpp:36
wxString GetVersionInfoData(const wxString &aTitle, bool aHtml, bool aBrief)
Create a version info string for bug reports and the about dialog.
const BITMAP_OPAQUE icon_kicad_xpm[1]
Definition: icon_kicad.cpp:183
DIALOG_ABOUT(EDA_BASE_FRAME *aParent, ABOUT_APP_INFO &aAppInfo)
wxStaticText * m_staticTextAppTitle
void SetChecked(bool status)
Definition: aboutinfo.h:196
wxString & GetCategory()
Definition: aboutinfo.h:194
void createNotebookPageByCategory(wxNotebook *aParent, const wxString &aCaption, IMAGES aIconIndex, const CONTRIBUTORS &aContributors)
wxString & GetName()
Definition: aboutinfo.h:191
const BITMAP_OPAQUE zip_xpm[1]
Definition: zip.cpp:38
wxImageList * m_images
Definition: dialog_about.h:56
CONTRIBUTORS GetLibrarians()
Definition: aboutinfo.h:88
void createNotebooks()
wxString & GetBuildVersion()
Definition: aboutinfo.h:106
wxStaticText * m_staticTextLibVersion
void createNotebookPage(wxNotebook *aParent, const wxString &aCaption, IMAGES aIconIndex, const CONTRIBUTORS &aContributors)
wxIcon & GetAppIcon()
Wrapper to manage memory allocation for bitmaps.
Definition: aboutinfo.h:115
void OnNotebookPageChanged(wxNotebookEvent &aEvent) override
An object of this class is meant to be used to store application specific information like who has co...
Definition: aboutinfo.h:44
void createNotebookHtmlPage(wxNotebook *aParent, const wxString &aCaption, IMAGES aIconIndex, const wxString &aHtmlMessage, bool aSelection=false)
wxStaticBitmap * m_bitmapApp
wxString & GetLicense()
Definition: aboutinfo.h:97
const BITMAP_OPAQUE recent_xpm[1]
Definition: recent.cpp:37
IMAGES
Definition: dialog_about.h:37
Master controller class:
Definition: tool_manager.h:52
wxBitmap KiBitmap(BITMAP_DEF aBitmap)
Construct a wxBitmap from a memory record, held in a BITMAP_DEF.
Definition: bitmap.cpp:82
#define NULL
CONTRIBUTORS GetDocWriters()
Definition: aboutinfo.h:87
wxStaticText * m_staticTextBuildVersion
void onCopyVersionInfo(wxCommandEvent &event) override
const BITMAP_OPAQUE library_xpm[1]
Definition: library.cpp:46
void onHtmlLinkClicked(wxHtmlLinkEvent &event)
CONTRIBUTORS GetArtists()
Definition: aboutinfo.h:89
wxString GetCopyright()
Definition: aboutinfo.h:100
wxStaticText * m_staticTextCopyright
wxString & GetExtra()
Definition: aboutinfo.h:192
const BITMAP_OPAQUE info_xpm[1]
Definition: info.cpp:36
const BITMAP_OPAQUE language_xpm[1]
Definition: language.cpp:37
const BITMAP_OPAQUE tools_xpm[1]
Definition: tools.cpp:52
wxNotebook * m_notebook
void Format(OUTPUTFORMATTER *out, int aNestLevel, int aCtl, const CPTREE &aTree)
Output a PTREE into s-expression format via an OUTPUTFORMATTER derivative.
Definition: ptree.cpp:200
wxStaticBitmap * createStaticBitmap(wxScrolledWindow *aParent, wxBitmap *icon)
CONTRIBUTORS GetPackagers()
Definition: aboutinfo.h:91
wxStaticText * wxStaticTextRef(wxScrolledWindow *aParent, const wxString &aReference)
wxBitmap * GetIcon()
Definition: aboutinfo.h:195
CONTRIBUTORS GetDevelopers()
Definition: aboutinfo.h:86
Class DIALOG_ABOUT_BASE.
#define _(s)
Definition: 3d_actions.cpp:33
const wxString & GetAboutTitle() const
A contributor, a person which was involved in the development of the application or which has contrib...
Definition: aboutinfo.h:160
The base frame for deriving all KiCad main window classes.
wxString m_titleName
Definition: dialog_about.h:57
wxString & GetDescription()
Definition: aboutinfo.h:94
wxButton * m_btCopyVersionInfo
const BITMAP_OPAQUE preference_xpm[1]
Definition: preference.cpp:48
bool IsChecked()
Definition: aboutinfo.h:197
ABOUT_APP_INFO & m_info
Definition: dialog_about.h:59
const BITMAP_OPAQUE color_materials_xpm[1]
void onReportBug(wxCommandEvent &event) override