#ifndef PROJECTPRESENT_H #define PROJECTPRESENT_H #include "manager_docs.h" #include #include #include #include namespace Components { /** * @brief 项目视图 */ class ProjectPresent : public QWidget, public Schedule::AccessibleObject { Q_OBJECT public: explicit ProjectPresent(Core::AppCore *core, QWidget *parent = nullptr); signals: // AccessibleObject interface public: virtual QString name() const override; private: Core::AppCore *const source; QTreeView *const view_present; void menu_popup(const QPoint &p); void open_target(const QModelIndex &t); }; } #endif // PROJECTPRESENT_H