Loading...
Searching...
No Matches
ProjectConsolidationDialog.hpp
1#pragma once
2#include <Process/FileReportView.hpp>
3#include <Process/ProjectConsolidation.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
28class SCORE_LIB_PROCESS_EXPORT ProjectConsolidationDialog final : public QDialog
29{
30public:
31 ProjectConsolidationDialog(const score::DocumentContext& ctx, QWidget* parent);
33
35 const FileReport& result() const noexcept { return m_result; }
36
37private:
38 void reanalyze();
39 void run();
40 void fill(const FileReport& report);
41 score::ConsolidateOptions options() const noexcept;
42
43 const score::DocumentContext& m_ctx;
44
45 QLabel* m_summary{};
46 QComboBox* m_mode{};
47 QCheckBox* m_library{};
48 QCheckBox* m_subfolders{};
49 QCheckBox* m_keepFolderName{};
50 FileReportView* m_files{};
51 QPushButton* m_ok{};
52
53 FileReport m_result;
54};
55}
Shows what consolidating the document would do, then does it.
Definition ProjectConsolidationDialog.hpp:29
const FileReport & result() const noexcept
Filled once the dialog has been accepted.
Definition ProjectConsolidationDialog.hpp:35
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 ProjectFiles.hpp:113
Definition DocumentContext.hpp:18