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")
578 wxS(
"Czech (CS)" ) ) );
582 wxS(
"Czech (CS)" ) ) );
586 wxS(
"Czech (CS)" ) ) );
590 wxS(
"Czech (CS)" ) ) );
594 wxS(
"Czech (CS)" ) ) );
598 wxS(
"Czech (CS)" ) ) );
602 wxS(
"Czech (CS)" ) ) );
607 wxS(
"Danish (DA)" ) ) );
611 wxS(
"Danish (DA)" ) ) );
615 wxS(
"Danish (DA)" ) ) );
620 wxS(
"German (DE)" ) ) );
624 wxS(
"German (DE)" ) ) );
628 wxS(
"German (DE)" ) ) );
632 wxS(
"German (DE)" ) ) );
636 wxS(
"German (DE)" ) ) );
640 wxS(
"German (DE)" ) ) );
644 wxS(
"German (DE)" ) ) );
649 wxS(
"Greek (el_GR)" ) ) );
653 wxS(
"Greek (el_GR)" ) ) );
657 wxS(
"Greek (el_GR)" ) ) );
661 wxS(
"Greek (el_GR)" ) ) );
665 wxS(
"Greek (el_GR)" ) ) );
670 wxS(
"Spanish (ES)" ) ) );
674 wxS(
"Spanish (ES)" ) ) );
678 wxS(
"Spanish (ES)" ) ) );
682 wxS(
"Spanish (ES)" ) ) );
686 wxS(
"Spanish (ES)" ) ) );
690 wxS(
"Spanish (ES)" ) ) );
694 wxS(
"Spanish (ES)" ) ) );
698 wxS(
"Spanish - Latin American (ES)" ) ) );
703 wxS(
"Spanish - Latin American (ES)" ) ) );
708 wxS(
"Finnish (FI)" ) ) );
712 wxS(
"Finnish (FI)" ) ) );
716 wxS(
"Finnish (FI)" ) ) );
720 wxS(
"Finnish (FI)" ) ) );
724 wxS(
"Finnish (FI)" ) ) );
728 wxS(
"Finnish (FI)" ) ) );
732 wxS(
"Finnish (FI)" ) ) );
736 wxS(
"Finnish (FI)" ) ) );
740 wxS(
"Finnish (FI)" ) ) );
744 wxS(
"Finnish (FI)" ) ) );
749 wxS(
"French (FR)" ) ) );
754 wxS(
"Italian (IT)" ) ) );
759 wxS(
"Japanese (JA)" ) ) );
763 wxS(
"Japanese (JA)" ) ) );
767 wxS(
"Japanese (JA)" ) ) );
771 wxS(
"Japanese (JA)" ) ) );
775 wxS(
"Japanese (JA)" ) ) );
779 wxS(
"Japanese (JA)" ) ) );
783 wxS(
"Japanese (JA)" ) ) );
787 wxS(
"Japanese (JA)" ) ) );
791 wxS(
"Japanese (JA)" ) ) );
796 wxS(
"Korean (KO)" ) ) );
800 wxS(
"Korean (KO)" ) ) );
804 wxS(
"Korean (KO)" ) ) );
808 wxS(
"Korean (KO)" ) ) );
812 wxS(
"Korean (KO)" ) ) );
816 wxS(
"Korean (KO)" ) ) );
820 wxS(
"Korean (KO)" ) ) );
824 wxS(
"Korean (KO)" ) ) );
828 wxS(
"Korean (KO)" ) ) );
832 wxS(
"Korean (KO)" ) ) );
836 wxS(
"Korean (KO)" ) ) );
840 wxS(
"Korean (KO)" ) ) );
844 wxS(
"Korean (KO)" ) ) );
848 wxS(
"Korean (KO)" ) ) );
852 wxS(
"Korean (KO)" ) ) );
856 wxS(
"Korean (KO)" ) ) );
860 wxS(
"Korean (KO)" ) ) );
864 wxS(
"Korean (KO)" ) ) );
868 wxS(
"Korean (KO)" ) ) );
872 wxS(
"Korean (KO)" ) ) );
877 wxS(
"Lithuanian (LT)" ) ) );
881 wxS(
"Lithuanian (LT)" ) ) );
886 wxS(
"Dutch (NL)" ) ) );
890 wxS(
"Dutch (NL)" ) ) );
894 wxS(
"Dutch (NL)" ) ) );
898 wxS(
"Dutch (NL)" ) ) );
902 wxS(
"Dutch (NL)" ) ) );
906 wxS(
"Dutch (NL)" ) ) );
910 wxS(
"Dutch (NL)" ) ) );
915 wxS(
"Norwegian (NO)" ) ) );
919 wxS(
"Norwegian (NO)" ) ) );
923 wxS(
"Norwegian (NO)" ) ) );
927 wxS(
"Norwegian (NO)" ) ) );
931 wxS(
"Norwegian (NO)" ) ) );
936 wxS(
"Polish (PL)" ) ) );
940 wxS(
"Polish (PL)" ) ) );
944 wxS(
"Polish (PL)" ) ) );
948 wxS(
"Polish (PL)" ) ) );
952 wxS(
"Polish (PL)" ) ) );
956 wxS(
"Polish (PL)" ) ) );
960 wxS(
"Polish (PL)" ) ) );
965 wxS(
"Brazilian Portuguese (PT_BR)" ) ) );
969 wxS(
"Brazilian Portuguese (PT_BR)" ) ) );
974 wxS(
"Portuguese (PT)" ) ) );
978 wxS(
"Portuguese (PT)" ) ) );
982 wxS(
"Portuguese (PT)" ) ) );
986 wxS(
"Portuguese (PT)" ) ) );
991 wxS(
"Russian (RU)" ) ) );
995 wxS(
"Russian (RU)" ) ) );
999 wxS(
"Russian (RU)" ) ) );
1003 wxS(
"Russian (RU)" ) ) );
1007 wxS(
"Russian (RU)" ) ) );
1012 wxS(
"Swedish (SV)" ) ) );
1016 wxS(
"Swedish (SV)" ) ) );
1020 wxS(
"Swedish (SV)" ) ) );
1024 wxS(
"Swedish (SV)" ) ) );
1028 wxS(
"Swedish (SV)" ) ) );
1033 wxS(
"Thai (TH)" ) ) );
1038 wxS(
"Ukrainian (UK)" ) ) );
1042 wxS(
"Ukrainian (UK)" ) ) );
1046 wxS(
"Ukrainian (UK)" ) ) );
1050 wxS(
"Ukrainian (UK)" ) ) );
1054 wxS(
"Ukrainian (UK)" ) ) );
1059 wxS(
"Simplified Chinese (zh_CN)" ) ) );
1063 wxS(
"Simplified Chinese (zh_CN)" ) ) );
1067 wxS(
"Simplified Chinese (zh_CN)" ) ) );
1071 wxS(
"Simplified Chinese (zh_CN)" ) ) );
1075 wxS(
"Simplified Chinese (zh_CN)" ) ) );
1079 wxS(
"Simplified Chinese (zh_CN)" ) ) );
1083 wxS(
"Simplified Chinese (zh_CN)" ) ) );
1087 wxS(
"Simplified Chinese (zh_CN)" ) ) );
1091 wxS(
"Simplified Chinese (zh_CN)" ) ) );
1096 wxS(
"Traditional Chinese (zh_TW)" ) ) );
1100 wxS(
"Traditional Chinese (zh_TW)" ) ) );
1104 wxS(
"Traditional Chinese (zh_TW)" ) ) );
1108 wxS(
"Traditional Chinese (zh_TW)" ) ) );
1112 wxS(
"Traditional Chinese (zh_TW)" ) ) );
1136 #define LIBRARIANS _( "KiCad Librarian Team" )
1169 #define MODELS_3D_CONTRIBUTION _( "3D models by" )
1171 wxS(
"https://github.com/easyw" ),
1172 wxS(
"https://gitlab.com/kicad/libraries/kicad-packages3D-generator" ),
1177 wxS(
"https://gitlab.com/kicad/libraries/kicad-packages3D/-/graphs/master" ),
1181 #define SYMBOL_LIB_CONTRIBUTION _( "Symbols by" )
1184 wxS(
"https://gitlab.com/kicad/libraries/kicad-symbols/-/graphs/master" ),
1188 #define FOOTPRINT_LIB_CONTRIBUTION _( "Footprints by" )
1191 wxS(
"https://gitlab.com/kicad/libraries/kicad-footprint-generator" ),
1196 wxS(
"https://gitlab.com/kicad/libraries/kicad-footprints/-/graphs/master" ),
1201 #define ICON_CONTRIBUTION _( "Icons by" )
1247static wxString
HtmlHyperlink(
const wxString& aUrl,
const wxString& aDescription )
1249 wxString hyperlink = wxEmptyString;
1251 if( aDescription.IsEmpty() )
1252 hyperlink << wxS(
"<a href='" ) << aUrl << wxS(
"'>" ) << aUrl << wxS(
"</a>" );
1254 hyperlink << wxS(
"<a href='" )<< aUrl << wxS(
"'>" ) << aDescription << wxS(
"</a>" );
1269 wxString newlineTags = wxEmptyString;
1271 for(
size_t i = 0; i<aCount; ++i )
1272 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.