Wizards: allows filtering of wizards based on Qt version

Every wizard now implements requiredFeatures() to define a feature set.
If the feature set is not satisfied by the available Qt Versions,
the wizard is not shown in the create file/project dialog.

Every Qt version can define the provided feature set in availableFeatures()
defined in BaseQtVersion.

Change-Id: Ie9e2c210d19187b2296451948c36d274f2096623
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
This commit is contained in:
Thomas Hartmann
2012-01-18 13:50:14 +01:00
parent 31d5ec9cab
commit 17a7bd17d0
73 changed files with 639 additions and 54 deletions

View File

@@ -95,7 +95,8 @@ SOURCES += mainwindow.cpp \
mimetypesettings.cpp \
dialogs/promptoverwritedialog.cpp \
fileutils.cpp \
textfile.cpp
textfile.cpp \
featureprovider.cpp
HEADERS += mainwindow.h \
editmode.h \
@@ -192,7 +193,8 @@ HEADERS += mainwindow.h \
fileutils.h \
externaltoolmanager.h \
textfile.h \
generatedfile.h
generatedfile.h \
featureprovider.h
FORMS += dialogs/newdialog.ui \
actionmanager/commandmappings.ui \