aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/analyzer/startremotedialog.h
blob: a93eba53b6f56f31d7ee18a1aa428c7942963587 (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
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0

#pragma once

#include <debugger/debugger_global.h>

#include <QDialog>

namespace Utils {
class CommandLine;
class FilePath;
} // Utils

namespace Debugger {

namespace Internal { class StartRemoteDialogPrivate; }

class DEBUGGER_EXPORT StartRemoteDialog : public QDialog
{
public:
    explicit StartRemoteDialog(QWidget *parent = nullptr);
    ~StartRemoteDialog() override;

    Utils::CommandLine commandLine() const;
    Utils::FilePath workingDirectory() const;

private:
    void validate();
    void accept() override;

    Internal::StartRemoteDialogPrivate *d;
};

} // Debugger