Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-111165

[QtConcurrent] Qt6 Example revamp

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P2: Important
    • None
    • 6.6
    • Core: QtConcurrent
    • None
    • All
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dennisoberst Dennis Oberst
            dennisoberst Dennis Oberst
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: