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

#include <pns_log_viewer_frame.h>

Inheritance diagram for PNS_LOG_VIEWER_FRAME:
PNS_LOG_VIEWER_FRAME_BASE PCB_TEST_FRAME_BASE TOOLS_HOLDER

Public Member Functions

 PNS_LOG_VIEWER_FRAME (wxFrame *frame)
 
virtual ~PNS_LOG_VIEWER_FRAME ()
 
void LoadLogFile (const wxString &aFile)
 
void SetLogFile (PNS_LOG_FILE *aLog)
 
void SetBoard2 (std::shared_ptr< BOARD > aBoard)
 
REPORTERGetConsoleReporter ()
 
std::shared_ptr< PNS_LOG_VIEWER_OVERLAYGetOverlay () const
 
void m_mainSplitterOnIdle (wxIdleEvent &)
 
virtual void SetBoard (std::shared_ptr< BOARD > b)
 
virtual BOARDLoadAndDisplayBoard (const std::string &filename)
 
std::shared_ptr< PCB_DRAW_PANEL_GALGetPanel ()
 
std::shared_ptr< BOARDGetBoard ()
 
void LoadSettings ()
 
virtual wxWindow * GetToolCanvas () const override
 Canvas access.
 
void SetSelectionHook (std::function< void(PCB_TEST_FRAME_BASE *, PCB_SELECTION *)> aHook)
 
void SetSelectableItemTypes (const std::vector< KICAD_T > aTypes)
 
std::shared_ptr< PCB_TEST_SELECTION_TOOLGetSelectionTool () const
 
TOOL_MANAGERGetToolManager () const
 Return the MVC controller.
 
TOOL_DISPATCHERGetToolDispatcher () const
 
virtual void RegisterUIUpdateHandler (const TOOL_ACTION &aAction, const ACTION_CONDITIONS &aConditions)
 Register an action's update conditions with the UI layer to allow the UI to appropriately display the state of its controls.
 
virtual void RegisterUIUpdateHandler (int aID, const ACTION_CONDITIONS &aConditions)
 Register a UI update handler for the control with ID aID.
 
virtual void UnregisterUIUpdateHandler (const TOOL_ACTION &aAction)
 Unregister a UI handler for an action that was registered using RegisterUIUpdateHandler.
 
virtual void UnregisterUIUpdateHandler (int aID)
 Unregister a UI handler for a given ID that was registered using RegisterUIUpdateHandler.
 
virtual SELECTIONGetCurrentSelection ()
 Get the current selection from the canvas area.
 
virtual void PushTool (const TOOL_EVENT &aEvent)
 NB: the definition of "tool" is different at the user level.
 
virtual void PopTool (const TOOL_EVENT &aEvent)
 Pops a tool from the stack.
 
bool ToolStackIsEmpty ()
 
std::string CurrentToolName () const
 
bool IsCurrentTool (const TOOL_ACTION &aAction) const
 
virtual void DisplayToolMsg (const wxString &msg)
 
virtual void ShowChangedLanguage ()
 
bool GetDoImmediateActions () const
 Indicate that hotkeys should perform an immediate action even if another tool is currently active.
 
MOUSE_DRAG_ACTION GetDragAction () const
 Indicates whether a drag should draw a selection rectangle or drag selected (or unselected) objects.
 
bool GetMoveWarpsCursor () const
 Indicate that a move operation should warp the mouse pointer to the origin of the move object.
 
virtual void CommonSettingsChanged (int aFlags=0)
 Notification event that some of the common (suite-wide) settings have changed.
 
virtual void RefreshCanvas ()
 
virtual wxString ConfigBaseName ()
 

Protected Member Functions

virtual void onRewindCountText2 (wxCommandEvent &event)
 
void createView (wxWindow *aParent, PCB_DRAW_PANEL_GAL::GAL_TYPE aGalType=PCB_DRAW_PANEL_GAL::GAL_TYPE_OPENGL)
 

Protected Attributes

wxMenuBar * m_menubar1
 
wxMenu * m_menuFile
 
wxMenu * m_menuView
 
wxBoxSizer * m_mainSizer
 
wxFlexGridSizer * m_topBarSizer
 
wxStaticText * m_rewindText
 
wxButton * m_rewindLeft
 
wxSlider * m_rewindSlider
 
wxButton * m_rewindRight
 
wxTextCtrl * m_rewindPos
 
wxStaticText * m_staticText2
 
wxTextCtrl * m_filterString
 
wxStaticText * m_algoStatus
 
wxStaticText * m_ideLabel
 
wxChoice * m_ideChoice
 
wxSplitterWindow * m_mainSplitter
 
wxPanel * m_panelProps
 
wxNotebook * m_propsNotebook
 
wxPanel * m_panelListView
 
wxTreeListCtrl * m_itemList
 
wxPanel * m_panelConsole
 
wxTextCtrl * m_consoleText
 
wxStatusBar * m_statusBar
 
std::shared_ptr< PCB_DRAW_PANEL_GALm_galPanel
 
std::shared_ptr< BOARDm_board
 
std::shared_ptr< PCB_TEST_SELECTION_TOOLm_selectionTool
 
KIGFX::GAL_DISPLAY_OPTIONS m_displayOptions
 
wxString m_mruPath
 
TOOL_MANAGERm_toolManager
 
ACTIONSm_actions
 
TOOL_DISPATCHERm_toolDispatcher
 
SELECTION m_dummySelection
 
std::vector< std::string > m_toolStack
 
bool m_immediateActions
 
MOUSE_DRAG_ACTION m_dragAction
 
bool m_moveWarpsCursor
 

Private Member Functions

void drawLoggedItems (int iter)
 
void updateDumpPanel (int iter)
 
virtual void createUserTools () override
 
void buildListTree (wxTreeListItem item, PNS_DEBUG_SHAPE *ent, int depth=0)
 
void syncModel ()
 
PNS_DEBUG_STAGEgetCurrentStage ()
 
void updatePnsPreviewItems (int iter)
 
bool filterStringMatches (PNS_DEBUG_SHAPE *ent)
 
void updateViewerIface ()
 
virtual void onOpen (wxCommandEvent &event) override
 
virtual void onSaveAs (wxCommandEvent &event) override
 
