Loading...
Searching...
No Matches
ProjectLibraryWidget.hpp
1#pragma once
2#include <QTreeView>
3class QFileSystemModel;
4class QSortFilterProxyModel;
5
6namespace score
7{
8struct GUIApplicationContext;
9struct DocumentMetadata;
10}
11
12namespace Library
13{
14class FileSystemModel;
15class FileSystemRecursiveFilterProxy;
16class ProjectLibraryWidget : public QWidget
17{
18public:
19 ProjectLibraryWidget(const score::GUIApplicationContext& ctx, QWidget* parent);
21
22 void setRoot(score::DocumentMetadata& meta);
23 void unsetRoot();
24
25private:
26 FileSystemModel* m_model{};
28 QTreeView m_tv;
29 QMetaObject::Connection m_con;
30};
31}
Definition FileSystemModel.hpp:21
Definition RecursiveFilterProxy.hpp:82
Definition ProjectLibraryWidget.hpp:17
Base toolkit upon which the software is built.
Definition Application.cpp:90
Document-wide metadata.
Definition DocumentMetadata.hpp:16
Specializes ApplicationContext with the QMainWindow.
Definition GUIApplicationContext.hpp:15