Do not crash when adding a file to an existing project that finishes
parsing while the wizard is still open.
Make sure the Node that is passed into the wizard is still valid after
parsing. Provide more information to the wizard so that this can be
checked -- and to find the similar node in the new project tree.
Also avoid a crash when adding existing files.
Do not crash when project parsing finishes while the wizard
summary page is open.
Do not crash when the project gets closed while the summary page
is open.
Do not have the ProjectTree send signals about subTreeChanges if
the node that changed is not part of the ProjectTree. This avoids
an infinite loop when updating the combobox on the summary page.
Add a treeChanged signal to ProjectTree.
Task-number: QTCREATORBUG-18651
Change-Id: Iaed3d0d1f079c09e54389821a11bda596139f35c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Use constants for strings, simplify signal handling a bit
Change-Id: I80f2985c8e75e98d5f1638626f21c2d9c2efac9c
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
Change the JsonWizard interface:
* generateFileList now does no longer change the state of the JsonWizard
* commitToFileList added which is used to commit the wizard to a final
list of files.
* Trigger generateFileList when version control is changed in the
SummaryPage
* Commit to the file list once the SummaryPage is done
Change-Id: Ieb7b7abbf428d96596526c01946ecf0852f65744
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
This stopps us from qobject_casting all over the place.
Change-Id: I703ebb48aea7d00546e48ffb7a7fda21dc28d2cf
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
These reuse the existing pages we use for other wizards.
Change-Id: Ic505204e0988a6b44d112da35748f81d9f8e2c1f
Reviewed-by: Daniel Teske <daniel.teske@digia.com>