/usr/share/qt5/doc/qtmultimedia/qcamerafocuscontrol.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 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 | <?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" />
<!-- qcamerafocuscontrol.cpp -->
<title>QCameraFocusControl Class | 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><a href="qtmultimedia-module.html">C++ Classes</a></li>
<li>QCameraFocusControl</li>
<li id="buildversion">
Qt 5.2.1 Reference Documentation</li>
</ul>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#signals">Signals</a></li>
<li class="level1"><a href="#protected-functions">Protected Functions</a></li>
<li class="level1"><a href="#macros">Macros</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QCameraFocusControl Class</h1>
<!-- $$$QCameraFocusControl-brief -->
<p>The QCameraFocusControl class supplies control for focusing related camera parameters. <a href="#details">More...</a></p>
<!-- @@@QCameraFocusControl -->
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> </b><tt><span class="preprocessor">#include <QCameraFocusControl></span>
</tt></td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> <tt>QT += multimedia</tt></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qmediacontrol.html">QMediaControl</a>.</td></tr></table><ul>
<li><a href="qcamerafocuscontrol-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qcamerafocuscontrol.html#dtor.QCameraFocusControl">~QCameraFocusControl</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QPointF </td><td class="memItemRight bottomAlign"><b><a href="qcamerafocuscontrol.html#customFocusPoint">customFocusPoint</a></b>() const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QCameraFocus::FocusModes </td><td class="memItemRight bottomAlign"><b><a href="qcamerafocuscontrol.html#focusMode">focusMode</a></b>() const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QCameraFocus::FocusPointMode </td><td class="memItemRight bottomAlign"><b><a href="qcamerafocuscontrol.html#focusPointMode">focusPointMode</a></b>() const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QCameraFocusZoneList </td><td class="memItemRight bottomAlign"><b><a href="qcamerafocuscontrol.html#focusZones">focusZones</a></b>() const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qcamerafocuscontrol.html#isFocusModeSupported">isFocusModeSupported</a></b>(QCameraFocus::FocusModes<i> mode</i>) const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qcamerafocuscontrol.html#isFocusPointModeSupported">isFocusPointModeSupported</a></b>(QCameraFocus::FocusPointMode<i> mode</i>) const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qcamerafocuscontrol.html#setCustomFocusPoint">setCustomFocusPoint</a></b>(const QPointF &<i> point</i>) = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qcamerafocuscontrol.html#setFocusMode">setFocusMode</a></b>(QCameraFocus::FocusModes<i> mode</i>) = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qcamerafocuscontrol.html#setFocusPointMode">setFocusPointMode</a></b>(QCameraFocus::FocusPointMode<i> mode</i>) = 0</td></tr>
</table>
<a name="signals"></a>
<h2>Signals</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcamerafocuscontrol.html#customFocusPointChanged">customFocusPointChanged</a></b>(const QPointF &<i> point</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcamerafocuscontrol.html#focusModeChanged">focusModeChanged</a></b>(QCameraFocus::FocusModes<i> mode</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcamerafocuscontrol.html#focusPointModeChanged">focusPointModeChanged</a></b>(QCameraFocus::FocusPointMode<i> mode</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcamerafocuscontrol.html#focusZonesChanged">focusZonesChanged</a></b>()</td></tr>
</table>
<a name="protected-functions"></a>
<h2>Protected Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qcamerafocuscontrol.html#QCameraFocusControl">QCameraFocusControl</a></b>(QObject *<i> parent</i> = 0)</td></tr>
</table>
<a name="macros"></a>
<h2>Macros</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qcamerafocuscontrol.html#QCameraFocusControl_iid">QCameraFocusControl_iid</a></b></td></tr>
</table>
<a name="details"></a>
<!-- $$$QCameraFocusControl-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QCameraFocusControl class supplies control for focusing related camera parameters.</p>
<p>The interface name of QCameraFocusControl is <tt>org.qt-project.qt.camerafocuscontrol/5.0</tt> as defined in <a href="qcamerafocuscontrol.html#QCameraFocusControl_iid">QCameraFocusControl_iid</a>.</p>
</div>
<p><b>See also </b><a href="qmediaservice.html#requestControl">QMediaService::requestControl</a>() and <a href="qcamera.html">QCamera</a>.</p>
<!-- @@@QCameraFocusControl -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QCameraFocusControl[overload1]$$$QCameraFocusControlQObject* -->
<h3 class="fn"><a name="QCameraFocusControl"></a>QCameraFocusControl::<span class="name">QCameraFocusControl</span>(<span class="type">QObject</span> *<i> parent</i> = 0)<tt> [protected]</tt></h3>
<p>Constructs a camera control object with <i>parent</i>.</p>
<!-- @@@QCameraFocusControl -->
<!-- $$$~QCameraFocusControl[overload1]$$$~QCameraFocusControl -->
<h3 class="fn"><a name="dtor.QCameraFocusControl"></a>QCameraFocusControl::<span class="name">~QCameraFocusControl</span>()</h3>
<p>Destruct the camera control object.</p>
<!-- @@@~QCameraFocusControl -->
<!-- $$$customFocusPoint[overload1]$$$customFocusPoint -->
<h3 class="fn"><a name="customFocusPoint"></a><span class="type">QPointF</span> QCameraFocusControl::<span class="name">customFocusPoint</span>() const<tt> [pure virtual]</tt></h3>
<p>Return the position of custom focus point, in relative frame coordinates: QPointF(0,0) points to the left top frame point, QPointF(0.5,0.5) points to the frame center.</p>
<p>Custom focus point is used only in FocusPointCustom focus mode.</p>
<p><b>See also </b><a href="qcamerafocuscontrol.html#setCustomFocusPoint">setCustomFocusPoint</a>().</p>
<!-- @@@customFocusPoint -->
<!-- $$$customFocusPointChanged[overload1]$$$customFocusPointChangedconstQPointF& -->
<h3 class="fn"><a name="customFocusPointChanged"></a><span class="type">void</span> QCameraFocusControl::<span class="name">customFocusPointChanged</span>(const <span class="type">QPointF</span> &<i> point</i>)<tt> [signal]</tt></h3>
<p>Signal is emitted when the custom focus <i>point</i> is changed.</p>
<p><b>See also </b><a href="qcamerafocuscontrol.html#customFocusPoint">QCameraFocusControl::customFocusPoint</a>() and <a href="qcamerafocuscontrol.html#setCustomFocusPoint">QCameraFocusControl::setCustomFocusPoint</a>().</p>
<!-- @@@customFocusPointChanged -->
<!-- $$$focusMode[overload1]$$$focusMode -->
<h3 class="fn"><a name="focusMode"></a><span class="type"><a href="qcamerafocus.html#FocusMode-enum">QCameraFocus::FocusModes</a></span> QCameraFocusControl::<span class="name">focusMode</span>() const<tt> [pure virtual]</tt></h3>
<p>Returns the focus mode being used.</p>
<p><b>See also </b><a href="qcamerafocuscontrol.html#setFocusMode">setFocusMode</a>().</p>
<!-- @@@focusMode -->
<!-- $$$focusModeChanged[overload1]$$$focusModeChangedQCameraFocus::FocusModes -->
<h3 class="fn"><a name="focusModeChanged"></a><span class="type">void</span> QCameraFocusControl::<span class="name">focusModeChanged</span>(<span class="type"><a href="qcamerafocus.html#FocusMode-enum">QCameraFocus::FocusModes</a></span><i> mode</i>)<tt> [signal]</tt></h3>
<p>Signal is emitted when the focus <i>mode</i> is changed, usually in result of QCameraFocusControl::setFocusMode call or capture mode changes.</p>
<p><b>See also </b><a href="qcamerafocuscontrol.html#focusMode">QCameraFocusControl::focusMode</a>() and <a href="qcamerafocuscontrol.html#setFocusMode">QCameraFocusControl::setFocusMode</a>().</p>
<!-- @@@focusModeChanged -->
<!-- $$$focusPointMode[overload1]$$$focusPointMode -->
<h3 class="fn"><a name="focusPointMode"></a><span class="type"><a href="qcamerafocus.html#FocusPointMode-enum">QCameraFocus::FocusPointMode</a></span> QCameraFocusControl::<span class="name">focusPointMode</span>() const<tt> [pure virtual]</tt></h3>
<p>Returns the camera focus point selection mode.</p>
<p><b>See also </b><a href="qcamerafocuscontrol.html#setFocusPointMode">setFocusPointMode</a>().</p>
<!-- @@@focusPointMode -->
<!-- $$$focusPointModeChanged[overload1]$$$focusPointModeChangedQCameraFocus::FocusPointMode -->
<h3 class="fn"><a name="focusPointModeChanged"></a><span class="type">void</span> QCameraFocusControl::<span class="name">focusPointModeChanged</span>(<span class="type"><a href="qcamerafocus.html#FocusPointMode-enum">QCameraFocus::FocusPointMode</a></span><i> mode</i>)<tt> [signal]</tt></h3>
<p>Signal is emitted when the focus point <i>mode</i> is changed, usually in result of QCameraFocusControl::setFocusPointMode call or capture mode changes.</p>
<p><b>See also </b><a href="qcamerafocuscontrol.html#focusPointMode">QCameraFocusControl::focusPointMode</a>() and <a href="qcamerafocuscontrol.html#setFocusPointMode">QCameraFocusControl::setFocusPointMode</a>().</p>
<!-- @@@focusPointModeChanged -->
<!-- $$$focusZones[overload1]$$$focusZones -->
<h3 class="fn"><a name="focusZones"></a><span class="type">QCameraFocusZoneList</span> QCameraFocusControl::<span class="name">focusZones</span>() const<tt> [pure virtual]</tt></h3>
<p>Returns the list of zones, the camera is using for focusing or focused on.</p>
<!-- @@@focusZones -->
<!-- $$$focusZonesChanged[overload1]$$$focusZonesChanged -->
<h3 class="fn"><a name="focusZonesChanged"></a><span class="type">void</span> QCameraFocusControl::<span class="name">focusZonesChanged</span>()<tt> [signal]</tt></h3>
<p>Signal is emitted when the set of zones, camera focused on is changed.</p>
<p>Usually the zones list is changed when the camera is focused.</p>
<p><b>See also </b><a href="qcamerafocuscontrol.html#focusZones">QCameraFocusControl::focusZones</a>().</p>
<!-- @@@focusZonesChanged -->
<!-- $$$isFocusModeSupported[overload1]$$$isFocusModeSupportedQCameraFocus::FocusModes -->
<h3 class="fn"><a name="isFocusModeSupported"></a><span class="type">bool</span> QCameraFocusControl::<span class="name">isFocusModeSupported</span>(<span class="type"><a href="qcamerafocus.html#FocusMode-enum">QCameraFocus::FocusModes</a></span><i> mode</i>) const<tt> [pure virtual]</tt></h3>
<p>Returns true if focus <i>mode</i> is supported.</p>
<!-- @@@isFocusModeSupported -->
<!-- $$$isFocusPointModeSupported[overload1]$$$isFocusPointModeSupportedQCameraFocus::FocusPointMode -->
<h3 class="fn"><a name="isFocusPointModeSupported"></a><span class="type">bool</span> QCameraFocusControl::<span class="name">isFocusPointModeSupported</span>(<span class="type"><a href="qcamerafocus.html#FocusPointMode-enum">QCameraFocus::FocusPointMode</a></span><i> mode</i>) const<tt> [pure virtual]</tt></h3>
<p>Returns true if the camera focus point <i>mode</i> is supported.</p>
<!-- @@@isFocusPointModeSupported -->
<!-- $$$setCustomFocusPoint[overload1]$$$setCustomFocusPointconstQPointF& -->
<h3 class="fn"><a name="setCustomFocusPoint"></a><span class="type">void</span> QCameraFocusControl::<span class="name">setCustomFocusPoint</span>(const <span class="type">QPointF</span> &<i> point</i>)<tt> [pure virtual]</tt></h3>
<p>Sets the custom focus <i>point</i>.</p>
<p>If camera supports fixed set of focus points, it should use the nearest supported focus point, and return the actual focus point with <a href="qcamerafocuscontrol.html#focusZones">QCameraFocusControl::focusZones</a>().</p>
<p><b>See also </b><a href="qcamerafocuscontrol.html#customFocusPoint">QCameraFocusControl::customFocusPoint</a>() and <a href="qcamerafocuscontrol.html#focusZones">QCameraFocusControl::focusZones</a>().</p>
<!-- @@@setCustomFocusPoint -->
<!-- $$$setFocusMode[overload1]$$$setFocusModeQCameraFocus::FocusModes -->
<h3 class="fn"><a name="setFocusMode"></a><span class="type">void</span> QCameraFocusControl::<span class="name">setFocusMode</span>(<span class="type"><a href="qcamerafocus.html#FocusMode-enum">QCameraFocus::FocusModes</a></span><i> mode</i>)<tt> [pure virtual]</tt></h3>
<p>Set the focus mode to <i>mode</i>.</p>
<p><b>See also </b><a href="qcamerafocuscontrol.html#focusMode">focusMode</a>().</p>
<!-- @@@setFocusMode -->
<!-- $$$setFocusPointMode[overload1]$$$setFocusPointModeQCameraFocus::FocusPointMode -->
<h3 class="fn"><a name="setFocusPointMode"></a><span class="type">void</span> QCameraFocusControl::<span class="name">setFocusPointMode</span>(<span class="type"><a href="qcamerafocus.html#FocusPointMode-enum">QCameraFocus::FocusPointMode</a></span><i> mode</i>)<tt> [pure virtual]</tt></h3>
<p>Sets the camera focus point selection <i>mode</i>.</p>
<p><b>See also </b><a href="qcamerafocuscontrol.html#focusPointMode">focusPointMode</a>().</p>
<!-- @@@setFocusPointMode -->
</div>
<div class="macros">
<h2>Macro Documentation</h2>
<!-- $$$QCameraFocusControl_iid[overload1]$$$QCameraFocusControl_iid -->
<h3 class="fn"><a name="QCameraFocusControl_iid"></a><span class="name">QCameraFocusControl_iid</span></h3>
<p><tt>org.qt-project.qt.camerafocuscontrol/5.0</tt></p>
<p>Defines the interface name of the <a href="qcamerafocuscontrol.html">QCameraFocusControl</a> class.</p>
<!-- @@@QCameraFocusControl_iid -->
</div>
</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>
|