25#ifndef DIALOG_SYNC_SHEET_PINS_H
26#define DIALOG_SYNC_SHEET_PINS_H
33#include <unordered_map>
52 std::shared_ptr<SHEET_SYNCHRONIZATION_AGENT> aAgent );
58 void OnClose( wxCloseEvent& aEvent );
68 std::set<EDA_ITEM*>
const& aPlacementTemplateSet );
93 std::shared_ptr<SHEET_SYNCHRONIZATION_AGENT>
m_agent;
97 std::unordered_map<SCH_SHEET*, PANEL_SYNC_SHEET_PINS*>
m_panels;
Class DIALOG_SYNC_SHEET_PINS_BASE.
SCH_HIERLABEL * GetPlacementTemplate() const
Get the Placement Template SHEET_PIN / HIERLABEL used for place a new HIERLABEL/SHEET_PIN.
PlaceItemKind m_placeItemKind
std::set< EDA_ITEM * > m_placementTemplateSet
SCH_SHEET * m_lastEditSheet
std::unordered_map< SCH_SHEET *, PANEL_SYNC_SHEET_PINS * > m_panels
void EndPlaceItem(EDA_ITEM *aNewItem)
End place a new HIERLABEL/SHEET_PIN , and add the new item to the corresponding table.
std::shared_ptr< SHEET_SYNCHRONIZATION_AGENT > m_agent
EDA_ITEM * m_currentTemplate
void OnClose(wxCloseEvent &aEvent)
void PreparePlacementTemplate(SCH_SHEET *aSheet, PlaceItemKind aKind, std::set< EDA_ITEM * > const &aPlacementTemplateSet)
Either selected HIERLABELs or SHEET_PINs will be used as templates for placing the new ones.
bool CanPlaceMore() const
Check if there are more items to be placed.
~DIALOG_SYNC_SHEET_PINS() override
void OnCloseBtnClick(wxCommandEvent &event) override
A base class for most all the KiCad significant classes used in schematics and boards.
Sheet symbol placed in a schematic, and is the entry point for a sub schematic.
Agent for all the modifications while syncing the sheet pin and hierarchical label.
Definition of the SCH_SHEET_PATH and SCH_SHEET_LIST classes for Eeschema.