virtual void onExit (wxCommandEvent &event) override
 
virtual void onRewindScroll (wxScrollEvent &event) override
 
virtual void onRewindCountText (wxCommandEvent &event) override
 
virtual void onListRightClick (wxMouseEvent &event)
 
virtual void onListSelect (wxCommandEvent &event)
 
virtual void onBtnRewindLeft (wxCommandEvent &event) override
 
virtual void onBtnRewindRight (wxCommandEvent &event) override
 
virtual void onListChecked (wxCommandEvent &event)
 
virtual void onShowThinLinesChecked (wxCommandEvent &event) override
 
virtual void onShowRPIsChecked (wxCommandEvent &event) override
 
virtual void onShowVerticesChecked (wxCommandEvent &event) override
 
virtual void onFilterText (wxCommandEvent &event) override
 
void drawSimpleShape (SHAPE *aShape, bool aIsSelected, const std::string &aName)
 

Private Attributes

std::shared_ptr< PNS_LOG_VIEWER_OVERLAYm_overlay
 
std::shared_ptr< PNS_LOG_FILEm_logFile
 
std::shared_ptr< PNS_LOG_PLAYERm_logPlayer
 
int m_rewindIter
 
wxMenu * m_listPopupMenu
 
std::shared_ptr< KIGFX::VIEW_GROUPm_previewItems
 
std::shared_ptr< PNS_VIEWER_IFACEm_viewerIface
 
std::map< wxString, wxString > m_filenameToPathMap
 
bool m_showThinLines = true
 
bool m_showRPIs = true
 
bool m_showVertices = false
 
wxString m_searchString
 
std::shared_ptr< WX_TEXT_CTRL_REPORTERm_reporter
 

Detailed Description

Definition at line 225 of file pns_log_viewer_frame.h.

Constructor & Destructor Documentation

◆ PNS_LOG_VIEWER_FRAME()

◆ ~PNS_LOG_VIEWER_FRAME()

PNS_LOG_VIEWER_FRAME::~PNS_LOG_VIEWER_FRAME ( )
virtual

Member Function Documentation

◆ buildListTree()

◆ CommonSettingsChanged()

◆ ConfigBaseName()

virtual wxString TOOLS_HOLDER::ConfigBaseName ( )
inlinevirtualinherited

Reimplemented in EDA_BASE_FRAME.

Definition at line 168 of file tools_holder.h.

◆ createUserTools()

void PNS_LOG_VIEWER_FRAME::createUserTools ( )
overrideprivatevirtual

Reimplemented from PCB_TEST_FRAME_BASE.

Definition at line 213 of file pns_log_viewer_frame.cpp.

◆ createView()

void PCB_TEST_FRAME_BASE::createView ( wxWindow * aParent,
PCB_DRAW_PANEL_GAL::GAL_TYPE aGalType = PCB_DRAW_PANEL_GAL::GAL_TYPE_OPENGL )
protectedinherited

◆ CurrentToolName()

std::string TOOLS_HOLDER::CurrentToolName ( ) const
inherited

Definition at line 120 of file tools_holder.cpp.

References m_toolStack, and ACTIONS::selectionTool.

Referenced by ShowChangedLanguage().

◆ DisplayToolMsg()

virtual void TOOLS_HOLDER::DisplayToolMsg ( const wxString & msg)
inlinevirtualinherited

Reimplemented in EDA_DRAW_FRAME.

Definition at line 130 of file tools_holder.h.

Referenced by PopTool(), PushTool(), and ShowChangedLanguage().

◆ drawLoggedItems()

◆ drawSimpleShape()

void PNS_LOG_VIEWER_FRAME::drawSimpleShape ( SHAPE * aShape,
bool aIsSelected,
const std::string & aName )
private

◆ filterStringMatches()

bool PNS_LOG_VIEWER_FRAME::filterStringMatches ( PNS_DEBUG_SHAPE * ent)
private

◆ GetBoard()

std::shared_ptr< BOARD > PCB_TEST_FRAME_BASE::GetBoard ( )
inlineinherited

Definition at line 63 of file pcb_test_frame.h.

References m_board.

◆ GetConsoleReporter()

REPORTER * PNS_LOG_VIEWER_FRAME::GetConsoleReporter ( )

Definition at line 964 of file pns_log_viewer_frame.cpp.

References m_reporter.

◆ GetCurrentSelection()

◆ getCurrentStage()

PNS_DEBUG_STAGE * PNS_LOG_VIEWER_FRAME::getCurrentStage ( )
private

◆ GetDoImmediateActions()

bool TOOLS_HOLDER::GetDoImmediateActions ( ) const
inlineinherited

Indicate that hotkeys should perform an immediate action even if another tool is currently active.

If false, the first hotkey should select the relevant tool.

Definition at line 138 of file tools_holder.h.

References m_immediateActions.

◆ GetDragAction()

MOUSE_DRAG_ACTION TOOLS_HOLDER::GetDragAction ( ) const
inlineinherited

Indicates whether a drag should draw a selection rectangle or drag selected (or unselected) objects.

Definition at line 144 of file tools_holder.h.

References m_dragAction.

◆ GetMoveWarpsCursor()

bool TOOLS_HOLDER::GetMoveWarpsCursor ( ) const
inlineinherited

Indicate that a move operation should warp the mouse pointer to the origin of the move object.

This improves snapping, but some users are allergic to mouse warping.

Definition at line 150 of file tools_holder.h.

References m_moveWarpsCursor.

Referenced by EDIT_TOOL::doMoveSelection(), and ROUTER_TOOL::InlineDrag().

◆ GetOverlay()

std::shared_ptr< PNS_LOG_VIEWER_OVERLAY > PNS_LOG_VIEWER_FRAME::GetOverlay ( ) const
inline

Definition at line 236 of file pns_log_viewer_frame.h.

References m_overlay.

◆ GetPanel()

std::shared_ptr< PCB_DRAW_PANEL_GAL > PCB_TEST_FRAME_BASE::GetPanel ( )
inlineinherited

Definition at line 62 of file pcb_test_frame.h.

References m_galPanel.

Referenced by PCB_TEST_SELECTION_TOOL::canvas().

◆ GetSelectionTool()

