Loading...
Searching...
No Matches
UnusedFilesDialog.hpp
1#pragma once
2#include <Process/FileReportView.hpp>
3#include <Process/UnusedFiles.hpp>
4
5#include <QDialog>
6
7#include <score_lib_process_export.h>
8
9class QCheckBox;
10class QComboBox;
11class QLabel;
12class QPushButton;
13
14namespace score
15{
16struct DocumentContext;
17}
18
19namespace Process
20{
21
31class SCORE_LIB_PROCESS_EXPORT UnusedFilesDialog final : public QDialog
32{
33public:
34 UnusedFilesDialog(const score::DocumentContext& ctx, QWidget* parent);
36
37 const FileReport& result() const noexcept { return m_result; }
38
39private:
40 void rescan();
41 void run();
42 UnusedFilesOptions options() const noexcept;
43
44 const score::DocumentContext& m_ctx;
45
46 QLabel* m_summary{};
47 QLabel* m_warnings{};
48 QCheckBox* m_everywhere{};
49 QComboBox* m_disposal{};
50 FileReportView* m_files{};
51 QPushButton* m_ok{};
52
53 FileReport m_scan;
54 FileReport m_result;
55};
56}
The table every file operation shows its report in.
Definition FileReportView.hpp:19
Lists what is in the project folder and no longer used, and removes the ones the user ticks.
Definition UnusedFilesDialog.hpp:32
Base classes and tools to implement processes and layers.
Definition JSONVisitor.hpp:1115
Base toolkit upon which the software is built.
Definition Application.cpp:116
Definition FileOperation.hpp:78
Definition UnusedFiles.hpp:30
Definition DocumentContext.hpp:18