KiCad PCB EDA Suite
|
#include <pcb_test_frame.h>
Public Member Functions | |
PCB_TEST_FRAME_BASE () | |
virtual | ~PCB_TEST_FRAME_BASE () |
virtual void | SetBoard (std::shared_ptr< BOARD > b) |
virtual BOARD * | LoadAndDisplayBoard (const std::string &filename) |
std::shared_ptr< PCB_DRAW_PANEL_GAL > | GetPanel () |
std::shared_ptr< BOARD > | GetBoard () |
void | LoadSettings () |
Protected Member Functions | |
void | createView (wxWindow *aParent, PCB_DRAW_PANEL_GAL::GAL_TYPE aGalType=PCB_DRAW_PANEL_GAL::GAL_TYPE_OPENGL) |
virtual void | createUserTools () |
Protected Attributes | |
std::shared_ptr< PCB_DRAW_PANEL_GAL > | m_galPanel |
std::shared_ptr< BOARD > | m_board |
KIGFX::GAL_DISPLAY_OPTIONS | m_displayOptions |
wxString | m_mruPath |
Definition at line 50 of file pcb_test_frame.h.
PCB_TEST_FRAME_BASE::PCB_TEST_FRAME_BASE | ( | ) |
Definition at line 178 of file pcb_test_frame.cpp.
References m_mruPath.
|
virtual |
Definition at line 184 of file pcb_test_frame.cpp.
|
inlineprotectedvirtual |
Reimplemented in PNS_LOG_VIEWER_FRAME.
Definition at line 67 of file pcb_test_frame.h.
Referenced by createView().
|
protected |
Definition at line 127 of file pcb_test_frame.cpp.
References createUserTools(), SETTINGS_MANAGER::GetAppSettings(), DPI_SCALING_COMMON::GetScaleFactor(), KIGFX::GAL_DISPLAY_OPTIONS::gl_antialiasing_mode, m_board, m_displayOptions, m_galPanel, KIGFX::GAL_DISPLAY_OPTIONS::m_scaleFactor, KIGFX::NONE, and Pgm().
Referenced by PNS_LOG_VIEWER_FRAME::PNS_LOG_VIEWER_FRAME().
|
inline |
Definition at line 60 of file pcb_test_frame.h.
References m_board.
|
inline |
Definition at line 59 of file pcb_test_frame.h.
References m_galPanel.
|
virtual |
Definition at line 101 of file pcb_test_frame.cpp.
References PLUGIN::LoadBoard(), and IO_ERROR::Problem().
void PCB_TEST_FRAME_BASE::LoadSettings | ( | ) |
Definition at line 190 of file pcb_test_frame.cpp.
References SETTINGS_MANAGER::GetColorSettings(), JSON_SETTINGS::Load(), Pgm(), and SETTINGS_MANAGER::RegisterSettings().
Referenced by PNS_LOG_VIEWER_FRAME::PNS_LOG_VIEWER_FRAME().
|
virtual |
Definition at line 69 of file pcb_test_frame.cpp.
References SETTINGS_MANAGER::GetAppSettings(), KI_TRACE, m_board, m_galPanel, TOOL_BASE::MODEL_RELOAD, Pgm(), SETTINGS_MANAGER::RegisterSettings(), PROF_TIMER::Stop(), PROF_TIMER::to_string(), and traceGalProfile.
Referenced by PNS_LOG_VIEWER_FRAME::SetBoard2(), and PNS_LOG_VIEWER_FRAME::SetLogFile().
|
protected |
Definition at line 70 of file pcb_test_frame.h.
Referenced by createView(), GetBoard(), SetBoard(), PNS_LOG_VIEWER_FRAME::SetBoard2(), PNS_LOG_VIEWER_FRAME::SetLogFile(), and PNS_LOG_VIEWER_FRAME::~PNS_LOG_VIEWER_FRAME().
|
protected |
Definition at line 71 of file pcb_test_frame.h.
Referenced by createView().
|
protected |
Definition at line 69 of file pcb_test_frame.h.
Referenced by createView(), PNS_LOG_VIEWER_FRAME::drawLoggedItems(), GetPanel(), PNS_LOG_VIEWER_FRAME::PNS_LOG_VIEWER_FRAME(), SetBoard(), PNS_LOG_VIEWER_FRAME::SetBoard2(), PNS_LOG_VIEWER_FRAME::SetLogFile(), and PNS_LOG_VIEWER_FRAME::updatePnsPreviewItems().
|
protected |
Definition at line 72 of file pcb_test_frame.h.
Referenced by PNS_LOG_VIEWER_FRAME::onOpen(), PNS_LOG_VIEWER_FRAME::onSaveAs(), and PCB_TEST_FRAME_BASE().