BaseProjectWizardDialog::BaseProjectWizardDialog(QWidget *parent, const Core::WizardDialogParameters ¶meters) : Core::BaseFileWizard(parent), d(new BaseProjectWizardDialogPrivate(new Utils::ProjectIntroPage)) { setPath(parameters.defaultPath()); setSelectedPlatform(parameters.selectedPlatform()); setRequiredFeatures(parameters.requiredFeatures()); init(); }
CustomWidgetWizard::CustomWidgetWizard() { setId(QLatin1String("P.Qt4CustomWidget")); setCategory(QLatin1String(ProjectExplorer::Constants::QT_PROJECT_WIZARD_CATEGORY)); setDisplayCategory(QCoreApplication::translate("ProjectExplorer", ProjectExplorer::Constants::QT_PROJECT_WIZARD_CATEGORY_DISPLAY)); setDisplayName(tr("Qt Custom Designer Widget")); setDescription(tr("Creates a Qt Custom Designer Widget or a Custom Widget Collection.")); setIcon(QIcon(QLatin1String(":/wizards/images/gui.png"))); setRequiredFeatures(Core::Feature(QtSupport::Constants::FEATURE_QWIDGETS)); }
BaseProjectWizardDialog::BaseProjectWizardDialog(const Core::BaseFileWizardFactory *factory, Utils::ProjectIntroPage *introPage, int introId, QWidget *parent, const Core::WizardDialogParameters ¶meters) : Core::BaseFileWizard(factory, parameters.extraValues(), parent), d(new BaseProjectWizardDialogPrivate(introPage, introId)) { setPath(parameters.defaultPath()); setSelectedPlatform(parameters.selectedPlatform()); setRequiredFeatures(parameters.requiredFeatures()); init(); }
SubdirsProjectWizard::SubdirsProjectWizard() { setId("U.Qt4Subdirs"); setCategory(QLatin1String(ProjectExplorer::Constants::QT_PROJECT_WIZARD_CATEGORY)); setDisplayCategory(QCoreApplication::translate("ProjectExplorer", ProjectExplorer::Constants::QT_PROJECT_WIZARD_CATEGORY_DISPLAY)); setDisplayName(tr("Subdirs Project")); setDescription(tr("Creates a qmake-based subdirs project. This allows you to group " "your projects in a tree structure.")); setIcon(QIcon(QLatin1String(":/wizards/images/gui.png"))); setRequiredFeatures({ QtSupport::Constants::FEATURE_QT_PREFIX }); }
EmptyProjectWizard::EmptyProjectWizard() { setId(QLatin1String("U.Qt4Empty")); setCategory(QLatin1String(ProjectExplorer::Constants::QT_PROJECT_WIZARD_CATEGORY)); setDisplayCategory(QCoreApplication::translate("ProjectExplorer", ProjectExplorer::Constants::QT_PROJECT_WIZARD_CATEGORY_DISPLAY)); setDisplayName(tr("Empty Qt Project")); setDescription(tr("Creates a qmake-based project without any files. This allows you to create " "an application without any default classes.")); setIcon(QIcon(QLatin1String(":/wizards/images/gui.png"))); setRequiredFeatures(Core::Feature(QtSupport::Constants::FEATURE_QT)); }
ConsoleAppWizard::ConsoleAppWizard() { setId(QLatin1String("E.Qt4Core")); setCategory(QLatin1String(ProjectExplorer::Constants::QT_APPLICATION_WIZARD_CATEGORY)); setDisplayCategory(QCoreApplication::translate("ProjectExplorer", ProjectExplorer::Constants::QT_APPLICATION_WIZARD_CATEGORY_DISPLAY)); setDisplayName(tr("Qt Console Application")); setDescription(tr("Creates a project containing a single main.cpp file with a stub implementation.\n\n" "Preselects a desktop Qt for building the application if available.")); setIcon(QIcon(QLatin1String(":/wizards/images/console.png"))); setRequiredFeatures(Core::Feature(QtSupport::Constants::FEATURE_QT_CONSOLE)); }
BaseProjectWizardDialog::BaseProjectWizardDialog(Utils::ProjectIntroPage *introPage, int introId, QWidget *parent, const Core::WizardDialogParameters ¶meters) : Utils::Wizard(parent), d(new BaseProjectWizardDialogPrivate(introPage, introId)) { setPath(parameters.defaultPath()); setSelectedPlatform(parameters.selectedPlatform()); setPrefferedFeatures(parameters.preferredFeatures()); setRequiredFeatures(parameters.requiredFeatures()); init(); }
FormClassWizard::FormClassWizard() { setRequiredFeatures({ QtSupport::Constants::FEATURE_QWIDGETS }); }