By three liens, the connect in the pluginprivate ctor
will create it.
Change-Id: I23c80884f293fae434de573b8684bde2c56bd45e
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Wizards should be reloaded after plugins are loaded. They might either
add wizard paths, or wizards that check for plugins might be loaded even
though they were not loaded before.
Emit PluginManager::pluginsChanged when plugins are loaded at runtime
too, and connect that to clearing the list of wizard factories.
Change-Id: I79e0fb4991074cba592296620f1758136d60b378
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Clearing the list of wizard factories did not result in updating the
available JSON wizards. The JSON wizard paths were scanned only once at
startup. Instead partially revert back to before
1cf6b031cf and let the JSON "factory
creator" parse the directories and return a list of wizard factories.
Change-Id: Ifc253479973be801c5323588800bb264610187b6
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
In the wizard summary page, on Windows, the sorting of files in sub
directories is not correct. The paths got converted to userOutput before
they were tested for '/' and then assigned to a FilePath (which caused a
QTC_CHEK warning in addition).
This is reproducible with the "QDS compatible" Qt Quick application
wizard.
Fixes: QTCREATORBUG-29921
Change-Id: I45b623409831b21467e33481dcc3ca557f0f9afc
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
The activation of one timeout may cancel the other running
timeout. Don't remove all timeouts which are to be activated before
the activation loop. Remove and activate incrementally instead.
Change-Id: I6147fb63b6ef9d6ada034330d98d1c13419012b4
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Make ordering separate for each thread.
Add stress test for it.
Change-Id: Idb42ce2511b18c0e9dd4dcb216ca39b35b5c980e
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
There were different from the PluginPrivate-created-in-initialize
pattern anyway.
Change-Id: I690c9c0511203f3c4d6ec9eeca85c0a277330e2f
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Split test so they can be closer to the implementation,
move rest to plugin.cpp.
Change-Id: I30310f5b2658ac669d219c2978c6a3d6c9d8b107
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Use new mimetype used inside freedesktop's definition. The old one is
still used internally as alias.
Change-Id: If8405c109a1bfb326db84f480d35bc62625358a3
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Fixes handling of qCritical() messages or similar and
silences a soft assert.
Change-Id: I74f485ffd75b65170c2c9752bd774401c0f19734
Reviewed-by: David Schulz <david.schulz@qt.io>
Rename TaskXxxHandlers into InterfaceXxxHandlers.
Rename CustomTask::[Setup/Done]Function into Task[Setup/Done]Handler
to conform with Group[Setup/Done]Handler.
Fix the CustomTask::TaskSetupHandler type.
Change-Id: I0c69fc75622eb8324278f713db22a6de314d44ef
Reviewed-by: hjk <hjk@qt.io>
This reverts commit 4d55d6be18,
which broke all project loading.
The crash was properly fixed elsewhere.
Change-Id: I49f42dce1d7f69d6a1c3c769dc6a1399f26650d5
Reviewed-by: hjk <hjk@qt.io>
The Qt Creator Design System defines display headings H1 and H2 with a
"Titillium Web" font face.
This change introduces the "Titillium Web" based as new H1 and H2 and
lets the WelcomeScreen code obtain them via StyleHelper::UiFont(). It is
supposed to not change the visual appearance.
Change-Id: Ia2c5ac14858e574c4ffd31af1ed80ac1781cd970
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This change "PanelTitle" to "Caption". It is supposed to not change the
visual appearance.
Change-Id: I3342e6c80d8ce11b7ab1ac40b4395c265e1e07ec
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This change demotes the existing H1 and H2 to H3 and H4. It is supposed
to not change the visual appearance.
Change-Id: Idc3056307f0286a2d4d276ba79125ba93d5ac428
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This encourages the code style project settings panel to take the
abundant vertical space.
Change-Id: Ia14c4e3246a0ab4099850b3013e4ea915a7e1433
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
Change the argument of TaskInterface::done() signal
from bool into DoneResult. Make it consistent with
other TaskTree API.
Introduce toDoneResult(bool success) helper.
Change-Id: I7b3041d7c1ed0317c76adbc1fd37448231e85f82
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
This allows somewhat easier test setup by defining test classes
nearer to the tested code.
Change-Id: I7c300a442c9433355d97742b17b394a6d2352270
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
And make the LineColumnButton independent of IEditor for that (since the
IEditor for the Markdown editor is not a TextEditor.
Change-Id: I52d378ec46d86b1c7928d18f7d39f9726bb6ad23
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
For the cases of:
source_group(TREE ${CMAKE_SOURCE_DIR} FILES my/subdir/file.cpp)
Treat the "my\\subdir" part in the project view as part of the source
group name.
Fixes: QTCREATORBUG-29799
Change-Id: I92bf581be25d085783bcdadd8a418b849a29c708
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>