Details
-
Task
-
Resolution: Done
-
P2: Important
-
None
-
6.6
-
None
-
-
de5e0422c (dev), b5e9d4189 (dev), fbb470b40 (dev), 4cf04cfeb (6.5), 05e2fd54a (6.5), 0c2bd2571 (6.5.0), def0024f9 (6.5.0), 40a948ade (6.5), 29f73f0c9 (6.5.0), d795dfaee (dev), 6ea0d5756 (6.5.0), 8352756d2 (dev), 67da46767 (6.5), e453de0c0 (6.5.0)
-
Foundation Sprint 76, Foundation Sprint 77, Foundation Sprint 78
Description
As a little reminder, QtConcurrent provides basically:
- map, mapped, mappedReduced
- filter, filtered, filteredReduced
- run, task
- usage of QFuture, QFutureWatcher etc.
I would suggest following modifications to the examples:
- imagescaling
- Keep it as a widgets example showing all possibilities.
- Update documentation to align with the example-guidelines
- progressdialog
- The dialog progresses way to fast. I would suggest to modernize it.
- Update documentation to align with the example-guidelines
- wordcount
- Terminal application that shows the usage of map(). I would keep it
- Maybe add a little widgets-dialog to select a path
- Update documentation to align with the example-guidelines
- runfunction
- Terminal application that provides not so much useful content. Either modernize it a little bit or merge it with the wordcount or progressdialog example.
- map
- Terminal application that only shows the usage of blockingMapped(~). As the wordcount example already shows this API usage and progressdialog shows the usage of filtered, which is very similar, I would remove it.
In general, I would say the API and logic of map and filter is overlapping and therefore easy to understand. With these changes we would still show full API usage.
Attachments
For Gerrit Dashboard: QTBUG-111165 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
460906,16 | Example: rename progressdialog to primecounter and modernize it | dev | qt/qtbase | Status: MERGED | +2 | 0 |
463295,14 | Example: update imagescaling example | dev | qt/qtbase | Status: MERGED | +2 | 0 |
463354,14 | Example: update wordcount example | dev | qt/qtbase | Status: MERGED | +2 | 0 |
463639,5 | Example: remove map example | dev | qt/qtbase | Status: MERGED | +2 | 0 |
463641,6 | Example: remove runfunction example | dev | qt/qtbase | Status: MERGED | +2 | 0 |
465555,2 | Example: remove runfunction example | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |
465556,2 | Example: remove runfunction example | 6.5.0 | qt/qtbase | Status: MERGED | +2 | 0 |
465632,2 | Example: remove map example | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |
465688,2 | Example: remove map example | 6.5.0 | qt/qtbase | Status: MERGED | +2 | 0 |
465709,4 | Example: update imagescaling example | 6.5.0 | qt/qtbase | Status: MERGED | +2 | 0 |
465710,4 | Example: update imagescaling example | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |
467813,2 | Example: update wordcount example | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |
467814,2 | Example: update wordcount example | 6.5.0 | qt/qtbase | Status: MERGED | +2 | 0 |
467927,2 | Example: rename progressdialog to primecounter and modernize it | 6.5.0 | qt/qtbase | Status: MERGED | +2 | 0 |
467928,2 | Example: rename progressdialog to primecounter and modernize it | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |