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