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:
@@ -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.";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user