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

Add supportedXXX() to Camera API

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.5.0
    • Multimedia
    • None

    Description

      In the camera API there are actually a few classes where the camera flash support can be queried. One of those is QCameraExposure, another is QCameraFlashControl but I think there are others.

      Unlike the rest of the modes like ISO, Aperture and Shutter Speed, there is no flash modes enumeration. Each flash mode must be tested separately.
      I'd like an API like FlashModes fm = camera->supportedFlashModes() so that Ic an do if(camera->supportedFlashModes() & QCameraExposure::FlashOn)

      Additionally, please expose this to QML, which is where I really want it.

      Also, this should apply to ExposeMode and MeteringModes as well.

      Attachments

        Issue Links

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

          Activity

            People

              ylopes Yoann Lopes
              scorp1us Jason Hihn
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes