25#include <boost/version.hpp>
26#include <wx/aboutdlg.h>
27#include <wx/arrimpl.cpp>
28#include <wx/textctrl.h>
47WX_DEFINE_OBJARRAY( CONTRIBUTORS )
50static wxString
HtmlHyperlink(
const wxString& url,
const wxString& description = wxEmptyString );
51static wxString
HtmlNewline(
const unsigned int amount = 1 );
67 aInfo.
SetCopyright( wxT(
"(C) 1992-2023 KiCad Developers Team" ) );
85 libVersion << wxGetLibraryVersionInfo().GetVersionString();
89 libVersion << wxT(
" Unicode " );
91 libVersion << wxT(
" ANSI " );
96 libVersion << wxT(
"and Boost " ) << ( BOOST_VERSION / 100000 ) << wxT(
"." )
97 << ( BOOST_VERSION / 100 % 1000 ) << wxT(
"." ) << ( BOOST_VERSION % 100 )
102 wxPlatformInfo platformInfo;
104 libVersion << wxT(
"Platform: " ) << wxGetOsDescription() << wxT(
", " )
110 wxString description;
113 description << wxT(
"<p>" );
114 description << wxT(
"<b><u>" )
115 <<
_(
"Description" )
116 << wxT(
"</u></b>" );
118 description << wxT(
"<p>" )
119 <<
_(
"The KiCad EDA Suite is a set of open source applications for the "
120 "creation of electronic schematics and printed circuit boards." )
123 description << wxT(
"</p>" );
126 description << wxT(
"<p><b><u>" )
127 <<
_(
"KiCad on the web" )
128 << wxT(
"</u></b>" );
131 description << wxT(
"<ul>" );
132 description << wxT(
"<li>" )
133 <<
_(
"The official KiCad website - " )
136 description << wxT(
"<li>" )
137 <<
_(
"Developer website - " )
141 description << wxT(
"<li>" )
142 <<
_(
"Official KiCad library repositories - " )
146 description << wxT(
"</ul></p>" );
148 description << wxT(
"<p><b><u>" )
149 <<
_(
"Bug tracker" )
150 << wxT(
"</u></b>" );
153 description << wxT(
"<ul>" );
154 description << wxT(
"<li>" )
155 <<
_(
"Report or examine bugs - " )
158 description << wxT(
"</ul></p>" );
160 description << wxT(
"<p><b><u>" )
161 <<
_(
"KiCad users group and community" )
162 << wxT(
"</u></b>" );
164 description << wxT(
"<ul>" );
165 description << wxT(
"<li>" )
166 <<
_(
"KiCad forum - " )
170 description << wxT(
"</ul></p>" );
178 << wxT(
"<div align='center'>" )
180 <<
_(
"The complete KiCad EDA Suite is released under the" ) <<
HtmlNewline( 2 )
182 _(
"GNU General Public License (GPL) version 3 or any later version" ) )
201#define LEAD_DEV _( "Lead Development Team" )
202#define FORMER_DEV _( "Lead Development Alumni" )
203#define CONTRIB_DEV _( "Additional Contributions By")
546 wxS(
"Czech (CS)" ) ) );
550 wxS(
"Czech (CS)" ) ) );
554 wxS(
"Czech (CS)" ) ) );
558 wxS(
"Czech (CS)" ) ) );
562 wxS(
"Czech (CS)" ) ) );
566 wxS(
"German (DE)" ) ) );
570 wxS(
"German (DE)" ) ) );
574 wxS(
"German (DE)" ) ) );
578 wxS(
"German (DE)" ) ) );
582 wxS(
"Greek (el_GR)" ) ) );
586 wxS(
"Greek (el_GR)" ) ) );
590 wxS(
"Greek (el_GR)" ) ) );
594 wxS(
"Greek (el_GR)" ) ) );
598 wxS(
"Spanish (ES)" ) ) );
602 wxS(
"Spanish (ES)" ) ) );
606 wxS(
"Spanish (ES)" ) ) );
610 wxS(
"Spanish (ES)" ) ) );
614 wxS(
"Spanish (ES)" ) ) );
618 wxS(
"Spanish (ES)" ) ) );
622 wxS(
"Spanish - Latin American (ES)" ) ) );
626 wxS(
"Finnish (FI)" ) ) );
630 wxS(
"Finnish (FI)" ) ) );
634 wxS(
"Finnish (FI)" ) ) );
638 wxS(
"Finnish (FI)" ) ) );
642 wxS(
"Finnish (FI)" ) ) );
646 wxS(
"Finnish (FI)" ) ) );
650 wxS(
"Finnish (FI)" ) ) );
654 wxS(
"French (FR)" ) ) );
658 wxS(
"Italian (IT)" ) ) );
662 wxS(
"Japanese (JA)" ) ) );
666 wxS(
"Japanese (JA)" ) ) );
670 wxS(
"Japanese (JA)" ) ) );
674 wxS(
"Japanese (JA)" ) ) );
678 wxS(
"Japanese (JA)" ) ) );
682 wxS(
"Japanese (JA)" ) ) );
686 wxS(
"Japanese (JA)" ) ) );
690 wxS(
"Japanese (JA)" ) ) );
694 wxS(
"Korean (KO)" ) ) );
698 wxS(
"Korean (KO)" ) ) );
702 wxS(
"Korean (KO)" ) ) );
706 wxS(
"Korean (KO)" ) ) );
710 wxS(
"Korean (KO)" ) ) );
714 wxS(
"Korean (KO)" ) ) );
718 wxS(
"Korean (KO)" ) ) );
722 wxS(
"Korean (KO)" ) ) );
726 wxS(
"Korean (KO)" ) ) );
730 wxS(
"Korean (KO)" ) ) );
734 wxS(
"Korean (KO)" ) ) );
738 wxS(
"Korean (KO)" ) ) );
742 wxS(
"Dutch (NL)" ) ) );
746 wxS(
"Dutch (NL)" ) ) );
750 wxS(
"Dutch (NL)" ) ) );
754 wxS(
"Norwegian (NO)" ) ) );
758 wxS(
"Polish (PL)" ) ) );
762 wxS(
"Polish (PL)" ) ) );
766 wxS(
"Polish (PL)" ) ) );
770 wxS(
"Polish (PL)" ) ) );
774 wxS(
"Brazilian Portuguese (PT_BR)" ) ) );
778 wxS(
"Brazilian Portuguese (PT_BR)" ) ) );
782 wxS(
"Portuguese (PT)" ) ) );
786 wxS(
"Portuguese (PT)" ) ) );
790 wxS(
"Portuguese (PT)" ) ) );
794 wxS(
"Russian (RU)" ) ) );
798 wxS(
"Russian (RU)" ) ) );
802 wxS(
"Russian (RU)" ) ) );
806 wxS(
"Russian (RU)" ) ) );
810 wxS(
"Russian (RU)" ) ) );
814 wxS(
"Swedish (SV)" ) ) );
818 wxS(
"Swedish (SV)" ) ) );
822 wxS(
"Swedish (SV)" ) ) );
826 wxS(
"Thai (TH)" ) ) );
830 wxS(
"Simplified Chinese (zh_CN)" ) ) );
834 wxS(
"Simplified Chinese (zh_CN)" ) ) );
838 wxS(
"Simplified Chinese (zh_CN)" ) ) );
842 wxS(
"Simplified Chinese (zh_CN)" ) ) );
846 wxS(
"Simplified Chinese (zh_CN)" ) ) );
850 wxS(
"Simplified Chinese (zh_CN)" ) ) );
854 wxS(
"Traditional Chinese (zh_TW)" ) ) );
858 wxS(
"Traditional Chinese (zh_TW)" ) ) );
862 wxS(
"Traditional Chinese (zh_TW)" ) ) );
886 #define LIBRARIANS _( "KiCad Librarian Team" )
919 #define MODELS_3D_CONTRIBUTION _( "3D models by" )
921 wxS(
"https://github.com/easyw" ),
922 wxS(
"https://gitlab.com/kicad/libraries/kicad-packages3D-generator" ),
927 wxS(
"https://gitlab.com/kicad/libraries/kicad-packages3D/-/graphs/master" ),
931 #define SYMBOL_LIB_CONTRIBUTION _( "Symbols by" )
934 wxS(
"https://gitlab.com/kicad/libraries/kicad-symbols/-/graphs/v7" ),
938 #define FOOTPRINT_LIB_CONTRIBUTION _( "Footprints by" )
941 wxS(
"https://gitlab.com/kicad/libraries/kicad-footprint-generator" ),
946 wxS(
"https://gitlab.com/kicad/libraries/kicad-footprints/-/graphs/master" ),
951 #define ICON_CONTRIBUTION _( "Icons by" )
997static wxString
HtmlHyperlink(
const wxString& aUrl,
const wxString& aDescription )
999 wxString hyperlink = wxEmptyString;
1001 if( aDescription.IsEmpty() )
1002 hyperlink << wxS(
"<a href='" ) << aUrl << wxS(
"'>" ) << aUrl << wxS(
"</a>" );
1004 hyperlink << wxS(
"<a href='" )<< aUrl << wxS(
"'>" ) << aDescription << wxS(
"</a>" );
1019 wxString newlineTags = wxEmptyString;
1021 for(
size_t i = 0; i<aCount; ++i )
1022 newlineTags << wxS(
"<br>" );
#define MODELS_3D_CONTRIBUTION
static wxString HtmlNewline(const unsigned int amount=1)
Create an HTML newline character sequence of aCount.
#define ICON_CONTRIBUTION
static wxString HtmlHyperlink(const wxString &url, const wxString &description=wxEmptyString)
Helper functions.
void ShowAboutDialog(EDA_BASE_FRAME *aParent)
#define FOOTPRINT_LIB_CONTRIBUTION
static void buildKicadAboutBanner(EDA_BASE_FRAME *aParent, ABOUT_APP_INFO &aInfo)
Initializes the ABOUT_APP_INFO object with application specific information.
#define SYMBOL_LIB_CONTRIBUTION
wxString GetBuildVersion()
Get the full KiCad version string.
wxString GetPlatformGetBitnessName()
wxString GetBuildDate()
Get the build date as a string.
An object of this class is meant to be used to store application specific information like who has co...
void AddDocWriter(const CONTRIBUTOR *docwriter)
void SetBuildDate(const wxString &date)
void AddTranslator(const CONTRIBUTOR *translator)
void AddDeveloper(const CONTRIBUTOR *developer)
void SetAppName(const wxString &name)
void SetDescription(const wxString &text)
void SetLibVersion(const wxString &version)
wxBitmap * CreateKiBitmap(BITMAPS aBitmap)
void AddArtist(const CONTRIBUTOR *artist)
void SetBuildVersion(const wxString &version)
void SetAppIcon(const wxIcon &aIcon)
void SetLicense(const wxString &text)
void SetCopyright(const wxString &text)
void AddLibrarian(const CONTRIBUTOR *aLibrarian)
void AddPackager(const CONTRIBUTOR *packager)
A contributor, a person which was involved in the development of the application or which has contrib...
About dialog to show application specific information.
The base frame for deriving all KiCad main window classes.
Base window classes and related definitions.
KIWAY Kiway & Pgm(), KFCTL_STANDALONE
The global Program "get" accessor.