aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/addrunconfigdialog.cpp
Commit message (Collapse)AuthorAgeFilesLines
* ProjectExplorer: Employ FuzzyMatcher in run config creation dialogChristian Kandeler2024-02-291-1/+2
| | | | | | | ... when filtering the candidates. Change-Id: Ia95475ae3ee2a6eab2c9551ed22f97a9540d3503 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* Utils: Make TreeViews use setUniformRowHeights by defaulthjk2023-09-051-4/+1
| | | | | | | | | | | | When applicable, the flag makes a significant difference in performacnce. However is easily forgotten in cases where it is applicable, and cases where it is accidentally used are easily spotted visually. So arguably, opt-out is a better default than opt-in. Change-Id: I88aeb05b42533ba4e23c39573a3ddd016343cd55 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* ProjectExplorer: Simplify return statementsJarek Kobus2023-08-021-1/+1
| | | | | Change-Id: Ifef006cd2dcc567097ce16376eab9ccedb092f04 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Set focus to filter input when creating run configurationEike Ziller2023-03-091-0/+1
| | | | | | Change-Id: I9a02abfa917a211ec0e88a7debaabbf26cc2c918 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* ProjectExplorer: Tr::trhjk2023-01-161-7/+6
| | | | | Change-Id: I8f1b463c5cc7a53627f7a9ad261998b92f13e56a Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Remove GPL-3.0+ from license identifiersKai Köhne2023-01-061-1/+1
| | | | | | | | | | | | | | | Since we also license under GPL-3.0 WITH Qt-GPL-exception-1.0, this applies only to a hypothetical newer version of GPL, that doesn't exist yet. If such a version emerges, we can still decide to relicense... While at it, replace (deprecated) GPL-3.0 with more explicit GPL-3.0-only Change was done by running find . -type f -exec perl -pi -e "s/LicenseRef-Qt-Commercial OR GPL-3.0\+ OR GPL-3.0 WITH Qt-GPL-exception-1.0/LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0/g" {} \; Change-Id: I5097e6ce8d10233993ee30d7e25120e2659eb10b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Use SPDX license identifiersLucie Gérard2022-08-261-24/+2
| | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Task-number: QTBUG-67283 Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* ProjectExplorer: Use expanded run config display namesChristian Kandeler2021-09-211-5/+6
| | | | | | | | ... in the "Add new run configuration" dialog. Otherwise users will see placeholders in e.g. the RemoteLinux case. Change-Id: Id8b22f4e51b83a2b061fd74bbe9649bee44fc0af Reviewed-by: hjk <hjk@qt.io>
* ProjectExplorer: Use FancyLineEdit in AddRunConfigDialogAlessandro Portale2020-12-071-9/+6
| | | | | | | | With place holder text, fancy delete button, more UI space and less code. Change-Id: I16a80c215ac18fdc088c13087d58481311b9b838 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* PE: Replace QRegExp by QRegularExpressionChristian Stenger2020-07-151-1/+0
| | | | | | Task-number: QTCREATORBUG-24098 Change-Id: I2d83026b7733d83a68c1ddcca6b409d3c3125fb5 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* 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>