ui: Added plain text editing dialog to list boxes in project setup UI

* Added class QtTextEditDialog for displaying text content
* Added edit button to QtDirectoryListBox
* Replaced show files button dialog using QtProjectWizzardContentSourceList with QtTextEditDialog
This commit is contained in:
Eberhard Graether
2016-08-20 00:46:09 +02:00
parent e508741c9a
commit c43e074c9e
21 changed files with 253 additions and 222 deletions
@@ -65,7 +65,7 @@ void QtProjectWizzardContentCDBSource::load()
path = path.relativeTo(projectPath);
}
m_fileNames << QString::fromStdString(path.str());
m_fileNames.push_back(path.str());
}
}
if (m_text)
@@ -74,7 +74,7 @@ void QtProjectWizzardContentCDBSource::load()
}
}
QStringList QtProjectWizzardContentCDBSource::getFileNames() const
std::vector<std::string> QtProjectWizzardContentCDBSource::getFileNames() const
{
return m_fileNames;
}
@@ -86,5 +86,5 @@ QString QtProjectWizzardContentCDBSource::getFileNamesTitle() const
QString QtProjectWizzardContentCDBSource::getFileNamesDescription() const
{
return "source files will be indexed.";
return " source files will be indexed.";
}