1 #ifndef PROJECT_LIST_DOCK_WIDGET_H 2 #define PROJECT_LIST_DOCK_WIDGET_H 4 #include <QtWidgets/QDockWidget> 9 #include "project_gui.h" 23 QVector<QSharedPointer<ProjectGui>> projectGuis()
const;
24 QVector<QSharedPointer<ProjectGui>> dirtyProjects()
const;
25 QVector<QListWidgetItem*> listWidgetItems()
const;
26 void addProject(
const QSharedPointer<ProjectGui>& projectGui);
27 void addProjects(
const QVector<QSharedPointer<ProjectGui>>& projectGui);
28 void removeAllProjects();
29 bool removeProject(
const QSharedPointer<ProjectGui>& projectGui);
30 bool contains(
const QSharedPointer<ProjectGui>& projectGui);
33 void customContextMenuRequested(
const QPoint& position);
34 void listWidgetClicked(QListWidgetItem* item);
37 void loadProject(QSharedPointer<ProjectGui> projectGui);
41 void showProjectContextMenu(
const QPoint& globalPosition,
const QSharedPointer<ProjectGui> &projectGui);
44 void showWorkspaceContextMenu(
const QPoint& position);
45 void showMultiProjectContextMenu(
const QPoint& position,
const QList<QSharedPointer<ProjectGui>> projectGuis);
48 #endif // PROJECT_LIST_DOCK_WIDGET_H
Definition: item_origin_visualizer.h:10