blob: e2df876d1641c84663a7a6d97da077a9bce8ef38 (
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
39
40
41
42
43
44
45
46
47
48
49
50
|
// 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 <utils/id.h>
#include <QDialog>
namespace ProjectExplorer { class Kit; }
namespace Utils { class FilePath; }
namespace Debugger::Internal {
class AttachCoreDialog : public QDialog
{
public:
explicit AttachCoreDialog(QWidget *parent);
~AttachCoreDialog() override;
int exec() override;
Utils::FilePath symbolFile() const;
Utils::FilePath localCoreFile() const;
Utils::FilePath remoteCoreFile() const;
Utils::FilePath overrideStartScript() const;
Utils::FilePath sysRoot() const;
bool useLocalCoreFile() const;
bool forcesLocalCoreFile() const;
bool isLocalKit() const;
// For persistance.
ProjectExplorer::Kit *kit() const;
void setSymbolFile(const Utils::FilePath &symbolFilePath);
void setLocalCoreFile(const Utils::FilePath &coreFilePath);
void setRemoteCoreFile(const Utils::FilePath &coreFilePath);
void setOverrideStartScript(const Utils::FilePath &scriptName);
void setSysRoot(const Utils::FilePath &sysRoot);
void setKitId(Utils::Id id);
void setForceLocalCoreFile(bool on);
private:
void changed();
void coreFileChanged(const Utils::FilePath &core);
void selectRemoteCoreFile();
class AttachCoreDialogPrivate *d;
};
} // Debugger::Internal
|