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.

Classes

struct  DEVELOPER
 
struct  TRANSLATOR
 
struct  LIBRARIAN
 

Enumerations

enum  DEV_CATEGORY { LEAD_DEV , FORMER_DEV , CONTRIB_DEV , DEV_CATEGORY_COUNT }
 
enum  LIBRARIAN_CATEGORY {
  LIBRARIAN_TEAM , MODELS_3D_CONTRIBUTION , SYMBOL_LIB_CONTRIBUTION , FOOTPRINT_LIB_CONTRIBUTION ,
  LIBRARIAN_CATEGORY_COUNT
}
 

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)
 

Variables

static const DEVELOPER s_developers []
 
static const wxChar *const s_docWriters []
 
static const TRANSLATOR s_translators []
 
static const LIBRARIAN s_librarians []
 
static const wxChar *const s_artists []
 
static const wxChar *const s_packagers []
 

Enumeration Type Documentation

◆ DEV_CATEGORY

Enumerator
LEAD_DEV 
FORMER_DEV 
CONTRIB_DEV 
DEV_CATEGORY_COUNT 

Definition at line 50 of file AboutDialog_main.cpp.

◆ LIBRARIAN_CATEGORY

Enumerator
LIBRARIAN_TEAM 
MODELS_3D_CONTRIBUTION 
SYMBOL_LIB_CONTRIBUTION 
FOOTPRINT_LIB_CONTRIBUTION 
LIBRARIAN_CATEGORY_COUNT 

Definition at line 59 of file AboutDialog_main.cpp.

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 1220 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 1240 of file AboutDialog_main.cpp.

Referenced by buildKicadAboutBanner().

◆ ShowAboutDialog()

void ShowAboutDialog ( EDA_BASE_FRAME * aParent)

Definition at line 1197 of file AboutDialog_main.cpp.

References buildKicadAboutBanner(), and info.

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

Variable Documentation

◆ s_artists

const wxChar* const s_artists[]
static
Initial value:
= {
wxT( "Aleksandr Zyrianov" ),
wxT( "Anda Subero" ),
wxT( "Iñigo Zuluaga" ),
wxS( "Fabrizio Tappero" ),
}

Definition at line 991 of file AboutDialog_main.cpp.

Referenced by buildKicadAboutBanner().

◆ s_developers

const DEVELOPER s_developers[]
static

Definition at line 91 of file AboutDialog_main.cpp.

Referenced by buildKicadAboutBanner().

◆ s_docWriters

const wxChar* const s_docWriters[]
static
Initial value:
= {
wxT( "Scott Candey" ),
wxS( "Jean-Pierre Charras" ),
wxS( "Marco Ciampa" ),
wxS( "Jon Evans" ),
wxS( "Dick Hollenbeck" ),
wxS( "James Jackson" ),
wxS( "Graham Keeth" ),
wxS( "Igor Plyatov" ),
wxS( "Wayne Stambaugh" ),
wxS( "Fabrizio Tappero" ),
wxS( "taotieren" ),
}

Definition at line 557 of file AboutDialog_main.cpp.

Referenced by buildKicadAboutBanner().

◆ s_librarians

const LIBRARIAN s_librarians[]
static

Definition at line 916 of file AboutDialog_main.cpp.

Referenced by buildKicadAboutBanner().

◆ s_packagers

const wxChar* const s_packagers[]
static
Initial value:
= {
wxS( "Steven Falco" ),
wxS( "Johannes Maibaum" ),
wxS( "Jean-Samuel Reynaud" ),
wxS( "Bernhard Stegmaier" ),
wxS( "Adam Wolf" ),
wxT( "Nick Østergaard" ),
}

Definition at line 999 of file AboutDialog_main.cpp.

Referenced by buildKicadAboutBanner().

◆ s_translators

const TRANSLATOR s_translators[]
static

Definition at line 572 of file AboutDialog_main.cpp.

Referenced by buildKicadAboutBanner().