summaryrefslogtreecommitdiff
path: root/src/plugins/cppcheck/cppcheckmanualrundialog.h
blob: 8ffadcc48a2c3587955b0e9af4ab4a12f893d1f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Copyright (C) 2019 Sergey Morozov
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#pragma once

#include <QDialog>

namespace Utils {
class FilePath;
using FilePaths = QList<FilePath>;
} // Utils

namespace ProjectExplorer {
class Project;
class SelectableFilesFromDirModel;
} // ProjectExplorer

namespace Cppcheck::Internal {

class OptionsWidget;
class CppcheckOptions;

class ManualRunDialog : public QDialog
{
public:
    ManualRunDialog(const CppcheckOptions &options,
                    const ProjectExplorer::Project *project);

    CppcheckOptions options() const;
    Utils::FilePaths filePaths() const;
    QSize sizeHint() const override;

private:
    OptionsWidget *m_options;
    ProjectExplorer::SelectableFilesFromDirModel *m_model;
};

} // Cppcheck::Internal