20#ifndef DIALOG_PRINT_GENERIC_H
21#define DIALOG_PRINT_GENERIC_H
30class wxPageSetupDialogData;
95 void onClose( wxCloseEvent& event )
override;
APP_SETTINGS_BASE is a settings class that should be derived for each standalone KiCad application.
Class DIALOG_PRINT_GENERIC_BASE.
wxBoxSizer * m_bUpperSizer
wxStaticBoxSizer * m_sbOptionsSizer
wxGridBagSizer * m_gbOptionsSizer
APP_SETTINGS_BASE * m_config
void onClose(wxCloseEvent &event) override
void setScaleValue(double aValue)
Select a corresponding scale radio button and update custom scale value if needed.
void onSetCustomScale(wxCommandEvent &event) override
static wxPrintData * s_PrintData
wxStaticBox * getOptionsBox()
virtual ~DIALOG_PRINT_GENERIC()
void onCancelButtonClick(wxCommandEvent &aEvent) override
virtual wxPrintout * createPrintout(const wxString &aTitle)=0
Create a printout with a requested title.
bool TransferDataToWindow() override
void onPageSetup(wxCommandEvent &event) override
double getScaleValue()
Return scale value selected in the dialog.
virtual void saveSettings()
void onPrintButtonClick(wxCommandEvent &event) override
wxFloatingPointValidator< double > m_scaleValidator
void ForcePrintBorder(bool aValue)
Set 'print border and title block' to a requested value and hides the corresponding checkbox.
static wxPageSetupDialogData * s_pageSetupData
wxGridBagSizer * getOptionsSizer()
void onPrintPreview(wxCommandEvent &event) override
PRINTOUT_SETTINGS * m_settings
The base class for create windows for drawing purpose.
Handle the parameters used to print a board drawing.