2012-06-05 10:25:48 +02:00
|
|
|
/**************************************************************************
|
|
|
|
|
**
|
|
|
|
|
** This file is part of Qt Creator
|
|
|
|
|
**
|
|
|
|
|
** Copyright (c) 2012 Nokia Corporation and/or its subsidiary(-ies).
|
|
|
|
|
**
|
2012-07-19 12:26:56 +02:00
|
|
|
** Contact: http://www.qt-project.org/
|
2012-06-05 10:25:48 +02:00
|
|
|
**
|
|
|
|
|
**
|
|
|
|
|
** GNU Lesser General Public License Usage
|
|
|
|
|
**
|
|
|
|
|
** This file may be used under the terms of the GNU Lesser General Public
|
|
|
|
|
** License version 2.1 as published by the Free Software Foundation and
|
|
|
|
|
** appearing in the file LICENSE.LGPL included in the packaging of this file.
|
|
|
|
|
** Please review the following information to ensure the GNU Lesser General
|
|
|
|
|
** Public License version 2.1 requirements will be met:
|
|
|
|
|
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
|
|
|
**
|
|
|
|
|
** In addition, as a special exception, Nokia gives you certain additional
|
|
|
|
|
** rights. These rights are described in the Nokia Qt LGPL Exception
|
|
|
|
|
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
|
|
|
**
|
|
|
|
|
** Other Usage
|
|
|
|
|
**
|
|
|
|
|
** Alternatively, this file may be used in accordance with the terms and
|
|
|
|
|
** conditions contained in a signed written agreement between you and Nokia.
|
|
|
|
|
**
|
|
|
|
|
**
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
|
2012-07-24 17:02:42 +02:00
|
|
|
#ifndef DEBUGGER_ATTACHCOREDIALOG_H
|
|
|
|
|
#define DEBUGGER_ATTACHCOREDIALOG_H
|
2012-06-05 10:25:48 +02:00
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
2012-06-28 10:00:04 +02:00
|
|
|
namespace Core { class Id; }
|
2012-08-15 15:42:53 +02:00
|
|
|
namespace ProjectExplorer { class Profile; }
|
2012-06-28 10:00:04 +02:00
|
|
|
|
2012-06-05 10:25:48 +02:00
|
|
|
namespace Debugger {
|
|
|
|
|
namespace Internal {
|
|
|
|
|
|
2012-07-24 17:02:42 +02:00
|
|
|
class AttachCoreDialogPrivate;
|
2012-06-05 10:25:48 +02:00
|
|
|
|
2012-07-24 17:02:42 +02:00
|
|
|
class AttachCoreDialog : public QDialog
|
2012-06-05 10:25:48 +02:00
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
2012-07-24 17:02:42 +02:00
|
|
|
explicit AttachCoreDialog(QWidget *parent);
|
|
|
|
|
~AttachCoreDialog();
|
|
|
|
|
|
|
|
|
|
QString localExecutableFile() const;
|
|
|
|
|
QString localCoreFile() const;
|
|
|
|
|
QString remoteCoreFile() const;
|
|
|
|
|
QString overrideStartScript() const;
|
|
|
|
|
bool isLocal() const;
|
2012-06-05 10:25:48 +02:00
|
|
|
|
2012-07-24 17:02:42 +02:00
|
|
|
// For persistance.
|
2012-08-15 15:42:53 +02:00
|
|
|
ProjectExplorer::Profile *profile() const;
|
2012-07-24 17:02:42 +02:00
|
|
|
void setLocalExecutableFile(const QString &executable);
|
|
|
|
|
void setLocalCoreFile(const QString &core);
|
|
|
|
|
void setRemoteCoreFile(const QString &core);
|
|
|
|
|
void setOverrideStartScript(const QString &scriptName);
|
|
|
|
|
void setProfileId(const Core::Id &id);
|
2012-06-05 10:25:48 +02:00
|
|
|
|
|
|
|
|
private slots:
|
2012-07-24 17:02:42 +02:00
|
|
|
void changed();
|
|
|
|
|
void selectRemoteCoreFile();
|
2012-06-05 10:25:48 +02:00
|
|
|
|
|
|
|
|
private:
|
2012-07-24 17:02:42 +02:00
|
|
|
AttachCoreDialogPrivate *d;
|
2012-06-05 10:25:48 +02:00
|
|
|
};
|
|
|
|
|
|
2012-07-24 17:02:42 +02:00
|
|
|
|
2012-06-05 10:25:48 +02:00
|
|
|
} // namespace Debugger
|
|
|
|
|
} // namespace Internal
|
|
|
|
|
|
2012-07-24 17:02:42 +02:00
|
|
|
#endif // DEBUGGER_ATTACHCOREDIALOG_H
|