std::shared_ptr< PCB_TEST_SELECTION_TOOL > PCB_TEST_FRAME_BASE::GetSelectionTool ( ) const
inlineinherited

Definition at line 74 of file pcb_test_frame.h.

References m_selectionTool.

◆ GetToolCanvas()

virtual wxWindow * PCB_TEST_FRAME_BASE::GetToolCanvas ( ) const
inlineoverridevirtualinherited

Canvas access.

Implements TOOLS_HOLDER.

Definition at line 67 of file pcb_test_frame.h.

References m_galPanel.

◆ GetToolDispatcher()

TOOL_DISPATCHER * TOOLS_HOLDER::GetToolDispatcher ( ) const
inlineinherited

Definition at line 57 of file tools_holder.h.

References m_toolDispatcher.

◆ GetToolManager()

TOOL_MANAGER * TOOLS_HOLDER::GetToolManager ( ) const
inlineinherited

Return the MVC controller.

Definition at line 55 of file tools_holder.h.

References m_toolManager.

Referenced by PROJECT_TREE_ITEM::Activate(), FOOTPRINT_VIEWER_FRAME::AddFootprintToPCB(), SYMBOL_EDITOR_CONTROL::AddSymbolToSchematic(), PCB_EDIT_FRAME::CanAcceptApiCommands(), EDA_DRAW_FRAME::CommonSettingsChanged(), CommonSettingsChanged(), DIALOG_MIGRATE_BUSES::DIALOG_MIGRATE_BUSES(), SCH_FIELD::DoHypertextAction(), SCH_TEXT::DoHypertextAction(), SCH_TEXTBOX::DoHypertextAction(), DRAWING_TOOL::DrawVia(), PCB_EDIT_FRAME::ExecuteRemoteCommand(), SCH_EDIT_FRAME::ExecuteRemoteCommand(), FOOTPRINT_EDIT_FRAME::FOOTPRINT_EDIT_FRAME(), GERBVIEW_FRAME::GERBVIEW_FRAME(), PL_EDITOR_FRAME::GetLayoutFromRedoList(), PL_EDITOR_FRAME::GetLayoutFromUndoList(), PCB_TUNING_PATTERN::GetPreviewItems(), PCBNEW_JOBS_HANDLER::getToolManager(), API_HANDLER_PCB::handleAddToSelection(), API_HANDLER_PCB::handleClearSelection(), API_HANDLER_PCB::handleGetSelection(), API_HANDLER_PCB::handleInteractiveMoveItems(), API_HANDLER_PCB::handleRefillZones(), API_HANDLER_PCB::handleRemoveFromSelection(), API_HANDLER_PCB::handleSaveSelectionToString(), API_HANDLER_PCB::handleSetBoardOrigin(), PCB_EDIT_FRAME::KiwayMailIn(), SCH_EDIT_FRAME::KiwayMailIn(), PCB_EDIT_FRAME::LoadProjectSettings(), SCH_EDIT_FRAME::LoadProjectSettings(), FOOTPRINT_EDIT_FRAME::LoadSettings(), SYMBOL_EDIT_FRAME::LoadSymbol(), SYMBOL_EDIT_FRAME::LoadSymbolFromSchematic(), PCB_EDIT_FRAME::OnCrossProbeFlashTimer(), SCH_EDIT_FRAME::OnCrossProbeFlashTimer(), FOOTPRINT_CHOOSER_FRAME::onFpChanged(), PANEL_COMPONENT_CLASS_ASSIGNMENT::OnHighlightItemsClick(), KICAD_MANAGER_FRAME::OnIdle(), FOOTPRINTS_LISTBOX::OnLeftDClick(), PCB_EDIT_FRAME::OnNetlistChanged(), SCH_EDIT_FRAME::onNetNavigatorSelection(), DIALOG_PLOT::onRunDRC(), PCB_EDIT_FRAME::onSize(), SCH_EDIT_FRAME::onSize(), PCB_DESIGN_BLOCK_PANE::PCB_DESIGN_BLOCK_PANE(), PopTool(), PCB_BASE_EDIT_FRAME::PutDataInPreviousState(), SCH_EDIT_FRAME::PutDataInPreviousState(), FOOTPRINT_WIZARD_FRAME::PythonPluginsReload(), PCB_BASE_FRAME::rebuildConnectivity(), SCH_EDIT_FRAME::RecalculateConnections(), FOOTPRINT_EDIT_FRAME::ReloadFootprint(), PL_EDITOR_FRAME::RollbackFromUndo(), FOOTPRINT_EDIT_FRAME::SaveFootprintToBoard(), SCH_EDIT_FRAME::SaveProjectLocalSettings(), PCB_EDIT_FRAME::saveProjectSettings(), EDA_3D_VIEWER_FRAME::SaveSettings(), FOOTPRINT_EDIT_FRAME::SaveSettings(), SYMBOL_EDIT_FRAME::SaveSettings(), SCH_COMMIT::SCH_COMMIT(), SCH_DESIGN_BLOCK_PANE::SCH_DESIGN_BLOCK_PANE(), NL_3D_VIEWER_PLUGIN_IMPL::SetActiveCommand(), NL_GERBVIEW_PLUGIN_IMPL::SetActiveCommand(), NL_PCBNEW_PLUGIN_IMPL::SetActiveCommand(), NL_PL_EDITOR_PLUGIN_IMPL::SetActiveCommand(), NL_SCHEMATIC_PLUGIN_IMPL::SetActiveCommand(), SYMBOL_EDIT_FRAME::SetCurSymbol(), CVPCB_MAINFRAME::setupEventHandlers(), FOOTPRINT_EDIT_FRAME::setupTools(), ShowChangedLanguage(), PCB_TUNING_PATTERN::ShowPropertiesDialog(), SYMBOL_EDIT_FRAME::SYMBOL_EDIT_FRAME(), SYMBOL_VIEWER_FRAME::SYMBOL_VIEWER_FRAME(), CVPCB_MAINFRAME::updateFootprintViewerOnIdle(), and GLOBAL_EDIT_TOOL::ZonesManager().

◆ IsCurrentTool()

bool TOOLS_HOLDER::IsCurrentTool ( const TOOL_ACTION & aAction) const
inherited

