KiCad PCB EDA Suite
Loading...
Searching...
No Matches
DIALOG_ABOUT Class Reference

About dialog to show application specific information. More...

#include <dialog_about.h>

Inheritance diagram for DIALOG_ABOUT:
DIALOG_ABOUT_BASE

Public Member Functions

 DIALOG_ABOUT (EDA_BASE_FRAME *aParent, ABOUT_APP_INFO &aAppInfo)
 
 ~DIALOG_ABOUT ()
 

Protected Member Functions

void OnNotebookPageChanged (wxNotebookEvent &aEvent) override
 

Protected Attributes

wxStaticBitmap * m_bitmapApp
 
wxStaticText * m_staticTextAppTitle
 
wxStaticText * m_staticTextCopyright
 
wxStaticText * m_staticTextBuildVersion
 
wxStaticText * m_staticTextLibVersion
 
wxButton * m_btCopyVersionInfo
 
wxButton * m_btReportBug
 
wxButton * m_btDonate
 
wxNotebook * m_notebook
 
wxButton * m_btOk
 

Private Member Functions

void onHtmlLinkClicked (wxHtmlLinkEvent &event)
 
void onCopyVersionInfo (wxCommandEvent &event) override
 
void onReportBug (wxCommandEvent &event) override
 
void onDonateClick (wxCommandEvent &event) override
 
void createNotebooks ()
 
void createNotebookPageByCategory (wxNotebook *aParent, const wxString &aCaption, IMAGES aIconIndex, const CONTRIBUTORS &aContributors)
 
void createNotebookHtmlPage (wxNotebook *aParent, const wxString &aCaption, IMAGES aIconIndex, const wxString &aHtmlMessage, bool aSelection=false)
 
wxStaticText * wxStaticTextRef (wxScrolledWindow *aParent, const wxString &aReference)
 
wxStaticBitmap * createStaticBitmap (wxScrolledWindow *aParent, wxBitmap *icon)
 

Private Attributes

wxImageList * m_images
 
wxString m_titleName
 
wxString m_untranslatedTitleName
 
ABOUT_APP_INFOm_info
 

Detailed Description

About dialog to show application specific information.

Needs a ABOUT_APP_INFO object that contains the data to be displayed.

Definition at line 53 of file dialog_about.h.

Constructor & Destructor Documentation

◆ DIALOG_ABOUT()

◆ ~DIALOG_ABOUT()

DIALOG_ABOUT::~DIALOG_ABOUT ( )

Definition at line 124 of file dialog_about.cpp.

References m_images.

Member Function Documentation

◆ createNotebookHtmlPage()

void DIALOG_ABOUT::createNotebookHtmlPage ( wxNotebook *  aParent,
const wxString &  aCaption,
IMAGES  aIconIndex,
const wxString &  aHtmlMessage,
bool  aSelection = false 
)
private

Definition at line 210 of file dialog_about.cpp.

References onHtmlLinkClicked(), and HTML_WINDOW::SetPage().

Referenced by createNotebookPageByCategory(), and createNotebooks().

◆ createNotebookPageByCategory()

void DIALOG_ABOUT::createNotebookPageByCategory ( wxNotebook *  aParent,
const wxString &  aCaption,
IMAGES  aIconIndex,
const CONTRIBUTORS &  aContributors 
)
private

◆ createNotebooks()

◆ createStaticBitmap()

wxStaticBitmap * DIALOG_ABOUT::createStaticBitmap ( wxScrolledWindow *  aParent,
wxBitmap *  icon 
)
private

◆ onCopyVersionInfo()

void DIALOG_ABOUT::onCopyVersionInfo ( wxCommandEvent &  event)
overrideprivatevirtual

◆ onDonateClick()

void DIALOG_ABOUT::onDonateClick ( wxCommandEvent &  event)
overrideprivatevirtual

Reimplemented from DIALOG_ABOUT_BASE.

Definition at line 271 of file dialog_about.cpp.

◆ onHtmlLinkClicked()

void DIALOG_ABOUT::onHtmlLinkClicked ( wxHtmlLinkEvent &  event)
private

Definition at line 245 of file dialog_about.cpp.

