KiCad PCB EDA Suite
dialog_about_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 3.10.0)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
8#pragma once
9
10#include <wx/artprov.h>
11#include <wx/xrc/xmlres.h>
12#include <wx/intl.h>
13#include <wx/bitmap.h>
14#include <wx/image.h>
15#include <wx/icon.h>
16#include <wx/statbmp.h>
17#include <wx/gdicmn.h>
18#include <wx/font.h>
19#include <wx/colour.h>
20#include <wx/settings.h>
21#include <wx/string.h>
22#include <wx/stattext.h>
23#include <wx/sizer.h>
24#include <wx/button.h>
25#include <wx/notebook.h>
26#include <wx/dialog.h>
27
29
33class DIALOG_ABOUT_BASE : public wxDialog
34{
35 private:
36
37 protected:
38 wxStaticBitmap* m_bitmapApp;
39 wxStaticText* m_staticTextAppTitle;
40 wxStaticText* m_staticTextCopyright;
44 wxButton* m_btReportBug;
45 wxButton* m_btDonate;
46 wxNotebook* m_notebook;
47 wxButton* m_btOk;
48
49 // Virtual event handlers, override them in your derived class
50 virtual void onCopyVersionInfo( wxCommandEvent& event ) { event.Skip(); }
51 virtual void onReportBug( wxCommandEvent& event ) { event.Skip(); }
52 virtual void onDonateClick( wxCommandEvent& event ) { event.Skip(); }
53 virtual void OnNotebookPageChanged( wxNotebookEvent& event ) { event.Skip(); }
54
55
56 public:
57
58 DIALOG_ABOUT_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("About"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 570,500 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
59
61
62};
63
Class DIALOG_ABOUT_BASE.
virtual void onDonateClick(wxCommandEvent &event)
wxStaticText * m_staticTextBuildVersion
wxStaticBitmap * m_bitmapApp
wxStaticText * m_staticTextCopyright
virtual void onCopyVersionInfo(wxCommandEvent &event)
DIALOG_ABOUT_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("About"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(570, 500), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
wxStaticText * m_staticTextLibVersion
wxButton * m_btCopyVersionInfo
wxNotebook * m_notebook
wxStaticText * m_staticTextAppTitle
wxButton * m_btReportBug
virtual void onReportBug(wxCommandEvent &event)
virtual void OnNotebookPageChanged(wxNotebookEvent &event)
#define _(s)