◆ LoadAndDisplayBoard()

BOARD * PCB_TEST_FRAME_BASE::LoadAndDisplayBoard ( const std::string & filename)
virtualinherited

Definition at line 126 of file pcb_test_frame.cpp.

References IO_ERROR::Problem().

◆ LoadLogFile()

void PNS_LOG_VIEWER_FRAME::LoadLogFile ( const wxString & aFile)

Definition at line 346 of file pns_log_viewer_frame.cpp.

References m_reporter, and SetLogFile().

Referenced by onOpen().

◆ LoadSettings()

◆ m_mainSplitterOnIdle()

void PNS_LOG_VIEWER_FRAME_BASE::m_mainSplitterOnIdle ( wxIdleEvent & )
inlineinherited

◆ onBtnRewindLeft()

void PNS_LOG_VIEWER_FRAME::onBtnRewindLeft ( wxCommandEvent & event)
overrideprivatevirtual

◆ onBtnRewindRight()

void PNS_LOG_VIEWER_FRAME::onBtnRewindRight ( wxCommandEvent & event)
overrideprivatevirtual

◆ onExit()

void PNS_LOG_VIEWER_FRAME::onExit ( wxCommandEvent & event)
overrideprivatevirtual

Reimplemented from PNS_LOG_VIEWER_FRAME_BASE.

Definition at line 455 of file pns_log_viewer_frame.cpp.

◆ onFilterText()

void PNS_LOG_VIEWER_FRAME::onFilterText ( wxCommandEvent & event)
overrideprivatevirtual

◆ onListChecked()

void PNS_LOG_VIEWER_FRAME::onListChecked ( wxCommandEvent & event)
privatevirtual

Definition at line 461 of file pns_log_viewer_frame.cpp.

References drawLoggedItems(), m_rewindIter, and syncModel().

Referenced by PNS_LOG_VIEWER_FRAME().

◆ onListRightClick()

◆ onListSelect()

void PNS_LOG_VIEWER_FRAME::onListSelect ( wxCommandEvent & event)
privatevirtual

Definition at line 674 of file pns_log_viewer_frame.cpp.

References drawLoggedItems(), m_rewindIter, and syncModel().

Referenced by PNS_LOG_VIEWER_FRAME().

◆ onOpen()

void PNS_LOG_VIEWER_FRAME::onOpen ( wxCommandEvent & event)
overrideprivatevirtual

◆ onRewindCountText()

void PNS_LOG_VIEWER_FRAME::onRewindCountText ( wxCommandEvent & event)
overrideprivatevirtual

◆ onRewindCountText2()

virtual void PNS_LOG_VIEWER_FRAME_BASE::onRewindCountText2 ( wxCommandEvent & event)
inlineprotectedvirtualinherited

◆ onRewindScroll()

void PNS_LOG_VIEWER_FRAME::onRewindScroll ( wxScrollEvent & event)
overrideprivatevirtual

◆ onSaveAs()

void PNS_LOG_VIEWER_FRAME::onSaveAs ( wxCommandEvent & event)
overrideprivatevirtual

◆ onShowRPIsChecked()

void PNS_LOG_VIEWER_FRAME::onShowRPIsChecked ( wxCommandEvent & event)
overrideprivatevirtual

◆ onShowThinLinesChecked()

void PNS_LOG_VIEWER_FRAME::onShowThinLinesChecked ( wxCommandEvent & event)
overrideprivatevirtual

◆ onShowVerticesChecked()

void PNS_LOG_VIEWER_FRAME::onShowVerticesChecked ( wxCommandEvent & event)
overrideprivatevirtual

◆ PopTool()

void TOOLS_HOLDER::PopTool ( const TOOL_EVENT & aEvent)
virtualinherited

◆ PushTool()

void TOOLS_HOLDER::PushTool ( const TOOL_EVENT & aEvent)
virtualinherited

NB: the definition of "tool" is different at the user level.

The implementation uses a single TOOL_BASE derived class to implement several user "tools", such as rectangle and circle, or wire and bus. So each user-level tool is actually a TOOL_ACTION.

Pushes a tool to the stack.

Parameters
aEventThe event that is starting the tool to be pushed to the stack.

Definition at line 57 of file tools_holder.cpp.

References DisplayToolMsg(), TOOL_EVENT::getCommandStr(), TOOL_ACTION::GetFriendlyName(), m_toolManager, and m_toolStack.

Referenced by EDIT_TOOL::doMoveSelection(), PCB_VIEWER_TOOLS::MeasureTool(), and EDIT_TOOL::Remove().

◆ RefreshCanvas()

virtual void TOOLS_HOLDER::RefreshCanvas ( )
inlinevirtualinherited

Reimplemented in EDA_DRAW_FRAME.

Definition at line 166 of file tools_holder.h.

◆ RegisterUIUpdateHandler() [1/2]

void TOOLS_HOLDER::RegisterUIUpdateHandler ( const TOOL_ACTION & aAction,
const ACTION_CONDITIONS & aConditions )
virtualinherited

Register an action's update conditions with the UI layer to allow the UI to appropriately display the state of its controls.

Parameters
aActionis the action to register.
aConditionsare the UI conditions to use for the control states.

Definition at line 43 of file tools_holder.cpp.

References TOOL_ACTION::GetUIId(), and RegisterUIUpdateHandler().

Referenced by RegisterUIUpdateHandler().

◆ RegisterUIUpdateHandler() [2/2]

virtual void TOOLS_HOLDER::RegisterUIUpdateHandler ( int aID,
const ACTION_CONDITIONS & aConditions )
inlinevirtualinherited

Register a UI update handler for the control with ID aID.

Parameters
aIDis the control ID to register the handler for.
aConditionsare the UI conditions to use for the control states.

Reimplemented in EDA_BASE_FRAME.

Definition at line 75 of file tools_holder.h.

◆ SetBoard()

◆ SetBoard2()

◆ SetLogFile()

◆ SetSelectableItemTypes()

void PCB_TEST_FRAME_BASE::SetSelectableItemTypes ( const std::vector< KICAD_T > aTypes)
inherited

Definition at line 146 of file pcb_test_frame.cpp.

References m_selectionTool.

