KiCad PCB EDA Suite
Loading...
Searching...
No Matches
AboutDialog_main.cpp File Reference
#include <boost/version.hpp>
#include <wx/aboutdlg.h>
#include <wx/arrimpl.cpp>
#include <wx/textctrl.h>
#include <wx/utils.h>
#include <bitmaps.h>
#include <build_version.h>
#include <common.h>
#include <kiplatform/app.h>
#include <pgm_base.h>
#include <eda_base_frame.h>
#include "aboutinfo.h"
#include "dialog_about.h"

Go to the source code of this file.

Macros

#define ADD_DEV(name, category)
 
#define LEAD_DEV   _( "Lead Development Team" )
 
#define FORMER_DEV   _( "Lead Development Alumni" )
 
#define CONTRIB_DEV   _( "Additional Contributions By")
 
#define DOC_TEAM   _( "Documentation Team" )
 
#define ADD_WRITER(name, category)
 
#define ADD_TRANSLATOR(name, category)
 
#define LIBRARIANS   _( "Librarian Team" )
 
#define ADD_LIBRARIAN(name)
 
#define MODELS_3D_CONTRIBUTION   _( "3D models" )
 
#define SYMBOL_LIB_CONTRIBUTION   _( "Symbols" )
 
#define FOOTPRINT_LIB_CONTRIBUTION   _( "Footprints" )
 
#define ICON_CONTRIBUTION   _( "Icons" )
 
#define PACKAGE_DEVS   _( "Package Developers" )
 

Functions

static wxString HtmlHyperlink (const wxString &aUrl, const wxString &aDescription)
 Helper functions.
 
static wxString HtmlNewline (const unsigned int aCount)
 Create an HTML newline character sequence of aCount.
 
static void buildKicadAboutBanner (EDA_BASE_FRAME *aParent, ABOUT_APP_INFO &aInfo)
 Initializes the ABOUT_APP_INFO object with application specific information.
 
void ShowAboutDialog (EDA_BASE_FRAME *aParent)
 

Macro Definition Documentation

◆ ADD_DEV

#define ADD_DEV ( name,
category )
Value:
aInfo.AddDeveloper( new CONTRIBUTOR( name, category ) )
const char * name
A contributor, a person which was involved in the development of the application or which has contrib...
Definition aboutinfo.h:157

Referenced by buildKicadAboutBanner().

◆ ADD_LIBRARIAN

#define ADD_LIBRARIAN ( name)
Value:
aInfo.AddLibrarian( new CONTRIBUTOR( name, LIBRARIANS ) )
#define LIBRARIANS

Referenced by buildKicadAboutBanner().

◆ ADD_TRANSLATOR

#define ADD_TRANSLATOR ( name,
category )
Value:
aInfo.AddTranslator( new CONTRIBUTOR( name, category ) )

Referenced by buildKicadAboutBanner().

◆ ADD_WRITER

#define ADD_WRITER ( name,
category )
Value:
aInfo.AddDocWriter( new CONTRIBUTOR( name, category ) )

Referenced by buildKicadAboutBanner().

◆ CONTRIB_DEV

#define CONTRIB_DEV   _( "Additional Contributions By")

Referenced by buildKicadAboutBanner().

◆ DOC_TEAM

#define DOC_TEAM   _( "Documentation Team" )

Referenced by buildKicadAboutBanner().

◆ FOOTPRINT_LIB_CONTRIBUTION

#define FOOTPRINT_LIB_CONTRIBUTION   _( "Footprints" )

Referenced by buildKicadAboutBanner().

◆ FORMER_DEV

#define FORMER_DEV   _( "Lead Development Alumni" )

Referenced by buildKicadAboutBanner().

◆ ICON_CONTRIBUTION

#define ICON_CONTRIBUTION   _( "Icons" )

Referenced by buildKicadAboutBanner().

◆ LEAD_DEV

#define LEAD_DEV   _( "Lead Development Team" )

Referenced by buildKicadAboutBanner().

◆ LIBRARIANS

#define LIBRARIANS   _( "Librarian Team" )

◆ MODELS_3D_CONTRIBUTION

#define MODELS_3D_CONTRIBUTION   _( "3D models" )

Referenced by buildKicadAboutBanner().

◆ PACKAGE_DEVS

#define PACKAGE_DEVS   _( "Package Developers" )

Referenced by buildKicadAboutBanner().

◆ SYMBOL_LIB_CONTRIBUTION

#define SYMBOL_LIB_CONTRIBUTION   _( "Symbols" )

Referenced by buildKicadAboutBanner().

Function Documentation

◆ buildKicadAboutBanner()

◆ HtmlHyperlink()

static wxString HtmlHyperlink ( const wxString & aUrl,
const wxString & aDescription )
static

Helper functions.

Wrap aUrl with a HTML anchor tag containing a hyperlink text reference to form a HTML hyperlink.

Parameters
aUrlthe url that will be embedded in an anchor tag containing a hyperlink reference
aDescriptionthe optional describing text that will be represented as a hyperlink. If not specified the url will be used as hyperlink.
Returns
a HTML conform hyperlink like description

Definition at line 970 of file AboutDialog_main.cpp.

Referenced by buildKicadAboutBanner().

◆ HtmlNewline()

static wxString HtmlNewline ( const unsigned int aCount)
static

Create an HTML newline character sequence of aCount.

Parameters
aCountthe number of HTML newline tags to concatenate, default is to return just one
tag.
Returns
the concatenated amount of HTML newline tag(s)

Definition at line 990 of file AboutDialog_main.cpp.

Referenced by buildKicadAboutBanner().

◆ ShowAboutDialog()

void ShowAboutDialog ( EDA_BASE_FRAME * aParent)

Definition at line 947 of file AboutDialog_main.cpp.

References buildKicadAboutBanner(), and info.

Referenced by COMMON_CONTROL::About(), and EDA_BASE_FRAME::OnKicadAbout().