src: Re-added VS project button

Re-added the vs project button for new projects after the vs solution parser has been removed.
This commit is contained in:
Manuel Dobusch
2016-11-24 18:10:05 +01:00
parent 3580ed79f7
commit 1e7fb9c6b7
@@ -130,6 +130,26 @@ void QtProjectWizzardContentSelect::populate(QGridLayout* layout, int& row)
}
}
// Add vs solution button
{
std::string name = "Visual Studio";
QToolButton* button = createProjectButton(name.c_str(),
(ResourcePaths::getGuiPath() + "icon/project_vs_256_256.png").c_str());
m_buttons->addButton(button);
m_solutionDescription.push_back("Create a new project from an existing Visual Studio Solution file. "
"<b>Note: Requires a running Visual Studio instance with the "
"<a href=\"https://coati.io/documentation/index.html#VisualStudio\">Visual Studio plugin</a> installed.");
hlayout->addWidget(button);
m_buttons->setId(button, runningId);
runningId++;
}
connect(m_buttons, static_cast<void(QButtonGroup::*)(int)>(&QButtonGroup::buttonClicked),
[this](int id)
{