aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/taskmodel.h
Commit message (Collapse)AuthorAgeFilesLines
* Issues pane: Show the right number of issues on the pane buttonChristian Kandeler2019-07-051-0/+1
| | | | | | | | | | | | While we do want to show contextual messages from the compiler, the number displayed on the button should correspond to the actual number of issues (i.e. errors or warnings), and should not include the notes around them. We used to do this correctly, but broke it in acd0d02e282f. Fixes: QTCREATORBUG-18490 Change-Id: Ib6b36f24b4f6bfe53ed5b977f0f88586c4d95b16 Reviewed-by: hjk <hjk@qt.io>
* Output panes: Respect filter optionsChristian Kandeler2019-06-051-0/+8
| | | | | | | | The UI elements for case sensitivity and regexp behavior had not been doing anything until now. Change-Id: Ie210103984fda64d4249c56f9a5b21200132108f Reviewed-by: André Hartmann <aha_1980@gmx.de>
* ProjectExplorer: Introduce a alias for QList<Tasks>hjk2019-05-281-2/+2
| | | | | Change-Id: I91391ad22b420926b0f512cac23cfe009048b218 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ProjectExplorer: Use QSortFilterProxyModel for TaskFilterModelChristian Kandeler2019-04-081-29/+7
| | | | | | | | We used our own, hand-rolled filter model implementation for performance reasons, but benchmarking shows no difference. Change-Id: I076ffeffbd39b468308d48d23d15a69b966dbc23 Reviewed-by: hjk <hjk@qt.io>
* ProjectExplorer: Add fallback finder for file paths in issues paneChristian Kandeler2019-02-251-2/+2
| | | | | | | | | | | The more specific output parsers often fail to resolve relative file paths, so add a fallback that attempts to find the corresponding file in the current session. A follow-up patch should add support for manual ambiguity resolving. Change-Id: If0aecbab0f3bf1aa779f4a538076c87ae6bf22d4 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: hjk <hjk@qt.io>
* Fix crash when filtering out warnings from issues paneEike Ziller2018-07-091-0/+1
| | | | | | | | | Do not send endRemoveRows if we never sent beginRemoveRows. Fix up of 702d6a69148091b23023aeafdb697919dff1a1d6 Task-number: QTCREATORBUG-20741 Change-Id: If22a18e6426c8b4041924a170d5927ab9d11ccdf Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* TaskModel: Bit of code cleanupEike Ziller2018-06-281-1/+0
| | | | | | | | | | Do not send rowsRemoved before source model has removed the rows from its data. Add some QTC_ASSERTS and comments. Replace trivial slot by lambda. Change-Id: I7a0df404f757fca5f7724be66e516824ecd292dd Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* ProjectExplorer: Modernize codeTobias Hunger2016-04-151-3/+3
| | | | | Change-Id: Ia967f698baba9bf84e6ef3c2ce26cafb17279f3e Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
* Projectexplorer: Modernize codebaseTobias Hunger2016-04-151-6/+4
| | | | | | Change-Id: I4793b58aa77bcd46af99f8b843c0f7439cdc9269 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com> Reviewed-by: Vikas Pachdha <vikas.pachdha@theqtcompany.com>
* ProjectExplorer: ModernizeTobias Hunger2016-02-031-15/+13
| | | | | | | | | * Use override where appropriate * Use pragma once * Make more constructors explicit Change-Id: I2865fe10f288e3de570826058e43b70a0cb4ee37 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* ProjectExplorer: Use Qt5-style connectsOrgad Shaneh2016-02-011-2/+1
| | | | | | | The heavy lifting was done by clazy. Change-Id: I619db09a79760186b72e7662490ed1205155c1a7 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Update License according to agreement with Free Qt FoundationTobias Hunger2016-01-191-17/+12
| | | | | | | * Update files in src/plugins Change-Id: Ia5d77fad7d19d4bb3498e78661982f68729adb22 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Update LicenseEike Ziller2015-01-161-6/+6
| | | | | Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* License updateEike Ziller2014-10-091-7/+8
| | | | | Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* Always pass Core::Id by value.Christian Kandeler2014-07-011-8/+8
| | | | | | | | | | | Currently we pass in some places by value, elsewhere by const ref and for some weird reason also by const value in a lot of places. The latter is particularly annoying, as it is also used in interfaces and therefore forces all implementors to do the same, since leaving the "const" off is causing compiler warnings with MSVC. Change-Id: I65b87dc3cce0986b8a55ff6119cb752361027803 Reviewed-by: hjk <hjk121@nokiamail.com>
* ProjectExplorer: Pass const values by referenceOrgad Shaneh2014-05-061-1/+1
| | | | | Change-Id: I985aced32b95cfe4bc1bbbf7c917dc04b1d94f2d Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* TaskModel: Do not duplicate itemsTobias Hunger2014-04-111-1/+0
| | | | | | | | | When inserting new items into the TaskFilterModel we could end up duplicating the items. Do not do that. Change-Id: I2450bac185a881e16f23368b39ce5e273c061d99 Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Incremented year in copyright infoRobert Loehning2014-01-081-1/+1
| | | | | | Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Tasks: Remove one of two methods to find the task iconTobias Hunger2013-11-251-4/+0
| | | | | | | | The method is in a internal class, so this does not break the build for external plugins. Change-Id: I9ad75e8230059d865ec7a73aa0868cb82a35b35f Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Fix Krazy warnings about includes/header guards in ProjectExplorer.Friedemann Kleint2013-03-121-0/+5
| | | | | Change-Id: Ica1df90278f450717b71f7d895c84a31a5596e7c Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Incremented year in copyright infov2.6.2Robert Loehning2013-01-291-1/+1
| | | | | Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Fix possible crashTobias Hunger2012-10-091-1/+1
| | | | | | | | | The filter model needs to remove rows before the view tries to find the next row to select. Otherwise the filtermodel might access the source model at a position that is out of bounds. Change-Id: Id610455f32e7c7fe921c243537def0097b46a798 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Adjust license headershjk2012-10-051-21/+20
| | | | | Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Issues Pane: Fix badge number on clearing tasks of unknown typeDaniel Teske2012-09-191-0/+1
| | | | | | | Task-number: QTCREATORBUG-7893 Change-Id: I80870916081bc3b7464417173b74020aed40d485 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Contact -> qt-project.orgEike Ziller2012-07-191-3/+1
| | | | | Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* BaseTextMark: Support renaming filesDaniel Teske2012-04-051-0/+1
| | | | | Change-Id: I8d712f76fca5d8f5ecad70f1485228e21c00648d Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Make TaskMarks clickable and jump to the right task in the taskwindowDaniel Teske2012-03-011-0/+2
| | | | | | | | | | | That means it is no longer possible to make bookmarks on lines with errors or warnings by simply clicking. That's not nice. It might be better to do something different, but let's see how the feedback to this is. Change-Id: I34788ff638ed49c21001d03cd60f992ffabd6153 Reviewed-by: hjk <qthjk@ovi.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* TaskModel: Sort task by idDaniel Teske2012-02-221-1/+1
| | | | | | | | Makes it easier to later find the task again, and does actually not change the order in the normal case Change-Id: I2f36f2e7a6ab52c06e35be22820438a809ecb012 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Derive TaskFilterModel from QAbstractItemModel not TaskModelDaniel Teske2012-02-221-1/+1
| | | | | Change-Id: Ic748ada71e46811a05ced52ea7b1172ad02eb2ee Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Removed module names from #include directives.Erik Verbruggen2012-02-151-2/+2
| | | | | | | | Getting the #include directives ready for Qt5. This includes the new-project wizards. Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Task, adjust line numbers while editingDaniel Teske2012-02-141-1/+2
| | | | | Change-Id: Id2aa3b6f25a17416bb8ea601b6f5dd0de45f5375 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Task: Update Task to use Utils::FileName and Core::IdTobias Hunger2012-01-301-12/+12
| | | | | | | Use Utils::FileName and Core::Id in Task structure. Change-Id: Ia0ed459f86df36ffe547abde7c240b0ac409bcf5 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* Long live the king!hjk2012-01-261-1/+1
| | | | | Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* all: s/info@qt.nokia.com/qt-info@nokia.com/hjk2011-11-031-2/+2
| | | | | Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Taskwindow: Speed up the task windowTobias Hunger2011-10-051-0/+187
Make the taskwindow semi-graciously handle my Qt Creator build with 91k build issues. Change-Id: I47275e2057d2ff9bf5229f0a367bb19c4f3141e4 Task-number: QTCREATORBUG-1551 Reviewed-on: http://codereview.qt-project.org/5263 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Teske <daniel.teske@nokia.com>