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

Navigation hierarchy tree control. More...

#include <hierarchy_pane.h>

Inheritance diagram for HIERARCHY_TREE:

Public Member Functions

 HIERARCHY_TREE (HIERARCHY_PANE *parent)
 
int OnCompareItems (const wxTreeItemId &item1, const wxTreeItemId &item2) override
 

Private Member Functions

 wxDECLARE_ABSTRACT_CLASS (HIERARCHY_TREE)
 

Detailed Description

Navigation hierarchy tree control.

wxTreeCtrl must be subclassed to implement the OnCompareItems method to sort according to page numbers.

Definition at line 50 of file hierarchy_pane.h.

Constructor & Destructor Documentation

◆ HIERARCHY_TREE()

HIERARCHY_TREE::HIERARCHY_TREE ( HIERARCHY_PANE parent)
inline

Definition at line 53 of file hierarchy_pane.h.

Member Function Documentation

◆ OnCompareItems()

int HIERARCHY_TREE::OnCompareItems ( const wxTreeItemId &  item1,
const wxTreeItemId &  item2 
)
override

Definition at line 60 of file hierarchy_pane.cpp.

References SCH_SHEET_PATH::ComparePageNum().

◆ wxDECLARE_ABSTRACT_CLASS()

HIERARCHY_TREE::wxDECLARE_ABSTRACT_CLASS ( HIERARCHY_TREE  )
private

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