Referenced by createNotebookHtmlPage().

◆ OnNotebookPageChanged()

void DIALOG_ABOUT::OnNotebookPageChanged ( wxNotebookEvent &  aEvent)
overrideprotectedvirtual

Reimplemented from DIALOG_ABOUT_BASE.

Definition at line 285 of file dialog_about.cpp.

References DIALOG_ABOUT_BASE::m_notebook.

◆ onReportBug()

void DIALOG_ABOUT::onReportBug ( wxCommandEvent &  event)
overrideprivatevirtual

Reimplemented from DIALOG_ABOUT_BASE.

Definition at line 278 of file dialog_about.cpp.

◆ wxStaticTextRef()

wxStaticText * DIALOG_ABOUT::wxStaticTextRef ( wxScrolledWindow *  aParent,
const wxString &  aReference 
)
private

Member Data Documentation

◆ m_bitmapApp

wxStaticBitmap* DIALOG_ABOUT_BASE::m_bitmapApp
protectedinherited

Definition at line 38 of file dialog_about_base.h.

Referenced by DIALOG_ABOUT(), and DIALOG_ABOUT_BASE::DIALOG_ABOUT_BASE().

◆ m_btCopyVersionInfo

wxButton* DIALOG_ABOUT_BASE::m_btCopyVersionInfo
protectedinherited

◆ m_btDonate

wxButton* DIALOG_ABOUT_BASE::m_btDonate
protectedinherited

◆ m_btOk

wxButton* DIALOG_ABOUT_BASE::m_btOk
protectedinherited

Definition at line 47 of file dialog_about_base.h.

Referenced by DIALOG_ABOUT_BASE::DIALOG_ABOUT_BASE().

◆ m_btReportBug

wxButton* DIALOG_ABOUT_BASE::m_btReportBug
protectedinherited

◆ m_images

wxImageList* DIALOG_ABOUT::m_images
private

Definition at line 83 of file dialog_about.h.

Referenced by DIALOG_ABOUT(), and ~DIALOG_ABOUT().

◆ m_info

ABOUT_APP_INFO& DIALOG_ABOUT::m_info
private

Definition at line 87 of file dialog_about.h.

Referenced by createNotebooks(), and DIALOG_ABOUT().

◆ m_notebook

wxNotebook* DIALOG_ABOUT_BASE::m_notebook
protectedinherited

◆ m_staticTextAppTitle

wxStaticText* DIALOG_ABOUT_BASE::m_staticTextAppTitle
protectedinherited

Definition at line 39 of file dialog_about_base.h.

Referenced by DIALOG_ABOUT(), and DIALOG_ABOUT_BASE::DIALOG_ABOUT_BASE().

◆ m_staticTextBuildVersion

wxStaticText* DIALOG_ABOUT_BASE::m_staticTextBuildVersion
protectedinherited

Definition at line 41 of file dialog_about_base.h.

Referenced by DIALOG_ABOUT(), and DIALOG_ABOUT_BASE::DIALOG_ABOUT_BASE().

◆ m_staticTextCopyright

wxStaticText* DIALOG_ABOUT_BASE::m_staticTextCopyright
protectedinherited

Definition at line 40 of file dialog_about_base.h.

Referenced by DIALOG_ABOUT(), and DIALOG_ABOUT_BASE::DIALOG_ABOUT_BASE().

◆ m_staticTextLibVersion

wxStaticText* DIALOG_ABOUT_BASE::m_staticTextLibVersion
protectedinherited

Definition at line 42 of file dialog_about_base.h.

Referenced by DIALOG_ABOUT(), and DIALOG_ABOUT_BASE::DIALOG_ABOUT_BASE().

◆ m_titleName

wxString DIALOG_ABOUT::m_titleName
private

Definition at line 84 of file dialog_about.h.

Referenced by DIALOG_ABOUT().

◆ m_untranslatedTitleName

wxString DIALOG_ABOUT::m_untranslatedTitleName
private

Definition at line 85 of file dialog_about.h.

Referenced by createNotebooks(), DIALOG_ABOUT(), and onCopyVersionInfo().


The documentation for this class was generated from the following files: