summaryrefslogtreecommitdiff
path: root/src/plugins/qmakeandroidsupport/qmakeandroidbuildapkwidget.h
diff options
context:
space:
mode:
authorDaniel Teske <daniel.teske@digia.com>2014-07-23 12:47:51 +0200
committerhjk <hjk121@nokiamail.com>2014-07-24 10:46:18 +0200
commit7c9951226058c277a56d962841362398a93d53ab (patch)
tree0452a1c8b9e11ca6e171dde26f90e2e66be57661 /src/plugins/qmakeandroidsupport/qmakeandroidbuildapkwidget.h
parentd153da9a921ddf6b6ba823a96aa2e77873e12128 (diff)
downloadqt-creator-7c9951226058c277a56d962841362398a93d53ab.tar.gz
Introduce QmakeAndroidSupport plugin
Holds androd + qmake related classes Change-Id: Ib6bbc9c77a2b5f014573a1aa343dff5741abdb26 Reviewed-by: BogDan Vatra <bogdan@kde.org> Reviewed-by: Eike Ziller <eike.ziller@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/qmakeandroidsupport/qmakeandroidbuildapkwidget.h')
-rw-r--r--src/plugins/qmakeandroidsupport/qmakeandroidbuildapkwidget.h85
1 files changed, 85 insertions, 0 deletions
diff --git a/src/plugins/qmakeandroidsupport/qmakeandroidbuildapkwidget.h b/src/plugins/qmakeandroidsupport/qmakeandroidbuildapkwidget.h
new file mode 100644
index 0000000000..155d0321e4
--- /dev/null
+++ b/src/plugins/qmakeandroidsupport/qmakeandroidbuildapkwidget.h
@@ -0,0 +1,85 @@
+/**************************************************************************
+**
+** Copyright (c) 2014 BogDan Vatra <bog_dan_ro@yahoo.com>
+** Contact: http://www.qt-project.org/legal
+**
+** This file is part of Qt Creator.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Digia. For licensing terms and
+** conditions see http://qt.digia.com/licensing. For further information
+** use the contact form at http://qt.digia.com/contact-us.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, 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, Digia gives you certain additional
+** rights. These rights are described in the Digia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+****************************************************************************/
+
+#ifndef QMAKEANDROIDBUILDAPKWIDGET_H
+#define QMAKEANDROIDBUILDAPKWIDGET_H
+
+#include "androidextralibrarylistmodel.h"
+
+#include <QWidget>
+
+#include <projectexplorer/buildstep.h>
+
+QT_BEGIN_NAMESPACE
+class QLabel;
+QT_END_NAMESPACE
+
+namespace QmakeProjectManager { class QmakeBuildConfiguration; }
+
+namespace QmakeAndroidSupport {
+namespace Internal {
+
+namespace Ui {
+class QmakeAndroidBuildApkWidget;
+}
+
+class QmakeAndroidBuildApkStep;
+
+class QmakeAndroidBuildApkWidget : public ProjectExplorer::BuildStepConfigWidget
+{
+ Q_OBJECT
+
+public:
+ explicit QmakeAndroidBuildApkWidget(QmakeAndroidBuildApkStep *step);
+ ~QmakeAndroidBuildApkWidget();
+
+private slots:
+ void updateInputFileUi();
+ void inputFileComboBoxIndexChanged();
+ void createManifestButton();
+ void addAndroidExtraLib();
+ void removeAndroidExtraLib();
+ void checkEnableRemoveButton();
+
+private:
+ Ui::QmakeAndroidBuildApkWidget *m_ui;
+ QmakeAndroidBuildApkStep *m_step;
+ AndroidExtraLibraryListModel *m_extraLibraryListModel;
+ bool m_ignoreChange;
+
+ // BuildStepConfigWidget interface
+public:
+ QString summaryText() const;
+ QString displayName() const;
+};
+
+} // namespace Internal
+} // namespace QmakeAndroidSupport
+
+#endif // QMAKEANDROIDBUILDAPKWIDGET_H