28#ifndef HIERARCHY_PANE_H 
   29#define HIERARCHY_PANE_H 
   31#include <wx/imaglist.h> 
   33#include <wx/treectrl.h> 
   56            wxTreeCtrl( (wxWindow*) parent, wxID_ANY, wxDefaultPosition, wxDefaultSize,
 
   57                        wxTR_HAS_BUTTONS | wxTR_EDIT_LABELS | wxTR_HIDE_ROOT, wxDefaultValidator,
 
   58                        wxT( 
"HierachyTreeCtrl" ) )
 
 
   62    int OnCompareItems( 
const wxTreeItemId& item1, 
const wxTreeItemId& item2 ) 
override;
 
 
void onRightClick(wxTreeItemId aItem)
 
void UpdateHierarchyTree(bool aClear=false)
Update the hierarchical tree of the schematic.
 
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.
 
HIERARCHY_PANE(SCH_EDIT_FRAME *aParent)
 
std::set< wxString > m_collapsedPaths
 
void onCharHook(wxKeyEvent &aKeyStroke)
 
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 onContextMenu(wxContextMenuEvent &aEvent)
 
void onTreeItemRightClick(wxTreeEvent &aEvent)
 
std::vector< wxString > GetCollapsedPaths() const
Returns a list of sheet paths for nodes that are currently collapsed.
 
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...
 
WX_PANEL(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)