31 #include <wx/imaglist.h> 32 #include <wx/object.h> 33 #include <wx/treectrl.h> 36 #define HIERARCHY_NAVIG_DLG_WNAME "hierarchy_navig_dlg" 52 void onChar( wxKeyEvent& event );
54 int OnCompareItems(
const wxTreeItemId& item1,
const wxTreeItemId& item2 )
override;
void onSelectSheetPath(wxTreeEvent &event)
Open the selected sheet and display the corresponding screen when a tree item is selected.
int OnCompareItems(const wxTreeItemId &item1, const wxTreeItemId &item2) override
Schematic editor (Eeschema) main window.
Handle hierarchy tree control.
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
SCH_EDIT_FRAME * m_SchFrameEditor
SCH_SHEET_PATH m_currSheet
void UpdateHierarchyTree()
Update the hierarchical tree of the schematic.
void onChar(wxKeyEvent &event)
HIERARCHY_NAVIG_DLG(SCH_EDIT_FRAME *aParent)
Handle access to a stack of flattened SCH_SHEET objects by way of a path for creating a flattened sch...
void UpdateHierarchySelection()
Updates the tree's selection to match current page.
HIERARCHY_TREE(HIERARCHY_NAVIG_DLG *parent)
void buildHierarchyTree(SCH_SHEET_PATH *aList, wxTreeItemId *aPreviousmenu)
Create the hierarchical tree of the schematic.
wxDECLARE_ABSTRACT_CLASS(HIERARCHY_TREE)
wxString formatPageString(const wxString &aName, const wxString &aPage)
HIERARCHY_NAVIG_DLG * m_parent
void OnCloseNav(wxCloseEvent &event)