#ifndef RENDER_WND_INSPECTOR_H
#define RENDER_WND_INSPECTOR_H
#include <QWidget>

#include "states.h"


class QScrollArea;
class QStackedLayout;
class WndInspector : public QWidget {
    Q_OBJECT

public:
    struct Item {
        std::string path;
        void *resource{};
    };

public:
    explicit WndInspector(QWidget *parent);
    void DisplayItem(EVENT::InspecItem &item);

private:

private:
    // struct InspecItem
    //     InsItemType type{};
    //     std::string path;
    //     void *resource{};
    EVENT::InspecItem m_Item{};

    QScrollArea *m_scroll{};
    QWidget *m_content{};
    Z::Event<EVENT::InspecItem>::Connection m_Connection{};


};















#endif //RENDER_WND_INSPECTOR_H
