28#ifndef HIERARCHY_PANE_H
29#define HIERARCHY_PANE_H
31#include <wx/imaglist.h>
33#include <wx/treectrl.h>
54 wxTreeCtrl( (wxWindow*) parent, wxID_ANY, wxDefaultPosition, wxDefaultSize,
55 wxTR_HAS_BUTTONS | wxTR_EDIT_LABELS, wxDefaultValidator,
56 wxT(
"HierachyTreeCtrl" ) )
60 int OnCompareItems(
const wxTreeItemId& item1,
const wxTreeItemId& item2 )
override;
void onRightClick(wxTreeItemId aItem)
void onSelectSheetPath(wxTreeEvent &aEvent)
Open the selected sheet and display the corresponding screen when a tree item is selected.
void UpdateLabelsHierarchyTree()
Update the labels of the hierarchical tree of the schematic.
void onTreeRightClick(wxTreeEvent &event)
wxString formatPageString(const wxString &aName, const wxString &aPage)
void UpdateHierarchySelection()
Updates the tree's selection to match current page.
void onCharHook(wxKeyEvent &aKeyStroke)
void UpdateHierarchyTree()
Update the hierarchical tree of the schematic.
void renameIdenticalSheets(const SCH_SHEET_PATH &renamedSheet, const wxString newName, SCH_COMMIT *commit)
Rename all sheets in a hierarchial desing which has the same source renamed sheet.
void buildHierarchyTree(SCH_SHEET_PATH *aList, const wxTreeItemId &aParent)
Create the hierarchical tree of the schematic.
void onTreeItemRightClick(wxTreeEvent &aEvent)
void onTreeEditFinished(wxTreeEvent &event)
void setIdenticalSheetsHighlighted(const SCH_SHEET_PATH &path, bool highLighted=true)
When renaming the sheets in tree it is helpful to highlight the identical sheets which got renamed by...
Navigation hierarchy tree control.
HIERARCHY_TREE(HIERARCHY_PANE *parent)
int OnCompareItems(const wxTreeItemId &item1, const wxTreeItemId &item2) override
wxDECLARE_ABSTRACT_CLASS(HIERARCHY_TREE)
Schematic editor (Eeschema) main window.
Handle access to a stack of flattened SCH_SHEET objects by way of a path for creating a flattened sch...