◆ SetSelectionHook()

void PCB_TEST_FRAME_BASE::SetSelectionHook ( std::function< void(PCB_TEST_FRAME_BASE *, PCB_SELECTION *)> aHook)
inherited

◆ ShowChangedLanguage()

◆ syncModel()

◆ ToolStackIsEmpty()

bool TOOLS_HOLDER::ToolStackIsEmpty ( )
inlineinherited

◆ UnregisterUIUpdateHandler() [1/2]

void TOOLS_HOLDER::UnregisterUIUpdateHandler ( const TOOL_ACTION & aAction)
virtualinherited

Unregister a UI handler for an action that was registered using RegisterUIUpdateHandler.

Parameters
aActionis the action to unregister the handler for.

Definition at line 50 of file tools_holder.cpp.

References TOOL_ACTION::GetUIId(), and UnregisterUIUpdateHandler().

Referenced by UnregisterUIUpdateHandler().

◆ UnregisterUIUpdateHandler() [2/2]

virtual void TOOLS_HOLDER::UnregisterUIUpdateHandler ( int aID)
inlinevirtualinherited

Unregister a UI handler for a given ID that was registered using RegisterUIUpdateHandler.

Parameters
aIDis the control ID to unregister the handler for.

Reimplemented in EDA_BASE_FRAME.

Definition at line 90 of file tools_holder.h.

◆ updateDumpPanel()

◆ updatePnsPreviewItems()

◆ updateViewerIface()

void PNS_LOG_VIEWER_FRAME::updateViewerIface ( )
private

Definition at line 358 of file pns_log_viewer_frame.cpp.

References PCB_TEST_FRAME_BASE::m_board, and m_viewerIface.

Referenced by SetBoard2(), and SetLogFile().

Member Data Documentation

◆ m_actions

◆ m_algoStatus

wxStaticText* PNS_LOG_VIEWER_FRAME_BASE::m_algoStatus
protectedinherited

◆ m_board

◆ m_consoleText

wxTextCtrl* PNS_LOG_VIEWER_FRAME_BASE::m_consoleText
protectedinherited

◆ m_displayOptions

KIGFX::GAL_DISPLAY_OPTIONS PCB_TEST_FRAME_BASE::m_displayOptions
protectedinherited

Definition at line 84 of file pcb_test_frame.h.

Referenced by createView().

◆ m_dragAction

MOUSE_DRAG_ACTION TOOLS_HOLDER::m_dragAction
protectedinherited

Definition at line 188 of file tools_holder.h.

Referenced by CommonSettingsChanged(), GetDragAction(), and TOOLS_HOLDER().

◆ m_dummySelection

SELECTION TOOLS_HOLDER::m_dummySelection
protectedinherited

Definition at line 175 of file tools_holder.h.

Referenced by GetCurrentSelection().

◆ m_filenameToPathMap

std::map<wxString,wxString> PNS_LOG_VIEWER_FRAME::m_filenameToPathMap
private

Definition at line 272 of file pns_log_viewer_frame.h.

Referenced by buildListTree(), and onListRightClick().

◆ m_filterString

wxTextCtrl* PNS_LOG_VIEWER_FRAME_BASE::m_filterString
protectedinherited

◆ m_galPanel

◆ m_ideChoice

wxChoice* PNS_LOG_VIEWER_FRAME_BASE::m_ideChoice
protectedinherited

◆ m_ideLabel

wxStaticText* PNS_LOG_VIEWER_FRAME_BASE::m_ideLabel
protectedinherited

Definition at line 58 of file pns_log_viewer_frame_base.h.

Referenced by PNS_LOG_VIEWER_FRAME_BASE().

◆ m_immediateActions

bool TOOLS_HOLDER::m_immediateActions
protectedinherited

Definition at line 184 of file tools_holder.h.

Referenced by CommonSettingsChanged(), GetDoImmediateActions(), and TOOLS_HOLDER().

◆ m_itemList

◆ m_listPopupMenu

wxMenu* PNS_LOG_VIEWER_FRAME::m_listPopupMenu
private

Definition at line 269 of file pns_log_viewer_frame.h.

Referenced by onListRightClick(), and PNS_LOG_VIEWER_FRAME().

◆ m_logFile

std::shared_ptr<PNS_LOG_FILE> PNS_LOG_VIEWER_FRAME::m_logFile
private

Definition at line 266 of file pns_log_viewer_frame.h.

Referenced by onSaveAs(), SetLogFile(), and ~PNS_LOG_VIEWER_FRAME().

◆ m_logPlayer

std::shared_ptr<PNS_LOG_PLAYER> PNS_LOG_VIEWER_FRAME::m_logPlayer
private

◆ m_mainSizer

wxBoxSizer* PNS_LOG_VIEWER_FRAME_BASE::m_mainSizer
protectedinherited

Definition at line 48 of file pns_log_viewer_frame_base.h.

Referenced by PNS_LOG_VIEWER_FRAME_BASE().

◆ m_mainSplitter

wxSplitterWindow* PNS_LOG_VIEWER_FRAME_BASE::m_mainSplitter
protectedinherited

◆ m_menubar1

wxMenuBar* PNS_LOG_VIEWER_FRAME_BASE::m_menubar1
protectedinherited

Definition at line 45 of file pns_log_viewer_frame_base.h.

Referenced by PNS_LOG_VIEWER_FRAME_BASE().

◆ m_menuFile

wxMenu* PNS_LOG_VIEWER_FRAME_BASE::m_menuFile
protectedinherited

Definition at line 46 of file pns_log_viewer_frame_base.h.

Referenced by PNS_LOG_VIEWER_FRAME_BASE().

◆ m_menuView

wxMenu* PNS_LOG_VIEWER_FRAME_BASE::m_menuView
protectedinherited

Definition at line 47 of file pns_log_viewer_frame_base.h.

Referenced by PNS_LOG_VIEWER_FRAME_BASE().

◆ m_moveWarpsCursor

bool TOOLS_HOLDER::m_moveWarpsCursor
protectedinherited

Definition at line 190 of file tools_holder.h.

Referenced by CommonSettingsChanged(), GetMoveWarpsCursor(), and TOOLS_HOLDER().

◆ m_mruPath

