/usr/share/qt5/doc/qtmultimedia/qtmultimedia-declarative-camera-example.html is in qtmultimedia5-doc-html 5.2.1-0ubuntu5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- declarative-camera.qdoc -->
<title>QML Camera Example | QtMultimedia 5.2</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<ul>
<li>Qt 5.2</li>
<li><a href="qtmultimedia-index.html">Qt Multimedia</a></li>
<li>QML Camera Example</li>
<li id="buildversion">
Qt 5.2.1 Reference Documentation</li>
</ul>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<h1 class="title">QML Camera Example</h1>
<span class="subtitle"></span>
<!-- $$$declarative-camera-description -->
<div class="descr"> <a name="details"></a>
<p>The Camera Example shows how to use the API to capture a still image or video.<p class="centerAlign"><img src="images/qml-camera.png" alt="" /></p><p>This example demonstrates how to use the Qt Multimedia QML API to access camera functions. It shows how to change settings and to capture images.</p>
<p>Most of the QML code supports the user interface for this application with the camera types being mostly found in <i>declarative-camera.qml</i> and <i>CaptureControls.qml</i>.</p>
<p>In <i>declarative-camera.qml</i> the <a href="qml-qtmultimedia-camera.html">Camera</a> is initialized with an id of <i>camera</i>, a photo preview is setup, states are implemented for image preview or capture and CaptureControls is initialized. The initial <i>state</i> is <i>PhotoCapture</i>. <a href="qml-qtmultimedia-cameracapture.html">CameraCapture</a> includes a handler, <i>onImageCaptured</i>, for the imageCaptured signal. The handler sets up the application to process the preview including a change in the user interface state. The PhotoPreview becomes visible with any key press being picked up by the handler in PhotoPreview and returning the state to <i>PhotoCapture</i>.</p>
<p><i>CaptureControls</i>, which is implemented in <i>CaptureControls.qml</i>, generates a column on the right hand side of the screen which includes control buttons for <i>focus</i> (not initially visible), <i>capture</i>, <i>flash modes</i>, <i>white balance</i>, <i>exposure compensation</i>, and if a preview is available a <i>preview</i> button. The last button exits from the application.</p>
<p>When the Capture button is pressed the <i>onClicked</i> handler calls captureImage()</p>
<p>Files:</p>
<ul>
<li><a href="qtmultimedia-declarative-camera-camerabutton-qml.html">declarative-camera/CameraButton.qml</a></li>
<li><a href="qtmultimedia-declarative-camera-camerapropertybutton-qml.html">declarative-camera/CameraPropertyButton.qml</a></li>
<li><a href="qtmultimedia-declarative-camera-camerapropertypopup-qml.html">declarative-camera/CameraPropertyPopup.qml</a></li>
<li><a href="qtmultimedia-declarative-camera-focusbutton-qml.html">declarative-camera/FocusButton.qml</a></li>
<li><a href="qtmultimedia-declarative-camera-photocapturecontrols-qml.html">declarative-camera/PhotoCaptureControls.qml</a></li>
<li><a href="qtmultimedia-declarative-camera-photopreview-qml.html">declarative-camera/PhotoPreview.qml</a></li>
<li><a href="qtmultimedia-declarative-camera-videocapturecontrols-qml.html">declarative-camera/VideoCaptureControls.qml</a></li>
<li><a href="qtmultimedia-declarative-camera-videopreview-qml.html">declarative-camera/VideoPreview.qml</a></li>
<li><a href="qtmultimedia-declarative-camera-zoomcontrol-qml.html">declarative-camera/ZoomControl.qml</a></li>
<li><a href="qtmultimedia-declarative-camera-declarative-camera-qml.html">declarative-camera/declarative-camera.qml</a></li>
<li><a href="qtmultimedia-declarative-camera-qmlcamera-cpp.html">declarative-camera/qmlcamera.cpp</a></li>
<li><a href="qtmultimedia-declarative-camera-declarative-camera-pro.html">declarative-camera/declarative-camera.pro</a></li>
<li><a href="qtmultimedia-declarative-camera-declarative-camera-qmlproject.html">declarative-camera/declarative-camera.qmlproject</a></li>
<li><a href="qtmultimedia-declarative-camera-declarative-camera-qrc.html">declarative-camera/declarative-camera.qrc</a></li>
</ul>
<p>Images:</p>
<ul>
<li><a href="images/used-in-examples/declarative-camera/images/camera_auto_mode.png">declarative-camera/images/camera_auto_mode.png</a></li>
<li><a href="images/used-in-examples/declarative-camera/images/camera_camera_setting.png">declarative-camera/images/camera_camera_setting.png</a></li>
<li><a href="images/used-in-examples/declarative-camera/images/camera_flash_auto.png">declarative-camera/images/camera_flash_auto.png</a></li>
<li><a href="images/used-in-examples/declarative-camera/images/camera_flash_fill.png">declarative-camera/images/camera_flash_fill.png</a></li>
<li><a href="images/used-in-examples/declarative-camera/images/camera_flash_off.png">declarative-camera/images/camera_flash_off.png</a></li>
<li><a href="images/used-in-examples/declarative-camera/images/camera_flash_redeye.png">declarative-camera/images/camera_flash_redeye.png</a></li>
<li><a href="images/used-in-examples/declarative-camera/images/camera_white_balance_cloudy.png">declarative-camera/images/camera_white_balance_cloudy.png</a></li>
<li><a href="images/used-in-examples/declarative-camera/images/camera_white_balance_flourescent.png">declarative-camera/images/camera_white_balance_flourescent.png</a></li>
<li><a href="images/used-in-examples/declarative-camera/images/camera_white_balance_incandescent.png">declarative-camera/images/camera_white_balance_incandescent.png</a></li>
<li><a href="images/used-in-examples/declarative-camera/images/camera_white_balance_sunny.png">declarative-camera/images/camera_white_balance_sunny.png</a></li>
<li><a href="images/used-in-examples/declarative-camera/images/toolbutton.png">declarative-camera/images/toolbutton.png</a></li>
</ul>
</div>
<!-- @@@declarative-camera -->
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2013 Digia Plc and/or its
subsidiaries. Documentation contributions included herein are the copyrights of
their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|