#ifndef PROJECTVIEW_H #define PROJECTVIEW_H #include "appcore.h" #include #include #include namespace Components { class ProjectView : public QTreeView { Q_OBJECT public: ProjectView(Core::AppCore *src, Project::ProjectManager *project, QWidget *parent=nullptr); virtual ~ProjectView() = default; signals: void activeDocument(const QString &file_path, const QString &name); private: Core::AppCore *const rtcore; Project::ProjectManager *pjtins; void explicit_active_document(const QModelIndex &curr); void contexMenuPopup(const QPoint &pos); void alloc_file(const QModelIndex &idx_it, const QString &type, const QString &suffix); void project_configration(); }; } #endif // PROJECTVIEW_H