KiCad PCB EDA Suite
dialog_print_generic_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Oct 26 2018)
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 "dialog_shim.h"
14 #include <wx/string.h>
15 #include <wx/stattext.h>
16 #include <wx/gdicmn.h>
17 #include <wx/font.h>
18 #include <wx/colour.h>
19 #include <wx/settings.h>
20 #include <wx/choice.h>
21 #include <wx/checkbox.h>
22 #include <wx/gbsizer.h>
23 #include <wx/sizer.h>
24 #include <wx/statbox.h>
25 #include <wx/radiobut.h>
26 #include <wx/textctrl.h>
27 #include <wx/statline.h>
28 #include <wx/bitmap.h>
29 #include <wx/image.h>
30 #include <wx/icon.h>
31 #include <wx/button.h>
32 #include <wx/dialog.h>
33 
35 
40 {
41  private:
42 
43  protected:
44  enum
45  {
48  };
49 
50  wxBoxSizer* m_bUpperSizer;
51  wxStaticBoxSizer* m_sbOptionsSizer;
52  wxGridBagSizer* m_gbOptionsSizer;
53  wxStaticText* m_outputModeLabel;
54  wxChoice* m_outputMode;
55  wxCheckBox* m_titleBlock;
56  wxRadioButton* m_scale1;
57  wxRadioButton* m_scaleFit;
58  wxRadioButton* m_scaleCustom;
59  wxTextCtrl* m_scaleCustomText;
60  wxStaticLine* m_staticline1;
61  wxButton* m_buttonOption;
62  wxStdDialogButtonSizer* m_sdbSizer1;
63  wxButton* m_sdbSizer1OK;
64  wxButton* m_sdbSizer1Apply;
65  wxButton* m_sdbSizer1Cancel;
66 
67  // Virtual event handlers, overide them in your derived class
68  virtual void onClose( wxCloseEvent& event ) { event.Skip(); }
69  virtual void onSetCustomScale( wxCommandEvent& event ) { event.Skip(); }
70  virtual void onPageSetup( wxCommandEvent& event ) { event.Skip(); }
71  virtual void onPrintPreview( wxCommandEvent& event ) { event.Skip(); }
72  virtual void onCancelButtonClick( wxCommandEvent& event ) { event.Skip(); }
73  virtual void onPrintButtonClick( wxCommandEvent& event ) { event.Skip(); }
74 
75 
76  public:
77 
78  DIALOG_PRINT_GENERIC_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Print"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
80 
81 };
82 
virtual void onCancelButtonClick(wxCommandEvent &event)
virtual void onClose(wxCloseEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:82
Class DIALOG_PRINT_GENERIC_BASE.
virtual void onPrintButtonClick(wxCommandEvent &event)
virtual void onPageSetup(wxCommandEvent &event)
virtual void onPrintPreview(wxCommandEvent &event)
#define _(s)
DIALOG_PRINT_GENERIC_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Print"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void onSetCustomScale(wxCommandEvent &event)
wxStdDialogButtonSizer * m_sdbSizer1