aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/addrunconfigdialog.cpp
Commit message (Collapse)AuthorAgeFilesLines
* ProjectExplorer: Consolidate RunConfigurationFactory::idshjk2020-06-151-1/+1
| | | | | | | | | | | | | | | | | | | | It was already only one id string with two names. Since it is not an id for the factory but the id of the created run configuration, settle of runConfigurationId() as accessor. The factory and id fields in RunConfigurationCreationInfo were redundant. factory always implies (runconfiguration)id (but not necessarily the other way round, in theory different factories are possible for the same runconfiguration type for different devices). So drop the id field here. In one case now factory pointers instead of ids are compared, but this is neutral there as this happens in a context of a fixed Target, device and project are fixed there, so id and factory are equally unique. Change-Id: I859aa91486a2dd4abfc7369540a3322d6ec6260d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Port QtCreator over to use filterRegularExpressionLars Knoll2020-04-011-1/+1
| | | | | | | | | | | | | | QSortFilterProxyModel::filterRegExp is going to go away in Qt6, so port over to use QRegularExpression instead. This required some changes where setFilterWildcard/FixedString() was being used, as those would instantiate QRegExp based filters in Qt 5, and will use QRegularExpression in Qt 6. Use the generic setFilterRegularExpression here, to keep things portable between 5 and 6. Change-Id: I6379be781aa3821b10ba783c088f82c1a0970911 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Utils: Rename FileName to FilePathhjk2019-05-281-3/+3
| | | | | | | | More in line with QFileInfo terminonlogy which appears to be best-of-breed within Qt. Change-Id: I1d051ff1c8363ebd4ee56376451df45216c4c9ab Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ProjectExplorer: Sanitize the "Add run config" UIChristian Kandeler2019-02-201-0/+192
This functionality was implemented via a pop-up menu, which was close to unusable if more than a few candidates existed (for example: Qt Creator with autotests enabled). We now use a proper dialog. The list of candidates is sortable, can be filtered and includes information about which project file the target executable comes from. Fixes: QTCREATORBUG-19955 Change-Id: Ife087ad69a7e43e280d13c528d21f94a1ae48d4d Reviewed-by: hjk <hjk@qt.io>