2022-08-19 15:59:36 +02:00
|
|
|
// 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
|
2013-09-30 15:24:18 +02:00
|
|
|
|
2016-03-18 07:55:01 +01:00
|
|
|
#pragma once
|
2013-09-30 15:24:18 +02:00
|
|
|
|
|
|
|
|
#include <projectexplorer/ipotentialkit.h>
|
|
|
|
|
#include <utils/detailswidget.h>
|
|
|
|
|
|
|
|
|
|
namespace Android {
|
|
|
|
|
namespace Internal {
|
|
|
|
|
|
|
|
|
|
class AndroidPotentialKit : public ProjectExplorer::IPotentialKit
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
2016-04-13 15:52:14 +02:00
|
|
|
QString displayName() const override;
|
|
|
|
|
void executeFromMenu() override;
|
|
|
|
|
QWidget *createWidget(QWidget *parent) const override;
|
|
|
|
|
bool isEnabled() const override;
|
2013-09-30 15:24:18 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
class AndroidPotentialKitWidget : public Utils::DetailsWidget
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
|
|
|
|
AndroidPotentialKitWidget(QWidget *parent);
|
2016-06-26 22:52:59 +03:00
|
|
|
private:
|
2013-09-30 15:24:18 +02:00
|
|
|
void openOptions();
|
|
|
|
|
void recheck();
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|