wxString PCB_TEST_FRAME_BASE::m_mruPath
protectedinherited

◆ m_overlay

std::shared_ptr<PNS_LOG_VIEWER_OVERLAY> PNS_LOG_VIEWER_FRAME::m_overlay
private

◆ m_panelConsole

wxPanel* PNS_LOG_VIEWER_FRAME_BASE::m_panelConsole
protectedinherited

Definition at line 65 of file pns_log_viewer_frame_base.h.

Referenced by PNS_LOG_VIEWER_FRAME_BASE().

◆ m_panelListView

wxPanel* PNS_LOG_VIEWER_FRAME_BASE::m_panelListView
protectedinherited

Definition at line 63 of file pns_log_viewer_frame_base.h.

Referenced by PNS_LOG_VIEWER_FRAME_BASE().

◆ m_panelProps

wxPanel* PNS_LOG_VIEWER_FRAME_BASE::m_panelProps
protectedinherited

◆ m_previewItems

std::shared_ptr<KIGFX::VIEW_GROUP> PNS_LOG_VIEWER_FRAME::m_previewItems
private

Definition at line 270 of file pns_log_viewer_frame.h.

Referenced by updatePnsPreviewItems().

◆ m_propsNotebook

wxNotebook* PNS_LOG_VIEWER_FRAME_BASE::m_propsNotebook
protectedinherited

Definition at line 62 of file pns_log_viewer_frame_base.h.

Referenced by PNS_LOG_VIEWER_FRAME_BASE().

◆ m_reporter

std::shared_ptr<WX_TEXT_CTRL_REPORTER> PNS_LOG_VIEWER_FRAME::m_reporter
private

◆ m_rewindIter

◆ m_rewindLeft

wxButton* PNS_LOG_VIEWER_FRAME_BASE::m_rewindLeft
protectedinherited

◆ m_rewindPos

◆ m_rewindRight

wxButton* PNS_LOG_VIEWER_FRAME_BASE::m_rewindRight
protectedinherited

◆ m_rewindSlider

◆ m_rewindText

wxStaticText* PNS_LOG_VIEWER_FRAME_BASE::m_rewindText
protectedinherited

Definition at line 50 of file pns_log_viewer_frame_base.h.

Referenced by PNS_LOG_VIEWER_FRAME_BASE().

◆ m_searchString

wxString PNS_LOG_VIEWER_FRAME::m_searchString
private

Definition at line 277 of file pns_log_viewer_frame.h.

Referenced by drawLoggedItems(), filterStringMatches(), and onFilterText().

◆ m_selectionTool

std::shared_ptr< PCB_TEST_SELECTION_TOOL> PCB_TEST_FRAME_BASE::m_selectionTool
protectedinherited

Definition at line 83 of file pcb_test_frame.h.

Referenced by GetSelectionTool(), SetBoard(), and SetSelectableItemTypes().

◆ m_showRPIs

bool PNS_LOG_VIEWER_FRAME::m_showRPIs = true
private

Definition at line 275 of file pns_log_viewer_frame.h.

Referenced by onShowRPIsChecked(), and updatePnsPreviewItems().

◆ m_showThinLines

bool PNS_LOG_VIEWER_FRAME::m_showThinLines = true
private

Definition at line 274 of file pns_log_viewer_frame.h.

Referenced by drawLoggedItems(), and onShowThinLinesChecked().

◆ m_showVertices

bool PNS_LOG_VIEWER_FRAME::m_showVertices = false
private

Definition at line 276 of file pns_log_viewer_frame.h.

Referenced by drawSimpleShape(), and onShowVerticesChecked().

◆ m_staticText2

wxStaticText* PNS_LOG_VIEWER_FRAME_BASE::m_staticText2
protectedinherited

Definition at line 55 of file pns_log_viewer_frame_base.h.

Referenced by PNS_LOG_VIEWER_FRAME_BASE().

◆ m_statusBar

wxStatusBar* PNS_LOG_VIEWER_FRAME_BASE::m_statusBar
protectedinherited

Definition at line 67 of file pns_log_viewer_frame_base.h.

Referenced by PNS_LOG_VIEWER_FRAME_BASE().

◆ m_toolDispatcher

◆ m_toolManager

TOOL_MANAGER* TOOLS_HOLDER::m_toolManager
protectedinherited

Definition at line 171 of file tools_holder.h.

