ui: revised project setup descriptions

* revised texts in project setup ui
* fixed crash during project setup when CDB file is empty
* fixed row height of project location in CDB project setup
This commit is contained in:
malte_langkabel
2016-08-30 16:52:28 +02:00
parent ebdc2d3382
commit ad719aeaa8
7 changed files with 54 additions and 32 deletions
@@ -21,7 +21,7 @@ void QtProjectWizzardContentData::populate(QGridLayout* layout, int& row)
{
if (!isInForm())
{
layout->setRowMinimumHeight(0, 15);
layout->setRowMinimumHeight(row, 15);
row++;
}
@@ -138,6 +138,7 @@ void QtProjectWizzardContentData::addNameAndLocation(QGridLayout* layout, int& r
layout->addWidget(locationLabel, row, QtProjectWizzardWindow::FRONT_COL, Qt::AlignRight);
layout->addWidget(m_projectFileLocation, row, QtProjectWizzardWindow::BACK_COL);
layout->setRowMinimumHeight(row, 50);
row++;
}
@@ -188,7 +189,7 @@ void QtProjectWizzardContentDataCDB::populate(QGridLayout* layout, int& row)
{
if (!isInForm())
{
layout->setRowMinimumHeight(0, 15);
layout->setRowMinimumHeight(row, 15);
row++;
}