#ifndef QT_PROJECT_WIZZARD_CONTENT_SELECT_H #define QT_PROJECT_WIZZARD_CONTENT_SELECT_H #include "qt/window/project_wizzard/QtProjectWizzardContent.h" class QButtonGroup; class SolutionParserManager; class QtProjectWizzardContentSelect : public QtProjectWizzardContent { Q_OBJECT public: enum ProjectType : int { PROJECT_EMPTY = 0, PROJECT_CDB = 1, PROJECT_MANAGED = 2 // use this type for all standard parser (parsers that are handled by the parser manager) }; QtProjectWizzardContentSelect( std::shared_ptr settings, QtProjectWizzardWindow* window, std::weak_ptr solutionParserManager); // QtProjectWizzardContent implementation virtual void populate(QGridLayout* layout, int& row) override; virtual void save() override; virtual bool check() override; signals: void selected(LanguageType, QtProjectWizzardContentSelect::ProjectType); private: QButtonGroup* m_languages; QButtonGroup* m_buttons; QLabel* m_title; QLabel* m_description; std::vector m_projectTypeNames; std::vector m_projectTypeDescriptions; std::vector m_projectTypeIconPaths; std::weak_ptr m_solutionParserManager; std::vector m_solutionDescription; }; #endif // QT_PROJECT_WIZZARD_CONTENT_SELECT_H