aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/python/pythonkitaspect.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Python: Move interpreter access from option page to option page widgethjk5 days1-1/+4
| | | | | Change-Id: I70f893911e4ffae0485dda80ecea951f3ca7be33 Reviewed-by: David Schulz <david.schulz@qt.io>
* TaskTree: Switch to qt-ified QtTaskTreeJarek Kobus2025-10-311-3/+3
| | | | | | | Remove the old Tasking lib. Change-Id: Iacb4939cc873e25d6039efae7dd23510a7baa5f9 Reviewed-by: hjk <hjk@qt.io>
* ProjectExplorer: Change KitAspectFactory::autoDetect to use DetectionSourceMarcus Tillmanns2025-07-231-1/+1
| | | | | Change-Id: I6d1520d1d7b9ba4608aeb9b46a1f5d03fcc5e5b0 Reviewed-by: hjk <hjk@qt.io>
* Python: Move auto detection functions into SettingsMarcus Tillmanns2025-07-171-41/+1
| | | | | Change-Id: I2e99390ff9522c19e9db5a9383bf4a8febd31d74 Reviewed-by: David Schulz <david.schulz@qt.io>
* Python: Implement KitAspectFactory auto detectionMarcus Tillmanns2025-07-161-0/+65
| | | | | Change-Id: I4f77b9312899ec3ff2f09360837e8f43ccf3b246 Reviewed-by: David Schulz <david.schulz@qt.io>
* Python: Some more UI text fixesEike Ziller2025-05-191-1/+1
| | | | | | | | | - setup -> set up - avoid adding strings in code Change-Id: Iac4c228763f054847f37b982036c92b4e68ef8c8 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
* Utils: Add FilePath::isLocal() and use it instead of !needsDevice()hjk2024-12-091-1/+1
| | | | | | | | "needsDevice()" is an odd name, but keep it for now until downstream has caught up. Change-Id: I1fdb65d55e84e31512edb8f0bea8a0a3f7b2879c Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* ProjectExplorer: Make KitAspect more flexibleChristian Kandeler2024-11-081-1/+1
| | | | | | | Allow for subclasses to have more than one combo box created. Change-Id: I7e2457cdfabe30fd0272f8849555d9fd29412a3b Reviewed-by: hjk <hjk@qt.io>
* Python: Do not use {begin,end}ResetModel in PythonAspectModelChristian Kandeler2024-10-141-3/+3
| | | | | | | The setSourceModel() calls should take care of that. Change-Id: Ida568bb4215875097e4e55bcf00a8a8a381c439e Reviewed-by: David Schulz <david.schulz@qt.io>
* Python: Simplify PythonKitAspectChristian Kandeler2024-10-111-67/+15
| | | | | | | ... using base class convenience functionality. Change-Id: Ibfbfd588d32c34e2181ce3080b4d1d4e558b204c Reviewed-by: David Schulz <david.schulz@qt.io>
* ProjectExplorer: Move KitAspect into its own set of filesChristian Kandeler2024-10-111-1/+2
| | | | | | | There is no reason to lump it together with KitManager. Change-Id: I6cd225e390297c3dc7573ed4786c227c80ab17ce Reviewed-by: hjk <hjk@qt.io>
* Python: Use model in aspect combo boxChristian Kandeler2024-10-091-8/+53
| | | | | | | | For icons and tooltips consistent with the settings page. Task-number: QTCREATORBUG-31574 Change-Id: Ib567f43e0b29fa058770eefb4b16e8610fd28adf Reviewed-by: David Schulz <david.schulz@qt.io>
* ProjectExplorer: Make KitAspect data members privateChristian Kandeler2024-10-041-2/+2
| | | | | Change-Id: Ib80f092e19a00bb0159eef13a8e4e4237a4aaed4 Reviewed-by: hjk <hjk@qt.io>
* Utils: Make Aspect::addToLayout() consthjk2024-07-081-1/+1
| | | | | | | | | | | It's conceptionally const, and would be useful to use as such, but the current implementations often modifie mutable state. To ease the transition pain, rename the previous non-const version to addToLayoutImpl() and call it after const_cast'ing. Change-Id: Ic8ca38e40f5df69c3d11121f96ea37648cf4feb7 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* Use LayoutBuilder V2hjk2024-05-271-1/+1
| | | | | | | | | | | | This puts the implementation introduced in acf1ecb47fdf into use, after significant simplifications in the class hierarchy. CRTP is not used anymore, and the new tag based dispatch is also used for Layout::addItem, effectively reducing the number of different code paths. The Lua based settings access is disabled for now. Change-Id: Idb6d1a25675378757c5267bdb630bcd4c1f52d34 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Merge remote-tracking branch 'origin/13.0'Eike Ziller2024-02-291-6/+6
|\ | | | | | | | | | | | | Conflicts: src/plugins/android/androidsettingswidget.cpp Change-Id: Ifcb16aa16c7bc2792de25d0ee7a22cf0e39a05f8
| * Python: Fix capitalization of Python in UI textLeena Miettinen2024-02-271-6/+6
| | | | | | | | | | | | | | Change-Id: I55beeb658eb583a74c4d79f3dc2f121010080101 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | Utils: Fix build with MSVC with C++20Eike Ziller2024-02-281-1/+1
|/ | | | | | | | | | | | | | | | | Rename process.h back to qtcprocess.h MSVC's "threads" standard header includes <process.h>, and that ends up including our process.h from Utils. There already was a hacky workaround in place for a similar issue with MINGW, but that doesn't work with MSVC because that doesn't have Simply use a name that doesn't conflict. Change-Id: I1159cd2096b4f2dbc4a1728d0131dd6edd30ebd3 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
* Python: Wrap some file paths and kit name with quotesEike Ziller2024-02-261-6/+9
| | | | | Change-Id: If147eae864013d410239d69184cdb9a4bc4479eb Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* ProjectExplorer: declare only relevant aspects as featuresDavid Schulz2024-01-261-1/+1
| | | | | | | | This will disable python kits for all Wizards that require a valid Qt. Change-Id: I4a8d6dd60629ddb556e49c067200acba8ef080d2 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Python: register python infos to the kits macro expanderDavid Schulz2024-01-101-0/+24
| | | | | | | | ... and use the name in the autogenerated kits display name Change-Id: I928533e6f8238189d64350463897a86ff5512ae7 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Python: show warnings if pip or venv is missingDavid Schulz2023-12-111-12/+32
| | | | | | Change-Id: Ib38c1eb3b0f31d6988d3a5f084ac6eda08ec0619 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Python: use kits page in python wizardsDavid Schulz2023-11-281-0/+7
| | | | | Change-Id: I1f7aaf145443481546abb868c8c167186600b848 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* ProjectExplorer: Consolidate creation of KitAspect's "Manage..."hjk2023-11-081-5/+2
| | | | | Change-Id: I001a21f41bcd5ff0614bdf98893b56137c06546f Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Python: add a python kit aspectDavid Schulz2023-11-021-0/+151
Change-Id: If7aaa52025ec5834a44e9196548fbcc7456c89a8 Reviewed-by: Christian Stenger <christian.stenger@qt.io>