Loading...
Searching...
No Matches
SystemLibraryWidget.hpp
1#pragma once
2#include <QTreeView>
3class QFileSystemModel;
4class QSortFilterProxyModel;
5
6namespace score
7{
8struct GUIApplicationContext;
9}
10
11namespace Library
12{
13class FileSystemModel;
14class FileSystemRecursiveFilterProxy;
15class SystemLibraryWidget : public QWidget
16{
17public:
18 SystemLibraryWidget(const score::GUIApplicationContext& ctx, QWidget* parent);
20
21 void setRoot(QString path);
22
23private:
24 FileSystemModel* m_model{};
26 QTreeView m_tv;
27 QWidget m_preview;
28 QWidget* m_previewChild{};
29};
30
31void setupFilesystemContextMenu(
32 QTreeView& m_tv, FileSystemModel& model, FileSystemRecursiveFilterProxy& proxy);
33}
Definition FileSystemModel.hpp:21
Definition RecursiveFilterProxy.hpp:82
Definition SystemLibraryWidget.hpp:16
Base toolkit upon which the software is built.
Definition Application.cpp:90
Specializes ApplicationContext with the QMainWindow.
Definition GUIApplicationContext.hpp:15