#ifndef Toolbox_File_Folder_Bar_H
#define Toolbox_File_Folder_Bar_H
#include <QWidget>
#include "../Node.hpp"
namespace Toolbox {
    class File_Folder : public Node<File_Folder> {
    public:
        QString name;
        bool is_show_sons = false;
        int deep = 0;
        void draw(int index, QPainter *painter);
    };
    class File_Folder_Bar : public QWidget, public Node_Manager<File_Folder> {
    Q_OBJECT
    public:
        explicit File_Folder_Bar(QWidget *parent = nullptr);
        ~File_Folder_Bar() override;
    protected:
        void paintEvent(QPaintEvent *event) override;
    };
}
#endif



