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