Files
Sourcetrail/src/lib_gui/qt/window/project_wizzard/QtProjectWizzardContentSelect.h
T
malte_langkabel 3cbe83f9e6 logic: maven project setup
* added option to create a Coati project from a Maven POM file
* show list of indexed file paths in maven project setup
* use FileManager to detect indexed files in project setup (except cdb)
* added Maven path to preferences window and added path detectors.
* fixed: QtDialogView::hideStatusDialog now also hides loader in status bar.
* refactored ProjectType

fortune cookie message = If you continually give, you will continually have.
2017-03-08 14:55:42 +01:00

44 lines
1.1 KiB
C++

#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:
QtProjectWizzardContentSelect(
std::shared_ptr<ProjectSettings> settings,
QtProjectWizzardWindow* window,
std::weak_ptr<SolutionParserManager> solutionParserManager);
// QtProjectWizzardContent implementation
virtual void populate(QGridLayout* layout, int& row) override;
virtual void save() override;
virtual bool check() override;
signals:
void selected(ProjectType);
private:
QButtonGroup* m_languages;
std::map<LanguageType, QButtonGroup*> m_buttons;
QLabel* m_title;
QLabel* m_description;
std::map<ProjectType, std::string> m_projectTypeIconName;
std::map<ProjectType, std::string> m_projectTypeDescriptions;
std::weak_ptr<SolutionParserManager> m_solutionParserManager;
std::vector<std::string> m_solutionDescription;
};
#endif // QT_PROJECT_WIZZARD_CONTENT_SELECT_H