diff options
author | Alessandro Portale <alessandro.portale@nokia.com> | 2011-03-18 17:14:53 +0100 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@nokia.com> | 2011-03-18 17:34:09 +0100 |
commit | dece4dccc7954f36c6b44646744e22b3f8c7c73c (patch) | |
tree | 4cb0b2a8af29340057bbd41d22bf9f568f4d1fa1 /src/plugins/qt4projectmanager/wizards/html5appwizardpages.h | |
parent | e48f08702676df9f55ae058d3ac66d5b8eba445d (diff) | |
download | qt-creator-dece4dccc7954f36c6b44646744e22b3f8c7c73c.tar.gz |
Added (optional) touch optimized navigation of HTML5 apps
Code provided by the Bostoner Browser team.
The HTML5 wizard shows a checkbox "Enable touch optimized navigation"
which enables flicking and enlarged click areas. By default, the
option is turned off.
Task-Number: QTCREATORBUG-3284
Diffstat (limited to 'src/plugins/qt4projectmanager/wizards/html5appwizardpages.h')
-rw-r--r-- | src/plugins/qt4projectmanager/wizards/html5appwizardpages.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/plugins/qt4projectmanager/wizards/html5appwizardpages.h b/src/plugins/qt4projectmanager/wizards/html5appwizardpages.h index a400271ff6..490eed5ca0 100644 --- a/src/plugins/qt4projectmanager/wizards/html5appwizardpages.h +++ b/src/plugins/qt4projectmanager/wizards/html5appwizardpages.h @@ -40,24 +40,26 @@ namespace Qt4ProjectManager { namespace Internal { -class Html5AppWizardSourcesPage : public QWizardPage +class Html5AppWizardOptionsPage : public QWizardPage { Q_OBJECT - Q_DISABLE_COPY(Html5AppWizardSourcesPage) + Q_DISABLE_COPY(Html5AppWizardOptionsPage) public: - explicit Html5AppWizardSourcesPage(QWidget *parent = 0); - virtual ~Html5AppWizardSourcesPage(); + explicit Html5AppWizardOptionsPage(QWidget *parent = 0); + virtual ~Html5AppWizardOptionsPage(); Html5App::Mode mainHtmlMode() const; QString mainHtmlData() const; + void setTouchOptimizationEndabled(bool enabled); + bool touchOptimizationEndabled() const; virtual bool isComplete() const; private slots: void setLineEditsEnabled(); private: - class Html5AppWizardSourcesPagePrivate *m_d; + class Html5AppWizardOptionsPagePrivate *m_d; }; } // namespace Internal |