Referenced by GERBVIEW_FRAME::ActivateGalCanvas(), PCB_BASE_FRAME::ActivateGalCanvas(), PCB_BASE_FRAME::AddFootprintToBoard(), EDA_BASE_FRAME::AddStandardHelpMenu(), EDA_DRAW_FRAME::AddStandardSubMenus(), SCH_EDIT_FRAME::AnnotateSymbols(), BITMAP2CMP_FRAME::BITMAP2CMP_FRAME(), PCB_EDIT_FRAME::CanAcceptApiCommands(), FOOTPRINT_EDIT_FRAME::canCloseWindow(), PCB_EDIT_FRAME::canCloseWindow(), SCH_EDIT_FRAME::canCloseWindow(), SCH_EDIT_FRAME::CheckAnnotate(), GERBVIEW_FRAME::Clear_DrawLayers(), FOOTPRINT_EDIT_FRAME::Clear_Pcb(), PCB_EDIT_FRAME::Clear_Pcb(), EDA_DRAW_FRAME::CommonSettingsChanged(), PCB_EDIT_FRAME::CommonSettingsChanged(), SYMBOL_EDIT_FRAME::CreateNewSymbol(), CVPCB_MAINFRAME::CVPCB_MAINFRAME(), SYMBOL_VIEWER_FRAME::DClickOnSymbolList(), SCH_EDIT_FRAME::DeleteAnnotation(), SCH_EDIT_FRAME::DeleteJunction(), DISPLAY_FOOTPRINTS_FRAME::DISPLAY_FOOTPRINTS_FRAME(), SCH_EDIT_FRAME::DisplayCurrentSheet(), FOOTPRINT_VIEWER_FRAME::displayFootprint(), EDA_DRAW_FRAME::DisplayGridMsg(), CVPCB_MAINFRAME::doCloseWindow(), GERBVIEW_FRAME::doCloseWindow(), SCH_BASE_FRAME::doCloseWindow(), SCH_EDIT_FRAME::doCloseWindow(), SYMBOL_EDIT_FRAME::doCloseWindow(), SYMBOL_VIEWER_FRAME::doCloseWindow(), BITMAP2CMP_FRAME::doReCreateMenuBar(), CVPCB_MAINFRAME::doReCreateMenuBar(), EDA_3D_VIEWER_FRAME::doReCreateMenuBar(), FOOTPRINT_EDIT_FRAME::doReCreateMenuBar(), FOOTPRINT_VIEWER_FRAME::doReCreateMenuBar(), GERBVIEW_FRAME::doReCreateMenuBar(), KICAD_MANAGER_FRAME::doReCreateMenuBar(), PCB_CALCULATOR_FRAME::doReCreateMenuBar(), PCB_EDIT_FRAME::doReCreateMenuBar(), PL_EDITOR_FRAME::doReCreateMenuBar(), SCH_EDIT_FRAME::doReCreateMenuBar(), SIMULATOR_FRAME::doReCreateMenuBar(), SYMBOL_EDIT_FRAME::doReCreateMenuBar(), SYMBOL_VIEWER_FRAME::doReCreateMenuBar(), EDA_BASE_FRAME::DoWithAcceptedFiles(), GERBVIEW_FRAME::DoWithAcceptedFiles(), KICAD_MANAGER_FRAME::DoWithAcceptedFiles(), SCH_EDIT_FRAME::EditSheetProperties(), SYMBOL_EDIT_FRAME::emptyScreen(), GERBVIEW_FRAME::Erase_Current_DrawLayer(), PCB_EDIT_FRAME::ExecuteRemoteCommand(), SCH_EDIT_FRAME::ExecuteRemoteCommand(), FOOTPRINT_CHOOSER_FRAME::FOOTPRINT_CHOOSER_FRAME(), DISPLAY_FOOTPRINTS_FRAME::GetCurrentSelection(), FOOTPRINT_EDIT_FRAME::GetCurrentSelection(), FOOTPRINT_VIEWER_FRAME::GetCurrentSelection(), GERBVIEW_FRAME::GetCurrentSelection(), PCB_EDIT_FRAME::GetCurrentSelection(), PL_EDITOR_FRAME::GetCurrentSelection(), SCH_EDIT_FRAME::GetCurrentSelection(), SYMBOL_EDIT_FRAME::GetCurrentSelection(), SYMBOL_VIEWER_FRAME::GetCurrentSelection(), SCH_BASE_FRAME::GetSelectionTool(), GetToolManager(), EDA_DRAW_FRAME::GetUnitPair(), PL_EDITOR_FRAME::HardRedraw(), SCH_EDIT_FRAME::HardRedraw(), SYMBOL_EDIT_FRAME::HardRedraw(), SCH_EDIT_FRAME::importFile(), SCH_EDIT_FRAME::initScreenZoom(), PCB_EDIT_FRAME::KiwayMailIn(), SCH_EDIT_FRAME::KiwayMailIn(), SYMBOL_EDIT_FRAME::KiwayMailIn(), SYMBOL_EDIT_FRAME::LoadOneLibrarySymbolAux(), SYMBOL_EDIT_FRAME::LoadSymbolFromCurrentLib(), SYMBOL_EDIT_FRAME::LoadSymbolFromSchematic(), FOOTPRINT_EDIT_FRAME::MakeGridHelper(), PCB_EDIT_FRAME::MakeGridHelper(), SCH_EDIT_FRAME::MakeGridHelper(), SYMBOL_EDIT_FRAME::MakeGridHelper(), PCB_EDIT_FRAME::OnBoardLoaded(), FOOTPRINT_EDIT_FRAME::OnEditItemRequest(), PCB_EDIT_FRAME::OnEditItemRequest(), SCH_BASE_FRAME::OnFindDialogClose(), PCB_BASE_FRAME::OnFpChangeDebounceTimer(), SCH_EDIT_FRAME::OnImportProject(), PCB_EDIT_FRAME::OnNetlistChanged(), PL_EDITOR_FRAME::OnNewDrawingSheet(), KICAD_MANAGER_FRAME::OnOpenFileInTextEditor(), EDA_DRAW_FRAME::OnSelectGrid(), EDA_DRAW_FRAME::OnSelectZoom(), PCB_EDIT_FRAME::OpenProjectFiles(), SCH_EDIT_FRAME::OpenProjectFiles(), PANEL_PREVIEW_3D_MODEL::PANEL_PREVIEW_3D_MODEL(), PCB_BASE_EDIT_FRAME::PCB_BASE_EDIT_FRAME(), PCB_CALCULATOR_FRAME::PCB_CALCULATOR_FRAME(), PopTool(), PushTool(), PCB_BASE_EDIT_FRAME::PutDataInPreviousState(), SCH_EDIT_FRAME::PutDataInPreviousState(), PCB_EDIT_FRAME::RebuildAndRefresh(), SYMBOL_EDIT_FRAME::RebuildView(), SCH_EDIT_FRAME::RecalculateConnections(), SCH_BASE_FRAME::RefreshZoomDependentItems(), FOOTPRINT_WIZARD_FRAME::RegenerateFootprint(), DISPLAY_FOOTPRINTS_FRAME::ReloadFootprint(), PCB_BASE_EDIT_FRAME::RestoreCopyFromRedoList(), PCB_BASE_EDIT_FRAME::RestoreCopyFromUndoList(), SCH_EDIT_FRAME::RollbackSchematicFromUndo(), FOOTPRINT_EDIT_FRAME::SaveFootprint(), FOOTPRINT_EDIT_FRAME::SaveFootprintToBoard(), SYMBOL_EDIT_FRAME::saveLibrary(), PCB_EDIT_FRAME::SaveSelectionAsDesignBlock(), SCH_EDIT_FRAME::SaveSelectionAsDesignBlock(), PCB_EDIT_FRAME::SaveSelectionToDesignBlock(), SCH_EDIT_FRAME::SaveSelectionToDesignBlock(), EDA_DRAW_FRAME::SaveSettings(), SCH_EDIT_FRAME::SaveSymbolToSchematic(), SCH_BASE_FRAME::SCH_BASE_FRAME(), SCH_EDIT_FRAME::SCH_EDIT_FRAME(), FOOTPRINT_VIEWER_FRAME::SelectAndViewFootprint(), SCH_EDIT_FRAME::SelectBodyStyle(), SCH_EDIT_FRAME::SelectUnit(), FOOTPRINT_EDIT_FRAME::SetActiveLayer(), GERBVIEW_FRAME::SetActiveLayer(), PCB_EDIT_FRAME::SetActiveLayer(), SCH_EDIT_FRAME::SetAltPinFunction(), PCB_BASE_EDIT_FRAME::SetBoard(), PCB_TEST_FRAME_BASE::SetBoard(), SYMBOL_EDIT_FRAME::SetBodyStyle(), SYMBOL_EDIT_FRAME::SetCurSymbol(), SCH_EDIT_FRAME::SetSchematic(), SCH_EDIT_FRAME::SetScreen(), SYMBOL_EDIT_FRAME::SetScreen(), PCB_TEST_FRAME_BASE::SetSelectionHook(), SYMBOL_EDIT_FRAME::SetUnit(), CVPCB_MAINFRAME::setupTools(), FOOTPRINT_EDIT_FRAME::setupTools(), GERBVIEW_FRAME::setupTools(), KICAD_MANAGER_FRAME::setupTools(), PCB_EDIT_FRAME::setupTools(), PL_EDITOR_FRAME::setupTools(), SCH_EDIT_FRAME::setupTools(), SIMULATOR_FRAME::setupTools(), SYMBOL_EDIT_FRAME::setupTools(), SYMBOL_VIEWER_FRAME::setupTools(), CVPCB_MAINFRAME::setupUIConditions(), DISPLAY_FOOTPRINTS_FRAME::setupUIConditions(), EDA_3D_VIEWER_FRAME::setupUIConditions(), FOOTPRINT_CHOOSER_FRAME::setupUIConditions(), FOOTPRINT_EDIT_FRAME::setupUIConditions(), FOOTPRINT_VIEWER_FRAME::setupUIConditions(), GERBVIEW_FRAME::setupUIConditions(), KICAD_MANAGER_FRAME::setupUIConditions(), PCB_EDIT_FRAME::setupUIConditions(), PL_EDITOR_FRAME::setupUIConditions(), SCH_EDIT_FRAME::setupUIConditions(), SIMULATOR_FRAME::setupUIConditions(), SYMBOL_EDIT_FRAME::setupUIConditions(), SYMBOL_VIEWER_FRAME::setupUIConditions(), EDA_DRAW_FRAME::setupUnits(), PCB_EDIT_FRAME::ShowBoardSetupDialog(), PCB_EDIT_FRAME::ShowFindDialog(), SCH_BASE_FRAME::ShowFindReplaceDialog(), PCB_BASE_EDIT_FRAME::ShowGraphicItemPropertiesDialog(), EDA_BASE_FRAME::ShowPreferences(), PCB_BASE_EDIT_FRAME::ShowReferenceImagePropertiesDialog(), SIMULATOR_FRAME::SIMULATOR_FRAME(), SYMBOL_EDIT_FRAME::SYMBOL_EDIT_FRAME(), SCH_BASE_FRAME::SyncView(), EDA_DRAW_FRAME::ToggleUserUnits(), TOOLS_HOLDER(), PCB_EDIT_FRAME::Tracks_and_Vias_Size_Event(), SCH_EDIT_FRAME::TrimWire(), EDA_DRAW_FRAME::unitsChangeRefresh(), PCB_BASE_EDIT_FRAME::unitsChangeRefresh(), SCH_EDIT_FRAME::UpdateHierarchyNavigator(), SYMBOL_VIEWER_FRAME::updatePreviewSymbol(), PCB_EDIT_FRAME::UpdateViaSizeSelectBox(), FOOTPRINT_EDIT_FRAME::UpdateView(), DISPLAY_FOOTPRINTS_FRAME::updateView(), FOOTPRINT_VIEWER_FRAME::updateView(), FOOTPRINT_WIZARD_FRAME::updateView(), EDA_DRAW_FRAME::Zoom_Automatique(), CVPCB_MAINFRAME::~CVPCB_MAINFRAME(), DISPLAY_FOOTPRINTS_FRAME::~DISPLAY_FOOTPRINTS_FRAME(), EDA_DRAW_FRAME::~EDA_DRAW_FRAME(), FOOTPRINT_EDIT_FRAME::~FOOTPRINT_EDIT_FRAME(), FOOTPRINT_VIEWER_FRAME::~FOOTPRINT_VIEWER_FRAME(), FOOTPRINT_WIZARD_FRAME::~FOOTPRINT_WIZARD_FRAME(), GERBVIEW_FRAME::~GERBVIEW_FRAME(), KICAD_MANAGER_FRAME::~KICAD_MANAGER_FRAME(), PCB_CALCULATOR_FRAME::~PCB_CALCULATOR_FRAME(), PCB_EDIT_FRAME::~PCB_EDIT_FRAME(), PL_EDITOR_FRAME::~PL_EDITOR_FRAME(), SYMBOL_EDIT_FRAME::~SYMBOL_EDIT_FRAME(), and SYMBOL_VIEWER_FRAME::~SYMBOL_VIEWER_FRAME().

◆ m_toolStack

std::vector<std::string> TOOLS_HOLDER::m_toolStack
protectedinherited

Definition at line 177 of file tools_holder.h.

Referenced by CurrentToolName(), IsCurrentTool(), PopTool(), PushTool(), and ToolStackIsEmpty().

◆ m_topBarSizer

wxFlexGridSizer* PNS_LOG_VIEWER_FRAME_BASE::m_topBarSizer
protectedinherited

Definition at line 49 of file pns_log_viewer_frame_base.h.

Referenced by PNS_LOG_VIEWER_FRAME_BASE().

◆ m_viewerIface

std::shared_ptr<PNS_VIEWER_IFACE> PNS_LOG_VIEWER_FRAME::m_viewerIface
private

Definition at line 271 of file pns_log_viewer_frame.h.

Referenced by updatePnsPreviewItems(), and updateViewerIface().


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