summaryrefslogtreecommitdiff
path: root/src/plugins/qt4projectmanager/wizards/mobileappwizardpages.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@nokia.com>2010-09-13 11:20:13 +0200
committerChristian Kandeler <christian.kandeler@nokia.com>2010-09-13 11:22:38 +0200
commite83ba4d4ece9dd2206ca67e399d5dfeb881472f7 (patch)
tree83cac7e5894fdc0594f6a54c4693c2bf9eac629b /src/plugins/qt4projectmanager/wizards/mobileappwizardpages.h
parent342ab57db29cad5692a7e5919a413dd44f082993 (diff)
downloadqt-creator-e83ba4d4ece9dd2206ca67e399d5dfeb881472f7.tar.gz
Mobile wizard: Model after QML wizard.
Nodded-at-by: dt
Diffstat (limited to 'src/plugins/qt4projectmanager/wizards/mobileappwizardpages.h')
-rw-r--r--src/plugins/qt4projectmanager/wizards/mobileappwizardpages.h71
1 files changed, 71 insertions, 0 deletions
diff --git a/src/plugins/qt4projectmanager/wizards/mobileappwizardpages.h b/src/plugins/qt4projectmanager/wizards/mobileappwizardpages.h
new file mode 100644
index 0000000000..cbea2f7b35
--- /dev/null
+++ b/src/plugins/qt4projectmanager/wizards/mobileappwizardpages.h
@@ -0,0 +1,71 @@
+/**************************************************************************
+**
+** This file is part of Qt Creator
+**
+** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+**
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** Commercial Usage
+**
+** Licensees holding valid Qt Commercial licenses may use this file in
+** accordance with the Qt Commercial License Agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Nokia.
+**
+** 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.
+**
+** If you are unsure which license is appropriate for your use, please
+** contact the sales department at http://qt.nokia.com/contact.
+**
+**************************************************************************/
+
+#ifndef QMLSTANDALONEAPPWIZARDPAGES_H
+#define QMLSTANDALONEAPPWIZARDPAGES_H
+
+#include "mobileapp.h"
+
+#include <QtGui/QWizardPage>
+
+namespace Qt4ProjectManager {
+namespace Internal {
+
+class MobileAppWizardOptionsPage : public QWizardPage
+{
+ Q_OBJECT
+ Q_DISABLE_COPY(MobileAppWizardOptionsPage)
+
+public:
+ explicit MobileAppWizardOptionsPage(QWidget *parent = 0);
+ virtual ~MobileAppWizardOptionsPage();
+
+ void setOrientation(MobileApp::Orientation orientation);
+ MobileApp::Orientation orientation() const;
+ QString symbianSvgIcon() const;
+ void setSymbianSvgIcon(const QString &icon);
+ QString maemoPngIcon() const;
+ void setMaemoPngIcon(const QString &icon);
+ QString symbianUid() const;
+ void setNetworkEnabled(bool enableIt);
+ bool networkEnabled() const;
+ void setSymbianUid(const QString &uid);
+
+private slots:
+ void openSymbianSvgIcon(); // Via file open dialog
+ void openMaemoPngIcon();
+
+private:
+ class MobileAppWizardOptionsPagePrivate *m_d;
+};
+
+} // end of namespace Internal
+} // end of namespace Qt4ProjectManager
+
+#endif // QMLSTANDALONEAPPWIZARDPAGES_H