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

Custom print preview frame. More...

Inheritance diagram for KI_PREVIEW_FRAME:

Public Member Functions

 KI_PREVIEW_FRAME (wxPrintPreview *aPreview, wxWindow *aParent, const wxString &aTitle, const wxPoint &aPos=wxDefaultPosition, const wxSize &aSize=wxDefaultSize)
 
bool Show (bool show) override
 

Static Private Attributes

static wxPoint s_pos
 
static wxSize s_size
 

Detailed Description

Custom print preview frame.

This derived preview frame remembers its size and position during a session

Definition at line 40 of file dialog_print_generic.cpp.

Constructor & Destructor Documentation

◆ KI_PREVIEW_FRAME()

KI_PREVIEW_FRAME::KI_PREVIEW_FRAME ( wxPrintPreview *  aPreview,
wxWindow *  aParent,
const wxString &  aTitle,
const wxPoint &  aPos = wxDefaultPosition,
const wxSize &  aSize = wxDefaultSize 
)
inline

Definition at line 43 of file dialog_print_generic.cpp.

Member Function Documentation

◆ Show()

bool KI_PREVIEW_FRAME::Show ( bool  show)
inlineoverride

Definition at line 50 of file dialog_print_generic.cpp.

References s_pos, and s_size.

Referenced by DIALOG_PRINT_GENERIC::onPrintPreview().

Member Data Documentation

◆ s_pos

wxPoint KI_PREVIEW_FRAME::s_pos
staticprivate

Definition at line 76 of file dialog_print_generic.cpp.

Referenced by Show().

◆ s_size

wxSize KI_PREVIEW_FRAME::s_size
staticprivate

Definition at line 77 of file dialog_print_generic.cpp.

Referenced by Show().


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