#ifndef MAINWINDOW_H #define MAINWINDOW_H #include #include namespace Ui { class MainWindow; } class Node; class MainWindow : public QMainWindow { Q_OBJECT public: explicit MainWindow(QWidget *parent = nullptr); ~MainWindow(); void display (Node * t); private: Ui::MainWindow *ui; void displayBranch (QTreeWidgetItem * target, Node * t); }; #endif // MAINWINDOW_H